Przejdź do treści

Architect Plinth

v1.0

A five-page editorial website for an architecture studio: full-bleed photos, giant serif headlines, a visible column grid, numbered sections and a project index whose photos float beside the pointer.

  • React + HTML
  • 5 stron

$69

Adres strony: /

Wbudowane

Co dostajesz
  • Jasny i ciemnyUżywa kolorów twojego motywu
  • Komputer, tablet i telefonEkrany, dla których powstał
  • Pakiety…
  • Rozmiar kodu…
  • Oszczędza baterię30 fps, bezczynny w spoczynku
  • Pauza, gdy niewidocznyPoza ekranem lub w innej karcie
  • Mniej ruchuSpokojny dla osób, które o to proszą

Sprawdzane przy każdej zmianie

Bezpieczeństwo sprawdzone: 3 gru
  • Sprawdzanie typówTypeScript w trybie strict
  • Lint i formatowanieESLint · Prettier
  • Testy i buildZrzuty ekranu w jasnym i ciemnym
  • Audyt bezpieczeństwaBrak ostrzeżeń wysokich i krytycznych
  • Wiek pakietówKażda wersja publiczna od 7+ dni
  • CPU w spoczynkuPoniżej pół rdzenia w spoczynku, ≤ 30 fps

Kod

architect-plinthHTML
  • index.htmlThe home page and all its text, one marked block per section.
  • projects.htmlThe projects page and all its text, one marked block per section.
  • project.htmlThe project page and all its text, one marked block per section.
  • studio.htmlThe studio page and all its text, one marked block per section.
  • contact.htmlThe contact page and all its text, one marked block per section.
  • theme.cssThe colors and fonts in one place.
  • send.jsThe one function the form calls: plug in your form endpoint here.
  • sectionsOne file per page section.
    • band.cssA full-bleed photo band that drifts slower than the page, with a pull quote set large on it and its caption below.
    • closing.css05 Next: a deeper paper band with the giant question, a line on what happens and the way in.
    • enquiry.cssThe contact page: the giant "Start a project", the enquiry form (or once sent, what happens next) beside the address, hours and a photo.
    • enquiry.jsThe enquiry form: checks each required field, sends with send.js, then shows what happens next or the couldn't-send line.
    • figures.css04 In numbers: four big figures in the primary that count up on view, each on its own column rule, then the recent awards as a ruled list.
    • footer.cssThe footer: address, contact and pages in four columns, the wordmark across the full width and the legal line.
    • founders.css02 Partners: the two founders' portraits set off-grid, the second dropped lower, each with a caption, name, role and short bio.
    • hero.cssThe cover: a full-bleed photo of the latest house with the giant headline, the two actions and a magazine caption set on it.
    • intro.css01 The practice: a large lede, a pull quote in the primary and the body with a drop cap, set off the grid's center.
    • nav.cssThe top bar: the wordmark, the running head, the page links and the main action; the menu on narrow screens.
    • nav.jsThe top bar: the running head names the numbered section you are reading, and the menu on narrow screens opens and closes (Escape too).
    • people.css05 The team: every name and role on hairlines in three columns, then the studio's press as a ruled list.
    • practice.css03 What we do: the title held in the left half while four numbered services run down the right on hairlines.
    • principles.css03 How we work: the title, then four rules in two columns, each under a big numeral in the primary.
    • process.css04 A project, start to finish: five steps along one rule, a square mark on the rule for each; stacked down a rule on a phone.
    • project-gallery.css02 Plates: two photos set off-grid, one wide and one tall dropped lower, each with its figure caption.
    • project-head.cssA project's opening: the way back, its number, the giant name and its facts line, then the cover photo across the full width.
    • project-index.cssThe projects page: the giant title and count, a filter by type, then every project as a ruled row whose photo floats beside the pointer.
    • project-index.jsThe projects page: the type filter and its count, and the hovered project's photo floating beside the pointer, easing after it on the shared clock.
    • project-next.cssThe next project: its name set giant beside a small photo, the whole band one link that leans in on hover.
    • project-story.css01 The story: the facts held in a narrow column on the left while the lede, the body with its drop cap and the pull quote run on the right.
    • studio-head.cssThe studio page's opening: the giant two-line statement, a short intro set to the right, then the studio floor across the full width.
    • works.css02 Selected works: four projects set off-grid at different sizes, each photo with its number, name and place like a magazine plate.
  • partsWhat several sections share.
    • count-up.jsCounts every [data-count-up] number up from zero the first time it scrolls into view (In numbers), on the shared clock.
    • grid-lines.cssThe page motif: the column grid drawn as hairlines down the whole page behind every section, each line drawn in once from the top, left to right.
    • grid-lines.jsDraws the column grid's hairlines in once when the page opens, and rests your background's drift in a hidden tab.
    • motion.jsThe motion helpers the other scripts share, as the page's one global: window.architectPlinth (reduced motion, run-once-in-view, the one 30-a-second clock).
    • page.cssWhat every page shares: the reset, the column and its grid, the type, buttons, fields, the focus ring, photos with captions, section rules and the reveals.
    • photo.jsMoves every drifting photo ([data-drift]) slower than the page while it is on screen, on the shared 30-a-second clock.
    • project-page.jsFills the project page from the address (project.html?project=<slug>): the words and photos of that project, from parts/projects.js.
    • projects.jsEvery project's words and photos, for the project page (parts/project-page.js); the same as projects.ts.
    • reveal.jsHolds back every [data-reveal] element below the fold until it scrolls into view; each one's CSS says how it arrives.
  • photosThe photos the page shows.
    • arc-library.jpgA photo the page shows.
    • band-towers.jpgA photo the page shows.
    • calder-court.jpgA photo the page shows.
    • founder-hale.jpgA photo the page shows.
    • founder-vale.jpgA photo the page shows.
    • hollow-oak.jpgA photo the page shows.
    • interior-chair.jpgA photo the page shows.
    • interior-living.jpgA photo the page shows.
    • interior-lounge.jpgA photo the page shows.
    • interior-stair.jpgA photo the page shows.
    • linden-row.jpgA photo the page shows.
    • meridian-gallery.jpgA photo the page shows.
    • pier-lofts.jpgA photo the page shows.
    • strand-studios.jpgA photo the page shows.
    • studio-drawing.jpgA photo the page shows.
    • studio-floor.jpgA photo the page shows.
    • white-terrace.jpgA photo the page shows.

index.html

The home page and all its text, one marked block per section.

Ładowanie…
Dobry do
Architecture, landscape and interior design studios that want their buildings shown large, like a magazine feature.
Jak to działa
The column grid draws in, photos uncover and drift slowly, the top bar names the section you read, and index photos follow the pointer.
Jak używać
Otwórz index.html albo wrzuć folder na dowolny serwer statyczny. Teksty są w index.html, kolory i czcionki w theme.css, a funkcja wysyłania formularza w send.js. Resztę znajdziesz w części Plain HTML w README.md.