diff --git a/src/components/Divider.astro b/src/components/Divider.astro deleted file mode 100644 index 514362a..0000000 --- a/src/components/Divider.astro +++ /dev/null @@ -1,5 +0,0 @@ ---- - ---- - -
\ No newline at end of file diff --git a/src/components/Footer.astro b/src/components/Footer.astro new file mode 100644 index 0000000..bf909a1 --- /dev/null +++ b/src/components/Footer.astro @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/src/components/misc/Divider.astro b/src/components/misc/Divider.astro new file mode 100644 index 0000000..e529a21 --- /dev/null +++ b/src/components/misc/Divider.astro @@ -0,0 +1 @@ +
\ No newline at end of file diff --git a/src/components/misc/ThemeToggle.astro b/src/components/misc/ThemeToggle.astro new file mode 100644 index 0000000..5e4ee7c --- /dev/null +++ b/src/components/misc/ThemeToggle.astro @@ -0,0 +1,44 @@ + + + + + + +
+ + light_mode + + + + nightlight + +
\ No newline at end of file diff --git a/src/components/Nav.astro b/src/components/nav/Nav.astro similarity index 54% rename from src/components/Nav.astro rename to src/components/nav/Nav.astro index 64667b0..7b47435 100644 --- a/src/components/Nav.astro +++ b/src/components/nav/Nav.astro @@ -1,5 +1,7 @@ --- - import Divider from "./Divider.astro"; + import Divider from "../misc/Divider.astro"; + import SocialLinks from "./SocialLinks.astro"; + import ThemeToggle from "../misc/ThemeToggle.astro"; ---
@@ -11,30 +13,34 @@

Thomas Cole

-

Some flavor text

+

Developer, Linux Enthusiast, System Administrator

- + + - - - - + +
\ No newline at end of file diff --git a/src/components/nav/SocialLinks.astro b/src/components/nav/SocialLinks.astro new file mode 100644 index 0000000..6e85136 --- /dev/null +++ b/src/components/nav/SocialLinks.astro @@ -0,0 +1,37 @@ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
\ No newline at end of file diff --git a/src/components/resume/Timeline.astro b/src/components/resume/Timeline.astro new file mode 100644 index 0000000..4b2060f --- /dev/null +++ b/src/components/resume/Timeline.astro @@ -0,0 +1,16 @@ +--- + export interface Props{ + title: string, + subtitle: string, + description?: string, + } + + const {title, subtitle, description} = Astro.props; +--- + +
+
+ +
+
+ diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index a8ee995..95fd7b9 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -1,9 +1,10 @@ --- export interface Props { - title: string; + title?: string; } - import Nav from '../components/Nav.astro' + import Nav from '../components/nav/Nav.astro'; + import Footer from '../components/Footer.astro'; const { title } = Astro.props; --- @@ -16,7 +17,7 @@ - {title} + thomaspcole.com {title} @@ -51,6 +52,7 @@