From 0c427ff464aba6144ac3d32e1cca485a24745150 Mon Sep 17 00:00:00 2001 From: Ayo Date: Sat, 17 Sep 2022 11:55:25 +0200 Subject: [PATCH] add all relevant links --- .gitignore | 6 +++ src/components/Footer.astro | 28 ++++++++++++ src/layouts/Layout.astro | 2 + src/pages/index.astro | 43 ++++++++++-------- src/pages/social.astro | 91 +++++++++++++++++++++++++++++++++++++ 5 files changed, 150 insertions(+), 20 deletions(-) create mode 100644 src/components/Footer.astro create mode 100644 src/pages/social.astro diff --git a/.gitignore b/.gitignore index 7329a85..a618a3e 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,9 @@ pnpm-debug.log* # macOS-specific files .DS_Store + +# temp files +*~ +*swp +*swo + diff --git a/src/components/Footer.astro b/src/components/Footer.astro new file mode 100644 index 0000000..6e77b72 --- /dev/null +++ b/src/components/Footer.astro @@ -0,0 +1,28 @@ + + + diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 5c724bf..ebf6027 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -4,6 +4,8 @@ export interface Props { } const { title } = Astro.props; + +import Footer from '../components/Footer.astro'; --- diff --git a/src/pages/index.astro b/src/pages/index.astro index 4867875..5df2496 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,37 +1,40 @@ --- import Layout from '../layouts/Layout.astro'; import Card from '../components/Card.astro'; +import Footer from '../components/Footer.astro'; --- - +
-

Welcome to Astro

-

- Check out the src/pages directory to get started.
- Code Challenge: Tweak the "Welcome to Astro" message above. -

+

Hi, I am Ayo!

+
    +
  • 👨🏻‍💻 Software Extraordinaire
  • +
  • 🕵🏻‍♂️ Frontend Detective Consultant
  • +
  • 📚 BS Computer Science
  • +
+
@@ -71,7 +74,7 @@ import Card from '../components/Card.astro'; } } - .instructions { + .highlighted-content { line-height: 1.6; margin: 1rem 0; background: #4f39fa; @@ -80,7 +83,7 @@ import Card from '../components/Card.astro'; color: var(--color-bg); } - .instructions code { + .highlighted-content code { font-size: 0.875em; border: 0.1em solid var(--color-border); border-radius: 4px; diff --git a/src/pages/social.astro b/src/pages/social.astro new file mode 100644 index 0000000..1688453 --- /dev/null +++ b/src/pages/social.astro @@ -0,0 +1,91 @@ +--- +import Layout from '../layouts/Layout.astro'; +import Card from '../components/Card.astro'; +import Footer from '../components/Footer.astro'; +--- + + +
+ +

Social Links

+
    + + + + +
+
+
+
+ +