Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dalechyn committed Jan 14, 2024
1 parent a1a1e26 commit cabb6f8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
16 changes: 8 additions & 8 deletions apps/www/app/docs/[[...slug]]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,11 @@ export default async function DocPage({ params }: DocPageProps) {
return (
<main className="relative py-6 lg:gap-10 lg:py-8 xl:grid xl:grid-cols-[1fr_300px]">
<div className="mx-auto w-full min-w-0">
<div className="flex items-center mb-4 space-x-1 text-sm text-muted-foreground">
<div className="overflow-hidden whitespace-nowrap text-ellipsis">
<div className="mb-4 flex items-center space-x-1 text-sm text-muted-foreground">
<div className="overflow-hidden text-ellipsis whitespace-nowrap">
Docs
</div>
<ChevronRightIcon className="w-4 h-4" />
<ChevronRightIcon className="h-4 w-4" />
<div className="font-medium text-foreground">{doc.title}</div>
</div>
<div className="space-y-2">
Expand All @@ -107,7 +107,7 @@ export default async function DocPage({ params }: DocPageProps) {
)}
</div>
{doc.links ? (
<div className="flex items-center pt-4 space-x-2">
<div className="flex items-center space-x-2 pt-4">
{doc.links?.doc && (
<Link
href={doc.links.doc}
Expand All @@ -116,7 +116,7 @@ export default async function DocPage({ params }: DocPageProps) {
className={cn(badgeVariants({ variant: "secondary" }), "gap-1")}
>
Docs
<ExternalLinkIcon className="w-3 h-3" />
<ExternalLinkIcon className="h-3 w-3" />
</Link>
)}
{doc.links?.api && (
Expand All @@ -127,19 +127,19 @@ export default async function DocPage({ params }: DocPageProps) {
className={cn(badgeVariants({ variant: "secondary" }), "gap-1")}
>
API Reference
<ExternalLinkIcon className="w-3 h-3" />
<ExternalLinkIcon className="h-3 w-3" />
</Link>
)}
</div>
) : null}
<div className="pt-8 pb-12">
<div className="pb-12 pt-8">
<Mdx code={doc.body.code} />
</div>
<DocsPager doc={doc} />
</div>
{doc.toc && (
<div className="hidden text-sm xl:block">
<div className="sticky top-16 pt-4 -mt-10">
<div className="sticky top-16 -mt-10 pt-4">
<ScrollArea className="pb-10">
<div className="sticky top-16 -mt-10 h-[calc(100vh-3.5rem)] py-12">
<DashboardTableOfContents toc={toc} />
Expand Down
2 changes: 1 addition & 1 deletion apps/www/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default function IndexPage() {
href={siteConfig.links.github}
className={cn(buttonVariants({ variant: "outline" }))}
>
<Icons.gitHub className="mr-2 w-4 h-4" />
<Icons.gitHub className="mr-2 h-4 w-4" />
GitHub
</Link>
</PageActions>
Expand Down
6 changes: 3 additions & 3 deletions apps/www/components/site-footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import { siteConfig } from "@/config/site"

export function SiteFooter() {
return (
<footer className="py-6 md:py-0 md:px-8">
<div className="container flex flex-col gap-4 justify-between items-center md:flex-row md:h-24">
<p className="text-sm leading-loose text-center md:text-left text-balance text-muted-foreground">
<footer className="py-6 md:px-8 md:py-0">
<div className="container flex flex-col items-center justify-between gap-4 md:h-24 md:flex-row">
<p className="text-balance text-center text-sm leading-loose text-muted-foreground md:text-left">
Built by{" "}
<a
href={siteConfig.links.twitter}
Expand Down

0 comments on commit cabb6f8

Please sign in to comment.