feat: move scripts to script folder
This commit is contained in:
@@ -4,7 +4,7 @@ import { Image } from 'astro:assets';
|
||||
import type { Post } from '@lib/directusTypes';
|
||||
|
||||
import PostMetadataSnippet from '@/components/snippets/PostMetadataSnippet.astro';
|
||||
import { getDirectusImageURL } from '@/support/url';
|
||||
import { getDirectusImageURL } from '@/scripts/url';
|
||||
|
||||
interface Props {
|
||||
post: Post;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
import Logo from '@components/images/Logo.astro';
|
||||
import { getDirectusImageURL } from '@/support/url';
|
||||
import { getDirectusImageURL } from '@/scripts/url';
|
||||
|
||||
interface Props {
|
||||
slug: string;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
import { Icon } from 'astro-icon/components';
|
||||
|
||||
import Logo from '@components/images/Logo.astro';
|
||||
import { getDirectusImageURL } from '@/support/url';
|
||||
import { getDirectusImageURL } from '@/scripts/url';
|
||||
|
||||
interface Props {
|
||||
topic: string;
|
||||
|
||||
@@ -5,7 +5,7 @@ import type { Post } from '@lib/directusTypes';
|
||||
|
||||
import ReadMoreButton from '@components/buttons/ReadMoreButton.astro';
|
||||
import PostMetadataSnippet from '@/components/snippets/PostMetadataSnippet.astro';
|
||||
import { getDirectusImageURL } from '@/support/url';
|
||||
import { getDirectusImageURL } from '@/scripts/url';
|
||||
|
||||
interface Props {
|
||||
post: Post;
|
||||
|
||||
@@ -5,7 +5,7 @@ import type { Post } from '@lib/directusTypes';
|
||||
|
||||
import ReadMoreButton from '@components/buttons/ReadMoreButton.astro';
|
||||
import PostMetadataSnippet from '@/components/snippets/PostMetadataSnippet.astro';
|
||||
import { getDirectusImageURL } from '@/support/url';
|
||||
import { getDirectusImageURL } from '@/scripts/url';
|
||||
|
||||
interface Props {
|
||||
post: Post;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
import Logo from '@components/images/Logo.astro';
|
||||
import { getDirectusImageURL } from '@/support/url';
|
||||
import { getDirectusImageURL } from '@/scripts/url';
|
||||
|
||||
interface Props {
|
||||
url: string;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
import { Icon } from 'astro-icon/components';
|
||||
import { Image } from 'astro:assets';
|
||||
|
||||
import { getDirectusImageURL } from '@/support/url';
|
||||
import { getDirectusImageURL } from '@/scripts/url';
|
||||
|
||||
interface Props {
|
||||
title: string;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
import ReadMoreButton from '@components/buttons/ReadMoreButton.astro';
|
||||
import Logo from '@components/images/Logo.astro';
|
||||
import { getDirectusImageURL } from '@/support/url';
|
||||
import { getDirectusImageURL } from '@/scripts/url';
|
||||
|
||||
interface Props {
|
||||
title: string;
|
||||
|
||||
Reference in New Issue
Block a user