From d5368067d6bf54f1ff4252d10b22935dc4006f30 Mon Sep 17 00:00:00 2001 From: MaticIvesic Date: Mon, 3 Aug 2026 18:51:33 +0200 Subject: [PATCH] Home: contact card platform + mail/phone icons, gallery icon in nav - Put the Kontakt section on a rounded card ("platform") - Add mail/phone icons (via SvgImage mask) next to the email and phone - Use gallery_icon.svg in the top-nav Galerija button - Scope the header banner-image CSS to .banner-link so the nav icon isn't resized Co-Authored-By: Claude Opus 4.8 --- src/lib/Header.svelte | 17 +++++++++++-- src/routes/+page.svelte | 56 ++++++++++++++++++++++++++++++----------- 2 files changed, 56 insertions(+), 17 deletions(-) diff --git a/src/lib/Header.svelte b/src/lib/Header.svelte index 4967b9a..9b54624 100644 --- a/src/lib/Header.svelte +++ b/src/lib/Header.svelte @@ -1,5 +1,6 @@ @@ -18,7 +19,7 @@ z-index: 1; } - .header-content img{ + .banner-link img{ padding: 1em; width: 15em; z-index: 1; @@ -32,6 +33,9 @@ } .nav-link{ + display: inline-flex; + align-items: center; + gap: 0.5em; color: #e5e4ea; text-decoration: none; font-weight: 500; @@ -42,6 +46,12 @@ transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease; } + .nav-icon{ + width: 1.15em; + height: 1.15em; + display: block; + } + .nav-link:hover{ background-color: rgba(66, 175, 56, 0.15); border-color: rgba(66, 175, 56, 0.8); @@ -76,7 +86,10 @@