diff --git a/src/components/blog/BlogLeftSection.astro b/src/components/blog/BlogLeftSection.astro index 16de6ab..931d0f8 100644 --- a/src/components/blog/BlogLeftSection.astro +++ b/src/components/blog/BlogLeftSection.astro @@ -1,5 +1,5 @@ --- -import PrimaryCTA from '@components/ui/buttons/PrimaryCTA.astro'; +import GoLinkPrimary from '@components/ui/buttons/GoLinkPrimary.astro'; import Image from '@components/ui/images/Image.astro'; interface Props { @@ -39,6 +39,6 @@ const { title, subTitle, btnExists, btnTitle, btnURL, img, imgAlt } = Astro.prop > {subTitle}

- {btnExists ? : null} + {btnExists ? : null} diff --git a/src/components/blog/BlogRightSection.astro b/src/components/blog/BlogRightSection.astro index d6a6907..b6219be 100644 --- a/src/components/blog/BlogRightSection.astro +++ b/src/components/blog/BlogRightSection.astro @@ -1,5 +1,5 @@ --- -import PrimaryCTA from '@components/ui/buttons/PrimaryCTA.astro'; +import GoLinkPrimary from '@components/ui/buttons/GoLinkPrimary.astro'; import Image from '@components/ui/images/Image.astro'; interface Props { @@ -43,7 +43,7 @@ const { > {subTitle}

- {btnExists ? : null} + {btnExists ? : null} { diff --git a/src/components/ui/buttons/Bookmark.astro b/src/components/ui/buttons/Bookmark.astro index 7b87513..3d4b627 100644 --- a/src/components/ui/buttons/Bookmark.astro +++ b/src/components/ui/buttons/Bookmark.astro @@ -4,7 +4,7 @@ import Icon from '@components/ui/icons/icon.astro'; diff --git a/src/components/ui/cards/HighlightsCard.astro b/src/components/ui/cards/HighlightsCard.astro index 0a456b4..bb07db3 100644 --- a/src/components/ui/cards/HighlightsCard.astro +++ b/src/components/ui/cards/HighlightsCard.astro @@ -55,7 +55,7 @@ const visitClass = visitSource ? 'card-hover-text-gitea' : 'card-hover-text-titl )}
-
+
{visitSource && } {visitText} diff --git a/src/components/ui/sections/HeroSectionAlt.astro b/src/components/ui/sections/GiteaSection.astro similarity index 97% rename from src/components/ui/sections/HeroSectionAlt.astro rename to src/components/ui/sections/GiteaSection.astro index 1cc5819..e3d0163 100644 --- a/src/components/ui/sections/HeroSectionAlt.astro +++ b/src/components/ui/sections/GiteaSection.astro @@ -1,5 +1,5 @@ --- -import GiteaBtn from '@components/ui/buttons/GiteaBtn.astro'; +import GiteaButton from '@components/ui/buttons/GiteaButton.astro'; const { title, subTitle, url } = Astro.props; const btnTitle = 'Continue to Gitea'; @@ -126,7 +126,7 @@ interface Props { { url && (
- +
) } diff --git a/src/components/ui/sections/HeaderSection.astro b/src/components/ui/sections/HeaderSection.astro index f63ac7d..5a712d6 100644 --- a/src/components/ui/sections/HeaderSection.astro +++ b/src/components/ui/sections/HeaderSection.astro @@ -1,5 +1,5 @@ --- -import PrimaryCTA from '@components/ui/buttons/PrimaryCTA.astro'; +import GoLinkPrimary from '@components/ui/buttons/GoLinkPrimary.astro'; interface Props { title: string; @@ -26,7 +26,7 @@ const { title, subTitle, btnExists, btnTitle, btnURL } = Astro.props; { btnExists ? (
- +
) : null } diff --git a/src/components/ui/sections/HeroSection.astro b/src/components/ui/sections/HeroSection.astro index ebcdd27..3d5d78b 100644 --- a/src/components/ui/sections/HeroSection.astro +++ b/src/components/ui/sections/HeroSection.astro @@ -1,6 +1,6 @@ --- -import PrimaryCTA from '@components/ui/buttons/PrimaryCTA.astro'; -import SecondaryCTA from '@components/ui/buttons/SecondaryCTA.astro'; +import GoLinkPrimary from '@components/ui/buttons/GoLinkPrimary.astro'; +import GoLinkSecondary from '@components/ui/buttons/GoLinkSecondary.astro'; import Image from '@components/ui/images/Image.astro'; const { title, subTitle, primaryBtn, primaryBtnURL, secondaryBtn, secondaryBtnURL, src, alt } = @@ -39,8 +39,8 @@ const roundedClasses = Astro.props.rounded ? "rounded-xl" : null; }
- {primaryBtn && } - {secondaryBtn && } + {primaryBtn && } + {secondaryBtn && }
diff --git a/src/pages/404.astro b/src/pages/404.astro index ae6e10d..b43334e 100644 --- a/src/pages/404.astro +++ b/src/pages/404.astro @@ -3,8 +3,8 @@ import { readSingleton } from '@directus/sdk'; import directus from '@lib/directus'; import BaseLayout from '@layouts/BaseLayout.astro'; -import PrimaryCTA from '@components/ui/buttons/PrimaryCTA.astro'; import GoBack from '@/components/ui/buttons/GoBack.astro'; +import GoHome from '@/components/ui/buttons/GoHome.astro'; const global = await directus.request(readSingleton('site_global')); --- @@ -61,8 +61,8 @@ const global = await directus.request(readSingleton('site_global'));
- - + +
diff --git a/src/pages/blog/[...slug].astro b/src/pages/blog/[...slug].astro index a15571f..4b02d07 100644 --- a/src/pages/blog/[...slug].astro +++ b/src/pages/blog/[...slug].astro @@ -10,6 +10,7 @@ import { createHighlighter } from 'shiki'; import { getDirectusImageURL } from '@lib/directusFunctions'; import BaseLayout from '@layouts/BaseLayout.astro'; import Image from '@components/ui/images/Image.astro'; +import SocialShare from '@components/ui/buttons/SocialShare.astro'; import { formatDateTime } from '@support/time'; export async function getStaticPaths() { @@ -162,6 +163,9 @@ const content = marked.parse(post.content); )) }
+ diff --git a/src/pages/index.astro b/src/pages/index.astro index ee724de..ec9fab5 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -7,7 +7,8 @@ import HeroSection from '@components/ui/sections/HeroSection.astro'; import FeaturesSection from '@components/ui/sections/FeaturesSection.astro'; import WeatherSection from '@components/ui/sections/WeatherSection.astro'; import LatestPosts from '@components/ui/sections/LatestPosts.astro'; -import HeroSectionAlt from '@components/ui/sections/HeroSectionAlt.astro'; +import GiteaSection from '@components/ui/sections/GiteaSection.astro'; + import homeImg from '@images/autumn_mountain.png'; const global = await directus.request(readSingleton('site_global')); @@ -55,7 +56,7 @@ const weather = await directus.request(readSingleton('site_weather')); -