Mercurial Hosting > linkmystyle
changeset 1:2776f06236b4
add source.html
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 11 Jul 2025 21:17:19 -0600 |
parents | 8f4df159f06b |
children | e32e4120dc70 |
files | src/job.html.luan src/source.html.luan |
diffstat | 2 files changed, 50 insertions(+), 64 deletions(-) [+] |
line wrap: on
line diff
--- a/src/job.html.luan Fri Jul 11 20:57:49 2025 -0600 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,64 +0,0 @@ -local Luan = require "luan:Luan.luan" -local error = Luan.error -local Io = require "luan:Io.luan" -local Http = require "luan:http/Http.luan" -local Utils = require "site:/lib/Utils.luan" -local base_url = Utils.base_url or error() -local Shared = require "site:/lib/Shared.luan" -local head = Shared.head or error() -local body_header = Shared.body_header or error() -local footer = Shared.footer or error() -local User = require "site:/lib/User.luan" - - -return function() - local user = User.current_required() - if user==nil then return end - local url = base_url().."/"..user.name - Io.stdout = Http.response.text_writer() -%> -<!doctype html> -<html lang="en"> - <head> -<% head() %> - <title>Link My Style</title> - <style> - div[body] { - max-width: 700px; - margin-left: auto; - margin-right: auto; - padding-left: 20px; - padding-right: 20px; - } - </style> - </head> - <body> - <div full> -<% body_header() %> - <div body> - <h1>Create Facebook/Instagram Ad</h1> - - <p>The job is to create a Facebook ad that will generate clicks to our site and registrations. We will give you access to our Facebook ad account to see how your ad performs compared to our other ads. You may update your ad if you think of improvements after your first version. If your ad performs well, we will probably hire you again for future ads.</p> - - <p>Please look at <a href="/">our homepage</a> to see what we do. Most of our traffic comes from Instagram.</p> - - <p>We believe that ads with content familiar to the viewer will be most effective. So we have created Facebook audiences based on which of our user's webpages people have visited. We are starting with <a href="https://linkmy.style/JessicaGrace">JessicaGrace</a>. So we are using an audience of people who have visited JessicaGrace's LinkMyStyle page. This audience will be followers of JessicaGrace who have seen LinkMyStyle. So we hope that ads containing JessicaGrace will catch their attention, and maybe they will also remember LinkMyStyle. Your ad will be in a Facebook AdSet that only targets this audience.</p> - - <p>But most of this audience is actually useless for us. We specifically want the small percentage of this audience who are influencers doing affiliate marketing. This is why we want to emphasize the benefits for affiliates in our ads.</p> - - <p>We emailed JessicaGrace asking if she is satisfied with our service and she responded "Loving the platform so much - Ive seen a huge increase in sales - over 100% increase actually.". You can use any of this in your ad. You can also use photos from her Instagram account.</p> - - <p>The design of your ad is up to you. You can use any format - image, carousel, or video. You can create your ad in Facebook's "Creative Hub" so that we can use it directly. If you work with us, just send us the email you use for Facebook and we will add you to our ad account.</p> - - <p>To track your ad performance, use the Facebook report "fs ad2". We use "Content Views" as a general metric to track everything we care about including visits, registrations, etc. The best ads are the ones with the lowest "Cost per content view".</p> - - <p>If you have any questions, please contact gina@linkmy.style .</p> - - <p> </p> - </div> -<% footer() %> - </div> - </body> -</html> -<% -end
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/source.html.luan Fri Jul 11 21:17:19 2025 -0600 @@ -0,0 +1,50 @@ +local Luan = require "luan:Luan.luan" +local error = Luan.error +local Io = require "luan:Io.luan" +local Http = require "luan:http/Http.luan" +local Utils = require "site:/lib/Utils.luan" +local base_url = Utils.base_url or error() +local Shared = require "site:/lib/Shared.luan" +local head = Shared.head or error() +local body_header = Shared.body_header or error() +local footer = Shared.footer or error() +local User = require "site:/lib/User.luan" + + +return function() + local user = User.current_required() + if user==nil then return end + local url = base_url().."/"..user.name + Io.stdout = Http.response.text_writer() +%> +<!doctype html> +<html lang="en"> + <head> +<% head() %> + <title>Link My Style</title> + <style> + div[body] { + max-width: 700px; + margin-left: auto; + margin-right: auto; + padding-left: 20px; + padding-right: 20px; + } + </style> + </head> + <body> + <div full> +<% body_header() %> + <div body> + <h1>Source Code</h1> + + <p>Link My Style is written in <a href="https://www.luan.software/">Luan</a> and uses <a href="https://dad.reactionary.software/">Reactionary Drag and Drop</a>. Here is <a href="https://hg.reactionary.software/repo/linkmystyle/">the source code</a>.</p> + + <p> </p> + </div> +<% footer() %> + </div> + </body> +</html> +<% +end