Skip to content

Commit f348651

Browse files
committed
update styles
Signed-off-by: Amrish Kushwaha <askmaurya48@gmail.com>
1 parent d376c6e commit f348651

1 file changed

Lines changed: 3 additions & 23 deletions

File tree

app/useful-prompts/page.tsx

Lines changed: 3 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -12,30 +12,10 @@ const UsefulPromptsPage = async () => {
1212
<>
1313
<Head title="Useful Prompts" />
1414
<article className="max-w-4xl mx-auto py-8">
15-
{/* Header with frontmatter data */}
1615
<header className="mb-8 border-b pb-6">
1716
<h1 className="text-2xl font-bold mb-4 text-foreground">
1817
{metadata.title}
1918
</h1>
20-
<div className="flex flex-wrap items-center gap-4 text-sm text-muted-foreground">
21-
<time dateTime={metadata.date}>
22-
{new Date(metadata.date).toLocaleDateString("en-US", {
23-
year: "numeric",
24-
month: "long",
25-
day: "numeric",
26-
})}
27-
</time>
28-
<div className="flex gap-1">
29-
{metadata.tags.map((tag) => (
30-
<span
31-
key={tag}
32-
className="px-2 py-1 bg-muted/50 rounded-full text-xs"
33-
>
34-
#{tag}
35-
</span>
36-
))}
37-
</div>
38-
</div>
3919
<p className="text-muted-foreground mt-4">{metadata.excerpt}</p>
4020
</header>
4121

@@ -44,17 +24,17 @@ const UsefulPromptsPage = async () => {
4424
remarkPlugins={[remarkGfm]}
4525
components={{
4626
h1: ({ children }) => (
47-
<h1 className="text-2xl font-semibold text-foreground mb-4 mt-8">
27+
<h1 className="text-xl font-semibold text-foreground mb-4 mt-8">
4828
{children}
4929
</h1>
5030
),
5131
h2: ({ children }) => (
52-
<h2 className="text-xl font-semibold text-foreground mb-3 mt-6">
32+
<h2 className="text-lg font-semibold text-foreground mb-3 mt-6">
5333
{children}
5434
</h2>
5535
),
5636
h3: ({ children }) => (
57-
<h3 className="text-lg font-semibold text-foreground mb-2 mt-4">
37+
<h3 className="text-base font-semibold text-foreground mb-2 mt-4">
5838
{children}
5939
</h3>
6040
),

0 commit comments

Comments
 (0)