feat: Add more base component to UI

This commit is contained in:
deytenit committed 2026-02-01 16:24:45 +03:00
1 parent ca20310460
commit df2abc06f2
116 files changed
+10379 -3473

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@ import { defineCollection, z } from 'astro:content';
const articles = defineCollection({
// Load all markdown and MDX files from the content/articles directory
loader: glob({ pattern: "**/*.{md,mdx}", base: "./content/articles" }),
loader: glob({ pattern: '**/*.{md,mdx}', base: './content/articles' }),
schema: z.object({
title: z.string(),
description: z.string().optional(),
+1 -1
View File
@@ -1,2 +1,2 @@
@import "../../../packages/ui/src/styles/index.css";
@import '../../../packages/ui/src/styles/index.css';
@source "../../../packages/ui/src";
@@ -48,7 +48,7 @@ export const Default: Story = {
</p>
<pre>
<code>{`// services/www/src/content.config.ts
<code>{`// services/www/src/content.config.ts
import { defineCollection, z } from 'astro:content';
import { glob } from 'astro/loaders';
@@ -93,9 +93,7 @@ export const ArticleLayout: React.FC<ArticleLayoutProps> = ({
<h1 className="leading-tight">{title}</h1>
{description && (
<p className="text-muted-foreground text-l leading-relaxed italic">
{description}
</p>
<p className="text-muted-foreground text-l leading-relaxed italic">{description}</p>
)}
</VStack>
</header>