diff --git a/src/Client/src/components/Link.tsx b/src/Client/src/components/Link.tsx new file mode 100644 index 0000000..578f1d5 --- /dev/null +++ b/src/Client/src/components/Link.tsx @@ -0,0 +1,17 @@ +interface Props { + children: string; + href: string; + target?: "_blank" | ""; +} + +export default function Link({ children, href, target }: Props) { + return ( + + {children} + + ); +} diff --git a/src/Client/src/components/NavBar.tsx b/src/Client/src/components/NavBar.tsx index e2d36c7..e2a0434 100644 --- a/src/Client/src/components/NavBar.tsx +++ b/src/Client/src/components/NavBar.tsx @@ -46,7 +46,7 @@ export default function NavBar() { onClose={setMobileMenuOpen} >
- +
Beau Findlay diff --git a/src/Client/src/components/Subtitle.tsx b/src/Client/src/components/Subtitle.tsx new file mode 100644 index 0000000..a84f69d --- /dev/null +++ b/src/Client/src/components/Subtitle.tsx @@ -0,0 +1,11 @@ +interface Props { + children: string; + className?: string | null; +} + +export default function Subtitle({ children, className }: Props) { + const defaultStyles = "text-2xl py-4 font-semibold"; + const styles = className ? `${defaultStyles} ${className}` : defaultStyles; + + return

{children}

; +} diff --git a/src/Client/src/components/Text.tsx b/src/Client/src/components/Text.tsx new file mode 100644 index 0000000..e67b657 --- /dev/null +++ b/src/Client/src/components/Text.tsx @@ -0,0 +1,9 @@ +import { ReactNode } from "react"; + +interface Props { + children: ReactNode; +} + +export default function Text({ children }: Props) { + return

{children}

; +} diff --git a/src/Client/src/components/Title.tsx b/src/Client/src/components/Title.tsx new file mode 100644 index 0000000..086c2cc --- /dev/null +++ b/src/Client/src/components/Title.tsx @@ -0,0 +1,7 @@ +interface Props { + children: string; +} + +export default function Title({ children }: Props) { + return

{children}

; +} diff --git a/src/Client/src/pages/HomePage.tsx b/src/Client/src/pages/HomePage.tsx index 9a570db..9be6c7f 100644 --- a/src/Client/src/pages/HomePage.tsx +++ b/src/Client/src/pages/HomePage.tsx @@ -1,3 +1,26 @@ +import Link from "../components/Link"; +import Subtitle from "../components/Subtitle"; +import Text from "../components/Text"; +import Title from "../components/Title"; + export default function HomePage() { - return

Hello world

; + return ( + <> + Hi, I'm Beau. + + I'm a UK-based software engineer and I love building cool stuff. + + + A bit about me + + I mostly specialise in back-end C#/.NET development and I've built + systems that scale for hundreds-of-thousands of global users. + + + I've worked with businesses at all sizes and stages and I'm currently + heading up the tech as CTO at a cool startup called{" "} + un:hurd music. + + + ); } diff --git a/src/Client/src/pages/Layout.tsx b/src/Client/src/pages/Layout.tsx index b40dbe0..3de92b2 100644 --- a/src/Client/src/pages/Layout.tsx +++ b/src/Client/src/pages/Layout.tsx @@ -7,10 +7,9 @@ export default function Layout() {
-
+
-