Meridian Freight

Transport & logistics HTML template — 20 homepages, 26 inner pages, 8 header styles and 7 footer styles built from one design system. Plain HTML, CSS and vanilla JavaScript: no build step, no frameworks.

1 · Getting started

  1. Unzip the package.
  2. Open index.html in a browser for the intro page, or open any file in template/ directly.
  3. Upload the whole folder to any static host (Netlify, GitHub Pages, S3, shared hosting). Keep the folder structure intact.
Tip: the intro page shows live thumbnails of every page inside iframes. Some browsers restrict iframes on file://; if thumbnails look empty run python3 -m http.server in the package folder and open http://localhost:8000.

2 · File structure

meridian-freight-html/
├── index.html                 Intro landing page
├── template/                  46 pages (home-01…20, inner pages)
└── assets/
│   ├── css/core.css           Tokens, type, components, headers, footers
│   ├── css/homes.css          Homepage blocks h1–h15 + shared cards
│   ├── css/homes2.css         Homepage blocks h16–h20 (cold chain, moving, customs, load board, heavy haul)
│   ├── css/inner.css          Inner-page components
│   ├── css/polish.css         Readability, logo plate, certs strip, tool tiles
│   ├── css/intro.css          Intro page only
│   ├── js/main.js             All interactions
│   ├── js/intro.js            Intro page only
│   └── img/                   Local images (after running the tool)

3 · Images & offline use

To keep the download light, photos load from the Unsplash CDN (images.unsplash.com) at the sizes each layout needs. Every <img> also carries a matching dominant-colour background so layouts never jump while loading.

To bundle the photos with your site (recommended for production), run once with an internet connection:

python3 tools/localize-images.py

The script downloads every image into assets/img/ and rewrites all HTML files to use the local copies. Replace any file with your own photography using the same filename, or edit the src in the HTML. Photos are licensed under the Unsplash License — see images-credits.md.

Fonts load from Google Fonts (Bricolage Grotesque, Instrument Sans, JetBrains Mono). To self-host, download the families and replace the <link> in each page's <head> with @font-face rules; the CSS falls back to Inter and system fonts.

4 · Page index

Homepages

FileNameConcept
home-01Heavy Haul (main homepage)Giant wordmark over a port photo, floating pill nav, dual service cards
home-02Split TrackerTwo-column hero with live tracking widget and milestone timeline
home-03Departure BoardAirport-style live shipment board as the hero
home-04Editorial IndexTypographic hero with inline image words and a numbered service index
home-05Lane ScrollCentred statement and horizontal draggable lane cards
home-06Rail SlideshowFull-screen crossfade slides with a fixed vertical side rail
home-07Instant QuoteHero with a working rate estimator (mode, weight, distance)
home-08Bento GridAsymmetric bento hero with quick-action dock
home-09Fleet ShowcaseFleet-first hero with sticky spec sheets
home-10Global NetworkNetwork and hub-centred storytelling with lane list
home-11Process TimelineVertical process timeline with sticky intro
home-12Logistics JournalEditorial/magazine layout with ticker and news index
home-13Warehouse SplitHalf-screen photo split for warehousing & fulfilment
home-14Annual ReportData-led report style with large figures and charts
home-15Parcel ExpressSmall-parcel/last-mile focused layout with tracking and pricing
home-16Cold ChainTemperature zones, live reefer gauge and monitoring flow
home-17Moving & RelocationInteractive cost estimator, pricing plans and move steps
home-18Customs ComplianceLanded-cost duty estimator, agencies and clearance checklist
home-19Freight Load BoardFilterable live load table, rate widget and carrier trust checks
home-20Harbor HeroPhoto hero, spec band, trailer types and route engineering timeline
home-16Cold ChainTemperature zones, live reefer gauge and monitoring flow
home-17Moving & RelocationInteractive cost estimator, pricing plans and move steps
home-18Customs ComplianceLanded-cost duty estimator, agencies and clearance checklist
home-19Freight Load BoardFilterable live load table, rate widget and carrier trust checks
home-20Harbor HeroPhoto hero, spec band, trailer types and route engineering timeline

Inner pages

FilePurpose
about, story, team, careersCompany: values, timeline, leadership, open roles
services, services-listServices overview (grid) and index (list)
service-sea / air / road / rail / warehouseSingle service pages with features and spec table
trackingShipment tracking with demo results (?ref=MRD-2048-7731)
quoteMulti-step quote form with validation
pricingPlan comparison with FAQs
fleet, locationsFleet catalogue; hubs and offices
case-studies, case-singleFilterable case grid; case study detail
blog, blog-list, blog-singleJournal grid, list with sidebar, article
faq, contact, contact-officesFAQ accordion; contact form; offices
404, coming-soonUtility pages (countdown included)

5 · Headers & footers

Each page's <body> carries a class hdr-N (1–8). Header markup sits at the top of the page and footer markup at the bottom; swap them between pages by copying the block and the body class.

HeaderStyle
hdr1Floating pill actions with centred logo and CTA
hdr2Utility bar + main nav with dropdown menus
hdr3Logo, tracking field and drawer toggle
hdr4Minimal mono-label navigation
hdr5Split nav with logo centred
hdr6Fixed vertical rail
hdr7Transparent overlay with Menu button
hdr8Tracking bar with drawer

Footers 1–7 range from a compact legal strip to a multi-column dispatch-desk footer with newsletter sign-up.

6 · Colours & typography

TokenValueUse
--ink#06213dText, dark surfaces
--blue#0a58b5Primary brand, CTAs
--sig#ff5a1fSignal accent
--sky / --sky2#e8f4fb / #d3e8f6Tint panels
--paper#f4f8fcSection background

Edit these in the :root block at the top of assets/css/core.css; every page updates. Fonts: --ff-d display (Bricolage Grotesque), --ff-b body (Instrument Sans), --ff-m mono labels (JetBrains Mono). The corner size of chamfered containers is --cut.

7 · Components

  • Chamfered containers — add .cut, .cut-b, .cut-tr, .cut-bl or .cut-br; size with .cut-sm/.cut-lg.
  • Buttons — .btn with --blue, --sig, --white, --line, --sm modifiers; arrow in <i class="arr">.
  • Patterns — .pat-corr, .pat-grid, .pat-dots, .pat-hatch, .pat-cross for subtle section textures.
  • Layout — .wrap, .wrap--wide, .sec, .sec--sm; type scale .display, .h-xl….h-sm, .lead.
  • Forms, tables, tabs, accordion, tags — styled in core.css; reuse the markup from contact.html, pricing.html and faq.html.

8 · JavaScript features

Attribute / classBehaviour
[data-rv]Reveal-on-scroll
[data-count]Animated counters (data-sep="1" adds thousands separators)
[data-fade]Crossfade slider with arrows and dots
[data-track]Tracking demo — enter MRD-2048-7731
[data-quote]Instant rate estimator
[data-steps]Multi-step form with validation
[data-countdown="2026-12-31T00:00:00"]Coming-soon countdown
Tabs, accordion, filters, drawerAuto-initialised from the markup

Append ?static to any URL to disable animation and reveal (useful for screenshots). Forms are front-end only: wire action to your backend or a form service. Tracking and quote tools use demo data — connect your API in main.js.

9 · Customising

  1. Replace brand name and logo: search for “Meridian”; the logo is an inline SVG in each header/footer.
  2. Change colours and fonts via the tokens in core.css.
  3. Replace copy, names and numbers — all sample text is realistic dummy content.
  4. Pick a homepage, rename it index.html, and fix the links in its header.
  5. Remove unused homepages and assets before launch.

10 · Browser support & credits

Latest Chrome, Edge, Firefox and Safari. The layouts are responsive from 360px; motion respects prefers-reduced-motion.

Credits: photography from Unsplash (see images-credits.md); fonts from Google Fonts (SIL OFL). All names, companies and figures in the demo content are fictional.