minor fixes
This commit is contained in:
parent
1424024b50
commit
09aa8cec56
6 changed files with 23 additions and 18 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -8,6 +8,7 @@ pnpm-debug.log*
|
|||
lerna-debug.log*
|
||||
|
||||
yarn.lock
|
||||
bun.lockb
|
||||
node_modules
|
||||
.DS_Store
|
||||
dist/
|
||||
|
@ -18,6 +19,8 @@ coverage
|
|||
/cypress/videos/
|
||||
/cypress/screenshots/
|
||||
|
||||
.next
|
||||
|
||||
# Editor directories and files
|
||||
.vscode/*
|
||||
!.vscode/extensions.json
|
||||
|
|
BIN
bun.lockb
BIN
bun.lockb
Binary file not shown.
|
@ -19,7 +19,7 @@ export function Footer() {
|
|||
<Link href="/whitepaper">{t('footer.whitepaper')}</Link>
|
||||
<Link href="/tos">{t('footer.termsOfService')}</Link>
|
||||
</nav>
|
||||
<div className="flex items-center gap-4">
|
||||
<div className="flex flex-wrap justify-center items-center gap-4">
|
||||
<Link href="https://bsky.app/profile/parchlinux.com">
|
||||
<SiBluesky className="w-4 h-4" />
|
||||
</Link>
|
||||
|
|
|
@ -9,13 +9,13 @@ export function Navbar() {
|
|||
return (
|
||||
<header className="sticky top-0 z-50 w-full border-b bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/60">
|
||||
<div className="mx-auto container px-4 flex h-14 items-center">
|
||||
<div className="me-4 hidden md:flex gap-2">
|
||||
<div className="me-4 flex gap-2">
|
||||
<Image src="/parch.svg" alt="Parch Logo" width={32} height={32} />
|
||||
<Link href="/" className="me-6 flex items-center gap-2">
|
||||
<span className="hidden font-bold sm:inline-block">{t('home.title')}</span>
|
||||
</Link>
|
||||
</div>
|
||||
<nav className="flex items-center gap-6 text-sm font-medium">
|
||||
<nav className="hidden md:flex items-center gap-6 text-sm font-medium">
|
||||
<Link href="/features">{t('navigation.features')}</Link>
|
||||
<Link href="/download">{t('navigation.download')}</Link>
|
||||
<Link href="/community">{t('navigation.community')}</Link>
|
||||
|
|
|
@ -5,7 +5,7 @@ export default function Document() {
|
|||
<Html>
|
||||
<Head>
|
||||
<link
|
||||
href="https://fonts.googleapis.com/css2?family=Vazirmatn&display=optional"
|
||||
href="https://fonts.googleapis.com/css2?family=Vazirmatn&display=swap"
|
||||
rel="stylesheet"
|
||||
/>
|
||||
</Head>
|
||||
|
|
|
@ -31,8 +31,8 @@ export default function DownloadPage({ item }) {
|
|||
|
||||
return (
|
||||
<main className="px-4 py-12 md:py-24 lg:py-32">
|
||||
<div className="container mx-auto px-4 md:px-6 space-y-8 text-center">
|
||||
<h2 className="text-3xl font-bold sm:text-4xl md:text-5xl">{item.text[lang]}</h2>
|
||||
<div className="container mx-auto px-4 md:px-6 space-y-8">
|
||||
<h2 className="text-3xl font-bold sm:text-4xl md:text-5xl text-center">{item.text[lang]}</h2>
|
||||
<Image src={item.img} width={800} height={450} className="mx-auto rounded-xl border shadow" />
|
||||
<Card className="max-w-[50rem] mx-auto p-8 bg-muted text-lg">
|
||||
<Details
|
||||
|
@ -42,21 +42,23 @@ export default function DownloadPage({ item }) {
|
|||
hash={item.hash}
|
||||
maintainer={item.maintainer} />
|
||||
</Card>
|
||||
<div className="flex justify-center">
|
||||
{item.changelog && (
|
||||
<Button asChild variant="outline" size="lg" className="rounded-full text-lg py-6 inline-flex me-4">
|
||||
<Button asChild variant="outline" size="lg" className="rounded-full text-lg py-6 flex me-4">
|
||||
<Link href={item.changelog} download>
|
||||
<SiGitlab className="h-4 w-4" />
|
||||
{t('details.changelog')}
|
||||
</Link>
|
||||
</Button>
|
||||
)}
|
||||
<Button asChild size="lg" className="rounded-full text-lg py-6 inline-flex">
|
||||
<Button asChild size="lg" className="rounded-full text-lg py-6 flex">
|
||||
<Link href={item.href} download>
|
||||
<Download className="h-4 w-4" />
|
||||
{t('details.download', item.text[lang])}
|
||||
</Link>
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue