Skip to content

Commit

Permalink
feat: engineering docs styling
Browse files Browse the repository at this point in the history
  • Loading branch information
chronark committed Nov 27, 2024
1 parent dc0d68f commit 005c0e6
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions apps/engineering/app/rfcs/[[...slug]]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,12 @@ export default async function Page({
<DocsPage toc={page.data.toc} full={page.data.full}>
<DocsTitle>{page.data.title}</DocsTitle>

<Card title="">
<div className="grid grid-cols-2 font-mono">
<span>ID</span>
<span>{page.data.title.split(" ").at(0)}</span>
<span>{page.data.authors.length > 1 ? "Authors" : "Author"}</span>
<span>{page.data.authors.join(", ")}</span>
<span>Date</span>
<LocalDate date={new Date(page.data.date)} />
</div>
</Card>
<div className="grid grid-cols-2 font-mono text-sm">
<span>{page.data.authors.length > 1 ? "Authors" : "Author"}</span>
<span>{page.data.authors.join(", ")}</span>
<span>Date</span>
<LocalDate date={new Date(page.data.date)} />
</div>
<DocsDescription className="text-sm">{page.data.description}</DocsDescription>

<DocsBody className="font-mono text-sm">
Expand Down

0 comments on commit 005c0e6

Please sign in to comment.