Page Footer 11
Local shop-front footer for local-service funnels. It shows the visitor they are covered (their
Use it in a prompt
Use content/page-footer-11 from the FunnelDNA library. Follow the skill and theme contract. Ask me for the copy, images, and brand details you need; do not invent proof.
Paste into Claude or ChatGPT with FunnelDNA connected (MCP setup), or alongside the skill.
Use it in code
- Save
component.tsx(Code tab) ascomponents/funneldna/content/page-footer-11.tsx. - Import it and pass your copy and images (Props tab):
import { PageFooter11 } from "@/components/funneldna/content/page-footer-11"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/content/page-footer-11/component.tsx 826 lines
// layout: route-map
// Local shop-front footer for local-service funnels. It shows the visitor they are covered (their
// neighbourhood beside an illustrated area map) and whether the shop is open right now (a live status
// worked out from the weekly hours). It then gives two big ways to act: tap to call, or ask for a free
// quote. Legal links, licence lines and the copyright follow.
// Theme notes: every colour reads the theme tokens. Hex appears only as a last var() fallback. The map
// fills the `scene` slot (passed in by the page). The topo texture and the clay spot come from the shared
// fx kit. Solid status badges draw their glyph in --card, so it stays readable on light and dark themes.
import * as React from 'react';
import { Check, ClipboardCheck, Clock, Mail, MapPin, Phone, ShieldCheck } from 'lucide-react';
import { FX_HOST, Spot, Texture } from '../fx/fx';
import topo from '../fx/textures/topo';
import checklist from '../fx/spots/checklist';
export type PageFooter11Day = {
/** Day label shown in the week list, e.g. 'Monday'. Monday first, seven entries. */
day: string;
/** Opening time in 24-hour 'HH:MM'. Leave empty for a closed day. */
open?: string;
/** Closing time in 24-hour 'HH:MM'. Use '24:00' for midnight; a time earlier than open runs past midnight. */
close?: string;
};
export type PageFooter11Link = { label: string; href: string };
export type PageFooter11State = 'default' | 'hover' | 'active' | 'disabled' | 'open' | 'closing-soon' | 'closed';
export type PageFooter11Copy = {
/** Placeholder {phone}. */
callLabel: string;
/** Placeholder {status}. */
callNote: string;
openNow: string;
closingSoon: string;
closedNow: string;
checking: string;
checkingDetail: string;
/** Placeholder {time}. */
openUntil: string;
/** Placeholders {minutes} and {time}. */
closesIn: string;
/** Placeholder {time}. */
opensToday: string;
/** Placeholder {time}. */
opensTomorrow: string;
/** Placeholders {day} and {time}. */
opensOn: string;
noHours: string;
closed: string;
today: string;
/** Placeholders {open} and {close}. */
range: string;
am: string;
pm: string;
/** Placeholder {zone}. */
timeZoneNote: string;
weekLabel: string;
areaPrompt: string;
/** Placeholder {area}. */
areaYes: string;
areasLabel: string;
/** Placeholder {count}. */
routeAreas: string;
routeLocal: string;
routeQuote: string;
routeLabel: string;
legalLabel: string;
};
export type PageFooter11Props = {
/** Closing headline on the band. */
headline?: React.ReactNode;
/** One short line under the headline. */
lead?: React.ReactNode;
businessName?: string;
/** One line under the business name, e.g. the trades covered. */
tagline?: string;
/** Logo image (slot 'logo'), shown above the business name. */
logoImage?: string;
/** Street address, one string per line. */
address?: string[];
/** Directions link for the address; hidden when empty. */
directionsHref?: string;
directionsLabel?: string;
/** Phone number as it should read, e.g. '(555) 014-2290'. */
phone?: string;
/** Dial link. Defaults to tel: plus the digits of `phone`. */
phoneHref?: string;
email?: string;
/** Weekly hours, Monday first, seven entries. */
hours?: PageFooter11Day[];
/** IANA time zone of the business, e.g. 'America/Chicago'. Defaults to the visitor's clock. */
timeZone?: string;
/** Readable zone name shown under the hours, e.g. 'Central Time'. */
timeZoneLabel?: string;
clock?: '12h' | '24h';
/** Minutes before closing that count as 'closing soon'. */
soonMinutes?: number;
/** Fixed moment for the status (tests, screenshots). Defaults to the live clock. */
now?: Date | string | number;
/** Neighbourhoods or towns served, shown as chips beside the map. */
areas?: string[];
/** Illustrated service-area map (slot 'scene'). */
mapImage?: string;
mapImageAlt?: string;
areaHeading?: string;
quoteHeading?: string;
quoteBody?: React.ReactNode;
/** Italic aside in the owner's voice after the quote copy. */
quoteAside?: string;
/** Plain instruction right above the quote button. */
quoteInstruction?: string;
quoteLabel?: string;
/** One short line under the quote button. */
quoteNote?: string;
/** Where the quote button goes. Without it the quote action is a <button>. */
quoteHref?: string;
/** Clay illustration beside the quote copy (an fx spot asset). An empty string hides it. */
quoteSpot?: string;
/** Licence, insurance or registration lines for the base row. */
licences?: string[];
links?: PageFooter11Link[];
/** Placeholders {year} and {brand}. */
copyrightTemplate?: string;
/** Year in the copyright. Defaults to the current year. */
year?: number | string;
/** Every generated word. See PageFooter11Copy for its placeholders. */
copy?: Partial<PageFooter11Copy>;
/** Called when a quote button is clicked. */
onAction?: () => void;
/** Called when a call button is tapped, before the dialer opens. */
onCall?: (event: React.MouseEvent<HTMLAnchorElement>) => void;
/** Forced state for previews: a button state or a status variant. */
state?: PageFooter11State;
className?: string;
};
export function PageFooter11(props: PageFooter11Props) {
const {
headline = 'Local help is one call away',
lead,
businessName = 'Your Local Business',
tagline,
logoImage,
address = [],
directionsHref,
directionsLabel = 'Get directions',
phone = '',
phoneHref,
email,
hours = DEFAULT_HOURS,
timeZone,
timeZoneLabel,
clock = '12h',
soonMinutes = 60,
now,
areas = [],
mapImage,
mapImageAlt = 'Illustrated map of the area we serve',
areaHeading = 'We already work in your neighbourhood',
quoteHeading = 'Get your free quote',
quoteBody,
quoteAside,
quoteInstruction = 'Click the button below to get your free quote.',
quoteLabel = 'Get my free quote',
quoteNote,
quoteHref,
quoteSpot = checklist,
licences = [],
links = DEFAULT_LINKS,
copyrightTemplate = '© {year} {brand}. All rights reserved.',
year,
copy: copyOverrides,
onAction,
onCall,
state = 'default',
className,
} = props;
const copy: PageFooter11Copy = { ...DEFAULT_COPY, ...copyOverrides };
const uid = React.useId();
const contactId = uid + '-contact';
const hoursId = uid + '-hours';
const mapId = uid + '-map';
const quoteId = uid + '-quote';
const fixed = toDate(now);
const fixedKey = fixed ? String(fixed.getTime()) : '';
const [live, setLive] = React.useState<Date | null>(null);
React.useEffect(() => {
if (fixedKey) return undefined;
setLive(new Date());
const id = window.setInterval(() => setLive(new Date()), 30000);
return () => window.clearInterval(id);
}, [fixedKey]);
const instant = fixed ?? live;
const [picked, setPicked] = React.useState<string | null>(null);
const spans = Array.from({ length: 7 }, (_, index) => spanOf(hours[index]));
const forced = state === 'open' || state === 'closing-soon' || state === 'closed' ? state : null;
const real = instant ? localParts(instant, timeZone) : null;
let moment: Moment | null = real;
if (forced) moment = previewMoment(spans, forced, real ? real.day : 0, soonMinutes) ?? real;
const status = moment ? computeStatus(spans, moment.day, moment.minute, soonMinutes) : null;
const kind = status ? status.kind : 'unknown';
const t = (minute: number) => formatTime(minute, clock, copy.am, copy.pm);
let pill = copy.checking;
let detail = copy.checkingDetail;
if (status) {
if (status.kind === 'open') {
pill = copy.openNow;
detail = fill(copy.openUntil, { time: t(status.closesAt ?? 0) });
} else if (status.kind === 'soon') {
pill = copy.closingSoon;
detail = fill(copy.closesIn, { minutes: String(status.left ?? 0), time: t(status.closesAt ?? 0) });
} else if (status.kind === 'closed') {
pill = copy.closedNow;
const at = t(status.nextAt ?? 0);
const offset = status.nextIn ?? 0;
if (offset === 0) detail = fill(copy.opensToday, { time: at });
else if (offset === 1) detail = fill(copy.opensTomorrow, { time: at });
else detail = fill(copy.opensOn, { day: hours[(status.day + offset) % 7]?.day ?? '', time: at });
} else {
detail = copy.noHours;
}
}
const disabled = state === 'disabled';
const tel = phoneHref ?? (phone ? 'tel:' + phone.replace(/[^0-9+]/g, '') : undefined);
const callLabel = fill(copy.callLabel, { phone });
const callNote = fill(copy.callNote, { status: detail });
const todaySpan = status ? spans[status.day] : null;
const shownYear = year ?? new Date().getFullYear();
const copyright = fill(copyrightTemplate, { year: String(shownYear), brand: businessName });
return (
<footer
className={className ? 'cf-page-footer-11 ' + className : 'cf-page-footer-11'}
style={FX_HOST}
data-state={state}
data-kind={kind}
>
<style>{CSS}</style>
<Texture src={topo} tone='band-ink' />
<div className='pf11-wrap'>
<div className='pf11-head'>
<div>
<h2 className='pf11-h2'>{headline}</h2>
{lead ? <p className='pf11-lead'>{lead}</p> : null}
</div>
<ol className='pf11-route' aria-label={copy.routeLabel}>
<li className='pf11-stop'>
<span className='pf11-badge' data-tone='success' aria-hidden='true'>
<Check size={20} strokeWidth={3} />
</span>
<span className='pf11-stop-t'>
{areas.length ? fill(copy.routeAreas, { count: String(areas.length) }) : copy.routeLocal}
</span>
{areas.length ? <span className='pf11-stop-s'>{areas.slice(0, 3).join(' · ')}</span> : null}
</li>
<li className='pf11-stop'>
<span className='pf11-badge' data-tone={kind} aria-hidden='true'>
<Clock size={20} strokeWidth={3} />
</span>
<span className='pf11-stop-t'>{pill}</span>
<span className='pf11-stop-s'>{detail}</span>
</li>
<li className='pf11-stop'>
<span className='pf11-badge' data-tone='accent' aria-hidden='true'>
<ClipboardCheck size={20} strokeWidth={2.5} />
</span>
<span className='pf11-stop-t'>{copy.routeQuote}</span>
{quoteNote ? <span className='pf11-stop-s'>{quoteNote}</span> : null}
</li>
</ol>
</div>
<div className='pf11-bento'>
<div className='pf11-dock'>
{phone ? <CallLink href={tel} label={callLabel} disabled={disabled} onCall={onCall} /> : null}
<QuoteAction href={quoteHref} label={quoteLabel} disabled={disabled} onAction={onAction} />
{phone ? <p className='pf11-dock-note'>{callNote}</p> : null}
</div>
<section className='pf11-tile pf11-contact' aria-labelledby={contactId}>
<div className='pf11-cgrid'>
<div className='pf11-id'>
{logoImage ? <img className='pf11-logo' src={logoImage} alt='' /> : null}
<h3 id={contactId} className='pf11-h3'>{businessName}</h3>
{tagline ? <p className='pf11-tag'>{tagline}</p> : null}
{address.length ? (
<address className='pf11-addr'>
<MapPin className='pf11-ico' size={18} strokeWidth={2.5} aria-hidden='true' />
{address.map((line, index) => (
<React.Fragment key={line + index}>
{index > 0 ? <br /> : null}
{line}
</React.Fragment>
))}
</address>
) : null}
{directionsHref ? (
<p className='pf11-plain'>
<a className='pf11-link' href={directionsHref}>{directionsLabel}</a>
</p>
) : null}
{email ? (
<p className='pf11-plain'>
<Mail className='pf11-ico pf11-ico-accent' size={18} strokeWidth={2.5} aria-hidden='true' />
<a className='pf11-link' href={'mailto:' + email}>{email}</a>
</p>
) : null}
</div>
{phone ? (
<div className='pf11-callrow'>
<CallLink href={tel} label={callLabel} disabled={disabled} onCall={onCall} />
<p className='pf11-note'>{callNote}</p>
</div>
) : null}
</div>
</section>
<section className='pf11-tile pf11-hours' aria-labelledby={hoursId} style={{ animationDelay: '.07s' }}>
<div className='pf11-status' aria-live='polite'>
<p className='pf11-pill'>
<span className='pf11-dot' aria-hidden='true' />
{pill}
</p>
<h3 id={hoursId} className='pf11-h3 pf11-detail'>{detail}</h3>
</div>
{status ? (
<div className='pf11-line' aria-hidden='true'>
<div className='pf11-track'>
{todaySpan ? (
<span
className='pf11-span'
style={{ left: pct(todaySpan.open), width: pct(Math.min(todaySpan.close, 1440) - todaySpan.open) }}
/>
) : null}
<span className='pf11-needle' style={{ left: pct(status.minute) }} />
</div>
<div className='pf11-ticks'>
{[360, 720, 1080].map((minute) => (
<span key={minute} className='pf11-tick' style={{ left: pct(minute) }}>{t(minute)}</span>
))}
</div>
</div>
) : null}
{hours.length ? (
<dl className='pf11-week' aria-label={copy.weekLabel}>
{hours.slice(0, 7).map((entry, index) => {
const span = spans[index];
const isToday = status ? status.day === index : false;
return (
<div
key={entry.day + index}
className='pf11-row'
data-today={isToday ? '' : undefined}
data-closed={span ? undefined : ''}
>
<dt>
{entry.day}
{isToday ? <span className='pf11-todaytag'>{copy.today}</span> : null}
</dt>
<dd>{span ? fill(copy.range, { open: t(span.open), close: t(span.close) }) : copy.closed}</dd>
</div>
);
})}
</dl>
) : null}
{timeZoneLabel ? <p className='pf11-tz'>{fill(copy.timeZoneNote, { zone: timeZoneLabel })}</p> : null}
</section>
<section className='pf11-tile pf11-map' aria-labelledby={mapId} style={{ animationDelay: '.14s' }}>
<h3 id={mapId} className='pf11-h3'>{areaHeading}</h3>
{mapImage ? (
<div className='pf11-mapimg'>
<img src={mapImage} alt={mapImageAlt} width={1536} height={1024} loading='lazy' decoding='async' />
</div>
) : null}
{areas.length ? (
<p className='pf11-pick' data-picked={picked ? '' : undefined} aria-live='polite'>
{picked ? (
<>
<span className='pf11-yes' aria-hidden='true'>
<Check size={14} strokeWidth={3} />
</span>
{fill(copy.areaYes, { area: picked })}
</>
) : (
copy.areaPrompt
)}
</p>
) : null}
{areas.length ? (
<ul className='pf11-chips' aria-label={copy.areasLabel}>
{areas.map((area) => {
const on = picked === area;
return (
<li key={area}>
<button
type='button'
className='pf11-chip'
aria-pressed={on}
onClick={() => setPicked(on ? null : area)}
>
{on ? (
<Check size={16} strokeWidth={2.5} aria-hidden='true' />
) : (
<MapPin size={16} strokeWidth={2.5} aria-hidden='true' />
)}
{area}
</button>
</li>
);
})}
</ul>
) : null}
</section>
<section className='pf11-tile pf11-quote' aria-labelledby={quoteId} style={{ animationDelay: '.21s' }}>
<div className='pf11-qcopy'>
<h3 id={quoteId} className='pf11-h3'>{quoteHeading}</h3>
{quoteBody || quoteAside ? (
<p className='pf11-qbody'>
{quoteBody}
{quoteBody && quoteAside ? ' ' : null}
{quoteAside ? <em className='pf11-aside'>{quoteAside}</em> : null}
</p>
) : null}
{quoteInstruction ? <p className='pf11-instr'>{quoteInstruction}</p> : null}
<div className='pf11-qaction'>
<QuoteAction href={quoteHref} label={quoteLabel} disabled={disabled} onAction={onAction} />
</div>
{quoteNote ? <p className='pf11-note pf11-qnote'>{quoteNote}</p> : null}
</div>
{quoteSpot ? (
<div className='pf11-qart' aria-hidden='true'>
<Spot src={quoteSpot} size={148} />
</div>
) : null}
</section>
</div>
<div className='pf11-base'>
{links.length ? (
<nav className='pf11-nav' aria-label={copy.legalLabel}>
<ul className='pf11-links'>
{links.map((link) => (
<li key={link.href + link.label}>
<a href={link.href}>{link.label}</a>
</li>
))}
</ul>
</nav>
) : null}
<div className='pf11-meta'>
{licences.map((line) => (
<p key={line}>
<ShieldCheck className='pf11-ico' size={16} strokeWidth={2.5} aria-hidden='true' />
{line}
</p>
))}
<p>{copyright}</p>
</div>
</div>
</div>
</footer>
);
}
export default PageFooter11;
function CallLink({
href,
label,
disabled,
onCall,
}: {
href?: string;
label: string;
disabled: boolean;
onCall?: (event: React.MouseEvent<HTMLAnchorElement>) => void;
}) {
return (
<a
className='pf11-btn'
href={disabled ? undefined : href}
role={disabled ? 'link' : undefined}
aria-disabled={disabled || undefined}
onClick={(event) => {
if (disabled) {
event.preventDefault();
return;
}
onCall?.(event);
}}
>
<Phone size={20} strokeWidth={2.5} aria-hidden='true' />
<span>{label}</span>
</a>
);
}
function QuoteAction({
href,
label,
disabled,
onAction,
}: {
href?: string;
label: string;
disabled: boolean;
onAction?: () => void;
}) {
if (href && !disabled) {
return (
<a className='pf11-btn' href={href} onClick={() => onAction?.()}>
{label}
</a>
);
}
return (
<button type='button' className='pf11-btn' disabled={disabled} onClick={() => onAction?.()}>
{label}
</button>
);
}
type Span = { open: number; close: number };
type Moment = { day: number; minute: number };
type Status = {
kind: 'open' | 'soon' | 'closed' | 'none';
day: number;
minute: number;
closesAt?: number;
left?: number;
nextIn?: number;
nextAt?: number;
};
const WEEKDAYS = ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'];
function parseTime(value?: string): number | null {
if (!value) return null;
const parts = value.trim().split(':');
if (parts.length !== 2) return null;
const hours = Number(parts[0]);
const minutes = Number(parts[1]);
if (!Number.isFinite(hours) || !Number.isFinite(minutes)) return null;
const total = hours * 60 + minutes;
return total >= 0 && total <= 1440 ? total : null;
}
function spanOf(entry?: PageFooter11Day): Span | null {
const open = parseTime(entry?.open);
const close = parseTime(entry?.close);
if (open === null || close === null) return null;
return { open, close: close <= open ? close + 1440 : close };
}
function toDate(value?: Date | string | number): Date | null {
if (value === undefined || value === null || value === '') return null;
const date = value instanceof Date ? new Date(value.getTime()) : new Date(value);
return Number.isNaN(date.getTime()) ? null : date;
}
function localParts(date: Date, timeZone?: string): Moment {
try {
const parts = new Intl.DateTimeFormat('en-US', {
timeZone,
weekday: 'short',
hour: 'numeric',
minute: 'numeric',
hourCycle: 'h23',
}).formatToParts(date);
const weekday = parts.find((part) => part.type === 'weekday')?.value ?? '';
const hour = Number(parts.find((part) => part.type === 'hour')?.value ?? 0) % 24;
const minute = Number(parts.find((part) => part.type === 'minute')?.value ?? 0);
const day = WEEKDAYS.indexOf(weekday);
if (day >= 0) return { day, minute: hour * 60 + minute };
} catch {
// An unknown time zone falls back to the visitor's clock.
}
return { day: (date.getDay() + 6) % 7, minute: date.getHours() * 60 + date.getMinutes() };
}
function computeStatus(spans: (Span | null)[], day: number, minute: number, soon: number): Status {
const today = spans[day];
let closesAt: number | undefined;
if (today && minute >= today.open && minute < today.close) closesAt = today.close;
const previous = spans[(day + 6) % 7];
if (closesAt === undefined && previous && previous.close > 1440 && minute < previous.close - 1440) {
closesAt = previous.close - 1440;
}
if (closesAt !== undefined) {
const left = closesAt - minute;
return { kind: left <= soon ? 'soon' : 'open', day, minute, closesAt, left };
}
if (today && minute < today.open) return { kind: 'closed', day, minute, nextIn: 0, nextAt: today.open };
for (let offset = 1; offset <= 7; offset += 1) {
const span = spans[(day + offset) % 7];
if (span) return { kind: 'closed', day, minute, nextIn: offset, nextAt: span.open };
}
return { kind: 'none', day, minute };
}
function wrapMoment(day: number, minute: number): Moment {
return minute >= 1440 ? { day: (day + 1) % 7, minute: minute - 1440 } : { day, minute };
}
function previewMoment(
spans: (Span | null)[],
kind: 'open' | 'closing-soon' | 'closed',
fromDay: number,
soon: number,
): Moment | null {
for (let offset = 0; offset < 7; offset += 1) {
const day = (fromDay + offset) % 7;
const span = spans[day];
if (!span) continue;
const length = span.close - span.open;
if (kind === 'open' && length > soon + 1) {
return wrapMoment(day, span.open + Math.min(120, Math.floor((length - soon) / 2)));
}
if (kind === 'closing-soon') {
return wrapMoment(day, span.close - Math.max(1, Math.min(length, Math.ceil(soon / 2))));
}
if (kind === 'closed') {
if (span.close + 60 < 1440) return { day, minute: span.close + 60 };
if (span.open >= 60) return { day, minute: span.open - 60 };
}
}
return null;
}
function formatTime(minute: number, clock: '12h' | '24h', am: string, pm: string): string {
const value = ((minute % 1440) + 1440) % 1440;
const hours = Math.floor(value / 60);
const minutes = value % 60;
const mm = String(minutes).padStart(2, '0');
if (clock === '24h') return String(hours).padStart(2, '0') + ':' + mm;
const hour12 = hours % 12 || 12;
const suffix = hours < 12 ? am : pm;
return minutes === 0 ? hour12 + ' ' + suffix : hour12 + ':' + mm + ' ' + suffix;
}
function pct(minute: number): string {
return ((minute / 1440) * 100).toFixed(3) + '%';
}
function fill(template: string, values: Record<string, string>): string {
return Object.keys(values).reduce((text, key) => text.split('{' + key + '}').join(values[key]), template);
}
const DEFAULT_HOURS: PageFooter11Day[] = [
{ day: 'Monday', open: '08:00', close: '17:00' },
{ day: 'Tuesday', open: '08:00', close: '17:00' },
{ day: 'Wednesday', open: '08:00', close: '17:00' },
{ day: 'Thursday', open: '08:00', close: '17:00' },
{ day: 'Friday', open: '08:00', close: '17:00' },
{ day: 'Saturday' },
{ day: 'Sunday' },
];
const DEFAULT_LINKS: PageFooter11Link[] = [
{ label: 'Privacy policy', href: '#privacy' },
{ label: 'Terms of service', href: '#terms' },
];
const DEFAULT_COPY: PageFooter11Copy = {
callLabel: 'Call {phone}',
callNote: 'Tap to call · {status}',
openNow: 'Open now',
closingSoon: 'Closing soon',
closedNow: 'Closed now',
checking: 'Today’s hours',
checkingDetail: 'Checking today’s hours',
openUntil: 'Open until {time}',
closesIn: 'Closes in {minutes} min, at {time}',
opensToday: 'Opens today at {time}',
opensTomorrow: 'Opens tomorrow at {time}',
opensOn: 'Opens {day} at {time}',
noHours: 'Call to check today’s hours',
closed: 'Closed',
today: 'Today',
range: '{open} – {close}',
am: 'AM',
pm: 'PM',
timeZoneNote: 'Hours shown in {zone}',
weekLabel: 'Opening hours this week',
areaPrompt: 'Tap your neighbourhood to check.',
areaYes: 'Good news: we cover {area}.',
areasLabel: 'Neighbourhoods we serve',
routeAreas: '{count} neighbourhoods covered',
routeLocal: 'Local to you',
routeQuote: 'Get your free quote',
routeLabel: 'Your way to help today',
legalLabel: 'Legal',
};
const CSS = `
.cf-page-footer-11{--pf11-ring:var(--band-ink,#fff);--pf11-shadow:var(--shadow,oklch(0.22 0.03 260));--pf11-soft:color-mix(in oklch,var(--band-ink,#fff) 82%,var(--band,oklch(0.27 0.067 256)));position:relative;isolation:isolate;overflow:hidden;background:var(--band,oklch(0.27 0.067 256));color:var(--band-ink,#fff);font-family:var(--font-body,system-ui,sans-serif);font-size:clamp(1.0625rem,1.25vw,1.125rem);line-height:1.5;padding:clamp(56px,8vw,112px) clamp(16px,5vw,48px) clamp(40px,5vw,64px)}
.cf-page-footer-11 *,.cf-page-footer-11 *::before,.cf-page-footer-11 *::after{box-sizing:border-box}
.cf-page-footer-11 .pf11-wrap{position:relative;z-index:1;max-width:1120px;margin:0 auto}
.cf-page-footer-11 .pf11-head{display:grid;gap:clamp(24px,3vw,32px);margin-bottom:clamp(24px,3vw,40px)}
.cf-page-footer-11 .pf11-h2{margin:0;color:var(--band-ink,#fff);font-family:var(--font-display,inherit);font-weight:var(--display-weight,800);letter-spacing:var(--display-tracking,-0.025em);text-transform:var(--display-case,none);font-size:clamp(2rem,3.6vw,3.25rem);line-height:1.06;text-wrap:balance}
.cf-page-footer-11 .pf11-lead{margin:16px 0 0;max-width:62ch;color:var(--pf11-soft);font-size:clamp(1.125rem,1.5vw,1.375rem);font-weight:500;line-height:1.4;text-wrap:pretty}
.cf-page-footer-11 .pf11-route{display:none;margin:0;padding:0;list-style:none;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.cf-page-footer-11 .pf11-stop{position:relative;display:grid;gap:4px;align-content:start;min-width:0;animation:pf11-rise .45s cubic-bezier(.2,.7,.2,1) both}
.cf-page-footer-11 .pf11-stop:nth-child(2){animation-delay:.07s}
.cf-page-footer-11 .pf11-stop:nth-child(3){animation-delay:.14s}
.cf-page-footer-11 .pf11-stop:not(:last-child)::after{content:'';position:absolute;top:19px;left:52px;right:-4px;height:2px;border-radius:2px;background:oklch(from var(--band-ink,#fff) l c h / .3)}
.cf-page-footer-11 .pf11-badge{width:40px;height:40px;margin-bottom:8px;border-radius:999px;display:grid;place-items:center;background:var(--success,oklch(0.5 0.14 150));color:var(--card,#fff)}
.cf-page-footer-11 .pf11-badge[data-tone='soon']{background:var(--warning,oklch(0.5 0.1 85))}
.cf-page-footer-11 .pf11-badge[data-tone='closed']{background:var(--danger,oklch(0.5 0.17 27))}
.cf-page-footer-11 .pf11-badge[data-tone='none'],.cf-page-footer-11 .pf11-badge[data-tone='unknown']{background:color-mix(in oklch,var(--band-ink,#fff) 30%,var(--band,oklch(0.27 0.067 256)));color:var(--band-ink,#fff)}
.cf-page-footer-11 .pf11-badge[data-tone='accent']{background:var(--accent-fill,var(--accent,oklch(0.5 0.17 257)));color:var(--accent-fill-ink,var(--card,#fff))}
.cf-page-footer-11 .pf11-stop-t{font-weight:700;line-height:1.3;color:var(--band-ink,#fff);text-wrap:balance}
.cf-page-footer-11 .pf11-stop-s{font-size:.9375rem;font-weight:500;line-height:1.4;color:var(--pf11-soft);text-wrap:pretty}
.cf-page-footer-11 .pf11-bento{display:grid;gap:16px;grid-template-columns:minmax(0,1fr);grid-template-areas:'dock' 'hours' 'map' 'contact'}
.cf-page-footer-11 .pf11-dock{grid-area:dock;display:grid;gap:12px}
.cf-page-footer-11 .pf11-dock-note{margin:0;text-align:center;font-size:.9375rem;font-weight:600;line-height:1.4;color:var(--pf11-soft);text-wrap:pretty}
.cf-page-footer-11 .pf11-contact{grid-area:contact;container-type:inline-size}
.cf-page-footer-11 .pf11-hours{grid-area:hours}
.cf-page-footer-11 .pf11-map{grid-area:map}
.cf-page-footer-11 .pf11-quote{grid-area:quote}
.cf-page-footer-11 .pf11-tile{--pf11-ring:var(--field-focus,var(--accent,oklch(0.5 0.17 257)));position:relative;min-width:0;background:var(--card,#fff);color:var(--ink,#101828);border:1px solid var(--card-border,oklch(from var(--ink,#101828) l c h / .12));border-radius:var(--card-radius,var(--radius,14px));box-shadow:var(--card-shadow,var(--shadow-md,0 1px 2px oklch(from var(--pf11-shadow) l c h / .22),0 4px 10px -2px oklch(from var(--pf11-shadow) l c h / .2)));padding:clamp(20px,3vw,32px);animation:pf11-rise .45s cubic-bezier(.2,.7,.2,1) both}
.cf-page-footer-11 .pf11-h3{margin:0;color:var(--ink,#101828);font-family:var(--font-display,inherit);font-weight:var(--display-weight,800);letter-spacing:-0.01em;text-transform:var(--display-case,none);font-size:clamp(1.3125rem,1.8vw,1.625rem);line-height:1.15;text-wrap:balance}
.cf-page-footer-11 .pf11-btn{--pf11-bg:var(--button-bg,var(--cta,oklch(0.58 0.21 29)));--pf11-bg2:var(--button-bg-2,var(--cta-2,oklch(0.51 0.21 29)));display:inline-flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:64px;margin:0;padding:8px 24px;border:0;border-radius:var(--button-radius,var(--radius,12px));font-family:var(--button-font,var(--font-display,inherit));font-weight:var(--button-weight,800);text-transform:var(--button-case,none);font-size:clamp(1.125rem,1.55vw,1.375rem);line-height:1.15;text-align:center;text-wrap:balance;text-decoration:none;cursor:pointer;color:var(--button-ink,var(--cta-ink,#fff));text-shadow:var(--button-text-shadow,none);background:linear-gradient(oklch(from var(--pf11-bg) calc(l + .04) c h),oklch(from var(--pf11-bg2) calc(l - .02) c h));box-shadow:var(--button-shadow,inset 0 1px 0 oklch(from var(--pf11-bg) calc(l + .14) c h / .7),inset 0 -3px 0 oklch(from var(--pf11-bg) calc(l - .16) c h),0 1px 2px oklch(from var(--pf11-shadow) l c h / .3),0 8px 16px -6px oklch(from var(--pf11-shadow) l c h / .45));transition:transform .16s ease,box-shadow .16s ease,background .16s ease;-webkit-tap-highlight-color:transparent}
.cf-page-footer-11 .pf11-btn svg{flex:none}
.cf-page-footer-11 .pf11-btn:hover:not(:disabled):not([aria-disabled='true']),.cf-page-footer-11[data-state='hover'] .pf11-btn{background:linear-gradient(oklch(from var(--pf11-bg) calc(l - .01) c h),oklch(from var(--pf11-bg2) calc(l - .07) c h));box-shadow:inset 0 1px 0 oklch(from var(--pf11-bg) calc(l + .1) c h / .7),inset 0 -3px 0 oklch(from var(--pf11-bg) calc(l - .2) c h),0 1px 2px oklch(from var(--pf11-shadow) l c h / .34),0 10px 20px -6px oklch(from var(--pf11-shadow) l c h / .55)}
.cf-page-footer-11 .pf11-btn:active:not(:disabled):not([aria-disabled='true']),.cf-page-footer-11[data-state='active'] .pf11-btn{transform:translateY(1px);background:linear-gradient(oklch(from var(--pf11-bg) calc(l - .05) c h),oklch(from var(--pf11-bg2) calc(l - .08) c h));box-shadow:inset 0 2px 4px oklch(from var(--pf11-bg) calc(l - .22) c h / .5),inset 0 -2px 0 oklch(from var(--pf11-bg) calc(l - .16) c h),0 1px 1px oklch(from var(--pf11-shadow) l c h / .3)}
.cf-page-footer-11 .pf11-btn:focus-visible{outline:3px solid var(--pf11-ring);outline-offset:3px}
.cf-page-footer-11 .pf11-btn:disabled,.cf-page-footer-11 .pf11-btn[aria-disabled='true']{cursor:not-allowed;transform:none;background:var(--button-2-bg,var(--secondary,oklch(0.93 0.015 263)));color:var(--button-2-ink,var(--secondary-ink,#101828));text-shadow:none;box-shadow:var(--button-2-shadow,var(--shadow-sm,0 1px 2px oklch(from var(--pf11-shadow) l c h / .2)))}
.cf-page-footer-11 .pf11-cgrid{display:grid;gap:20px}
.cf-page-footer-11 .pf11-id{display:grid;gap:8px;align-content:start;min-width:0}
.cf-page-footer-11 .pf11-logo{display:block;height:40px;width:auto;max-width:180px;object-fit:contain;margin-bottom:4px}
.cf-page-footer-11 .pf11-tag{margin:0;font-size:.9375rem;font-weight:500;line-height:1.4;color:var(--muted,#475467)}
.cf-page-footer-11 .pf11-addr{margin:8px 0 0;font-style:normal;line-height:1.5;color:var(--ink,#101828);overflow-wrap:anywhere}
.cf-page-footer-11 .pf11-plain{margin:0;line-height:1.5;overflow-wrap:anywhere}
.cf-page-footer-11 .pf11-ico{display:inline-block;vertical-align:-.15em;margin-inline-end:.4em;flex:none}
.cf-page-footer-11 .pf11-addr .pf11-ico,.cf-page-footer-11 .pf11-ico-accent{color:var(--accent,oklch(0.5 0.17 257))}
.cf-page-footer-11 .pf11-link{color:var(--link,var(--accent,oklch(0.5 0.17 257)));font-weight:600;text-decoration:underline;text-decoration-color:oklch(from var(--link,var(--accent,oklch(0.5 0.17 257))) l c h / .45);text-underline-offset:.18em}
.cf-page-footer-11 .pf11-link:hover{color:oklch(from var(--link,var(--accent,oklch(0.5 0.17 257))) calc(l - .08) c h);text-decoration-color:currentColor}
.cf-page-footer-11 .pf11-link:focus-visible{outline:3px solid var(--pf11-ring);outline-offset:2px;border-radius:4px}
.cf-page-footer-11 .pf11-callrow{display:grid;gap:12px;align-content:start}
.cf-page-footer-11 .pf11-note{margin:0;text-align:center;font-size:.9375rem;font-weight:600;line-height:1.4;color:var(--muted,#475467);text-wrap:pretty}
.cf-page-footer-11 .pf11-status{display:grid;gap:12px;justify-items:start}
.cf-page-footer-11 .pf11-pill{display:inline-flex;align-items:center;gap:8px;min-height:30px;margin:0;padding:4px 12px;border-radius:999px;font-size:.875rem;font-weight:800;line-height:1.2;background:color-mix(in oklch,var(--ink,#101828) 6%,var(--card,#fff));color:var(--ink,#101828)}
.cf-page-footer-11 .pf11-dot{width:8px;height:8px;border-radius:999px;background:currentColor;flex:none}
.cf-page-footer-11[data-kind='open'] .pf11-pill{background:var(--success-soft,oklch(0.93 0.02 150));color:var(--success,oklch(0.5 0.14 150))}
.cf-page-footer-11[data-kind='soon'] .pf11-pill{background:var(--warning-soft,oklch(0.93 0.015 85));color:var(--warning,oklch(0.5 0.1 85))}
.cf-page-footer-11[data-kind='closed'] .pf11-pill{background:var(--danger-soft,oklch(0.93 0.024 27));color:var(--danger,oklch(0.5 0.17 27))}
.cf-page-footer-11 .pf11-detail{font-variant-numeric:tabular-nums}
.cf-page-footer-11 .pf11-line{margin-top:20px}
.cf-page-footer-11 .pf11-track{position:relative;height:12px;border-radius:999px;background:color-mix(in oklch,var(--ink,#101828) 8%,var(--card,#fff))}
.cf-page-footer-11 .pf11-span{position:absolute;top:0;bottom:0;border-radius:999px;background:color-mix(in oklch,var(--ink,#101828) 30%,var(--card,#fff))}
.cf-page-footer-11[data-kind='open'] .pf11-span{background:var(--success,oklch(0.5 0.14 150))}
.cf-page-footer-11[data-kind='soon'] .pf11-span{background:var(--warning,oklch(0.5 0.1 85))}
.cf-page-footer-11 .pf11-needle{position:absolute;top:-6px;bottom:-6px;width:3px;margin-left:-1.5px;border-radius:2px;background:var(--ink,#101828);outline:2px solid var(--card,#fff)}
.cf-page-footer-11 .pf11-ticks{position:relative;height:18px;margin-top:10px;font-size:.875rem;font-weight:700;line-height:1.2;color:var(--muted,#475467)}
.cf-page-footer-11 .pf11-tick{position:absolute;top:0;transform:translateX(-50%);white-space:nowrap;font-variant-numeric:tabular-nums}
.cf-page-footer-11 .pf11-week{margin:20px 0 0;display:grid;gap:2px}
.cf-page-footer-11 .pf11-row{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 -12px;padding:5px 12px;border-radius:8px;font-size:.9375rem;line-height:1.4}
.cf-page-footer-11 .pf11-row dt{font-weight:700;color:var(--ink,#101828)}
.cf-page-footer-11 .pf11-row dd{margin:0;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;color:var(--ink,#101828)}
.cf-page-footer-11 .pf11-row[data-closed] dd{color:var(--muted,#475467)}
.cf-page-footer-11 .pf11-row[data-today]{background:color-mix(in oklch,var(--accent,oklch(0.5 0.17 257)) 12%,var(--card,#fff))}
.cf-page-footer-11 .pf11-row[data-today] dd{font-weight:700;color:var(--ink,#101828)}
.cf-page-footer-11 .pf11-todaytag{margin-inline-start:8px;font-size:.875rem;font-weight:800;color:var(--ink,#101828)}
.cf-page-footer-11 .pf11-tz{margin:16px 0 0;font-size:.9375rem;font-weight:500;line-height:1.4;color:var(--muted,#475467)}
.cf-page-footer-11 .pf11-map{display:grid;gap:16px;align-content:start}
.cf-page-footer-11 .pf11-mapimg{position:relative;overflow:hidden;border-radius:12px;aspect-ratio:4/3;background:color-mix(in oklch,var(--ink,#101828) 6%,var(--card,#fff))}
.cf-page-footer-11 .pf11-mapimg img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.cf-page-footer-11 .pf11-pick{margin:0;font-size:.9375rem;font-weight:600;line-height:1.4;color:var(--muted,#475467);text-wrap:pretty}
.cf-page-footer-11 .pf11-pick[data-picked]{color:var(--success,oklch(0.5 0.14 150));font-weight:700}
.cf-page-footer-11 .pf11-yes{display:inline-grid;place-items:center;width:22px;height:22px;margin-inline-end:.45em;vertical-align:-.35em;border-radius:999px;background:var(--success,oklch(0.5 0.14 150));color:var(--card,#fff)}
.cf-page-footer-11 .pf11-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.cf-page-footer-11 .pf11-chip{display:inline-flex;align-items:center;gap:6px;min-height:36px;margin:0;padding:4px 14px 4px 12px;border:1px solid transparent;border-radius:999px;background:color-mix(in oklch,var(--ink,#101828) 6%,var(--card,#fff));color:var(--ink,#101828);font-family:var(--font-body,inherit);font-size:.875rem;font-weight:800;line-height:1.2;cursor:pointer;transition:background .16s ease,border-color .16s ease,transform .16s ease}
.cf-page-footer-11 .pf11-chip svg{flex:none;color:var(--muted,#475467)}
.cf-page-footer-11 .pf11-chip:hover{background:color-mix(in oklch,var(--ink,#101828) 11%,var(--card,#fff))}
.cf-page-footer-11 .pf11-chip:active{transform:translateY(1px)}
.cf-page-footer-11 .pf11-chip:focus-visible{outline:3px solid var(--pf11-ring);outline-offset:2px}
.cf-page-footer-11 .pf11-chip[aria-pressed='true']{background:color-mix(in oklch,var(--accent,oklch(0.5 0.17 257)) 14%,var(--card,#fff));border-color:color-mix(in oklch,var(--accent,oklch(0.5 0.17 257)) 55%,var(--card,#fff))}
.cf-page-footer-11 .pf11-chip[aria-pressed='true'] svg{color:var(--accent,oklch(0.5 0.17 257))}
.cf-page-footer-11 .pf11-quote{display:none;background:color-mix(in oklch,var(--accent,oklch(0.5 0.17 257)) 5%,var(--card,#fff));border-color:color-mix(in oklch,var(--accent,oklch(0.5 0.17 257)) 40%,var(--card,#fff));box-shadow:var(--shadow-lg,0 2px 4px oklch(from var(--pf11-shadow) l c h / .22),0 12px 24px -8px oklch(from var(--pf11-shadow) l c h / .32))}
.cf-page-footer-11 .pf11-qcopy{display:grid;justify-items:start;min-width:0}
.cf-page-footer-11 .pf11-qbody{margin:12px 0 0;max-width:62ch;color:var(--ink,#101828);text-wrap:pretty}
.cf-page-footer-11 .pf11-aside{font-style:italic;font-weight:500;color:var(--ink,#101828)}
.cf-page-footer-11 .pf11-instr{margin:24px 0 0;font-weight:700;color:var(--ink,#101828);text-wrap:pretty}
.cf-page-footer-11 .pf11-qaction{margin-top:16px;width:min(100%,340px)}
.cf-page-footer-11 .pf11-qnote{margin-top:12px;text-align:left}
.cf-page-footer-11 .pf11-qart{align-self:center;display:grid;place-items:center;padding-inline:8px}
.cf-page-footer-11 .pf11-base{display:grid;gap:16px;margin-top:clamp(32px,4vw,48px);padding-top:24px;border-top:1px solid oklch(from var(--band-ink,#fff) l c h / .18);font-size:.9375rem;line-height:1.5;color:var(--pf11-soft)}
.cf-page-footer-11 .pf11-links{display:flex;flex-wrap:wrap;gap:8px 24px;margin:0;padding:0;list-style:none}
.cf-page-footer-11 .pf11-links a{color:var(--band-ink,#fff);font-weight:600;text-decoration:underline;text-decoration-color:oklch(from var(--band-ink,#fff) l c h / .45);text-underline-offset:.18em}
.cf-page-footer-11 .pf11-links a:hover{text-decoration-color:var(--band-ink,#fff)}
.cf-page-footer-11 .pf11-links a:focus-visible{outline:3px solid var(--band-ink,#fff);outline-offset:3px;border-radius:4px}
.cf-page-footer-11 .pf11-meta{display:grid;gap:6px}
.cf-page-footer-11 .pf11-meta p{margin:0;text-wrap:pretty}
@container (min-width:560px){.cf-page-footer-11 .pf11-cgrid{grid-template-columns:minmax(0,1fr) minmax(260px,340px);gap:32px}}
@media (pointer:coarse){.cf-page-footer-11 .pf11-chip{min-height:44px}}
@media (max-width:719.98px){.cf-page-footer-11 .pf11-contact .pf11-callrow{display:none}}
@media (min-width:720px){
.cf-page-footer-11 .pf11-route{display:grid}
.cf-page-footer-11 .pf11-bento{gap:20px;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:'contact contact' 'hours map' 'quote quote'}
.cf-page-footer-11 .pf11-dock{display:none}
.cf-page-footer-11 .pf11-quote{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:32px;align-items:start}
.cf-page-footer-11 .pf11-map{display:flex;flex-direction:column}
.cf-page-footer-11 .pf11-mapimg{flex:1 1 auto;aspect-ratio:auto;min-height:240px}
}
@media (min-width:1080px){
.cf-page-footer-11 .pf11-bento{gap:24px;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);grid-template-areas:'map contact' 'map hours' 'quote quote'}
.cf-page-footer-11 .pf11-base{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:32px}
.cf-page-footer-11 .pf11-nav{order:2}
}
@keyframes pf11-rise{from{opacity:.82;transform:translateY(8px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){
.cf-page-footer-11 .pf11-tile,.cf-page-footer-11 .pf11-stop{animation:none}
.cf-page-footer-11 .pf11-btn,.cf-page-footer-11 .pf11-chip{transition:none}
.cf-page-footer-11 .pf11-btn:active,.cf-page-footer-11[data-state='active'] .pf11-btn,.cf-page-footer-11 .pf11-chip:active{transform:none}
}
`;
pieces/content/page-footer-11/specimen.tsx 64 lines
import __studioImage1d2a2694 from "../assets/9602428dbe9c87c1.webp";
import * as React from 'react';
import { PageFooter11, type PageFooter11Day, type PageFooter11State } from '../page-footer-11';
import { slot } from '../../slots';
export const states = ['default', 'hover', 'active', 'disabled', 'open', 'closing-soon', 'closed'];
const HOURS: PageFooter11Day[] = [
{ day: 'Monday', open: '07:00', close: '18:00' },
{ day: 'Tuesday', open: '07:00', close: '18:00' },
{ day: 'Wednesday', open: '07:00', close: '18:00' },
{ day: 'Thursday', open: '07:00', close: '18:00' },
{ day: 'Friday', open: '07:00', close: '18:00' },
{ day: 'Saturday', open: '08:00', close: '14:00' },
{ day: 'Sunday' },
];
const AREAS = [
'Millbrook Bay',
'Harbor Point',
'Cedar Heights',
'Old Town',
'Lakeside',
'Willow Creek',
'North Ridge',
'Fairhaven',
];
export default function PageFooter11Specimen({ state = 'default' }: { state?: string }) {
return (
<PageFooter11
headline='Leak, clog or cold shower? We’re just down the road.'
lead='Check your street and see if we’re open right now. Then call, or get a free quote in about a minute.'
businessName='Brightwater Plumbing & Drain'
tagline='Plumbing, drains and water heaters'
logoImage={slot('logo', '') || undefined}
address={['418 Harbor Road', 'Millbrook Bay']}
phone='(555) 014-2290'
hours={HOURS}
timeZone='America/Chicago'
timeZoneLabel='Central Time'
areas={AREAS}
areaHeading='We already work in your neighbourhood'
mapImage={slot('scene', __studioImage1d2a2694)}
mapImageAlt='Illustrated map of Millbrook Bay and the neighbourhoods around it'
quoteHeading='Get a free, no-obligation quote'
quoteBody='Tell us what’s going on and we’ll price the job before any work starts.'
quoteAside='(I read every request myself, usually before my first coffee.)'
quoteInstruction='Click the button below to get your free quote.'
quoteLabel='Get my free quote'
quoteNote='Takes about a minute'
licences={['Licensed plumbing contractor · Lic. #PL-058213', 'Fully insured and bonded']}
links={[
{ label: 'Privacy policy', href: '#privacy' },
{ label: 'Terms of service', href: '#terms' },
{ label: 'Accessibility', href: '#accessibility' },
]}
copy={{ routeQuote: 'Free quote, no obligation' }}
onAction={() => {}}
onCall={(event) => event.preventDefault()}
state={state as PageFooter11State}
/>
);
}
| Name | Type | Details |
|---|---|---|
headline OptionalPageFooter11 |
React.ReactNode |
|
lead OptionalPageFooter11 |
React.ReactNode |
|
businessName OptionalPageFooter11 |
string |
|
tagline OptionalPageFooter11 |
string |
|
logoImage OptionalPageFooter11 |
string |
|
address OptionalPageFooter11 |
string[] |
|
directionsHref OptionalPageFooter11 |
string |
|
directionsLabel OptionalPageFooter11 |
string |
|
phone OptionalPageFooter11 |
string |
|
phoneHref OptionalPageFooter11 |
string |
|
email OptionalPageFooter11 |
string |
|
hours OptionalPageFooter11 |
PageFooter11Day[] |
|
timeZone OptionalPageFooter11 |
string |
|
timeZoneLabel OptionalPageFooter11 |
string |
|
clock OptionalPageFooter11 |
'12h' | '24h' |
|
soonMinutes OptionalPageFooter11 |
number |
|
now OptionalPageFooter11 |
Date | string | number |
|
areas OptionalPageFooter11 |
string[] |
|
mapImage OptionalPageFooter11 |
string |
|
mapImageAlt OptionalPageFooter11 |
string |
|
areaHeading OptionalPageFooter11 |
string |
|
quoteHeading OptionalPageFooter11 |
string |
|
quoteBody OptionalPageFooter11 |
React.ReactNode |
|
quoteAside OptionalPageFooter11 |
string |
|
quoteInstruction OptionalPageFooter11 |
string |
|
quoteLabel OptionalPageFooter11 |
string |
|
quoteNote OptionalPageFooter11 |
string |
|
quoteHref OptionalPageFooter11 |
string |
|
quoteSpot OptionalPageFooter11 |
string |
|
licences OptionalPageFooter11 |
string[] |
|
links OptionalPageFooter11 |
PageFooter11Link[] |
|
copyrightTemplate OptionalPageFooter11 |
string |
|
year OptionalPageFooter11 |
number | string |
|
copy OptionalPageFooter11 |
Partial<PageFooter11Copy> |
|
onAction OptionalPageFooter11 |
() => void |
|
onCall OptionalPageFooter11 |
(event: React.MouseEvent<HTMLAnchorElement>) => void |
|
state OptionalPageFooter11 |
PageFooter11State |
|
className OptionalPageFooter11 |
string |
Theme roles it reads
Set by the theme bar, a preset or your brand. Colours come from the base tokens (--surface, --ink, --cta…) every piece uses.
--button-bg--button-bg-2--button-case--button-font--button-ink--button-radius--button-shadow--button-text-shadow--button-weight- Main CTA button: background, ink, font, weight, case, radius and shadow.
--button-2-bg--button-2-ink--button-2-shadow- Secondary button.
--card-border--card-radius--card-shadow- Cards and panels: radius, border and shadow.
--display-case--display-tracking--display-weight- Headlines: weight, letter case and tracking.
--field-focus- Form inputs: background, ink, border, radius and focus colour.
Image slots
Filled from the brand’s images; the specimen ships its own defaults.
logo- The brand’s logo mark.
scene- A wide atmosphere photo behind or beside the copy.
-
9602428dbe9c87c1.webp
image/webp · 228 KB
-
a57ca5c86a05001f.webp
image/webp · 108 KB
-
d0943b629c0b1324.webp
image/webp · 8.87 KB