This commit is contained in:
User
2025-05-01 22:40:17 -04:00
parent fb23c3b001
commit 0d2b67ab57
7 changed files with 93 additions and 83 deletions

View File

@@ -125,9 +125,9 @@ export default function Histories({ auth, histories }) {
<PaginationContent>
{ histories.links.map((h, i) => (
<PaginationItem key={ i }>
{ h.label.includes('Previous') && <PaginationPrevious href={ h.url } only={['histories']} isActive={ h.active } /> }
{ h.label.includes('Previous') && h.url !== null && <PaginationPrevious href={ h.url } only={['histories']} isActive={ h.active } /> }
{ !h.label.includes('Previous') && !h.label.includes('Next') && <PaginationLink href={ h.url } only={['histories']} isActive={ h.active }>{ h.label }</PaginationLink> }
{ h.label.includes('Next') && <PaginationNext href={ h.url } only={['histories']} isActive={ h.active } /> }
{ h.label.includes('Next') && h.url !== null && <PaginationNext href={ h.url } only={['histories']} isActive={ h.active } /> }
</PaginationItem>
) ) }
</PaginationContent>

View File

@@ -12,6 +12,15 @@ export default function Updates({ auth }) {
</Head>
<div className="p-3 pt-1">
<Card className="w-[90%] m-3 mx-auto">
<CardHeader>
<CardTitle>0.1.6A</CardTitle>
<CardDescription>Release: 01 May 2025</CardDescription>
</CardHeader>
<CardContent>
<ul>
<li>Bugfix for histories</li>
</ul>
</CardContent>
<CardHeader>
<CardTitle>0.1.6</CardTitle>
<CardDescription>Release: 22 Apr 2025</CardDescription>

View File

@@ -104,7 +104,7 @@ export function AppSidebar({ auth }) {
</div>
<div className="flex flex-col gap-0.5 leading-none">
<span className="font-semibold">Comic</span>
<span>0.1.6</span>
<span>0.1.6A</span>
</div>
</Link>
</SidebarMenuButton>