A pinned rail with a photo and contact links beside a long column of summary, experience, skills and education.
layout, rail, sticky, sidebar, profile
npm create nersh@latest my-site -- --site https://nertia.ai/components/page-about/page-rail/site.jsonnpx shadcn@latest add https://ner.sh/r/header-brand-links.json
npx shadcn@latest add https://ner.sh/r/profile-rail.json
npx shadcn@latest add https://ner.sh/r/footer-simple.jsonnpm create nersh@latest my-site -- --site https://nertia.ai/components/page-about/page-rail/site.json scaffolds a project from it.{
"slug": "page-rail",
"mode": "builder",
"status": "draft",
"skinId": "zinc",
"composition": {
"id": "page-rail",
"sections": [
{
"id": "layout-section",
"instanceId": "header-band-r1",
"layout": "stack",
"children": [
{
"id": "layout-container",
"instanceId": "header-row-r1",
"layout": "cluster",
"align": "center",
"justify": "between",
"children": [
{
"id": "layout-column",
"instanceId": "header-brand-col-r1",
"children": [
{
"id": "block-brand",
"instanceId": "header-brand-r1"
}
]
},
{
"id": "layout-column",
"instanceId": "header-nav-col-r1",
"children": [
{
"id": "block-nav",
"instanceId": "header-nav-r1"
}
]
}
]
}
],
"component": "header-brand-links@1"
},
{
"id": "layout-section",
"instanceId": "profile-band-r2",
"layout": "stack",
"children": [
{
"id": "layout-container",
"instanceId": "profile-row-r2",
"layout": "rail",
"children": [
{
"id": "layout-column",
"instanceId": "profile-rail-r2",
"children": [
{
"id": "block-media",
"instanceId": "profile-avatar-r2"
},
{
"id": "block-heading",
"instanceId": "profile-name-r2"
},
{
"id": "block-text",
"instanceId": "profile-title-r2"
},
{
"id": "block-text",
"instanceId": "profile-location-r2"
},
{
"id": "block-link-group",
"instanceId": "profile-links-r2"
}
]
},
{
"id": "layout-column",
"instanceId": "profile-main-r2",
"children": [
{
"id": "block-card",
"instanceId": "profile-summary-r2"
},
{
"id": "block-heading",
"instanceId": "experience-heading-r2"
},
{
"id": "block-card",
"instanceId": "experience-1-r2",
"children": [
{
"id": "block-heading",
"instanceId": "experience-1-role-r2"
},
{
"id": "block-text",
"instanceId": "experience-1-meta-r2"
},
{
"id": "block-text",
"instanceId": "experience-1-body-r2"
}
]
},
{
"id": "block-card",
"instanceId": "experience-2-r2",
"children": [
{
"id": "block-heading",
"instanceId": "experience-2-role-r2"
},
{
"id": "block-text",
"instanceId": "experience-2-meta-r2"
},
{
"id": "block-text",
"instanceId": "experience-2-body-r2"
}
]
},
{
"id": "block-card",
"instanceId": "experience-3-r2",
"children": [
{
"id": "block-heading",
"instanceId": "experience-3-role-r2"
},
{
"id": "block-text",
"instanceId": "experience-3-meta-r2"
},
{
"id": "block-text",
"instanceId": "experience-3-body-r2"
}
]
},
{
"id": "block-heading",
"instanceId": "skills-heading-r2"
},
{
"id": "block-list",
"instanceId": "skills-list-r2"
},
{
"id": "block-heading",
"instanceId": "education-heading-r2"
},
{
"id": "block-card",
"instanceId": "education-1-r2"
},
{
"id": "block-heading",
"instanceId": "contact-heading-r2"
},
{
"id": "block-card",
"instanceId": "contact-card-r2",
"children": [
{
"id": "block-link-group",
"instanceId": "contact-links-r2"
}
]
}
]
}
]
}
],
"component": "profile-rail@1"
},
{
"id": "layout-section",
"instanceId": "footer-band-r3",
"layout": "centered",
"fullBleed": true,
"children": [
{
"id": "layout-container",
"instanceId": "footer-stack-r3",
"layout": "stack",
"children": [
{
"id": "block-brand",
"instanceId": "footer-brand-r3"
},
{
"id": "layout-container",
"instanceId": "footer-links-row-r3",
"layout": "cluster",
"children": [
{
"id": "block-link-group",
"instanceId": "footer-links-r3"
},
{
"id": "block-link-group",
"instanceId": "footer-social-links-r3"
}
]
}
]
}
],
"component": "footer-simple@1"
}
]
},
"copy": {
"header-band-r1.coverImage": "",
"header-band-r1.coverStyle": "",
"header-band-r1.coverScrim": "",
"header-band-r1.anchor": "",
"header-band-r1.navLabel": "",
"header-band-r1.navHref": "",
"header-band-r1.navSkip": "true",
"header-band-r1.landmark": "header",
"header-band-r1.tone": "default",
"header-band-r1.gutter": "",
"header-band-r1.shape": "",
"header-band-r1.padding": "compact",
"header-band-r1.sticky": "true",
"header-band-r1.reveal": "",
"header-band-r1.dismissible": "",
"header-band-r1.width": "",
"header-band-r1.gradient": "",
"header-row-r1.align": "",
"header-row-r1.phone": "row",
"header-brand-col-r1.pad": "",
"header-brand-col-r1.sticky": "",
"header-brand-r1.wordmark": "Your Company",
"header-brand-r1.wordmarkAccent": "",
"header-brand-r1.logoImage": "",
"header-brand-r1.tagline": "",
"header-brand-r1.href": "#",
"header-nav-col-r1.pad": "",
"header-nav-col-r1.sticky": "",
"header-nav-r1.links": "[{\"label\":\"Home\",\"href\":\"#\"},{\"label\":\"About\",\"href\":\"#about\"},{\"label\":\"Services\",\"href\":\"#services\"},{\"label\":\"Contact\",\"href\":\"#contact\"}]",
"header-nav-r1.ctaLabel": "Get started",
"header-nav-r1.ctaHref": "#contact",
"header-nav-r1.ctaTone": "",
"header-nav-r1.ctaIcon": "",
"header-nav-r1.phoneMenu": "",
"header-nav-r1.align": "end",
"profile-band-r2.coverImage": "",
"profile-band-r2.coverStyle": "",
"profile-band-r2.coverScrim": "",
"profile-band-r2.anchor": "",
"profile-band-r2.navLabel": "",
"profile-band-r2.navHref": "",
"profile-band-r2.navSkip": "",
"profile-band-r2.landmark": "",
"profile-band-r2.tone": "",
"profile-band-r2.gutter": "",
"profile-band-r2.shape": "",
"profile-band-r2.padding": "",
"profile-band-r2.sticky": "",
"profile-band-r2.reveal": "",
"profile-band-r2.dismissible": "",
"profile-band-r2.width": "",
"profile-band-r2.gradient": "",
"profile-row-r2.align": "",
"profile-row-r2.phone": "",
"profile-rail-r2.pad": "",
"profile-rail-r2.sticky": "top",
"profile-avatar-r2.image": "",
"profile-avatar-r2.alt": "Placeholder image",
"profile-avatar-r2.caption": "",
"profile-avatar-r2.frame": "avatar",
"profile-avatar-r2.initials": "",
"profile-avatar-r2.href": "",
"profile-avatar-r2.lightbox": "",
"profile-avatar-r2.badge": "",
"profile-name-r2.text": "Your name",
"profile-name-r2.level": "h2",
"profile-title-r2.text": "Your title",
"profile-title-r2.textStyle": "",
"profile-location-r2.text": "City, ST",
"profile-location-r2.textStyle": "note",
"profile-links-r2.title": "",
"profile-links-r2.links": "[{\"label\":\"Email\",\"href\":\"mailto:hello@yourcompany.com\"},{\"label\":\"LinkedIn\",\"href\":\"#\"},{\"label\":\"Résumé\",\"href\":\"#\"}]",
"profile-links-r2.direction": "",
"profile-links-r2.icons": "",
"profile-main-r2.pad": "",
"profile-main-r2.sticky": "",
"profile-summary-r2.title": "Summary",
"profile-summary-r2.body": "Two or three sentences about who you are and how you work.",
"profile-summary-r2.href": "",
"profile-summary-r2.emphasis": "",
"profile-summary-r2.density": "",
"profile-summary-r2.align": "",
"profile-summary-r2.icon": "",
"experience-heading-r2.text": "Experience",
"experience-heading-r2.level": "h2",
"experience-1-r2.title": "",
"experience-1-r2.body": "",
"experience-1-r2.href": "",
"experience-1-r2.emphasis": "",
"experience-1-r2.density": "",
"experience-1-r2.align": "",
"experience-1-r2.icon": "",
"experience-1-role-r2.text": "Role one",
"experience-1-role-r2.level": "h3",
"experience-1-meta-r2.text": "Company one, a year to a year",
"experience-1-meta-r2.textStyle": "note",
"experience-1-body-r2.text": "A sentence about this role.",
"experience-1-body-r2.textStyle": "",
"experience-2-r2.title": "",
"experience-2-r2.body": "",
"experience-2-r2.href": "",
"experience-2-r2.emphasis": "",
"experience-2-r2.density": "",
"experience-2-r2.align": "",
"experience-2-r2.icon": "",
"experience-2-role-r2.text": "Role two",
"experience-2-role-r2.level": "h3",
"experience-2-meta-r2.text": "Company two, a year to a year",
"experience-2-meta-r2.textStyle": "note",
"experience-2-body-r2.text": "A sentence about this role.",
"experience-2-body-r2.textStyle": "",
"experience-3-r2.title": "",
"experience-3-r2.body": "",
"experience-3-r2.href": "",
"experience-3-r2.emphasis": "",
"experience-3-r2.density": "",
"experience-3-r2.align": "",
"experience-3-r2.icon": "",
"experience-3-role-r2.text": "Role three",
"experience-3-role-r2.level": "h3",
"experience-3-meta-r2.text": "Company three, a year to a year",
"experience-3-meta-r2.textStyle": "note",
"experience-3-body-r2.text": "A sentence about this role.",
"experience-3-body-r2.textStyle": "",
"skills-heading-r2.text": "Skills",
"skills-heading-r2.level": "h2",
"skills-list-r2.items": "Skill one\nSkill two\nSkill three\nSkill four\nSkill five\nSkill six",
"skills-list-r2.marker": "dot",
"skills-list-r2.size": "",
"skills-list-r2.markerImage": "",
"education-heading-r2.text": "Education",
"education-heading-r2.level": "h2",
"education-1-r2.title": "Course one",
"education-1-r2.body": "School one, a year to a year",
"education-1-r2.href": "",
"education-1-r2.emphasis": "",
"education-1-r2.density": "",
"education-1-r2.align": "",
"education-1-r2.icon": "",
"contact-heading-r2.text": "Contact",
"contact-heading-r2.level": "h2",
"contact-card-r2.title": "",
"contact-card-r2.body": "",
"contact-card-r2.href": "",
"contact-card-r2.emphasis": "",
"contact-card-r2.density": "",
"contact-card-r2.align": "",
"contact-card-r2.icon": "",
"contact-links-r2.title": "",
"contact-links-r2.links": "[{\"label\":\"hello@yourcompany.com\",\"href\":\"mailto:hello@yourcompany.com\"},{\"label\":\"(555) 555-0100\",\"href\":\"tel:+15555550100\"}]",
"contact-links-r2.direction": "",
"contact-links-r2.icons": "",
"footer-band-r3.coverImage": "",
"footer-band-r3.coverStyle": "",
"footer-band-r3.coverScrim": "",
"footer-band-r3.anchor": "",
"footer-band-r3.navLabel": "",
"footer-band-r3.navHref": "",
"footer-band-r3.navSkip": "true",
"footer-band-r3.landmark": "footer",
"footer-band-r3.tone": "muted",
"footer-band-r3.gutter": "",
"footer-band-r3.shape": "",
"footer-band-r3.padding": "",
"footer-band-r3.sticky": "",
"footer-band-r3.reveal": "",
"footer-band-r3.dismissible": "",
"footer-band-r3.width": "",
"footer-band-r3.gradient": "",
"footer-stack-r3.align": "",
"footer-stack-r3.phone": "",
"footer-brand-r3.wordmark": "Your Company",
"footer-brand-r3.wordmarkAccent": "",
"footer-brand-r3.logoImage": "",
"footer-brand-r3.tagline": "",
"footer-brand-r3.href": "#",
"footer-links-row-r3.align": "",
"footer-links-row-r3.phone": "",
"footer-links-r3.title": "",
"footer-links-r3.links": "[{\"label\":\"Home\",\"href\":\"#\"},{\"label\":\"About\",\"href\":\"#about\"},{\"label\":\"Services\",\"href\":\"#services\"},{\"label\":\"Contact\",\"href\":\"#contact\"}]",
"footer-links-r3.direction": "row",
"footer-links-r3.icons": "",
"footer-social-links-r3.title": "",
"footer-social-links-r3.links": "",
"footer-social-links-r3.direction": "row",
"footer-social-links-r3.icons": "social"
}
}
{
"slug": "header-brand-links",
"mode": "builder",
"status": "draft",
"skinId": "zinc",
"composition": {
"id": "header-brand-links",
"sections": [
{
"id": "layout-section",
"instanceId": "header-band-r1",
"layout": "stack",
"children": [
{
"id": "layout-container",
"instanceId": "header-row-r1",
"layout": "cluster",
"align": "center",
"justify": "between",
"children": [
{
"id": "layout-column",
"instanceId": "header-brand-col-r1",
"children": [
{
"id": "block-brand",
"instanceId": "header-brand-r1"
}
]
},
{
"id": "layout-column",
"instanceId": "header-nav-col-r1",
"children": [
{
"id": "block-nav",
"instanceId": "header-nav-r1"
}
]
}
]
}
],
"component": "header-brand-links@1"
}
]
},
"copy": {
"header-band-r1.coverImage": "",
"header-band-r1.coverStyle": "",
"header-band-r1.coverScrim": "",
"header-band-r1.anchor": "",
"header-band-r1.navLabel": "",
"header-band-r1.navHref": "",
"header-band-r1.navSkip": "true",
"header-band-r1.landmark": "header",
"header-band-r1.tone": "default",
"header-band-r1.gutter": "",
"header-band-r1.shape": "",
"header-band-r1.padding": "compact",
"header-band-r1.sticky": "true",
"header-band-r1.reveal": "",
"header-band-r1.dismissible": "",
"header-band-r1.width": "",
"header-band-r1.gradient": "",
"header-row-r1.align": "",
"header-row-r1.phone": "row",
"header-brand-col-r1.pad": "",
"header-brand-col-r1.sticky": "",
"header-brand-r1.wordmark": "Your Company",
"header-brand-r1.wordmarkAccent": "",
"header-brand-r1.logoImage": "",
"header-brand-r1.tagline": "",
"header-brand-r1.href": "#",
"header-nav-col-r1.pad": "",
"header-nav-col-r1.sticky": "",
"header-nav-r1.links": "[{\"label\":\"Home\",\"href\":\"#\"},{\"label\":\"About\",\"href\":\"#about\"},{\"label\":\"Services\",\"href\":\"#services\"},{\"label\":\"Contact\",\"href\":\"#contact\"}]",
"header-nav-r1.ctaLabel": "Get started",
"header-nav-r1.ctaHref": "#contact",
"header-nav-r1.ctaTone": "",
"header-nav-r1.ctaIcon": "",
"header-nav-r1.phoneMenu": "",
"header-nav-r1.align": "end"
},
"ds": {}
}
import type { SectionRegistry } from '@nersh/render';
import { Component as BlockBrand } from '@/sections/block-brand/Component';
import { Component as BlockNav } from '@/sections/block-nav/Component';
import { Component as LayoutColumn } from '@/sections/layout-column/Component';
import { Component as LayoutContainer } from '@/sections/layout-container/Component';
import { Component as LayoutSection } from '@/sections/layout-section/Component';
export const registry: SectionRegistry = {
'block-brand': BlockBrand,
'block-nav': BlockNav,
'layout-column': LayoutColumn,
'layout-container': LayoutContainer,
'layout-section': LayoutSection,
};
"use client";
import { SiteRenderer } from "@nersh/render";
import { registry } from "./header-brand-links.registry";
import siteJson from "./header-brand-links.site.json";
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const site = siteJson as any;
export default function HeaderBrandLinks() {
return <SiteRenderer site={site} registry={registry} />;
}
{
"slug": "profile-rail",
"mode": "builder",
"status": "draft",
"skinId": "zinc",
"composition": {
"id": "profile-rail",
"sections": [
{
"id": "layout-section",
"instanceId": "profile-band-r1",
"layout": "stack",
"children": [
{
"id": "layout-container",
"instanceId": "profile-row-r1",
"layout": "rail",
"children": [
{
"id": "layout-column",
"instanceId": "profile-rail-r1",
"children": [
{
"id": "block-media",
"instanceId": "profile-avatar-r1"
},
{
"id": "block-heading",
"instanceId": "profile-name-r1"
},
{
"id": "block-text",
"instanceId": "profile-title-r1"
},
{
"id": "block-text",
"instanceId": "profile-location-r1"
},
{
"id": "block-link-group",
"instanceId": "profile-links-r1"
}
]
},
{
"id": "layout-column",
"instanceId": "profile-main-r1",
"children": [
{
"id": "block-card",
"instanceId": "profile-summary-r1"
},
{
"id": "block-heading",
"instanceId": "experience-heading-r1"
},
{
"id": "block-card",
"instanceId": "experience-1-r1",
"children": [
{
"id": "block-heading",
"instanceId": "experience-1-role-r1"
},
{
"id": "block-text",
"instanceId": "experience-1-meta-r1"
},
{
"id": "block-text",
"instanceId": "experience-1-body-r1"
}
]
},
{
"id": "block-card",
"instanceId": "experience-2-r1",
"children": [
{
"id": "block-heading",
"instanceId": "experience-2-role-r1"
},
{
"id": "block-text",
"instanceId": "experience-2-meta-r1"
},
{
"id": "block-text",
"instanceId": "experience-2-body-r1"
}
]
},
{
"id": "block-card",
"instanceId": "experience-3-r1",
"children": [
{
"id": "block-heading",
"instanceId": "experience-3-role-r1"
},
{
"id": "block-text",
"instanceId": "experience-3-meta-r1"
},
{
"id": "block-text",
"instanceId": "experience-3-body-r1"
}
]
},
{
"id": "block-heading",
"instanceId": "skills-heading-r1"
},
{
"id": "block-list",
"instanceId": "skills-list-r1"
},
{
"id": "block-heading",
"instanceId": "education-heading-r1"
},
{
"id": "block-card",
"instanceId": "education-1-r1"
},
{
"id": "block-heading",
"instanceId": "contact-heading-r1"
},
{
"id": "block-card",
"instanceId": "contact-card-r1",
"children": [
{
"id": "block-link-group",
"instanceId": "contact-links-r1"
}
]
}
]
}
]
}
],
"component": "profile-rail@1"
}
]
},
"copy": {
"profile-band-r1.coverImage": "",
"profile-band-r1.coverStyle": "",
"profile-band-r1.coverScrim": "",
"profile-band-r1.anchor": "",
"profile-band-r1.navLabel": "",
"profile-band-r1.navHref": "",
"profile-band-r1.navSkip": "",
"profile-band-r1.landmark": "",
"profile-band-r1.tone": "",
"profile-band-r1.gutter": "",
"profile-band-r1.shape": "",
"profile-band-r1.padding": "",
"profile-band-r1.sticky": "",
"profile-band-r1.reveal": "",
"profile-band-r1.dismissible": "",
"profile-band-r1.width": "",
"profile-band-r1.gradient": "",
"profile-row-r1.align": "",
"profile-row-r1.phone": "",
"profile-rail-r1.pad": "",
"profile-rail-r1.sticky": "top",
"profile-avatar-r1.image": "",
"profile-avatar-r1.alt": "Placeholder image",
"profile-avatar-r1.caption": "",
"profile-avatar-r1.frame": "avatar",
"profile-avatar-r1.initials": "",
"profile-avatar-r1.href": "",
"profile-avatar-r1.lightbox": "",
"profile-avatar-r1.badge": "",
"profile-name-r1.text": "Your name",
"profile-name-r1.level": "h2",
"profile-title-r1.text": "Your title",
"profile-title-r1.textStyle": "",
"profile-location-r1.text": "City, ST",
"profile-location-r1.textStyle": "note",
"profile-links-r1.title": "",
"profile-links-r1.links": "[{\"label\":\"Email\",\"href\":\"mailto:hello@yourcompany.com\"},{\"label\":\"LinkedIn\",\"href\":\"#\"},{\"label\":\"Résumé\",\"href\":\"#\"}]",
"profile-links-r1.direction": "",
"profile-links-r1.icons": "",
"profile-main-r1.pad": "",
"profile-main-r1.sticky": "",
"profile-summary-r1.title": "Summary",
"profile-summary-r1.body": "Two or three sentences about who you are and how you work.",
"profile-summary-r1.href": "",
"profile-summary-r1.emphasis": "",
"profile-summary-r1.density": "",
"profile-summary-r1.align": "",
"profile-summary-r1.icon": "",
"experience-heading-r1.text": "Experience",
"experience-heading-r1.level": "h2",
"experience-1-r1.title": "",
"experience-1-r1.body": "",
"experience-1-r1.href": "",
"experience-1-r1.emphasis": "",
"experience-1-r1.density": "",
"experience-1-r1.align": "",
"experience-1-r1.icon": "",
"experience-1-role-r1.text": "Role one",
"experience-1-role-r1.level": "h3",
"experience-1-meta-r1.text": "Company one, a year to a year",
"experience-1-meta-r1.textStyle": "note",
"experience-1-body-r1.text": "A sentence about this role.",
"experience-1-body-r1.textStyle": "",
"experience-2-r1.title": "",
"experience-2-r1.body": "",
"experience-2-r1.href": "",
"experience-2-r1.emphasis": "",
"experience-2-r1.density": "",
"experience-2-r1.align": "",
"experience-2-r1.icon": "",
"experience-2-role-r1.text": "Role two",
"experience-2-role-r1.level": "h3",
"experience-2-meta-r1.text": "Company two, a year to a year",
"experience-2-meta-r1.textStyle": "note",
"experience-2-body-r1.text": "A sentence about this role.",
"experience-2-body-r1.textStyle": "",
"experience-3-r1.title": "",
"experience-3-r1.body": "",
"experience-3-r1.href": "",
"experience-3-r1.emphasis": "",
"experience-3-r1.density": "",
"experience-3-r1.align": "",
"experience-3-r1.icon": "",
"experience-3-role-r1.text": "Role three",
"experience-3-role-r1.level": "h3",
"experience-3-meta-r1.text": "Company three, a year to a year",
"experience-3-meta-r1.textStyle": "note",
"experience-3-body-r1.text": "A sentence about this role.",
"experience-3-body-r1.textStyle": "",
"skills-heading-r1.text": "Skills",
"skills-heading-r1.level": "h2",
"skills-list-r1.items": "Skill one\nSkill two\nSkill three\nSkill four\nSkill five\nSkill six",
"skills-list-r1.marker": "dot",
"skills-list-r1.size": "",
"skills-list-r1.markerImage": "",
"education-heading-r1.text": "Education",
"education-heading-r1.level": "h2",
"education-1-r1.title": "Course one",
"education-1-r1.body": "School one, a year to a year",
"education-1-r1.href": "",
"education-1-r1.emphasis": "",
"education-1-r1.density": "",
"education-1-r1.align": "",
"education-1-r1.icon": "",
"contact-heading-r1.text": "Contact",
"contact-heading-r1.level": "h2",
"contact-card-r1.title": "",
"contact-card-r1.body": "",
"contact-card-r1.href": "",
"contact-card-r1.emphasis": "",
"contact-card-r1.density": "",
"contact-card-r1.align": "",
"contact-card-r1.icon": "",
"contact-links-r1.title": "",
"contact-links-r1.links": "[{\"label\":\"hello@yourcompany.com\",\"href\":\"mailto:hello@yourcompany.com\"},{\"label\":\"(555) 555-0100\",\"href\":\"tel:+15555550100\"}]",
"contact-links-r1.direction": "",
"contact-links-r1.icons": ""
},
"ds": {}
}
import type { SectionRegistry } from '@nersh/render';
import { Component as BlockCard } from '@/sections/block-card/Component';
import { Component as BlockHeading } from '@/sections/block-heading/Component';
import { Component as BlockLinkGroup } from '@/sections/block-link-group/Component';
import { Component as BlockList } from '@/sections/block-list/Component';
import { Component as BlockMedia } from '@/sections/block-media/Component';
import { Component as BlockText } from '@/sections/block-text/Component';
import { Component as LayoutColumn } from '@/sections/layout-column/Component';
import { Component as LayoutContainer } from '@/sections/layout-container/Component';
import { Component as LayoutSection } from '@/sections/layout-section/Component';
export const registry: SectionRegistry = {
'block-card': BlockCard,
'block-heading': BlockHeading,
'block-link-group': BlockLinkGroup,
'block-list': BlockList,
'block-media': BlockMedia,
'block-text': BlockText,
'layout-column': LayoutColumn,
'layout-container': LayoutContainer,
'layout-section': LayoutSection,
};
"use client";
import { SiteRenderer } from "@nersh/render";
import { registry } from "./profile-rail.registry";
import siteJson from "./profile-rail.site.json";
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const site = siteJson as any;
export default function ProfileRail() {
return <SiteRenderer site={site} registry={registry} />;
}
{
"slug": "footer-simple",
"mode": "builder",
"status": "draft",
"skinId": "zinc",
"composition": {
"id": "footer-simple",
"sections": [
{
"id": "layout-section",
"instanceId": "footer-band-r1",
"layout": "centered",
"fullBleed": true,
"children": [
{
"id": "layout-container",
"instanceId": "footer-stack-r1",
"layout": "stack",
"children": [
{
"id": "block-brand",
"instanceId": "footer-brand-r1"
},
{
"id": "layout-container",
"instanceId": "footer-links-row-r1",
"layout": "cluster",
"children": [
{
"id": "block-link-group",
"instanceId": "footer-links-r1"
},
{
"id": "block-link-group",
"instanceId": "footer-social-links-r1"
}
]
}
]
}
],
"component": "footer-simple@1"
}
]
},
"copy": {
"footer-band-r1.coverImage": "",
"footer-band-r1.coverStyle": "",
"footer-band-r1.coverScrim": "",
"footer-band-r1.anchor": "",
"footer-band-r1.navLabel": "",
"footer-band-r1.navHref": "",
"footer-band-r1.navSkip": "true",
"footer-band-r1.landmark": "footer",
"footer-band-r1.tone": "muted",
"footer-band-r1.gutter": "",
"footer-band-r1.shape": "",
"footer-band-r1.padding": "",
"footer-band-r1.sticky": "",
"footer-band-r1.reveal": "",
"footer-band-r1.dismissible": "",
"footer-band-r1.width": "",
"footer-band-r1.gradient": "",
"footer-stack-r1.align": "",
"footer-stack-r1.phone": "",
"footer-brand-r1.wordmark": "Your Company",
"footer-brand-r1.wordmarkAccent": "",
"footer-brand-r1.logoImage": "",
"footer-brand-r1.tagline": "",
"footer-brand-r1.href": "#",
"footer-links-row-r1.align": "",
"footer-links-row-r1.phone": "",
"footer-links-r1.title": "",
"footer-links-r1.links": "[{\"label\":\"Home\",\"href\":\"#\"},{\"label\":\"About\",\"href\":\"#about\"},{\"label\":\"Services\",\"href\":\"#services\"},{\"label\":\"Contact\",\"href\":\"#contact\"}]",
"footer-links-r1.direction": "row",
"footer-links-r1.icons": "",
"footer-social-links-r1.title": "",
"footer-social-links-r1.links": "",
"footer-social-links-r1.direction": "row",
"footer-social-links-r1.icons": "social"
},
"ds": {}
}
import type { SectionRegistry } from '@nersh/render';
import { Component as BlockBrand } from '@/sections/block-brand/Component';
import { Component as BlockLinkGroup } from '@/sections/block-link-group/Component';
import { Component as LayoutContainer } from '@/sections/layout-container/Component';
import { Component as LayoutSection } from '@/sections/layout-section/Component';
export const registry: SectionRegistry = {
'block-brand': BlockBrand,
'block-link-group': BlockLinkGroup,
'layout-container': LayoutContainer,
'layout-section': LayoutSection,
};
"use client";
import { SiteRenderer } from "@nersh/render";
import { registry } from "./footer-simple.registry";
import siteJson from "./footer-simple.site.json";
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const site = siteJson as any;
export default function FooterSimple() {
return <SiteRenderer site={site} registry={registry} />;
}