Fix css bug
This commit is contained in:
@ -133,6 +133,7 @@ model Image {
|
||||
creationYear Int?
|
||||
fileSize Int?
|
||||
creationDate DateTime?
|
||||
isDone Boolean? @default(false)
|
||||
|
||||
albumId String?
|
||||
artistId String?
|
||||
|
@ -24,7 +24,7 @@ export default function AboutPage() {
|
||||
<SocialLink icon={<MailIcon className="w-5 h-5" />} href="mailto:core@fellies.email" label="Email" />
|
||||
<SocialLink icon={<MessageCircleIcon className="w-5 h-5" />} href="https://signal.me/#eu/ax5Sf75Na5g6c_Cir3Q9c0zv6TnoaQCKAo3dcUo15990aLTlbIBO1qbKqoB7WPuQ" label="Signal" />
|
||||
<SocialLink icon={<WavesIcon className="w-5 h-5" />} href="https://matrix.to/#/@citali:steffo.dev" label="Matrix" />
|
||||
<SocialLink icon={<RadioIcon className="w-5 h-5" />} href="https://fellies.social/@Citali" label="Fediverse" />
|
||||
<SocialLink icon={<RadioIcon className="w-5 h-5" />} href="https://fellies.social/@Citali" label="Fediverse" rel="me" />
|
||||
</div>
|
||||
</section>
|
||||
|
||||
@ -43,13 +43,13 @@ export default function AboutPage() {
|
||||
);
|
||||
}
|
||||
|
||||
function SocialLink({ icon, href, label }: { icon: React.ReactNode, href: string, label: string }) {
|
||||
function SocialLink({ icon, href, label, rel }: { icon: React.ReactNode, href: string, label: string, rel?: string }) {
|
||||
return (
|
||||
<Link
|
||||
href={href}
|
||||
className="flex items-center gap-2 px-3 py-2 rounded-md bg-muted/30 hover:bg-muted/50 transition text-sm"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
rel={rel ? rel : 'noopener noreferrer'}
|
||||
>
|
||||
{icon}
|
||||
{label}
|
||||
|
@ -27,14 +27,19 @@ export default async function ArtistPage({ params }: { params: { artistSlug: str
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="max-w-7xl mx-auto px-4 py-12 space-y-12 flex flex-col items-center">
|
||||
<div className="max-w-7xl mx-auto px-4 py-12 space-y-12">
|
||||
<section className="text-center space-y-4">
|
||||
<h1 className="text-4xl font-bold tracking-tight">Artist: {artist.nickname ? artist.nickname : artist.displayName}</h1>
|
||||
<h1 className="text-4xl font-bold tracking-tight">
|
||||
Artist: {artist.nickname ? artist.nickname : artist.displayName}
|
||||
</h1>
|
||||
<p className="text-lg text-muted-foreground">
|
||||
{artist.description ? artist.description : ""}
|
||||
{artist.description ?? ""}
|
||||
</p>
|
||||
</section>
|
||||
<ArtistInfoBox artist={artist} />
|
||||
|
||||
<section className="flex justify-center">
|
||||
<ArtistInfoBox artist={artist} />
|
||||
</section>
|
||||
<ImageList images={artist.images} />
|
||||
</div>
|
||||
);
|
||||
|
@ -25,7 +25,7 @@ export default async function CategoriesSinglePage({ params }: { params: { id: s
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="max-w-7xl mx-auto px-4 py-12 space-y-12 flex flex-col items-center">
|
||||
<div className="max-w-7xl mx-auto px-4 py-12 space-y-12">
|
||||
<section className="text-center space-y-4">
|
||||
<h1 className="text-4xl font-bold tracking-tight">Category: {category.name}</h1>
|
||||
<p className="text-lg text-muted-foreground">
|
||||
|
@ -23,7 +23,7 @@ export default async function GalleryPage({ params }: { params: { gallerySlug: s
|
||||
include: {
|
||||
images: {
|
||||
include: { colors: { include: { color: true } } },
|
||||
orderBy: [{ sortIndex: 'asc' }, { imageName: 'asc' }]
|
||||
orderBy: [{ sortIndex: 'asc' }, { creationDate: 'desc' }, { imageName: 'asc' }]
|
||||
},
|
||||
}
|
||||
})
|
||||
|
@ -25,7 +25,7 @@ export default async function TagsSinglePage({ params }: { params: { id: string
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="max-w-7xl mx-auto px-4 py-12 space-y-12 flex flex-col items-center">
|
||||
<div className="max-w-7xl mx-auto px-4 py-12 space-y-12">
|
||||
<section className="text-center space-y-4">
|
||||
<h1 className="text-4xl font-bold tracking-tight">Tag: {tag.name}</h1>
|
||||
<p className="text-lg text-muted-foreground">
|
||||
|
Reference in New Issue
Block a user