enzostvs HF staff commited on
Commit
016da28
β€’
1 Parent(s): 64ad5e4

remove file assets folder

Browse files
src/lib/components/community/Card.svelte CHANGED
@@ -45,7 +45,7 @@
45
  on:click={handleClick}
46
  >
47
  <div class="w-full h-full absolute top-0 left-0 -z-[1] rounded-xl overflow-hidden" class:!brightness-50={loading}>
48
- <div class="w-full h-full bg-center bg-cover transition-all duration-200 group-hover:scale-110 " style="background-image: url('{card.image}');"></div>
49
  </div>
50
  <div class="group-hover:opacity-100 opacity-0 translate-y-full group-hover:translate-y-0 transition-all duration-200 flex flex-col gap-4 w-full">
51
  <div class="bg-black/40 backdrop-blur-sm border border-white/30 rounded-lg px-6 py-3 text-white transition-all duration-200 w-full">
 
45
  on:click={handleClick}
46
  >
47
  <div class="w-full h-full absolute top-0 left-0 -z-[1] rounded-xl overflow-hidden" class:!brightness-50={loading}>
48
+ <div class="w-full h-full bg-center bg-cover transition-all duration-200 group-hover:scale-110 " style="background-image: url('{env.PUBLIC_FILE_UPLOAD_DIR}/{card.image}');"></div>
49
  </div>
50
  <div class="group-hover:opacity-100 opacity-0 translate-y-full group-hover:translate-y-0 transition-all duration-200 flex flex-col gap-4 w-full">
51
  <div class="bg-black/40 backdrop-blur-sm border border-white/30 rounded-lg px-6 py-3 text-white transition-all duration-200 w-full">
svelte.config.js CHANGED
@@ -17,9 +17,6 @@ const config = {
17
  }) : adapterNode({
18
  out: 'build',
19
  }),
20
- files: {
21
- assets: process.env.PUBLIC_FILE_UPLOAD_DIR,
22
- }
23
  },
24
  };
25
 
 
17
  }) : adapterNode({
18
  out: 'build',
19
  }),
 
 
 
20
  },
21
  };
22