Freeframe

Documentation

Lintel

v1.0.0Updated Nov 29, 2026An architect's portfolio drawn like a construction set, with interactive plans, sections and elevations for every project and a brief builder that plans your timeline.

Overview#

Lintel is a multi-page portfolio website for an architecture practice: an architect's or small architecture firm's site with projects, drawings, the team, the process and a way to start a project. The fictional Lintel Architecture is a six-person practice at 206 Winnebago Street in Decorah, Iowa, working in Central time (America/Chicago) on houses, renovations, cabins and small civic buildings across northeast Iowa and the Driftless. This is the Nuxt version: Nuxt 4, Vue 3 single-file components, TypeScript and Tailwind CSS v4, generated as a fully static site. It has the same pages, design and interactions as the HTML version. This guide covers version 1.0.0. The template page, with a link to the live demo, is at freeframe.dev/templates/lintel.

The look is an architect's drawing set: warm drafting paper with a measured 12-pixel grid, graphite linework, hairline rules, one accent (blueprint blue), sheet numbers such as A-101 as section labels, title blocks, dimension lines and north arrows. Every project drawing (plan, section, elevation and axonometric) is generated as SVG from the project's data, so each project has its own set. A dark mode turns the set into a blueprint at night.

Quick start#

  1. Unzip the download and open a terminal in the folder.

  2. Install and start the development server:

    sh
    pnpm install
    pnpm dev
  3. Visit http://localhost:3000. Edit files in app/ and the page reloads.

Requirements: Node.js 24 and pnpm. The fonts are bundled, so nothing loads from the internet.

Command What it does
pnpm dev Development server with hot reload
pnpm generate Static site in .output/public/
pnpm preview Serve the last build locally
pnpm build A Node.js server build in .output/ (pages still prerendered)
pnpm lint ESLint
pnpm typecheck Nuxt types and vue-tsc

Pages#

Route File Purpose and notable features
/ app/pages/index.vue Home (sheet A-000): axonometric hero that draws itself with a title block dated today, four featured projects, the practice in brief, recent recognition, projects on the boards (elevations), the next design start, two journal notes
/projects app/pages/projects.vue Projects (A-100): all eleven projects as cards with axonometrics, type and status filters, four sorts, starred only, a county diagram with numbered pins; filters kept in the URL
/project app/pages/project.vue One project, ?p=<slug>: facts, axonometric, a drawing viewer with Plan, Section and Elevation tabs, room hotspots and a room schedule, the story, collaborators, recognition, a materials schedule, previous and next project; a "not found" state
/practice app/pages/practice.vue Practice (G-001): principals and team with drawn monograms, approach, values, an elevation of the studio building, awards and publications
/process app/pages/process.vue Process (G-002): phase durations by project type with a bar chart, the six phases (what we do, what you do, what you get), FAQs
/start app/pages/start.vue Start a project (G-003): six-step brief builder, a result with a phased timeline and three checks, and a first meeting request with time slots
/journal app/pages/journal.vue Journal (G-004), ?post=<slug>: seven notes with a subject filter; a note page with its drawing, body and older/newer links; a "not found" state
/contact app/pages/contact.vue Contact (G-005): address, hours with a live open or closed status and the next holiday closure, a drawn map of downtown Decorah, a contact form
404 app/error.vue Not found (A-404): a plan with a missing room and links back

Project structure#

lintel/
  app/
    app.vue                  <NuxtLayout><NuxtPage />, with the page key that restarts a page on a link to itself
    layouts/default.vue      skip link, header, the page, footer, live region (#live-region)
    pages/                   one file per page: index, projects, project, practice, process, start, journal, contact
    error.vue                the 404 page (generated as 404.html)
    router.options.ts        query strings written with encodeURIComponent, as the HTML version writes them
    components/
      SiteHeader.vue         header, navigation, dark mode switch, phone menu
      SiteFooter.vue         footer title block with the sheet index, hours and open status
      ProjectCard.vue        a project card; StatusChip.vue and StarButton.vue are its chip and Star button
      DrawingViewer.vue      /project: Plan, Section and Elevation tabs, room hotspots and the room schedule
      ConsultRequest.vue     /start: the first meeting request and its success panel
      AwardRow.vue, PostCard.vue, LogoMark.vue, ArrowIcon.vue
    composables/
      useNow.ts              today and now in Central time (with ?now=), once the page is in the browser
      useStarred.ts          starred projects (lintel:starred) and toggling them
      usePageSeo.ts          title, description, canonical URL and Open Graph tags
      useAfterRestore.ts     keeps form controls in step after Back or a reload
    data/
      lintel.ts              all content and settings, with their types (see Content)
      nav.ts                 header menu and footer sheet index
    utils/
      drawings.ts            the drawing generator: plan, section, elevation, axonometric, county map, journal art,
                             monograms
      time.ts                Central time, federal holidays, design starts, meeting slots, seasons, studio hours
      brief.ts               the brief's answers, their validation and computeBrief()
      client.ts              browser-only helpers: readNow(), setParams(), announce()
      safeStorage.ts         localStorage with an in-memory fallback, and KEYS
      site.ts                lookups: projectBySlug, personById, projectNumber, sortedPosts
      format.ts              has(), plural(), money(), sqft(), feet()
      url.ts                 replaceAddress(): change the address without a navigation
    plugins/                 scroll reveals, same-page links, focus after navigation, reproducible builds
    assets/css/main.css      @font-face rules, Tailwind import, @theme tokens, dark mode, components, drawing styles
    assets/fonts/            the woff2 files and their license texts
  public/img/                og-image.png (and its og-image.svg source), favicon.svg
  nuxt.config.ts             base path, head defaults (the boot script), SITE_URL, prerendered routes, Tailwind
  package.json, pnpm-workspace.yaml, tsconfig.json, eslint.config.mjs
  README.md, DOCS.md, CHANGELOG.md

Customizing#

Brand and colors#

All colors are tokens in the @theme block of app/assets/css/main.css, so Tailwind generates bg-paper, text-blue, border-ink and so on. Dark mode redefines the same tokens under :root.dark, so you rarely need dark: classes.

Token Light Dark Used for
--color-paper / --color-paper-2 #f4f1e9 / #ebe6da #11161d / #17202a Page / bands, roofs in drawings
--color-card #faf8f2 #1a232e Sheets, cards, inputs
--color-ink, --color-ink-soft, --color-ink-faint #23262b, #484c53, #5f636a #ebe7dd, #c0bcb2, #a09d95 Text and linework
--color-line / --color-line-strong #d3cdbf / #8d887c #2b3542 / #66717f Hairlines and the grid / inputs, dimensions
--color-blue, --color-blue-deep, --color-blue-soft #1d4f8f, #143b6d, #dde5ef #8fb5ea, #b7d0f3, #1f3048 The accent: links, buttons, sheet numbers, tags
--color-on-blue #faf8f2 #10161d Text on blue
--color-glass #c9d7e6 #2c4561 Glazing and rivers in drawings
--color-danger #a3361a #ff9d85 Form errors

To change the accent, edit both values of --color-blue (and its -deep and -soft partners):

css
@theme {
  --color-blue: #8a3b24; /* brick */
  --color-blue-deep: #6b2c1a;
  --color-blue-soft: #f1e1d9;
}

If you change the paper color, also change THEME_COLORS in app/components/SiteHeader.vue (the browser bar color, which the dark mode switch changes).

Typography#

Three families, self-hosted from app/assets/fonts/ with @font-face rules at the top of app/assets/css/main.css. They are the exact Latin files the HTML version loads from Google Fonts, so lines wrap the same way:

  • Tenor Sans (font-display): headings and large numbers.
  • Inria Sans 300, 400, 700 and italic 400 (font-sans): body text.
  • Syncopate 400 and 700 (font-label): sheet numbers, labels and the text inside drawings, like wide drafting lettering.

Each face keeps its plain family name, so the --font-* tokens in main.css and the drawings name the family directly. To swap a family, put its woff2 files in app/assets/fonts/, change the @font-face rules (file, weights, family name) and the matching --font-* token.

Content#

Text that only appears once is in the page files. Everything listed or computed lives in app/data/lintel.ts, with a TypeScript type for each structure:

Constant What it holds
STUDIO Name, address, phone, email, timeZone: "America/Chicago", founded: 2011, and hours (Mon–Thu 8:30–17:30, Fri 8:30–15:00)
TYPES Project types: residential, civic, renovation, small (shown as "Small buildings")
STATUSES built, construction ("In construction"), design ("In design")
SORTS recent, oldest, largest, name
COUNTIES, RIVERS, TOWNS The county diagram on /projects, in miles from the northwest corner of Howard County. Each county and town has a label position chosen to stay clear of the pins (towns also have an anchor); the studio (studio: true) is a square with a leader line to its label
PROJECTS Eleven projects with facts, story, collaborators, awards and the data for every drawing (below)
PEOPLE Six people: id, name, role, group (principal or team), initials, since, bio, fact
AWARDS, PUBLICATIONS Past recognition with real dates (YYYY-MM-DD) and a project slug
PHASES The six phases with weeks per brief type (house, renovation, small, civic) and the copy for each
FAQS Questions and answers on /process
BRIEF Brief builder options: types, sites (with extraWeeks), sizes (with mid and factor), budgets (with mid), costPerSqFt, priorities (with a note), maxPriorities: 3, seasonCount: 8, seasonLeadDays: 182
CAPACITY leadDays: 21, queueWeeks per type (civic: 8, others 0) and a note
CONSULT First meetings: days: [2, 3, 4] (Tue–Thu), times: ["10:00", "15:00"], leadDays: 3, count: 6, and modes (studio, site, video)
POSTS Seven journal notes: slug, date, tag, author (a PEOPLE id), optional project, title, dek, body paragraphs

The project slugs, in order (their sheet numbers are A-101 to A-111): trout-run-house, canoe-creek-farmhouse, turkey-river-library, burr-oak-meeting-house, yellow-river-cabin, winnebago-alley-house, arcade-block-storefront, paint-creek-house, mcgregor-bluff-house, castalia-township-hall, calmar-seed-barn. Four have featured: true and appear on the home page; the four that aren't built have a phase line ("This week") and appear in "Currently on the boards".

Adding a project

Copy a project object in PROJECTS and change it (the Project type in the same file lists every field). Drawing data is in feet:

ts
{
  slug: "bluff-sauna", name: "Bluff Sauna", town: "Decorah", county: "Winneshiek",
  map: [42, 12],                 // position on the county diagram, in miles
  type: "small", status: "built", year: 2026, area: 140, featured: false,
  client: "...", summary: "...", story: ["..."], facts: { stories: "1", structure: "...", energy: "..." },
  collaborators: ["..."], awards: [],
  plan: {
    label: "Floor plan", north: 0,                      // north arrow rotation in degrees
    outline: [[0, 0], [10, 0], [10, 14], [0, 14]],      // exterior wall
    rooms: [
      { name: "Hot room", x: 0, y: 0, w: 10, h: 8, note: "..." },
      { name: "Deck", x: 0, y: 14, w: 10, h: 6, outdoor: true, note: "..." },
    ],
    windows: [[2, 0, 8, 0]],                            // wall segments x1, y1, x2, y2
    doors: [[0, 10, 3, 0]],                             // hinge x, y, radius, start angle (0 east, 90 south)
  },
  section: { width: 10, profile: [[0, 0], [10, 0], [10, 8], [5, 12], [0, 8]], levels: [{ z: 0, label: "Floor" }], spaces: [{ x: 5, z: 4, name: "Hot room" }] },
  elevation: { label: "South elevation", width: 10, profile: [[0, 0], [10, 0], [10, 8], [5, 12], [0, 8]], cladding: "board",
               openings: [{ x: 3.5, z: 0, w: 3, h: 7, kind: "door" }], tags: [{ code: "M1", x: 2, z: 5 }] },
  axon: { depth: 14 },
  materials: [{ code: "M1", name: "Cedar siding", spec: "...", where: "..." }],
}

Optional drawing fields: plan.existing (an existing building drawn hatched), section.floors (floor lines), section.steps, section.piers, section.ground (a polyline), section.below (a dashed basement or crawl space), elevation.lines (eaves, cornices), elevation.base (a base band with its own cladding), elevation.piers. Cladding types: board, batten, lap, metal, brick, stone, concrete. Opening kinds: window, glass, door, garage, transom, screen, round. A room's area is w × h; area on the project is the gross conditioned area you quote, which can include other floors.

Images and artwork#

There are no photos. All drawings are SVG:

  • Project drawings are generated in app/utils/drawings.ts (drawPlan, drawSection, drawElevation, drawAxon, drawCountyMap) as SVG markup, which the components put in the page with v-html. Sheets are drawn into a 600 × 420 viewBox (axonometrics 600 × 380 or 340) and scaled to fit, so they stay sharp at any width. The classes they use (.dwg, .wall, .t-room…) are styled in main.css. To use photos instead, replace the drawing <div> in app/components/ProjectCard.vue with an <img> at about a 16:10 ratio (files in public/ need the base path: :src="`${$config.app.baseURL}img/...`").
  • Hand-drawn SVG is written in the pages: the home hero axonometric (inside .axo in app/pages/index.vue), the studio elevation in app/pages/practice.vue, the downtown map in app/pages/contact.vue and the plan with a missing room in app/error.vue.
  • Monograms for people are generated by monogram(), each with its own motif (gable, arch, lintel, stair, circle, pediment).
  • Journal art: a note about a project shows its axonometric; the others get a drawing for their subject (postArt()).
  • Social image: public/img/og-image.svg is the source and public/img/og-image.png (1200 × 630) is what pages use. Regenerate the PNG after editing the SVG (any SVG to PNG converter works; keep 1200 × 630).
  • Favicon: public/img/favicon.svg (the logo mark), linked in nuxt.config.ts.

The header is app/components/SiteHeader.vue and the footer app/components/SiteFooter.vue; both are in app/layouts/default.vue, so every page has them. Menu items come from MAIN_NAV and the footer's sheet index from SHEET_INDEX in app/data/nav.ts. To add a page, create app/pages/<route>.vue, add it to both lists and to routes in nuxt.config.ts (every page is listed there to be prerendered). The current page gets aria-current="page" from the address (a project page counts as Projects).

Dark mode#

The moon button in the header ([data-theme-toggle]) switches dark mode. The boot script in nuxt.config.ts (app.head.script) adds the dark class to <html> before the page paints, using the saved choice (lintel:theme) or the system setting. To ship light only, delete the theme part of the boot script and the [data-theme-toggle] button; to default to dark, change the script's fallback to 'dark'.

Features#

Dates and the static build#

The static build can't know the visitor's date, URL parameters or saved choices, so everything that depends on them is read in onMounted() and renders right after the page loads. useNow() (app/composables/useNow.ts) and useStarred() return null until then: the generated HTML shows the text as of Sunday, Nov 29, 2026 (WRITTEN_DAY in app/utils/time.ts), the first project and the default filters, and the real values follow without a hydration mismatch. Pages are keyed by their path and query (app/app.vue), so following a link to the same page with other parameters starts it afresh from the new address, as a page load does in the HTML version.

Hero axonometric#

The home hero is the SVG inside .axo in app/pages/index.vue. Each line has pathLength="1" and a delay (--d); CSS in main.css (.axo, @keyframes ax-draw) draws the lines one by one, fills the faces in afterward and fades in the dimensions and notes. With prefers-reduced-motion: reduce (or without JavaScript) the drawing is shown complete. Below 640 px the notes and dimension text are hidden. The title block under it shows today's date ([data-today]).

Projects index#

app/pages/projects.vue. Type and status buttons ([data-filter-type], [data-filter-status]), the sort select (#sort) and the "Starred only" toggle ([data-filter-starred]) filter and sort PROJECTS. Sorts: Most recent puts in design first, then in construction, then built work by year (newest first, name for ties); Oldest first is the reverse; Largest first sorts by area; Name, A to Z by name. URL parameters keep the view shareable: type, status, sort and starred=1; values are looked up with own-key checks (has()), so unknown values (even ?status=__proto__) fall back to the defaults. The count reads "Showing 3 of 11 projects", and an empty state offers "Clear filters", which keeps the sort.

The county diagram (drawCountyMap()) draws six counties, three rivers, nine towns, the studio and a numbered pin per project (pin 1 is A-101); pins hidden by a filter fade. Each pin links to its project (the page opens those links with the router). Below 1024 px a numbered key under the diagram lists each pin's project and town; below 640 px the town names on the diagram are hidden and the county names are drawn larger. If you move a pin (map in PROJECTS), check that it doesn't land on a label.

Project page and drawing viewer#

/project?p=<slug>, app/pages/project.vue with the viewer in app/components/DrawingViewer.vue. Without ?p the first project (trout-run-house) is shown; an unknown slug shows "We couldn’t find that project." with a list of all projects. The browser tab title becomes "Trout Run House, Decorah · Lintel Architecture".

The viewer has three tabs ([data-sheet-tab]: Plan A-101, Section A-301, Elevation A-201) using the ARIA tab pattern (arrow keys, Home and End). The chosen sheet is kept in ?sheet=section or ?sheet=elevation. On the plan, numbered buttons sit on each room ([data-room], absolutely positioned over the SVG); choosing one, or a row of the room schedule, highlights the room and shows its name, area ("168 sq ft"), size ("12′-0″ × 14′-0″") and note. Choosing it again clears it. The schedule ends with the net area on the floor and the project's total, for example "2,368 sq ft net on this floor · 2,480 sq ft total". Room names are drawn on the plan only when they fit the room (name.length × 5.8 < width − 8 in drawing units) and are hidden below 640 px; the hotspots and the schedule always name every room. Every sheet has a graphic scale (0, 4, 8, 16 feet) and the plan a north arrow; elevations carry circled material tags that match the materials schedule.

Starred projects#

Every project card and project page has a Star button (StarButton.vue, [data-star], aria-pressed). Starred slugs are saved in lintel:starred; the counts ([data-star-count]) and the "Starred only" filter use them, and every button and count on the page updates together. While "Starred only" is on, unstarring a project removes its card right away.

Process durations#

app/pages/process.vue. The project type buttons ([data-process-type]: New house, Renovation, Small building, Civic) set the weeks shown in every phase (PHASES[i].weeks[type]), the bar chart, "Design and permits" (all phases but construction) and "Start to finish", with months as Math.round(weeks × 7 / 30.4375). Totals: house 72 weeks (about 17 months), renovation 57 (13), small 40 (9), civic 92 (21). The type is kept in ?type= (default house).

Brief builder#

app/pages/start.vue, with the math in computeBrief() in app/utils/brief.ts. Six steps: type, site, size, budget, move-in season and up to three priorities (the last is optional; a fourth checkbox is disabled once three are chosen). Next checks that the step has an answer ("Choose a project type to continue.") and Back returns. Answers and the current step are saved after every change, so a reload returns to the same place; Start over clears them, Change answers returns to step 1.

How the result is worked out (all dates in Central time):

  1. Design start: the first Monday on or after today + CAPACITY.leadDays (21) + 7 × queueWeeks[type]; a Monday that is a federal holiday moves to the next Monday (designStart() in app/utils/time.ts).
  2. Phases: for each phase, Math.round(PHASES[i].weeks[type] × sizes[size].factor) weeks, plus sites[site].extraWeeks on pre-design. Each phase starts the day after the previous one ends and lasts 7 × weeks days. Ranges show as "Dec 2026–Jan 2027", "Jan–Mar 2027" or "Mar 2027".
  3. Realistic finish: the last day of construction, shown as month and year.
  4. Move-in check: seasons are spring (Mar–May), summer (Jun–Aug), fall (Sep–Nov) and winter (Dec–Feb, labeled "Winter 2027–28", id 2027-winter). The list offers seasonCount (8) seasons starting with the one that contains today + seasonLeadDays (182). "On track" if the finish is on or before the chosen season's last day, otherwise "Later than hoped" with the season that contains the finish.
  5. Budget check: typical cost = size mid × costPerSqFt[type] low and high, each rounded to $5,000. "Tight" if the budget band's mid is below the low, "Room to spare" if above the high, otherwise "In range".
  6. Capacity: "We have room" when the type's queue is 0, otherwise "A short wait" with the queue in weeks.
  7. Reference: LT- + two-digit year and month of today + - + a four-digit number: h = (h × 31 + charCode) % 9000 over type|site|size|budget|season|priorities joined with + (priorities in the order of BRIEF.priorities), then 1000 + h.

Example for today Nov 29, 2026 (a Sunday), with a new house, own the site, 1,800 to 3,000 sq ft, $700,000 to $1.2 million, fall 2027, and energy, aging in place and daylight: design starts Monday, Dec 21, 2026; phases Dec 2026–Jan 2027, Jan–Mar 2027, Mar–May 2027, May–Aug 2027, Aug–Oct 2027, Oct 2027–Sep 2028; 91 weeks, about 21 months; finish Sep 2028, so "Later than hoped" with fall 2028; typical cost $780,000 to $1,080,000, "In range"; reference LT-2611-3517. A civic project on the same day starts Monday, Feb 22, 2027 (Feb 15 is Washington’s Birthday).

First meeting request#

Below the result (app/components/ConsultRequest.vue). Slots (meetingSlots() in app/utils/time.ts): CONSULT.days (Tuesday to Thursday) at CONSULT.times (10:00 a.m. and 3:00 p.m. Central), from today + leadDays (3), skipping federal holidays, the first count (6). On Nov 29, 2026 they are Wed, Dec 2 and Thu, Dec 3 at both times, then Tue, Dec 8 at both times. The form needs a slot, a place to meet, a name and an email (the phone is optional, 10 digits if given). The success panel repeats the time, the place and the brief reference and says Astrid will confirm by the next working day. Choose another time clears the request.

US federal holidays#

federalHolidays(year) in app/utils/time.ts computes the observed dates by rule: New Year’s Day, Martin Luther King Jr. Day, Washington’s Birthday, Memorial Day, Juneteenth, Independence Day, Labor Day, Columbus Day, Veterans Day, Thanksgiving and Christmas (a Saturday holiday is observed on Friday, a Sunday one on Monday). They close the studio, skip meeting slots and move design starts.

Studio hours#

openStatus() in app/utils/time.ts, shown in the footer and on /contact: "Open now, until 5:30 p.m. Central", "Closed now. Opens tomorrow at 8:30 a.m. Central" or "Closed today for Christmas Day. Opens Monday at 8:30 a.m. Central". /contact also shows the next holiday closure ("Closed Friday, Dec 25 for Christmas Day.", nextHoliday()) and the reply date (two working days ahead, addWorkdays()). Hours come from STUDIO.hours.

Journal#

app/pages/journal.vue. Notes are sorted newest first, with subject buttons built from the posts' tag values. ?post=<slug> shows one note with its drawing (the project's axonometric, or a drawing for its subject), its project link and older and newer notes. An unknown slug shows "We couldn’t find that note."

Live dates#

The copyright year (data-year), the title block date ("Nov 29, 2026", data-today), years in practice (data-years-practice, years since STUDIO.founded) and the next design start ("Monday, Dec 21", data-next-start) are worked out from today with useNow() in the footer and the pages that show them.

Below 1024 px the menu button (#menu-toggle) opens #mobile-menu; Escape closes it and returns focus to the button, and it closes when the window grows to desktop width or the page changes. The header gets a hairline shadow once the page scrolls. Sections marked .reveal fade in as they scroll into view (app/plugins/reveal.client.ts); with reduced motion everything shows at once.

Forms#

There are two forms; neither sends anything until you connect it.

  • Contact (#contact-form, app/pages/contact.vue): name (2+ characters), email, optional phone (10 digits), a topic (project, existing, press, careers, other; preset with ?topic=press) and a message of 20+ characters. Errors show under each field with aria-invalid, and the first problem gets focus; the success panel shows a reference (LT-M plus four digits worked out from the email) and the reply date.
  • First meeting (#consult-form, app/components/ConsultRequest.vue), described above.

To connect a form service such as Formspree, find the comment in the form's onSubmit and send the form with fetch, showing the success panel only when the service answers OK:

ts
async function onSubmit(e: Event) {
  e.preventDefault();
  // ...validation as it is...
  const response = await fetch("https://formspree.io/f/your-id", {
    method: "POST",
    headers: { Accept: "application/json" },
    body: new FormData(form.value!),
  });
  if (!response.ok) return;
  sent.value = { name: firstName(v.name) ?? "", ref: `LT-M${1000 + s}` };
}

For the meeting request, add the brief's answers (briefRecord(a) from app/utils/brief.ts, the same object that is saved in lintel:brief) as extra FormData entries. With a server deployment (pnpm build and a Node host, see Building and deploying) you can post to a Nitro server route instead, for example server/api/contact.post.ts with export default defineEventHandler(async (event) => { const body = await readFormData(event); ... }), and pass the message to your email service.

Saved data (localStorage)#

All storage goes through safeStorage in app/utils/safeStorage.ts, which falls back to memory when the browser blocks storage (a sandboxed iframe or strict privacy settings), so features keep working for the visit. The keys are in KEYS in the same file.

Key Shape Validation on read
lintel:theme light or dark (a plain string) Anything else means "follow the system"
lintel:starred ["trout-run-house", ...] Must be an array; unknown slugs and duplicates are dropped (app/composables/useStarred.ts)
lintel:brief { "v": 1, "step": 2, "type": "house", "site": "owned", "size": null, "budget": null, "season": null, "priorities": [] } cleanBrief() in app/utils/brief.ts: v must be 1; each answer must be an own key of its BRIEF list; a season that has rolled out of the current list is dropped; priorities are capped at 3 and kept in the order of BRIEF.priorities; the step falls back to the first unanswered question

To reset, use Start over on the brief, unstar projects, or clear the site's storage in the browser's developer tools (Application > Local Storage).

Demo dates#

Nothing on the site goes stale: design starts, meeting slots, move-in seasons, the studio's open status, holiday closures, the title block date, years in practice and the copyright year are all computed from today in Central time. Past content keeps its real dates: journal notes, awards and publications, and project years.

  • ALLOW_NOW_PARAM (top of app/utils/time.ts, true): add ?now=2027-06-01T10:00 to any page to preview another moment (Central time). Set it to false on a live site.
  • The "This week" phase lines of projects in progress (phase in PROJECTS) are written text; update them as your projects move along.
  • For fixed dates on a real site, change CAPACITY, CONSULT and BRIEF.seasonLeadDays, or replace designStart() and meetingSlots() with your own lists.

SEO and sharing#

Each page sets its title, description, canonical URL and Open Graph tags with usePageSeo() from app/composables/usePageSeo.ts; site-wide tags (theme color, color scheme, favicon, the boot script) are in app.head in nuxt.config.ts. /project and /journal also set the browser tab title to the project or note shown. Set SITE_URL to your domain when you build (SITE_URL=https://www.example.com pnpm generate): runtimeConfig.public.siteUrl uses it so the canonical URL and og:image (img/og-image.png) are absolute, which social sites require. The 404 page is noindex. Project and note pages are driven by URL parameters, so for search engines consider listing /project?p=<slug> URLs in a sitemap, or making a route per project (app/pages/projects/[slug].vue) and adding each to routes in nuxt.config.ts.

Accessibility#

  • Skip link, landmarks, one <h1> per page (the project and journal pages render only the view they show) and aria-current="page" in the navigation.
  • Filters and toggles are buttons with aria-pressed; the drawing viewer uses role="tablist" with arrow-key navigation; room hotspots are labeled buttons ("Room 1: Entry and mudroom") mirrored by the room schedule.
  • Drawings have role="img" and an aria-label; the pins on the county map are labeled links.
  • Changes in counts, stars and the brief are announced through a polite live region (#live-region, announce() in app/utils/client.ts).
  • Visible focus outlines, AA contrast in light and dark, and prefers-reduced-motion turns off the hero animation, scroll reveals and transitions.
  • When editing, keep one <h1>, label new form fields and keep aria-describedby ids matching.

Building and deploying#

pnpm generate writes a static site to .output/public/: every page is prerendered to its own file (projects.html, served at /projects) and app/error.vue to 404.html.

  • Netlify / Cloudflare Pages: build command pnpm generate, publish directory .output/public.
  • Vercel: import the repository; Nuxt is detected (use pnpm generate as the build command for a static site).
  • Any static host: upload the contents of .output/public/, with extensionless URLs mapped to the .html files (most hosts do this) and 404.html as the not-found page.

To serve from a sub-folder, build with DEMO_BASE_PATH=/studio pnpm generate; nuxt.config.ts makes it app.baseURL, which every link, script, stylesheet and font uses, and the county map's pin links read it too. pnpm build:demo does this for the freeframe.dev demo (demo/, which you can delete).

Tailwind scans the source files for class names, including the strings in app/utils/drawings.ts; keep each class name whole (not built from pieces such as `bg-${color}`), or it won't be generated.

To use server features (server routes for the forms), run pnpm build and deploy .output/ to a Node-capable host; the pages stay prerendered.

TypeScript setup#

typescript is installed as an alias of @typescript/typescript6, the TypeScript 6 API that vue-tsc needs. tsconfig.json only references the configs Nuxt writes to .nuxt/ (run pnpm install or pnpm typecheck once), which turn on strict checks, including noUncheckedIndexedAccess.

Troubleshooting#

  • A new room label is missing on the plan. Names that don't fit the room are left off the drawing; the numbered hotspot and the room schedule still show them.
  • A drawing looks wrong after editing a project. Coordinates are in feet; check that plan.rooms sit inside plan.outline and that section.profile and elevation.profile are closed outlines in order.
  • New classes have no effect. Class names built from pieces aren't generated; write them out in full.
  • My brief keeps coming back. It is saved in lintel:brief; use Start over.
  • Dates look wrong while testing. Remove ?now= from the address, or set ALLOW_NOW_PARAM to false.
  • The forms say "received" but nothing arrives. The demo forms are not connected; see Forms.
  • Links or images break under a sub-folder. Use <NuxtLink to="/..."> for pages and $config.app.baseURL for files in public/, and build with DEMO_BASE_PATH.
  • A hydration warning after editing a component. Values that depend on the clock, the address or storage must be read in onMounted() (or come from useNow() and useStarred(), which are null until then).
  • pnpm templates:build or a host refuses the folder because of dist. nuxt generate leaves a dist symlink to .output/public; delete it.

License#

Freeframe Commercial License: use it in unlimited websites and apps for yourself and your clients; it may not be resold or redistributed as a template. The full terms, with your licensee details, are in LICENSE.txt and at https://freeframe.dev/license#commercial. Third-party components keep their own licenses. Tenor Sans and Inria Sans are included under the SIL Open Font License, and Syncopate under the Apache License 2.0 (see app/assets/fonts/). Lintel Architecture, its people, clients, projects and contact details are fictional.

Search documentation

Search the guides and every template's documentation