Removed route for meta
All checks were successful
Build and Deploy Astro Site / deploy (push) Successful in 55s

This commit is contained in:
2025-09-11 23:24:56 +02:00
parent 0e70773aa0
commit 62cdc851aa
2 changed files with 2 additions and 77 deletions

49
.idea/workspace.xml generated
View File

@@ -4,52 +4,7 @@
<option name="autoReloadType" value="SELECTIVE" />
</component>
<component name="ChangeListManager">
<list default="true" id="c41707ed-a751-4a5e-bfaa-7bebd8a58741" name="Changes" comment="Fixed : Arbitary css purging">
<change afterPath="$PROJECT_DIR$/src/app/(site)/awq/[...slug]/page.tsx" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/app/(site)/awq/page.tsx" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/components/Markdoc/Highlight/Highlight.module.css" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/components/Markdoc/Highlight/index.tsx" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/components/Page/Header/PageHeader.module.css" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/components/Page/Header/index.tsx" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/layouts/AWQLayout/index.tsx" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/layouts/ArticleLayout/index.tsx" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/lib/content/awq/collector.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/lib/content/awq/talents.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/lib/keystatic/collections/awq/article.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/lib/keystatic/collections/awq/talents.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/lib/keystatic/components/Inline.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/lib/utils/date.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/styles/themes/awq.css" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/styles/tools.css" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/styles/tools/tables.css" afterDir="false" />
<change afterPath="$PROJECT_DIR$/types/keystatic.ts" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/codeStyles/codeStyleConfig.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/codeStyles/codeStyleConfig.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/keystatic.config.ts" beforeDir="false" afterPath="$PROJECT_DIR$/keystatic.config.ts" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/images/authors/dave-damage/avatar.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/public/images/authors/dave-damage/awq_cover-default.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/public/images/content/the-metatron/the-kitchensink/pexels-jplenio-1102912.jpg" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/public/images/covers/the-metatron/the-kitchensink/cover.jpeg" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/src/app/(admin)/keystatic/keystatic.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/app/(admin)/keystatic/keystatic.ts" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/app/(site)/globals.css" beforeDir="false" afterPath="$PROJECT_DIR$/src/app/(site)/globals.css" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/app/(site)/layout.tsx" beforeDir="false" afterPath="$PROJECT_DIR$/src/app/(site)/layout.tsx" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/components/Markdoc/Renderer/Renderer.module.css" beforeDir="false" afterPath="$PROJECT_DIR$/src/components/Markdoc/Renderer/Renderer.module.css" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/components/Markdoc/Renderer/index.tsx" beforeDir="false" afterPath="$PROJECT_DIR$/src/components/Markdoc/Renderer/index.tsx" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/content/taxonomy/authors/dave-damage.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/src/content/taxonomy/authors/dave-damage/test.mdoc" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/src/content/taxonomy/tags/rant-against-the-machine.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/src/content/taxonomy/tags/was-ist-was.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/src/content/the-metatron/the-kitchensink.mdoc" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/src/lib/content/taxonomy/authors.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/lib/content/taxonomy/authors.ts" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/lib/content/taxonomy/tags.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/lib/content/taxonomy/tags.ts" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/lib/keystatic/collections/taxonomy/authors.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/lib/keystatic/collections/taxonomy/authors.ts" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/lib/keystatic/fields/article.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/lib/keystatic/fields/article.ts" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/lib/keystatic/fields/content.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/lib/keystatic/fields/content.ts" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/lib/keystatic/fields/publishing.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/lib/keystatic/fields/publishing.ts" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/lib/markdoc/tags.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/lib/markdoc/tags.ts" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/styles/settings/colors.css" beforeDir="false" afterPath="$PROJECT_DIR$/src/styles/settings/colors.css" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/styles/settings/elements.css" beforeDir="false" afterPath="$PROJECT_DIR$/src/styles/settings/elements.css" afterDir="false" />
</list>
<list default="true" id="c41707ed-a751-4a5e-bfaa-7bebd8a58741" name="Changes" comment="Fixed : Arbitary css purging" />
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
@@ -133,7 +88,7 @@
<updated>1756802819394</updated>
<workItem from="1756802820524" duration="57336000" />
<workItem from="1756985956072" duration="111716000" />
<workItem from="1757501953150" duration="58034000" />
<workItem from="1757501953150" duration="58403000" />
</task>
<task id="LOCAL-00001" summary="Added simple astrojs deploy">
<option name="closed" value="true" />

View File

@@ -1,30 +0,0 @@
import MarkdocRenderer from '@/components/Markdoc/Renderer'
import { getArticleBySlug, getArticles } from '@/lib/content/meta/articles'
import { notFound } from 'next/navigation'
interface Props {
params: Promise<{
slug: string
}>
}
export async function generateStaticParams() {
const articles = await getArticles()
return articles.map(({ slug }) => ({ slug }))
}
export default async function MetaArticlePage({ params }: Props) {
const { slug } = await params
const article = await getArticleBySlug(slug)
if (!article) {
notFound()
}
return (
<div className="page">
<h1>{article.title}</h1>
<MarkdocRenderer content={article.content} className="meta-content" />
</div>
)
}