From 2d9db19df463eb24545ef69fa0edd78ae630c947 Mon Sep 17 00:00:00 2001 From: Jacob Hilker Date: Thu, 12 Oct 2023 11:44:22 -0400 Subject: [PATCH] fix HeroSection --- src/components/HeroSection.astro | 59 -------------------------- src/components/index/HeroSection.astro | 21 +++++++++ src/pages/index.astro | 2 +- 3 files changed, 22 insertions(+), 60 deletions(-) delete mode 100644 src/components/HeroSection.astro diff --git a/src/components/HeroSection.astro b/src/components/HeroSection.astro deleted file mode 100644 index 7c1986af..00000000 --- a/src/components/HeroSection.astro +++ /dev/null @@ -1,59 +0,0 @@ ---- -import { Image } from "astro:assets"; -import Button from "./Button.astro"; -import Hero from "@assets/Hero.jpeg"; -import Icon from "astro-icon"; -import { SITE_META } from "@consts"; ---- - -
- Myself leaning on a tree. -
-

- Hi, I'm - Jacob - -

-

- Freelance Web Developer -

-

- I create accessible, performant, and easy-to-use websites using free and - open-source technologies such as TailwindCSS, Hugo, and Astro. - { - SITE_META.availableForHire - ? "I'm currently available for hire, so feel free to reach out using the button below." - : "" - } -

-
- - Reach Out - - -
-
-
diff --git a/src/components/index/HeroSection.astro b/src/components/index/HeroSection.astro index 80f94741..7a8c3ba2 100644 --- a/src/components/index/HeroSection.astro +++ b/src/components/index/HeroSection.astro @@ -42,5 +42,26 @@ import { SITE_META } from "@consts"; : "" }

+
+ + Reach Out + + + +
diff --git a/src/pages/index.astro b/src/pages/index.astro index 3b9cd02c..8027a955 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -3,7 +3,7 @@ import BaseLayout from "@layouts/BaseLayout.astro"; import "@fontsource/ibm-plex-serif/700.css"; import "@fontsource/ibm-plex-sans/700.css"; import { SITE_META } from "@consts"; -import HeroSection from "@components/HeroSection.astro"; +import HeroSection from "@components/index/HeroSection.astro"; //import { type BlogPost, type Project } from "@content"; import FeaturedProjectSection from "@components/index/FeaturedProjectSection.astro"; ---