From dbf058aaf07c22afcd77fb2f6d1d074b248d5be0 Mon Sep 17 00:00:00 2001 From: Jannes Luecht <jannes.luecht@droniq.de> Date: Wed, 18 Dec 2024 08:27:19 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Change=20Asset=20URL?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/directus.ts | 2 +- src/components/MainPage/Members.astro | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/directus.ts b/lib/directus.ts index 11b15fc..4b6708e 100644 --- a/lib/directus.ts +++ b/lib/directus.ts @@ -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 diff --git a/src/components/MainPage/Members.astro b/src/components/MainPage/Members.astro index ad594e0..45b0388 100644 --- a/src/components/MainPage/Members.astro +++ b/src/components/MainPage/Members.astro @@ -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" /> -- GitLab