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
Branches
No related tags found
No related merge requests found
...@@ -41,7 +41,7 @@ type Schema = { ...@@ -41,7 +41,7 @@ type Schema = {
Mottos: Mottos[] 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()); const directus = createDirectus<Schema>(CONTENT_URL).with(rest());
export default directus; export default directus;
\ No newline at end of file
...@@ -9,12 +9,12 @@ const members = await directus.request(readItems("Members")); ...@@ -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"> {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"> <div class="relative aspect-square">
<img <img
src={"http://content.hai.jannus.gay/assets/" + member.image1} src={"https://content.hai-liste.de/assets/" + member.image1}
alt={`${member.name}'s profile`} alt={`${member.name}'s profile`}
class="absolute inset-0 w-full h-full object-cover transition-opacity duration-300 ease-in-out" class="absolute inset-0 w-full h-full object-cover transition-opacity duration-300 ease-in-out"
/> />
<img <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)`} 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" 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