feat: move improved components out of ui folder

This commit is contained in:
2026-02-14 23:10:43 -06:00
parent a09a4ee240
commit 47a637353c
34 changed files with 30 additions and 30 deletions

View File

@@ -1,6 +1,6 @@
---
import BrandLogo from '@components/ui/logos/BrandLogo.astro';
import ThemeToggle from '@components/ui/buttons/ThemeToggle.astro';
import ThemeToggle from '@components/buttons/ThemeToggle.astro';
import { NavigationLinks } from '@/config';
const pathname = new URL(Astro.request.url).pathname;

View File

@@ -1,5 +1,5 @@
---
import GoLinkPrimary from '@components/ui/buttons/GoLinkPrimary.astro';
import GoLinkPrimary from '@components/buttons/GoLinkPrimary.astro';
import Image from '@components/ui/images/Image.astro';
interface Props {

View File

@@ -1,5 +1,5 @@
---
import GoLinkPrimary from '@components/ui/buttons/GoLinkPrimary.astro';
import GoLinkPrimary from '@components/buttons/GoLinkPrimary.astro';
import Image from '@components/ui/images/Image.astro';
interface Props {

View File

@@ -4,7 +4,7 @@ import { readItems } from '@directus/sdk';
import type { Application } from '@lib/directusTypes';
import directus from '@lib/directus';
import HighlightsCard from '@components/ui/cards/HighlightsCard.astro';
import HighlightsCard from '@components/cards/HighlightsCard.astro';
const applications = ((await directus.request(
readItems('site_applications' as any, {

View File

@@ -5,7 +5,7 @@ import type { Education, Certificate} from '@lib/directusTypes';
import directus from '@lib/directus';
import { getDirectusImageURL } from '@lib/directusFunctions';
import EducationCard from '@components/ui/cards/EducationCard.astro';
import EducationCard from '@components/cards/EducationCard.astro';
const educations = ((await directus.request(
readItems('site_education' as any, {

View File

@@ -2,7 +2,7 @@
import { readSingleton } from '@directus/sdk';
import directus from '@lib/directus';
import FeaturesCard from '@components/ui/cards/FeaturesCard.astro';
import FeaturesCard from '@components/cards/FeaturesCard.astro';
const global = await directus.request(readSingleton('site_global'));
---

View File

@@ -1,5 +1,5 @@
---
import GiteaButton from '@components/ui/buttons/GiteaButton.astro';
import GiteaButton from '@components/buttons/GiteaButton.astro';
const { title, subTitle, url } = Astro.props;
const btnTitle = 'Continue to Gitea';

View File

@@ -1,5 +1,5 @@
---
import GoLinkPrimary from '@components/ui/buttons/GoLinkPrimary.astro';
import GoLinkPrimary from '@components/buttons/GoLinkPrimary.astro';
interface Props {
title: string;

View File

@@ -1,6 +1,6 @@
---
import GoLinkPrimary from '@components/ui/buttons/GoLinkPrimary.astro';
import GoLinkSecondary from '@components/ui/buttons/GoLinkSecondary.astro';
import GoLinkPrimary from '@components/buttons/GoLinkPrimary.astro';
import GoLinkSecondary from '@components/buttons/GoLinkSecondary.astro';
import Image from '@components/ui/images/Image.astro';
const { title, subTitle, primaryBtn, primaryBtnURL, secondaryBtn, secondaryBtnURL, src, alt } =

View File

@@ -4,7 +4,7 @@ import { readItems } from '@directus/sdk';
import type { Project } from '@lib/directusTypes';
import directus from '@lib/directus';
import HighlightsCard from '@components/ui/cards/HighlightsCard.astro';
import HighlightsCard from '@components/cards/HighlightsCard.astro';
const projects = ((await directus.request(
readItems('site_projects' as any, {

View File

@@ -1,5 +1,5 @@
---
import WeatherCard from '@components/ui/cards/WeatherCard.astro';
import WeatherCard from '@components/cards/WeatherCard.astro';
import { getFiveDayForecast } from '@support/weather';
const { latitude = "44.95", longitude = "-93.09", cityName = "St. Paul, Minnesota", timezone = "America/Chicago" } = Astro.props;