Skip to content

Commit

Permalink
ADDED COMMENTS
Browse files Browse the repository at this point in the history
comments added to how i made the enhanced images
  • Loading branch information
OniWithTheHoodie committed Oct 4, 2024
1 parent 9461ab6 commit 58a0a63
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions src/lib/footer/Footer.svelte
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
<script>
// ENHANCED IMAGES DIE IN WORD GELADEN VANUIT EEN MAP DIE IK HEB AANGEMAAKT IN DE ASSETS FOLDER
//MET DE SOCIALS ICONS VAN MEDIAHUIS. DIT IS GEIMPORTEERD ALS VARIABLES
import Veronica from '$lib/assets/Veronica.PNG?enhanced';
import Facebook from '$lib/assets/Facebook.PNG?enhanced';
import X from '$lib/assets/X.PNG?enhanced';
import YT from '$lib/assets/Youtube.PNG?enhanced';
import IG from '$lib/assets/Instagram.PNG?enhanced';
</script>

<!-- DIT ZIJN ENHANCED IMAGES HIERVOOR GEBRUIK IK DE ENHANCED TAG EN DE IMAGES WORDEN INGELADEN.-->
<!-- DOOR DE IMPORT/VARIABLE NAAM MEE TE GEVEN BINNEN DE SRC EN TUSSEN DE "{}"" CURLY BRACES -->
<footer class="footer">
<enhanced:img src={Veronica} class="footer__veronica" alt="logo van veronica in footer" />
<h2 class="footer__h2">We. Love. Music</h2>
Expand Down Expand Up @@ -52,9 +55,8 @@
color: var(--light);
background-color: var(--color-footer);
display: grid;
height: 50vh;
grid-template-columns: repeat(4, 0.5fr);
grid-template-rows: repeat(5, 1fr);
grid-template-columns: repeat(4, 0.3fr);
grid-template-rows: repeat(5, 0.3fr);
padding: 3.5rem;
gap: 2rem;
grid-template-areas:
Expand Down Expand Up @@ -123,6 +125,10 @@
cursor: pointer;
}
.footer__icons:hover {
background-color: var(--tertairy);
}
.footer__icons img {
width: 1rem;
height: 1rem;
Expand Down

0 comments on commit 58a0a63

Please sign in to comment.