Spaces:
Running
Running
Lägg till Körkort
Browse filesB-körkort och egen bil under kompetenser
- README.md +9 -5
- components/footer.js +49 -0
- components/navbar.js +110 -0
- index.html +194 -19
- script.js +35 -0
- style.css +23 -18
README.md
CHANGED
|
@@ -1,10 +1,14 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: TechViking Express 🚗💨
|
| 3 |
+
colorFrom: purple
|
| 4 |
+
colorTo: gray
|
| 5 |
+
emoji: 🐳
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite-v3
|
| 10 |
---
|
| 11 |
|
| 12 |
+
# Welcome to your new DeepSite project!
|
| 13 |
+
This project was created with [DeepSite](https://huggingface.co/deepsite).
|
| 14 |
+
|
components/footer.js
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
class CustomFooter extends HTMLElement {
|
| 2 |
+
connectedCallback() {
|
| 3 |
+
this.attachShadow({ mode: 'open' });
|
| 4 |
+
this.shadowRoot.innerHTML = `
|
| 5 |
+
<style>
|
| 6 |
+
footer {
|
| 7 |
+
background: #1E293B;
|
| 8 |
+
color: white;
|
| 9 |
+
padding: 2.5rem 1.5rem;
|
| 10 |
+
text-align: center;
|
| 11 |
+
}
|
| 12 |
+
.footer-content {
|
| 13 |
+
max-width: 1200px;
|
| 14 |
+
margin: 0 auto;
|
| 15 |
+
display: flex;
|
| 16 |
+
flex-direction: column;
|
| 17 |
+
gap: 1.5rem;
|
| 18 |
+
}
|
| 19 |
+
.social-links {
|
| 20 |
+
display: flex;
|
| 21 |
+
justify-content: center;
|
| 22 |
+
gap: 1.5rem;
|
| 23 |
+
}
|
| 24 |
+
.social-links a {
|
| 25 |
+
color: white;
|
| 26 |
+
transition: color 0.2s;
|
| 27 |
+
}
|
| 28 |
+
.social-links a:hover {
|
| 29 |
+
color: #3B82F6;
|
| 30 |
+
}
|
| 31 |
+
.copyright {
|
| 32 |
+
font-size: 0.9rem;
|
| 33 |
+
color: rgba(255,255,255,0.7);
|
| 34 |
+
}
|
| 35 |
+
</style>
|
| 36 |
+
<footer>
|
| 37 |
+
<div class="footer-content">
|
| 38 |
+
<div class="social-links">
|
| 39 |
+
<a href="#" aria-label="LinkedIn"><i data-feather="linkedin"></i></a>
|
| 40 |
+
<a href="#" aria-label="GitHub"><i data-feather="github"></i></a>
|
| 41 |
+
<a href="#" aria-label="Twitter"><i data-feather="twitter"></i></a>
|
| 42 |
+
</div>
|
| 43 |
+
<p class="copyright">© ${new Date().getFullYear()} Fredrik Lundström. Alla rättigheter reserverade.</p>
|
| 44 |
+
</div>
|
| 45 |
+
</footer>
|
| 46 |
+
`;
|
| 47 |
+
}
|
| 48 |
+
}
|
| 49 |
+
customElements.define('custom-footer', CustomFooter);
|
components/navbar.js
ADDED
|
@@ -0,0 +1,110 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
class CustomNavbar extends HTMLElement {
|
| 2 |
+
connectedCallback() {
|
| 3 |
+
this.attachShadow({ mode: 'open' });
|
| 4 |
+
this.shadowRoot.innerHTML = `
|
| 5 |
+
<style>
|
| 6 |
+
nav {
|
| 7 |
+
background: white;
|
| 8 |
+
padding: 1.5rem;
|
| 9 |
+
display: flex;
|
| 10 |
+
justify-content: space-between;
|
| 11 |
+
align-items: center;
|
| 12 |
+
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
| 13 |
+
position: sticky;
|
| 14 |
+
top: 0;
|
| 15 |
+
z-index: 1000;
|
| 16 |
+
}
|
| 17 |
+
.logo {
|
| 18 |
+
color: #3B82F6;
|
| 19 |
+
font-weight: bold;
|
| 20 |
+
font-size: 1.25rem;
|
| 21 |
+
display: flex;
|
| 22 |
+
align-items: center;
|
| 23 |
+
gap: 0.5rem;
|
| 24 |
+
}
|
| 25 |
+
.logo i {
|
| 26 |
+
width: 20px;
|
| 27 |
+
height: 20px;
|
| 28 |
+
}
|
| 29 |
+
ul {
|
| 30 |
+
display: flex;
|
| 31 |
+
gap: 1.5rem;
|
| 32 |
+
list-style: none;
|
| 33 |
+
margin: 0;
|
| 34 |
+
padding: 0;
|
| 35 |
+
}
|
| 36 |
+
a {
|
| 37 |
+
color: #1E293B;
|
| 38 |
+
text-decoration: none;
|
| 39 |
+
font-weight: 500;
|
| 40 |
+
transition: color 0.2s;
|
| 41 |
+
display: flex;
|
| 42 |
+
align-items: center;
|
| 43 |
+
gap: 0.3rem;
|
| 44 |
+
}
|
| 45 |
+
a:hover {
|
| 46 |
+
color: #3B82F6;
|
| 47 |
+
}
|
| 48 |
+
a i {
|
| 49 |
+
width: 16px;
|
| 50 |
+
height: 16px;
|
| 51 |
+
}
|
| 52 |
+
.mobile-menu-btn {
|
| 53 |
+
display: none;
|
| 54 |
+
background: none;
|
| 55 |
+
border: none;
|
| 56 |
+
cursor: pointer;
|
| 57 |
+
}
|
| 58 |
+
@media (max-width: 768px) {
|
| 59 |
+
ul {
|
| 60 |
+
display: none;
|
| 61 |
+
flex-direction: column;
|
| 62 |
+
position: absolute;
|
| 63 |
+
top: 100%;
|
| 64 |
+
left: 0;
|
| 65 |
+
right: 0;
|
| 66 |
+
background: white;
|
| 67 |
+
padding: 1rem;
|
| 68 |
+
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
|
| 69 |
+
}
|
| 70 |
+
ul.active {
|
| 71 |
+
display: flex;
|
| 72 |
+
}
|
| 73 |
+
.mobile-menu-btn {
|
| 74 |
+
display: block;
|
| 75 |
+
}
|
| 76 |
+
}
|
| 77 |
+
</style>
|
| 78 |
+
<nav>
|
| 79 |
+
<a href="/" class="logo">
|
| 80 |
+
<i data-feather="cpu"></i>
|
| 81 |
+
<span>Fredrik Lundström</span>
|
| 82 |
+
</a>
|
| 83 |
+
<button class="mobile-menu-btn" aria-label="Toggle menu">
|
| 84 |
+
<i data-feather="menu"></i>
|
| 85 |
+
</button>
|
| 86 |
+
<ul>
|
| 87 |
+
<li><a href="#about"><i data-feather="user"></i> Om Mig</a></li>
|
| 88 |
+
<li><a href="#skills"><i data-feather="award"></i> Kompetenser</a></li>
|
| 89 |
+
<li><a href="#experience"><i data-feather="briefcase"></i> Erfarenhet</a></li>
|
| 90 |
+
<li><a href="#contact"><i data-feather="mail"></i> Kontakt</a></li>
|
| 91 |
+
</ul>
|
| 92 |
+
</nav>
|
| 93 |
+
<script>
|
| 94 |
+
const menuBtn = this.shadowRoot.querySelector('.mobile-menu-btn');
|
| 95 |
+
const menu = this.shadowRoot.querySelector('ul');
|
| 96 |
+
|
| 97 |
+
menuBtn.addEventListener('click', () => {
|
| 98 |
+
menu.classList.toggle('active');
|
| 99 |
+
const icon = menuBtn.querySelector('i');
|
| 100 |
+
if (menu.classList.contains('active')) {
|
| 101 |
+
feather.replace(icon, 'x');
|
| 102 |
+
} else {
|
| 103 |
+
feather.replace(icon, 'menu');
|
| 104 |
+
}
|
| 105 |
+
});
|
| 106 |
+
</script>
|
| 107 |
+
`;
|
| 108 |
+
}
|
| 109 |
+
}
|
| 110 |
+
customElements.define('custom-navbar', CustomNavbar);
|
index.html
CHANGED
|
@@ -1,19 +1,194 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="sv">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Fredrik Lundström | IT-Konsult</title>
|
| 7 |
+
<link rel="stylesheet" href="style.css">
|
| 8 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 9 |
+
<script src="https://unpkg.com/feather-icons"></script>
|
| 10 |
+
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
| 11 |
+
<script>
|
| 12 |
+
tailwind.config = {
|
| 13 |
+
theme: {
|
| 14 |
+
extend: {
|
| 15 |
+
colors: {
|
| 16 |
+
primary: '#3B82F6',
|
| 17 |
+
secondary: '#10B981',
|
| 18 |
+
dark: '#1E293B',
|
| 19 |
+
light: '#F8FAFC'
|
| 20 |
+
}
|
| 21 |
+
}
|
| 22 |
+
}
|
| 23 |
+
}
|
| 24 |
+
</script>
|
| 25 |
+
</head>
|
| 26 |
+
<body class="bg-gray-50 text-gray-800 font-sans">
|
| 27 |
+
<custom-navbar></custom-navbar>
|
| 28 |
+
|
| 29 |
+
<main class="container mx-auto px-4 py-12">
|
| 30 |
+
<!-- Hero Section -->
|
| 31 |
+
<section class="flex flex-col md:flex-row items-center gap-12 mb-16">
|
| 32 |
+
<div class="md:w-1/2">
|
| 33 |
+
<h1 class="text-4xl md:text-5xl font-bold mb-4">Fredrik Lundström</h1>
|
| 34 |
+
<h2 class="text-2xl md:text-3xl font-semibold text-primary mb-6">IT-Konsult</h2>
|
| 35 |
+
<p class="text-lg mb-8">Systemkonsult med bred erfarenhet inom IT-drift, infrastruktur och molntjänster. Passionerad för teknik och problemlösning.</p>
|
| 36 |
+
<div class="flex gap-4">
|
| 37 |
+
<a href="#contact" class="bg-primary hover:bg-blue-600 text-white px-6 py-3 rounded-lg transition">Kontakta Mig</a>
|
| 38 |
+
<a href="#skills" class="border border-primary text-primary hover:bg-blue-50 px-6 py-3 rounded-lg transition">Mina Kompetenser</a>
|
| 39 |
+
</div>
|
| 40 |
+
</div>
|
| 41 |
+
<div class="md:w-1/2">
|
| 42 |
+
<div class="bg-white p-2 rounded-xl shadow-xl">
|
| 43 |
+
<img src="http://static.photos/technology/640x360/42" alt="IT Technology" class="rounded-lg w-full h-auto">
|
| 44 |
+
</div>
|
| 45 |
+
</div>
|
| 46 |
+
</section>
|
| 47 |
+
|
| 48 |
+
<!-- About Section -->
|
| 49 |
+
<section id="about" class="mb-16">
|
| 50 |
+
<h2 class="text-3xl font-bold mb-8 text-center"><i data-feather="user" class="inline mr-2"></i>Kort Om Mig</h2>
|
| 51 |
+
<div class="bg-white rounded-xl shadow-md p-8 max-w-4xl mx-auto">
|
| 52 |
+
<p class="text-lg mb-4">Jag är 44 år och bor på Ersboda, jag har två barn, min dotter Penny och min son Sigge.</p>
|
| 53 |
+
<p class="text-lg mb-4">Fritiden spenderas helst med familj och vänner, annars så spelar jag gärna datorspel eller tittar på serier och film.</p>
|
| 54 |
+
<p class="text-lg">Jag har också ett intresse för matlagning. Speciellt långkok och hamburgare, gärna med en god IPA till.</p>
|
| 55 |
+
</div>
|
| 56 |
+
</section>
|
| 57 |
+
|
| 58 |
+
<!-- Skills Section -->
|
| 59 |
+
<section id="skills" class="mb-16">
|
| 60 |
+
<h2 class="text-3xl font-bold mb-8 text-center"><i data-feather="cpu" class="inline mr-2"></i>Kompetenser</h2>
|
| 61 |
+
<div class="grid md:grid-cols-2 gap-8 max-w-4xl mx-auto">
|
| 62 |
+
<!-- Technical Skills -->
|
| 63 |
+
<div class="bg-white rounded-xl shadow-md p-6">
|
| 64 |
+
<h3 class="text-xl font-semibold mb-4 text-primary">Tekniska Färdigheter</h3>
|
| 65 |
+
<div class="space-y-4">
|
| 66 |
+
<div>
|
| 67 |
+
<p class="font-medium">Active Directory</p>
|
| 68 |
+
<div class="flex gap-1 mt-1">
|
| 69 |
+
<span class="h-4 w-4 bg-primary rounded-full"></span>
|
| 70 |
+
<span class="h-4 w-4 bg-primary rounded-full"></span>
|
| 71 |
+
<span class="h-4 w-4 bg-primary rounded-full"></span>
|
| 72 |
+
<span class="h-4 w-4 bg-primary rounded-full"></span>
|
| 73 |
+
<span class="h-4 w-4 bg-primary rounded-full"></span>
|
| 74 |
+
</div>
|
| 75 |
+
</div>
|
| 76 |
+
<div>
|
| 77 |
+
<p class="font-medium">Windows Server</p>
|
| 78 |
+
<div class="flex gap-1 mt-1">
|
| 79 |
+
<span class="h-4 w-4 bg-primary rounded-full"></span>
|
| 80 |
+
<span class="h-4 w-4 bg-primary rounded-full"></span>
|
| 81 |
+
<span class="h-4 w-4 bg-primary rounded-full"></span>
|
| 82 |
+
<span class="h-4 w-4 bg-primary rounded-full"></span>
|
| 83 |
+
<span class="h-4 w-4 bg-primary rounded-full"></span>
|
| 84 |
+
</div>
|
| 85 |
+
</div>
|
| 86 |
+
<div>
|
| 87 |
+
<p class="font-medium">Entra ID/M365</p>
|
| 88 |
+
<div class="flex gap-1 mt-1">
|
| 89 |
+
<span class="h-4 w-4 bg-primary rounded-full"></span>
|
| 90 |
+
<span class="h-4 w-4 bg-primary rounded-full"></span>
|
| 91 |
+
<span class="h-4 w-4 bg-primary rounded-full"></span>
|
| 92 |
+
<span class="h-4 w-4 bg-primary rounded-full"></span>
|
| 93 |
+
<span class="h-4 w-4 bg-gray-300 rounded-full"></span>
|
| 94 |
+
</div>
|
| 95 |
+
</div>
|
| 96 |
+
</div>
|
| 97 |
+
</div>
|
| 98 |
+
<!-- Languages -->
|
| 99 |
+
<div class="bg-white rounded-xl shadow-md p-6">
|
| 100 |
+
<h3 class="text-xl font-semibold mb-4 text-primary">Språk</h3>
|
| 101 |
+
<div class="space-y-4">
|
| 102 |
+
<div>
|
| 103 |
+
<p class="font-medium">Svenska</p>
|
| 104 |
+
<p class="text-gray-600">Modersmål</p>
|
| 105 |
+
</div>
|
| 106 |
+
<div>
|
| 107 |
+
<p class="font-medium">Engelska</p>
|
| 108 |
+
<p class="text-gray-600">Goda kunskaper i både tal och skrift</p>
|
| 109 |
+
</div>
|
| 110 |
+
</div>
|
| 111 |
+
</div>
|
| 112 |
+
|
| 113 |
+
<!-- Other Competences -->
|
| 114 |
+
<div class="bg-white rounded-xl shadow-md p-6">
|
| 115 |
+
<h3 class="text-xl font-semibold mb-4 text-primary">Övrigt</h3>
|
| 116 |
+
<div class="space-y-4">
|
| 117 |
+
<div>
|
| 118 |
+
<p class="font-medium">Körkort</p>
|
| 119 |
+
<p class="text-gray-600">B-körkort med egen bil</p>
|
| 120 |
+
</div>
|
| 121 |
+
</div>
|
| 122 |
+
</div>
|
| 123 |
+
</div>
|
| 124 |
+
</section>
|
| 125 |
+
|
| 126 |
+
<!-- Experience Section -->
|
| 127 |
+
<section id="experience" class="mb-16">
|
| 128 |
+
<h2 class="text-3xl font-bold mb-8 text-center"><i data-feather="briefcase" class="inline mr-2"></i>Arbetslivserfarenhet</h2>
|
| 129 |
+
<div class="max-w-4xl mx-auto">
|
| 130 |
+
<div class="bg-white rounded-xl shadow-md p-8 mb-6">
|
| 131 |
+
<h3 class="text-xl font-semibold text-primary">Advania, Systemkonsult</h3>
|
| 132 |
+
<p class="text-gray-600 mb-2">2021 – nuvarande</p>
|
| 133 |
+
<p class="mb-4">Arbetar som systemkonsult i driften på Advania MSP Norr.</p>
|
| 134 |
+
</div>
|
| 135 |
+
<div class="bg-white rounded-xl shadow-md p-8 mb-6">
|
| 136 |
+
<h3 class="text-xl font-semibold text-primary">Eitech AB, IT-tekniker</h3>
|
| 137 |
+
<p class="text-gray-600 mb-2">2010 – 2021</p>
|
| 138 |
+
<p class="mb-4">Började min anställning som first-line på helpdesk vilket var väldigt lärorikt. Så småningom började jag jobba mer och mer mot drift och gjorde det heltid från 2013.</p>
|
| 139 |
+
</div>
|
| 140 |
+
<div class="bg-white rounded-xl shadow-md p-8">
|
| 141 |
+
<h3 class="text-xl font-semibold text-primary">EIAB, Biträdande konstruktör</h3>
|
| 142 |
+
<p class="text-gray-600 mb-2">2000 - 2010</p>
|
| 143 |
+
<p class="mb-4">Arbetade främst med kompletteringar av kretsscheman och slutdokumentation men även lite lättare elkonstruktion. Nämnvärda projekt: Botniabanan, Södra länken och utbyggnaden av 3G-nätet.</p>
|
| 144 |
+
</div>
|
| 145 |
+
</div>
|
| 146 |
+
</section>
|
| 147 |
+
|
| 148 |
+
<!-- Contact Section -->
|
| 149 |
+
<section id="contact" class="mb-16">
|
| 150 |
+
<h2 class="text-3xl font-bold mb-8 text-center"><i data-feather="mail" class="inline mr-2"></i>Kontaktinformation</h2>
|
| 151 |
+
<div class="bg-white rounded-xl shadow-md p-8 max-w-2xl mx-auto">
|
| 152 |
+
<div class="grid md:grid-cols-2 gap-6">
|
| 153 |
+
<div class="flex items-start gap-3">
|
| 154 |
+
<i data-feather="home" class="text-primary"></i>
|
| 155 |
+
<div>
|
| 156 |
+
<h3 class="font-semibold">Adress</h3>
|
| 157 |
+
<p class="text-gray-600">Kärnvägen 23<br>906 27, Umeå</p>
|
| 158 |
+
</div>
|
| 159 |
+
</div>
|
| 160 |
+
<div class="flex items-start gap-3">
|
| 161 |
+
<i data-feather="phone" class="text-primary"></i>
|
| 162 |
+
<div>
|
| 163 |
+
<h3 class="font-semibold">Telefon</h3>
|
| 164 |
+
<p class="text-gray-600">(+46) 70-377 25 30</p>
|
| 165 |
+
</div>
|
| 166 |
+
</div>
|
| 167 |
+
<div class="flex items-start gap-3">
|
| 168 |
+
<i data-feather="mail" class="text-primary"></i>
|
| 169 |
+
<div>
|
| 170 |
+
<h3 class="font-semibold">E-post</h3>
|
| 171 |
+
<p class="text-gray-600">fredrik@lundstream.net</p>
|
| 172 |
+
</div>
|
| 173 |
+
</div>
|
| 174 |
+
<div class="flex items-start gap-3">
|
| 175 |
+
<i data-feather="car" class="text-primary"></i>
|
| 176 |
+
<div>
|
| 177 |
+
<h3 class="font-semibold">Körkort</h3>
|
| 178 |
+
<p class="text-gray-600">B-körkort och egen bil</p>
|
| 179 |
+
</div>
|
| 180 |
+
</div>
|
| 181 |
+
</div>
|
| 182 |
+
</div>
|
| 183 |
+
</section>
|
| 184 |
+
</main>
|
| 185 |
+
|
| 186 |
+
<custom-footer></custom-footer>
|
| 187 |
+
|
| 188 |
+
<script src="components/navbar.js"></script>
|
| 189 |
+
<script src="components/footer.js"></script>
|
| 190 |
+
<script src="script.js"></script>
|
| 191 |
+
<script>feather.replace();</script>
|
| 192 |
+
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
|
| 193 |
+
</body>
|
| 194 |
+
</html>
|
script.js
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
// Smooth scrolling for anchor links
|
| 2 |
+
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
|
| 3 |
+
anchor.addEventListener('click', function (e) {
|
| 4 |
+
e.preventDefault();
|
| 5 |
+
|
| 6 |
+
document.querySelector(this.getAttribute('href')).scrollIntoView({
|
| 7 |
+
behavior: 'smooth'
|
| 8 |
+
});
|
| 9 |
+
});
|
| 10 |
+
});
|
| 11 |
+
|
| 12 |
+
// Intersection Observer for animations
|
| 13 |
+
const animateOnScroll = () => {
|
| 14 |
+
const elements = document.querySelectorAll('.animate-on-scroll');
|
| 15 |
+
|
| 16 |
+
const observer = new IntersectionObserver((entries) => {
|
| 17 |
+
entries.forEach(entry => {
|
| 18 |
+
if (entry.isIntersecting) {
|
| 19 |
+
entry.target.classList.add('animate-fadeIn');
|
| 20 |
+
observer.unobserve(entry.target);
|
| 21 |
+
}
|
| 22 |
+
});
|
| 23 |
+
}, {
|
| 24 |
+
threshold: 0.1
|
| 25 |
+
});
|
| 26 |
+
|
| 27 |
+
elements.forEach(element => {
|
| 28 |
+
observer.observe(element);
|
| 29 |
+
});
|
| 30 |
+
};
|
| 31 |
+
|
| 32 |
+
document.addEventListener('DOMContentLoaded', () => {
|
| 33 |
+
animateOnScroll();
|
| 34 |
+
feather.replace();
|
| 35 |
+
});
|
style.css
CHANGED
|
@@ -1,28 +1,33 @@
|
|
|
|
|
|
|
|
| 1 |
body {
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
}
|
| 5 |
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
margin-top: 0;
|
| 9 |
}
|
| 10 |
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
margin-bottom: 10px;
|
| 15 |
-
margin-top: 5px;
|
| 16 |
}
|
| 17 |
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
margin: 0 auto;
|
| 21 |
-
padding: 16px;
|
| 22 |
-
border: 1px solid lightgray;
|
| 23 |
-
border-radius: 16px;
|
| 24 |
}
|
| 25 |
|
| 26 |
-
|
| 27 |
-
|
|
|
|
| 28 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
|
| 2 |
+
|
| 3 |
body {
|
| 4 |
+
font-family: 'Inter', sans-serif;
|
| 5 |
+
line-height: 1.6;
|
| 6 |
+
color: #1E293B;
|
| 7 |
+
}
|
| 8 |
+
|
| 9 |
+
.container {
|
| 10 |
+
max-width: 1200px;
|
| 11 |
}
|
| 12 |
|
| 13 |
+
section {
|
| 14 |
+
scroll-margin-top: 100px;
|
|
|
|
| 15 |
}
|
| 16 |
|
| 17 |
+
/* Custom scrollbar */
|
| 18 |
+
::-webkit-scrollbar {
|
| 19 |
+
width: 8px;
|
|
|
|
|
|
|
| 20 |
}
|
| 21 |
|
| 22 |
+
::-webkit-scrollbar-track {
|
| 23 |
+
background: #f1f1f1;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
}
|
| 25 |
|
| 26 |
+
::-webkit-scrollbar-thumb {
|
| 27 |
+
background: #3B82F6;
|
| 28 |
+
border-radius: 4px;
|
| 29 |
}
|
| 30 |
+
|
| 31 |
+
::-webkit-scrollbar-thumb:hover {
|
| 32 |
+
background: #2563EB;
|
| 33 |
+
}
|