Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/docs/[[...slug]]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default async function Pages({ params }: PageProps) {
<PageBreadcrumb paths={slug} />

<Typography>
<h1 className="text-3xl !font-semibold mb-2!">{frontmatter.title}</h1>
<h1 className="text-3xl !font-semibold !mb-2">{frontmatter.title}</h1>
<p className="-mt-4 text-sm">
{frontmatter.description}
</p>
Expand Down
2 changes: 1 addition & 1 deletion app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { Footer } from "@/components/navigation/footer"
import { Navbar } from "@/components/navigation/navbar"
import { Providers } from "@/components/providers"

import "./globals.css"
import "@/styles/globals.css"

const inter = Inter({
variable: "--font-inter",
Expand Down
3 changes: 3 additions & 0 deletions app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ import { buttonVariants } from "@/components/ui/button"
export default function Home() {
return (
<section className="min-h-[86.5vh] flex flex-col justify-center items-center text-center px-2 py-8">

<h1 className="text-4xl font-bold mb-4 sm:text-7xl">Documents</h1>
<p className="max-w-[600px] text-foreground mb-8 sm:text-base">
A simple open-source product documentation platform. That&apos;s simple
to use and easy to customize.
</p>

<div className="flex items-center gap-5">
<Link
href={`/docs${PageRoutes[0].href}`}
Expand All @@ -19,6 +21,7 @@ export default function Home() {
Get Started
</Link>
</div>

</section>
)
}
6 changes: 3 additions & 3 deletions components/markdown/card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,12 @@ export function Card({
)}
<div
className={clsx(
"transition-all duration-300 group-hover:font-bold",
"transition-all duration-300 font-semibold group-hover:font-bold",
variant === "small"
? "text-sm"
: variant === "image"
? "text-sm !p-4 !py-2"
: "text-lg font-semibold",
? "text-sm p-4"
: "text-lg",
className
)}
>
Expand Down
4 changes: 2 additions & 2 deletions components/markdown/copy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ export default function Copy({ content }: { content: string }) {

return (
<Button
variant="ghost"
variant="outline"
size="icon"
onClick={handleCopy}
className="cursor-pointer !size-5"
className="cursor-pointer !size-8"
>
<LuCopy
className={cn(
Expand Down
2 changes: 1 addition & 1 deletion components/markdown/step.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export function Step({ children }: PropsWithChildren<StepProps>) {
clsx({ "pb-5": index < length - 1 })
)}
>
<div className="absolute -left-4 flex items-center justify-center w-8 h-8 rounded-full bg-secondary text-xs font-code font-medium">
<div className="absolute -left-4 flex items-center justify-center size-8 rounded-full border bg-secondary text-xs font-medium">
{index + 1}
</div>
{child}
Expand Down
File renamed without changes.