mirror of
https://github.com/jorgev259/soc_site-astro.git
synced 2025-06-29 07:57:41 +00:00
removing ?. from image urls
This commit is contained in:
parent
f334a00c26
commit
6ec9f9fca4
1 changed files with 3 additions and 3 deletions
|
|
@ -50,7 +50,7 @@ const { currentLocale } = Astro
|
||||||
<div
|
<div
|
||||||
class={`w-full min-h-100vh bg-fixed bg-center bg-cover`}
|
class={`w-full min-h-100vh bg-fixed bg-center bg-cover`}
|
||||||
style={`
|
style={`
|
||||||
background-image: url('https://cdn.sittingonclouds.net/album?./${album?.id}.png');
|
background-image: url('https://cdn.sittingonclouds.net/album/${album?.id}.png');
|
||||||
`}
|
`}
|
||||||
>
|
>
|
||||||
<div class='bg-dark/75 w-full min-h-100vh'>
|
<div class='bg-dark/75 w-full min-h-100vh'>
|
||||||
|
|
@ -339,8 +339,8 @@ const { currentLocale } = Astro
|
||||||
album?.relatedAlbumList.map(({ relatedAlbum }) => (
|
album?.relatedAlbumList.map(({ relatedAlbum }) => (
|
||||||
<AlbumBox
|
<AlbumBox
|
||||||
title={relatedAlbum?.title}
|
title={relatedAlbum?.title}
|
||||||
href={`/album?./${relatedAlbum?.id}`}
|
href={`/album/${relatedAlbum?.id}`}
|
||||||
image={`/album?./${relatedAlbum?.id}.png`}
|
image={`/album/${relatedAlbum?.id}.png`}
|
||||||
/>
|
/>
|
||||||
))
|
))
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue