feat: move improved components out of ui folder
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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, {
|
||||
@@ -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, {
|
||||
@@ -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'));
|
||||
---
|
||||
@@ -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';
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
import GoLinkPrimary from '@components/ui/buttons/GoLinkPrimary.astro';
|
||||
import GoLinkPrimary from '@components/buttons/GoLinkPrimary.astro';
|
||||
|
||||
interface Props {
|
||||
title: string;
|
||||
@@ -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 } =
|
||||
@@ -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, {
|
||||
@@ -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;
|
||||
Reference in New Issue
Block a user