Skip to content

Commit cb771af

Browse files
committed
better looking x button
1 parent f37b9b2 commit cb771af

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/app/photography/page.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ const getThumbUrl = (public_id: string) => {
6767
}
6868

6969
export default async function PhotographyPage() {
70-
const photos = await cachedGetPhotos()
70+
const photos = await getPhotos()
7171
return (
7272
<div className="container mx-auto px-4 py-8">
7373
<Breadcrumb className="pb-8 px-2">
@@ -123,7 +123,7 @@ export default async function PhotographyPage() {
123123

124124
<div id={photoId} className="fixed inset-0 z-50 hidden items-center justify-center bg-background/80 backdrop-blur-sm target:flex">
125125
<a href="#" className="absolute inset-0" aria-label="Close modal"></a>
126-
<div className="relative z-10 flex flex-col h-full w-full items-center justify-center p-4 lg:p-8 pointer-events-none">
126+
<div className="relative z-10 flex flex-col h-full w-full items-center justify-center px-4 py-16 pointer-events-none">
127127
<div
128128
className="relative pointer-events-auto max-h-full max-w-full"
129129
style={{ aspectRatio: `${photo.width} / ${photo.height}` }}
@@ -152,7 +152,7 @@ export default async function PhotographyPage() {
152152
</div>
153153
</div>
154154
</div>
155-
<a href="#" className="absolute top-4 right-4 z-20 transition-colors"><X /></a>
155+
<a href="#" className="absolute top-4 right-4 z-20 transition-colors"><X className="size-4" /></a>
156156
</div>
157157
</div>
158158
)

0 commit comments

Comments
 (0)