From c839ead325d552496c7faf6d72428d3589d88304 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Tue, 12 Nov 2024 01:07:20 +0200 Subject: Committing with a bunch of changes --- src/components/Nav.astro | 50 +++++++++++++++++++++++++++++++++++++ src/components/TerminalBorder.astro | 36 ++++++++++++++++++++++++++ 2 files changed, 86 insertions(+) create mode 100644 src/components/Nav.astro create mode 100644 src/components/TerminalBorder.astro (limited to 'src/components') diff --git a/src/components/Nav.astro b/src/components/Nav.astro new file mode 100644 index 0000000..3c41d0d --- /dev/null +++ b/src/components/Nav.astro @@ -0,0 +1,50 @@ +--- +interface Props { + path: string; +} + +const { path } = Astro.props; + +const directories = ["about", "works", "links"] + +--- + + + diff --git a/src/components/TerminalBorder.astro b/src/components/TerminalBorder.astro new file mode 100644 index 0000000..6add2b7 --- /dev/null +++ b/src/components/TerminalBorder.astro @@ -0,0 +1,36 @@ +--- +interface Props { + header: string; + margin?: string; +} + +const { header, margin = "-1px" } = Astro.props; +--- +
+ {header} + +
+ + -- cgit v1.3.1