Snag: letting agencies website template
An app template for a letting agency: tenants report a repair in two minutes with a photo, follow it from Reported to Fixed with the team's replies, see the contractor's visit date and time, and find emergency numbers and self-help fixes. A public page, six member screens under /app and a privacy notice with blanks.
Built from: Pages · Lists · Sign-in: users
To use it, paste this into your AI chat:
Use template pagelemon.com/tp/Snag
Who it suits
Made for: letting agencies, property managers, landlords with a few flats, housing repairs desk, block management, landlord maintenance requests, shared house repairs, student lettings. In the gallery under Customer requests.
Its 8 pages
- Home: The public page: what tenants can do in the app, the 24-hour emergency line, response times per urgency, how a repair goes from Reported to Fixed, a short section for landlords and the sign-in
- Home (app): Signed out: a hi-vis welcome with the site board, the four status signs, the emergency sign and sign-in. Signed in: the home's repairs board with Report a repair, the newest open repair as a job sheet with its road-sign status and the team's reply, the emergency sign, the next contractor visit and every report
- Report a repair: Picture tiles for the kind of repair with a tip each, then home, room, what's wrong, details, urgency, access, best time and an optional photo, with the emergency lines (gas, then Keystone) beside it; after sending it opens Repairs
- Your repairs: Every report newest first with its four-step status line, the team's reply, home, urgency, access, the photo and the day it was sent, and an Ask about this repair email with the repair named
- Visits: Contractor visits the team booked for the tenant: date, arrival window, contractor, state (Booked, Moved, Cancelled, Done) and what to do before, then past visits
- Help: Emergency numbers first, then self-help for the common faults (boiler pressure, stopcock, trip switch, condensation) and the office contacts and hours
- Account: The account block (email, profile with home and phone, devices, leaving) and the agency's contacts
- Privacy: The privacy notice for tenants, with blanks the owner fills in
Look: Hi-vis site board: condensed signage, a terrace photo, road-sign status and a red emergency sign; light, bold, modern; fonts Oswald and Atkinson Hyperlegible.
What you can change
Everything, by asking your AI: the name, words, photos, colours, fonts and pages. Your AI first asks you a few questions (such as your agency name, office address, office phone and weekday hours, 24-hour emergency line, repairs email and property manager and repairs coordinator), then replaces every piece of sample text with your own details. Later you can add a contact form, bookings or a password by asking again.
The rest of this page is for your AI: it says what the template is, where its files are, and how to build your site from it and publish it.
You are reading this because the user wants their own website made from the Snag template and published with Page Lemon (PageLemon.com). They may have pasted only "Use template pagelemon.com/tp/Snag": that is the whole request, so start now. In short: ask them a few questions about their business, get the template's files (with the Page Lemon connector, deploy with template: "snag" copies them for you), make the site theirs (their name, words, details and pictures; no sample content left), then publish it with Page Lemon and give them the link. The steps below say exactly how. The full publishing guide is at https://pagelemon.com/agents.
About this template
- Look: Hi-vis site board: condensed signage, a terrace photo, road-sign status and a red emergency sign (light, bold, modern)
-
Pages: Home (
index.html): The public page: what tenants can do in the app, the 24-hour emergency line, response times per urgency, how a repair goes from Reported to Fixed, a short section for landlords and the sign-in; Home (app) (app/index.html): Signed out: a hi-vis welcome with the site board, the four status signs, the emergency sign and sign-in. Signed in: the home's repairs board with Report a repair, the newest open repair as a job sheet with its road-sign status and the team's reply, the emergency sign, the next contractor visit and every report; Report a repair (app/report.html): Picture tiles for the kind of repair with a tip each, then home, room, what's wrong, details, urgency, access, best time and an optional photo, with the emergency lines (gas, then Keystone) beside it; after sending it opens Repairs; Your repairs (app/repairs.html): Every report newest first with its four-step status line, the team's reply, home, urgency, access, the photo and the day it was sent, and an Ask about this repair email with the repair named; Visits (app/visits.html): Contractor visits the team booked for the tenant: date, arrival window, contractor, state (Booked, Moved, Cancelled, Done) and what to do before, then past visits; Help (app/help.html): Emergency numbers first, then self-help for the common faults (boiler pressure, stopcock, trip switch, condensation) and the office contacts and hours; Account (app/account.html): The account block (email, profile with home and phone, devices, leaving) and the agency's contacts; Privacy (privacy.html): The privacy notice for tenants, with blanks the owner fills in - Fonts: Oswald, Atkinson Hyperlegible (Google Fonts)
- Live demo: https://try-snag.pagelemon.dev/ (a working copy with sample data; people opening https://pagelemon.com/tp/Snag in a browser land there). The template's own files: https://pagelemon.com/templates/snag/; the page about it: https://pagelemon.com/tp/Snag/use
- Manifest: https://pagelemon.com/templates/snag/template.json (machine-readable: files, customise, facts, interview)
Files
With the Page Lemon connector you don't need to fetch these: deploy with template: "snag" copies them all (step 2). Otherwise fetch each file from https://pagelemon.com/templates/snag/ and save it with the same relative path (including art/). Fetch nothing else: templates have no external images or scripts.
- https://pagelemon.com/templates/snag/index.html
- https://pagelemon.com/templates/snag/privacy.html
- https://pagelemon.com/templates/snag/app/index.html
- https://pagelemon.com/templates/snag/app/report.html
- https://pagelemon.com/templates/snag/app/repairs.html
- https://pagelemon.com/templates/snag/app/visits.html
- https://pagelemon.com/templates/snag/app/help.html
- https://pagelemon.com/templates/snag/app/account.html
- https://pagelemon.com/templates/snag/styles.css
- https://pagelemon.com/templates/snag/app.js
- https://pagelemon.com/templates/snag/kit.css
- https://pagelemon.com/templates/snag/kit.js
- https://pagelemon.com/templates/snag/kit-icons.svg
- https://pagelemon.com/templates/snag/site.webmanifest
- https://pagelemon.com/templates/snag/favicon.svg
- https://pagelemon.com/templates/snag/art/icons.svg
- https://pagelemon.com/templates/snag/art/terrace.webp
- https://pagelemon.com/templates/snag/art/damp-patch.webp
- https://pagelemon.com/templates/snag/og.png
- https://pagelemon.com/templates/snag/apple-touch-icon.png
- https://pagelemon.com/templates/snag/icon-192.png
- https://pagelemon.com/templates/snag/icon-512.png
- https://pagelemon.com/templates/snag/icon-512-maskable.png
Notes for Snag (its customise rules)
- Keystone Lettings in the header, footer and titles; replace every data-pl-fill fact with the agency's own, including 40 Wharfside Parade, Brennock QZ7 2TU, 01632 960 849, the 24-hour emergency line 07700 900 733 (written out, not a data-pl-fill phone, on index.html and every app page) and repairs@keystonelets.example.com. Replace Priya (repairs coordinator), Cormac Delahunt-Reyes (property manager) and the contractors Harcourt Plumbing, Brightwire Electrical and Calder Glazing.
- The homes in memberApp.setup.profile_fields list Mill House flats 1 to 6, The Ropery flats 1 to 4 and 12 and 14 Chandler Street; change them to the agency's own.
- Response targets (reply within one working day; visits same day for emergencies, 3 working days within a week, 14 working days when convenient) appear on index.html, app/index.html and app/report.html; change them together.
- Fill in every highlighted blank on privacy.html with the agency before tenants use the site (not legal advice: https://pagelemon.com/agents/member-app-legal)
- Adults only. Never collect health data or children's data. Never ask for passwords, PINs, sign-in codes, card numbers, bank account numbers or government ID numbers, in reports, photos or by phone.
- Colours: Edit the :root tokens at the top of styles.css: Hi-Vis (--sn-hivis and --sn-field, the poster and Home band), Navy (--sn-navy, --sn-board and --sn-btn), Concrete (--sn-ground) and Emergency Red (--sn-red, used only for the emergency signs); the dark scheme below them (the site at night) follows the device
- Fonts: Google Fonts: Oswald (titles, site-board lettering, road signs and phone numbers) and Atkinson Hyperlegible (text), one <link> in every page head and --sn-display / --sn-text in styles.css. If the owner prefers no font service, download both (OFL) into a fonts/ folder and switch to @font-face.
- Sections: setup_app with signup "invite" and the profile fields in memberApp.setup, then save_app_list for repairs (status_options and reply on) and visits. The owner's path: a new report arrives in the Dashboard (Apps, Entries); the team sets its status (Reported, Approved, Visit booked, Fixed) and writes a reply, which the tenant sees on Home and Repairs; when a contractor is booked the team adds a visits row assigned to that tenant (repair, date, arrival window, contractor, what to do before) and sets its state (Booked, Moved, Cancelled, Done), which shows on Home and Visits. Tenants get an email when the status or reply changes. app/index.html is Home with the signed-out welcome, app/report.html the report form, app/repairs.html every report with its status line, app/visits.html the visits, app/help.html emergencies and self-help, app/account.html the account block.
- Images: art/terrace.webp (Unsplash, PHOTOS.md) stands behind the site board on the public page and the signed-out welcome: replace it with the agency's own buildings. art/damp-patch.webp is the sample tenant photo in the preview only. art/icons.svg holds the repair icons for the room tiles and the clipboard and cone marks. favicon.svg is the site board on posts with a tick on hi-vis; the PNG icons and manifest are made from it.
Set up the app
This is an app template: the home page and privacy notice are public, and the pages under /app are for signed-in users, each seeing only their own entries and the entries the Site Owner assigns to them. Users sign in with a code sent to their email. The full guide is https://pagelemon.com/agents/member-app; read it before you set this up, and its legal notes at https://pagelemon.com/agents/member-app-legal.
-
Needs: a kept site on App or above, and the Site Owner signed in to Page Lemon with two-step sign-in (they turn the app on themselves, at the approve link
setup_appreturns). - Never: health, mood or therapy records, accounts for children, or fields for card, bank or ID numbers (Acceptable Use: https://pagelemon.com/acceptable-use#member-app). Users pay through Stripe.
-
Then:
setup_appwith these settings, the join questions and note in the user's own words, thensave_app_listonce for each list below, exactly as written, so the field names match the pages.{"site":"<site>","signup":"invite","profile_fields":[{"name":"name","type":"text","label":"Your name","required":true},{"name":"home","type":"choice","label":"Your home","required":true,"options":["Mill House flat 1","Mill House flat 2","Mill House flat 3","Mill House flat 4","Mill House flat 5","Mill House flat 6","The Ropery flat 1","The Ropery flat 2","The Ropery flat 3","The Ropery flat 4","12 Chandler Street","14 Chandler Street"]},{"name":"phone","type":"phone","label":"Phone for contractor calls"}],"display_field":"name","path":"/app"} -
Repair reports (
repairs): users add these rows themselves on the pages.{"site":"<site>","list":"repairs","label":"Repair reports","fields":[{"name":"issue","type":"text","label":"What's wrong?","required":true},{"name":"urgency","type":"choice","label":"How urgent?","required":true,"options":["Within a week","When convenient","Emergency: I've rung the line"]},{"name":"room","type":"choice","label":"Room","required":true,"options":["Kitchen","Bathroom","Bedroom","Living room","Hallway","Outside","Whole home"]},{"name":"access","type":"choice","label":"Access for this repair","required":true,"options":["Call me first","Use the agency's key","Only when I'm home"]},{"name":"category","type":"choice","label":"Kind of repair","required":true,"options":["Leaks and plumbing","Heating and hot water","Electrics","Doors, windows and locks","Damp and mould","Appliances","Something else"]},{"name":"home","type":"choice","label":"Home","required":true,"options":["Mill House flat 1","Mill House flat 2","Mill House flat 3","Mill House flat 4","Mill House flat 5","Mill House flat 6","The Ropery flat 1","The Ropery flat 2","The Ropery flat 3","The Ropery flat 4","12 Chandler Street","14 Chandler Street"]},{"name":"details","type":"long_text","label":"Details","required":true},{"name":"best_time","type":"choice","label":"Best time for a visit","options":["Any weekday","Weekday mornings","Weekday afternoons"]},{"name":"photo","type":"photo","label":"Photo of the problem"}],"status_options":["Reported","Approved","Visit booked","Fixed"],"reply":true} -
Contractor visits (
visits): the Site Owner adds these rows in the Page Lemon Dashboard (Apps tab) and assigns each to one user, who only reads it.{"site":"<site>","list":"visits","label":"Contractor visits","fields":[{"name":"repair","type":"text","label":"Repair","required":true},{"name":"date","type":"date","label":"Visit date","required":true},{"name":"window","type":"choice","label":"Arrival window","required":true,"options":["8am to 12pm","12pm to 5pm","All day"]},{"name":"contractor","type":"text","label":"Contractor","required":true},{"name":"notes","type":"long_text","label":"Before the visit"}],"status_options":["Booked","Moved","Cancelled","Done"]}
Build the site, step by step
-
Interview first. Ask the user these questions, a few at a time, in plain words, and collect every fact the site needs (agency name, office address, office phone and weekday hours, 24-hour emergency line, repairs email, property manager and repairs coordinator, buildings and flats, response times for each urgency, contractors you use, privacy contact and address). If they can't answer one, remove that element rather than inventing it.
- What is the letting agency called, and where is the office?
- Which buildings and flats do you manage, and how are the flats numbered?
- What are your office hours, and which number should tenants ring out of hours?
- How fast do you aim to respond to an emergency, a repair within a week, and a routine one?
- Who answers repair reports, and which contractors do you usually send?
- What address and privacy contact should the privacy notice show?
-
Get the files. If you have the Page Lemon tool (the MCP connector with a
deploytool; https://pagelemon.com/docs/connect sets it up), calldeploywithtemplate: "snag"(no files): Page Lemon copies every file above on its side and returnssite,revisionand, without an account,site_token. Read each page you will change withget_siteandpath, make the changes below, then publish only the changed files withdeploy,site,base_revision(that revision) andpatch: true; show the link only after that. Without the tool, fetch the files listed above. If you cannot fetch files either, ask the user for what you need and rebuild the pages from the live demo as closely as you can. -
Make it the user's site. Follow
customiseintemplate.json:-
Replace every element marked
data-pl-fill(names, phone, email, address, hours, prices, people, dates, links, stats) on every page, then remove the attributes. Never ship adata-pl-filldefault. The sample town, street and people's names also appear in ordinary sentences,aria-labels and imagealttext: replace them there too. Name, address and phone must match exactly in the footer, the visit or contact page and the JSON-LD. -
Sample reviews (
data-pl-fill="review") are fictional: delete them unless the user gives you real ones. Delete each whole review, with its name or caption, and the section and its nav link when none is left. Never invent reviews, numbers or awards. -
Update each page's
<title>, meta description, canonical,og:urlandog:imageto the user's real address, and the JSON-LD block on the home page (type, name, address,geocoordinates (delete them unless you have the real ones), hours, phone,url). -
Photos: each
<img data-pl-photo="...">says what photo belongs there and its shape. Swap in the user's photos (compressed, WebP or JPEG under about 300 KB, same aspect ratio, realalt), or keep the illustration. Ask for photos; never hot-link. -
Make a new
og.png(1200×630) of the new home page if you can, with itsog:imagetags; otherwise delete the sample one and itsog:imagetags (a template deploy has already left both out). Change colours only through the:roottokens instyles.css, fonts through the font tokens and the<link>that loads them. Google Fonts is fine, but it sends each visitor's IP address to Google, so the privacy-friendly choice is to self-host the font files (woff2) in the site folder with@font-face, or use system fonts. - Delete pages or sections the user doesn't need (and their nav links) rather than leaving them generic. Keep the layout, type scale and signature interaction: they are what makes it look designed.
-
Remove the
<!-- Page Lemon template ... -->comment.
-
Replace every element marked
-
Forms and bookings. Templates have no fake forms. Each
data-pl-slotshows a fallback that works today (call, email, or the Site Owner's own booking or payment link: ask for it). The designed form sits next to it in an inert<template data-pl-slot-form="<id>">;template.json.slotssays which page has which. When the user wants the real thing (Forms and Booking: any paid plan; staff and rooms only on some, and each plan has a limit of online bookings a day), set the form up as a list (save_list) or the service (save_service), put the matching markup in the slot (reuse the template's form classes so it matches), delete the fallback and the<template>, and copy the paragraph from<template data-pl-privacy="forms">intoprivacy.html. -
Check before publishing:
-
Search every file for
data-pl-fill, the template's fictional business name and its sample phone, email and street, in links too (tel:andmailto:hrefs, and map links, where the street is written like18+Linden+Walk): none left. - All links between pages work; nav and footer are the same on every page.
- Body text contrast at least 4.5:1, large text and buttons 3:1, after any colour change.
- No horizontal scroll at 320 px; headlines still fit on a phone after copy changes.
-
One
h1per page, a unique<title>and meta description per page, alt text on meaningful images. - Copy sounds like the user, not like an AI (see https://pagelemon.com/guides/website-copy-that-doesnt-sound-like-ai).
-
Search every file for
- Publish with Page Lemon (below; with the tool, the patch deploy from step 2 is the publish), then tell the user which template you used and that they can keep changing the site, or add bookings and forms, by asking.
-
Turn on the app as "Set up the app" above says:
setup_app, thensave_app_listfor each list, the approve link to the Site Owner,invite_users, a test withpreview_as_userandget_appwithcheck: truebefore you say it's ready.
Publish with Page Lemon
Pick the first route you can use:
-
You can run shell commands: build if needed, then upload only the folder with
index.html(dist/,build/,out/…). Never upload source code,.envfiles or keys: everything you upload becomes public. (at most 100 files and 1 MB in all,index.htmlat the root):
If the user gave you an API key (node -e 'const fs=require("fs"),p=require("path"),d=process.argv[1],files=[];(function w(x){for(const e of fs.readdirSync(x,{withFileTypes:true})){const f=p.join(x,e.name);e.isDirectory()?w(f):files.push({path:p.relative(d,f).split(p.sep).join("/"),content_base64:fs.readFileSync(f).toString("base64")})}})(d);console.log(JSON.stringify({files}))' <dir> \ | curl -sS --fail-with-body -H "Content-Type: application/json" --data-binary @- https://api.pagelemon.com/v2/anonymous-sitesplak_…) or~/.config/pagelemon/credentialsexists, publish into their account instead (see "Updating a site" in https://pagelemon.com/agents). If.pagelemon.jsonexists, the site is already published: see "Updating a site" in https://pagelemon.com/agents. -
You have the Page Lemon MCP connector (
https://mcp.pagelemon.com/mcp): call itspublish_sitetool with every file. See "No shell: the MCP connector" in https://pagelemon.com/agents. -
Neither (a chat app without the Page Lemon connector): say once that they can connect Page Lemon to this AI app (steps at https://pagelemon.com/docs/connect) so you can publish and change the site for them. In the Gemini app or Grok (free plan included) it takes about a minute: Gemini at gemini.google.com/customize/connectors (Custom), Grok at grok.com/connectors (New Connector, Custom), with the link
https://mcp.pagelemon.com/mcp; then they sign in and click Allow. Give those steps in plain words. If they can't or would rather not (for example ChatGPT's free plan), don't ask them to save or upload files. Put the whole site in ONE complete page: CSS and JavaScript inline, images as https links or small data URIs, from<!DOCTYPE html>to</html>. Show it as one code block, then tell them: "Tap Copy on the code, open pagelemon.com/publish, tap Paste and publish." Only if you can really give them a downloadable .zip (a file they tap to download, not code to save): "Download this zip, open pagelemon.com/publish, tap Drop or choose a file." They get a live link with no account, online for 72 hours unless they tap Keep it free. Don't say you can't help.
Then:
-
Pass on
agent_messagefrom the response in full, success or failure, in the user's language and your own words. It has the link, the expiry time, the private keep link and the terms line: copy every link, code, number, date and domain exactly, and never drop a link, deadline or the terms line (keep both its links). If it asks a question, ask it and wait. Times in it are UTC;*_atfields have them in ISO, so you can give the user's local time. -
On success, save
.pagelemon.jsonin the project folder and add it to.gitignore(see https://pagelemon.com/agents). - Offer to help keep the site (see "Keeping the site" in https://pagelemon.com/agents). Sites published without an account go offline after 72 hours unless the user keeps them with a free account.
By publishing, the user agrees to the Terms (https://pagelemon.com/terms) and Privacy Policy (https://pagelemon.com/privacy). The agent_message includes this line; keep it.
More: https://pagelemon.com/agents (full guide: updating a site, keeping it, custom domains, plugins). All templates: https://pagelemon.com/templates/index.json.