diff --git a/src/components/Footer.astro b/src/components/Footer.astro index aac6db6..c0c5286 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -2,11 +2,11 @@ --- -
+
+ diff --git a/src/components/Header.astro b/src/components/Header.astro new file mode 100644 index 0000000..e0e674f --- /dev/null +++ b/src/components/Header.astro @@ -0,0 +1,12 @@ +--- +import Nav from "../components/Nav.tsx"; +--- + +
+

+ J. Hunter DeLoche. +

+
+
+
diff --git a/src/components/Metadata.astro b/src/components/Metadata.astro new file mode 100644 index 0000000..c6ce0d4 --- /dev/null +++ b/src/components/Metadata.astro @@ -0,0 +1,42 @@ +--- +interface Props { + title: string; + description: string; +} + +const domain = "jhunterdeloche.com"; +const author = "J. Hunter DeLoche"; +const site_name = "J. Hunter DeLoche's Website"; + +const image_link = ""; +const image_desc = ""; + +const { title, description }: Props = Astro.props; +--- + + + + + + + + + + + + + + + + + + + diff --git a/src/components/Nav.tsx b/src/components/Nav.tsx index fc947f1..9c848a3 100644 --- a/src/components/Nav.tsx +++ b/src/components/Nav.tsx @@ -24,27 +24,23 @@ const Nav = () => { return ( -
-

J. Hunter DeLoche.

- -
+ ); }; diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index eb5d58f..ea4b21a 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -1,42 +1,43 @@ --- -import Nav from "../components/Nav.tsx"; import Footer from "../components/Footer.astro"; +import Header from "../components/Header.astro"; +import Metadata from "../components/Metadata.astro"; import { ViewTransitions } from "astro:transitions"; interface Props { title: string; + description: string; } -const { title } = Astro.props; +const { title, description }: Props = Astro.props; --- - + + + - + {title} +
-
-
+
-
-
-
+
diff --git a/src/pages/index.astro b/src/pages/index.astro index c217b71..e6ae62a 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -2,6 +2,6 @@ import Layout from "../layouts/Layout.astro"; --- - +
This is the about page
diff --git a/src/pages/music.astro b/src/pages/music.astro index 7998f56..10d6a78 100644 --- a/src/pages/music.astro +++ b/src/pages/music.astro @@ -2,6 +2,6 @@ import Layout from "../layouts/Layout.astro"; --- - +
this is the music page
diff --git a/src/pages/writing.astro b/src/pages/writing.astro index c649122..30ca0b6 100644 --- a/src/pages/writing.astro +++ b/src/pages/writing.astro @@ -2,6 +2,6 @@ import Layout from "../layouts/Layout.astro"; --- - +
This is the writing page
diff --git a/tailwind.config.mjs b/tailwind.config.mjs index 42670f2..1e04b0e 100644 --- a/tailwind.config.mjs +++ b/tailwind.config.mjs @@ -17,5 +17,8 @@ export default { }, }, }, + future: { + hoverOnlyWhenSupported: true, + }, plugins: [], }