feat: initial Funktechnik Schubert website
This commit is contained in:
commit
9a648e2ec8
35 changed files with 7521 additions and 0 deletions
19
components/PageHero.tsx
Normal file
19
components/PageHero.tsx
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
import type { ReactNode } from "react";
|
||||
|
||||
type Props = {
|
||||
eyebrow?: string;
|
||||
title: string;
|
||||
children: ReactNode;
|
||||
};
|
||||
|
||||
export default function PageHero({ eyebrow, title, children }: Props) {
|
||||
return (
|
||||
<section className="section dark">
|
||||
<div className="container">
|
||||
{eyebrow && <p className="eyebrow">{eyebrow}</p>}
|
||||
<h1>{title}</h1>
|
||||
<p className="lead">{children}</p>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue