Skip to content
Snippets Groups Projects
Commit dbf058aa authored by Jannes Lücht's avatar Jannes Lücht :shark:
Browse files

:wrench: Change Asset URL

parent cfd19cde
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,7 @@ type Schema = {
Mottos: Mottos[]
}
export const CONTENT_URL = "http://content.hai.jannus.gay"
export const CONTENT_URL = "https://content.hai-liste.de"
const directus = createDirectus<Schema>(CONTENT_URL).with(rest());
export default directus;
\ No newline at end of file
......@@ -9,12 +9,12 @@ const members = await directus.request(readItems("Members"));
{members.map((member) => <div class="w-64 m-4 overflow-hidden rounded-lg shadow-lg transition-transform duration-300 ease-in-out transform hover:scale-105">
<div class="relative aspect-square">
<img
src={"http://content.hai.jannus.gay/assets/" + member.image1}
src={"https://content.hai-liste.de/assets/" + member.image1}
alt={`${member.name}'s profile`}
class="absolute inset-0 w-full h-full object-cover transition-opacity duration-300 ease-in-out"
/>
<img
src={"http://content.hai.jannus.gay/assets/" + member.image2}
src={"https://content.hai-liste.de/assets/" + member.image2}
alt={`${member.name}'s profile (hover)`}
class="absolute inset-0 w-full h-full object-cover opacity-0 transition-opacity duration-300 ease-in-out hover:opacity-100"
/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment