<header class="header">
Browse files<div class="header-inner">
<!-- LOGO -->
<div class="logo">
<a href="#home" data-lang="sv">
🇸🇪 Alexander Adolfsson – Personlig Träning & Kostrådgivning
</a>
<a href="#home" data-lang="en" class="hidden">
🇬🇧 Alexander Adolfsson – Personal Training & Nutrition Coaching
</a>
</div>
<!-- NAVIGATION -->
<nav class="nav">
<a href="#home">Hem</a>
<a href="#about">Om mig</a>
<a href="#services">Tjänster</a>
<a href="#pricing">Priser</a>
<a href="#booking">Boka</a>
<a href="#contact">Kontakt</a>
</nav>
<!-- LANGUAGE SWITCH -->
<div class="lang-switch">
<button onclick="setLanguage('sv')">SV</button> |
<button onclick="setLanguage('en')">EN</button>
</div>
</div>
</header>
- README.md +8 -5
- components/footer.js +140 -0
- components/header.js +183 -0
- index.html +323 -19
- script.js +76 -0
- style.css +141 -18
|
@@ -1,10 +1,13 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: FitFlow Coaching 🏋️♂️
|
| 3 |
+
colorFrom: pink
|
| 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).
|
|
@@ -0,0 +1,140 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
class CustomFooter extends HTMLElement {
|
| 2 |
+
connectedCallback() {
|
| 3 |
+
this.attachShadow({ mode: 'open' });
|
| 4 |
+
this.shadowRoot.innerHTML = `
|
| 5 |
+
<style>
|
| 6 |
+
:host {
|
| 7 |
+
display: block;
|
| 8 |
+
background-color: #1f2937;
|
| 9 |
+
color: #d1d5db;
|
| 10 |
+
padding: 3rem 0 1.5rem;
|
| 11 |
+
}
|
| 12 |
+
|
| 13 |
+
.footer-inner {
|
| 14 |
+
max-width: 1200px;
|
| 15 |
+
margin: 0 auto;
|
| 16 |
+
padding: 0 2rem;
|
| 17 |
+
}
|
| 18 |
+
|
| 19 |
+
.footer-content {
|
| 20 |
+
display: grid;
|
| 21 |
+
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
| 22 |
+
gap: 2rem;
|
| 23 |
+
margin-bottom: 3rem;
|
| 24 |
+
}
|
| 25 |
+
|
| 26 |
+
.footer-column h3 {
|
| 27 |
+
color: white;
|
| 28 |
+
margin-bottom: 1.5rem;
|
| 29 |
+
font-size: 1.25rem;
|
| 30 |
+
}
|
| 31 |
+
|
| 32 |
+
.footer-column ul li {
|
| 33 |
+
margin-bottom: 0.75rem;
|
| 34 |
+
}
|
| 35 |
+
|
| 36 |
+
.footer-column ul li a {
|
| 37 |
+
color: #d1d5db;
|
| 38 |
+
transition: color 0.3s ease;
|
| 39 |
+
}
|
| 40 |
+
|
| 41 |
+
.footer-column ul li a:hover {
|
| 42 |
+
color: #4f46e5;
|
| 43 |
+
}
|
| 44 |
+
|
| 45 |
+
.social-links {
|
| 46 |
+
display: flex;
|
| 47 |
+
gap: 1rem;
|
| 48 |
+
margin-top: 1rem;
|
| 49 |
+
}
|
| 50 |
+
|
| 51 |
+
.social-links a {
|
| 52 |
+
display: flex;
|
| 53 |
+
align-items: center;
|
| 54 |
+
justify-content: center;
|
| 55 |
+
width: 40px;
|
| 56 |
+
height: 40px;
|
| 57 |
+
border-radius: 50%;
|
| 58 |
+
background-color: #374151;
|
| 59 |
+
color: white;
|
| 60 |
+
transition: all 0.3s ease;
|
| 61 |
+
}
|
| 62 |
+
|
| 63 |
+
.social-links a:hover {
|
| 64 |
+
background-color: #4f46e5;
|
| 65 |
+
transform: translateY(-3px);
|
| 66 |
+
}
|
| 67 |
+
|
| 68 |
+
.copyright {
|
| 69 |
+
text-align: center;
|
| 70 |
+
padding-top: 1.5rem;
|
| 71 |
+
border-top: 1px solid #374151;
|
| 72 |
+
font-size: 0.875rem;
|
| 73 |
+
}
|
| 74 |
+
|
| 75 |
+
@media (max-width: 768px) {
|
| 76 |
+
.footer-inner {
|
| 77 |
+
padding: 0 1rem;
|
| 78 |
+
}
|
| 79 |
+
|
| 80 |
+
.footer-content {
|
| 81 |
+
grid-template-columns: 1fr;
|
| 82 |
+
gap: 1.5rem;
|
| 83 |
+
}
|
| 84 |
+
}
|
| 85 |
+
</style>
|
| 86 |
+
<footer class="footer">
|
| 87 |
+
<div class="footer-inner">
|
| 88 |
+
<div class="footer-content">
|
| 89 |
+
<div class="footer-column">
|
| 90 |
+
<h3>Alexander Adolfsson</h3>
|
| 91 |
+
<p>Personlig träning och kostrådgivning för att hjälpa dig uppnå dina hälsomål och leva ett bättre liv.</p>
|
| 92 |
+
<div class="social-links">
|
| 93 |
+
<a href="#" aria-label="Facebook"><i data-feather="facebook"></i></a>
|
| 94 |
+
<a href="#" aria-label="Instagram"><i data-feather="instagram"></i></a>
|
| 95 |
+
<a href="#" aria-label="LinkedIn"><i data-feather="linkedin"></i></a>
|
| 96 |
+
</div>
|
| 97 |
+
</div>
|
| 98 |
+
|
| 99 |
+
<div class="footer-column">
|
| 100 |
+
<h3>Tjänster</h3>
|
| 101 |
+
<ul>
|
| 102 |
+
<li><a href="#services">Personlig Träning</a></li>
|
| 103 |
+
<li><a href="#services">Kostrådgivning</a></li>
|
| 104 |
+
<li><a href="#services">Kombopaket</a></li>
|
| 105 |
+
<li><a href="#services">Online Coaching</a></li>
|
| 106 |
+
</ul>
|
| 107 |
+
</div>
|
| 108 |
+
|
| 109 |
+
<div class="footer-column">
|
| 110 |
+
<h3>Länkar</h3>
|
| 111 |
+
<ul>
|
| 112 |
+
<li><a href="#home">Hem</a></li>
|
| 113 |
+
<li><a href="#about">Om mig</a></li>
|
| 114 |
+
<li><a href="#pricing">Priser</a></li>
|
| 115 |
+
<li><a href="#booking">Boka</a></li>
|
| 116 |
+
<li><a href="#contact">Kontakt</a></li>
|
| 117 |
+
</ul>
|
| 118 |
+
</div>
|
| 119 |
+
|
| 120 |
+
<div class="footer-column">
|
| 121 |
+
<h3>Kontakt</h3>
|
| 122 |
+
<ul>
|
| 123 |
+
<li>info@alexanderadolfsson.se</li>
|
| 124 |
+
<li>+46 70 123 45 67</li>
|
| 125 |
+
<li>Träningsgatan 123</li>
|
| 126 |
+
<li>123 45 Stockholm</li>
|
| 127 |
+
</ul>
|
| 128 |
+
</div>
|
| 129 |
+
</div>
|
| 130 |
+
|
| 131 |
+
<div class="copyright">
|
| 132 |
+
<p>© 2023 Alexander Adolfsson. Alla rättigheter förbehållna.</p>
|
| 133 |
+
</div>
|
| 134 |
+
</div>
|
| 135 |
+
</footer>
|
| 136 |
+
`;
|
| 137 |
+
}
|
| 138 |
+
}
|
| 139 |
+
|
| 140 |
+
customElements.define('custom-footer', CustomFooter);
|
|
@@ -0,0 +1,183 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
class CustomHeader extends HTMLElement {
|
| 2 |
+
connectedCallback() {
|
| 3 |
+
this.attachShadow({ mode: 'open' });
|
| 4 |
+
this.shadowRoot.innerHTML = `
|
| 5 |
+
<style>
|
| 6 |
+
:host {
|
| 7 |
+
position: fixed;
|
| 8 |
+
top: 0;
|
| 9 |
+
left: 0;
|
| 10 |
+
width: 100%;
|
| 11 |
+
z-index: 1000;
|
| 12 |
+
background-color: rgba(255, 255, 255, 0.95);
|
| 13 |
+
backdrop-filter: blur(10px);
|
| 14 |
+
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
| 15 |
+
transition: all 0.3s ease;
|
| 16 |
+
}
|
| 17 |
+
|
| 18 |
+
:host(.scrolled) {
|
| 19 |
+
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
|
| 20 |
+
background-color: rgba(255, 255, 255, 0.98);
|
| 21 |
+
}
|
| 22 |
+
|
| 23 |
+
.header-inner {
|
| 24 |
+
display: flex;
|
| 25 |
+
justify-content: space-between;
|
| 26 |
+
align-items: center;
|
| 27 |
+
padding: 1rem 2rem;
|
| 28 |
+
max-width: 1200px;
|
| 29 |
+
margin: 0 auto;
|
| 30 |
+
}
|
| 31 |
+
|
| 32 |
+
.logo {
|
| 33 |
+
font-size: 1.2rem;
|
| 34 |
+
font-weight: 700;
|
| 35 |
+
color: #4f46e5;
|
| 36 |
+
}
|
| 37 |
+
|
| 38 |
+
.logo a {
|
| 39 |
+
display: flex;
|
| 40 |
+
align-items: center;
|
| 41 |
+
}
|
| 42 |
+
|
| 43 |
+
.logo img {
|
| 44 |
+
margin-right: 0.5rem;
|
| 45 |
+
}
|
| 46 |
+
|
| 47 |
+
.nav {
|
| 48 |
+
display: flex;
|
| 49 |
+
gap: 2rem;
|
| 50 |
+
}
|
| 51 |
+
|
| 52 |
+
.nav a {
|
| 53 |
+
font-weight: 500;
|
| 54 |
+
color: #374151;
|
| 55 |
+
transition: color 0.3s ease;
|
| 56 |
+
position: relative;
|
| 57 |
+
}
|
| 58 |
+
|
| 59 |
+
.nav a:hover {
|
| 60 |
+
color: #4f46e5;
|
| 61 |
+
}
|
| 62 |
+
|
| 63 |
+
.nav a::after {
|
| 64 |
+
content: '';
|
| 65 |
+
position: absolute;
|
| 66 |
+
bottom: -5px;
|
| 67 |
+
left: 0;
|
| 68 |
+
width: 0;
|
| 69 |
+
height: 2px;
|
| 70 |
+
background-color: #4f46e5;
|
| 71 |
+
transition: width 0.3s ease;
|
| 72 |
+
}
|
| 73 |
+
|
| 74 |
+
.nav a:hover::after {
|
| 75 |
+
width: 100%;
|
| 76 |
+
}
|
| 77 |
+
|
| 78 |
+
.lang-switch {
|
| 79 |
+
display: flex;
|
| 80 |
+
align-items: center;
|
| 81 |
+
gap: 0.5rem;
|
| 82 |
+
}
|
| 83 |
+
|
| 84 |
+
.lang-switch button {
|
| 85 |
+
background: none;
|
| 86 |
+
border: none;
|
| 87 |
+
font-weight: 600;
|
| 88 |
+
color: #4f46e5;
|
| 89 |
+
cursor: pointer;
|
| 90 |
+
padding: 0.25rem 0.5rem;
|
| 91 |
+
border-radius: 0.25rem;
|
| 92 |
+
transition: background-color 0.3s ease;
|
| 93 |
+
}
|
| 94 |
+
|
| 95 |
+
.lang-switch button:hover {
|
| 96 |
+
background-color: #eef2ff;
|
| 97 |
+
}
|
| 98 |
+
|
| 99 |
+
.mobile-menu-btn {
|
| 100 |
+
display: none;
|
| 101 |
+
background: none;
|
| 102 |
+
border: none;
|
| 103 |
+
font-size: 1.5rem;
|
| 104 |
+
cursor: pointer;
|
| 105 |
+
color: #4f46e5;
|
| 106 |
+
}
|
| 107 |
+
|
| 108 |
+
@media (max-width: 768px) {
|
| 109 |
+
.header-inner {
|
| 110 |
+
padding: 1rem;
|
| 111 |
+
}
|
| 112 |
+
|
| 113 |
+
.nav {
|
| 114 |
+
display: none;
|
| 115 |
+
position: absolute;
|
| 116 |
+
top: 100%;
|
| 117 |
+
left: 0;
|
| 118 |
+
width: 100%;
|
| 119 |
+
background-color: white;
|
| 120 |
+
flex-direction: column;
|
| 121 |
+
padding: 1rem;
|
| 122 |
+
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
|
| 123 |
+
}
|
| 124 |
+
|
| 125 |
+
.nav.active {
|
| 126 |
+
display: flex;
|
| 127 |
+
}
|
| 128 |
+
|
| 129 |
+
.mobile-menu-btn {
|
| 130 |
+
display: block;
|
| 131 |
+
}
|
| 132 |
+
|
| 133 |
+
.logo {
|
| 134 |
+
font-size: 1rem;
|
| 135 |
+
}
|
| 136 |
+
}
|
| 137 |
+
</style>
|
| 138 |
+
<header class="header">
|
| 139 |
+
<div class="header-inner">
|
| 140 |
+
<div class="logo">
|
| 141 |
+
<a href="#home" data-lang="sv">
|
| 142 |
+
🇸🇪 Alexander Adolfsson – Personlig Träning & Kostrådgivning
|
| 143 |
+
</a>
|
| 144 |
+
<a href="#home" data-lang="en" class="hidden">
|
| 145 |
+
🇬🇧 Alexander Adolfsson – Personal Training & Nutrition Coaching
|
| 146 |
+
</a>
|
| 147 |
+
</div>
|
| 148 |
+
|
| 149 |
+
<nav class="nav">
|
| 150 |
+
<a href="#home">Hem</a>
|
| 151 |
+
<a href="#about">Om mig</a>
|
| 152 |
+
<a href="#services">Tjänster</a>
|
| 153 |
+
<a href="#pricing">Priser</a>
|
| 154 |
+
<a href="#booking">Boka</a>
|
| 155 |
+
<a href="#contact">Kontakt</a>
|
| 156 |
+
</nav>
|
| 157 |
+
|
| 158 |
+
<div class="lang-switch">
|
| 159 |
+
<button onclick="setLanguage('sv')">SV</button> |
|
| 160 |
+
<button onclick="setLanguage('en')">EN</button>
|
| 161 |
+
</div>
|
| 162 |
+
|
| 163 |
+
<button class="mobile-menu-btn" id="mobile-menu-btn">☰</button>
|
| 164 |
+
</div>
|
| 165 |
+
</header>
|
| 166 |
+
`;
|
| 167 |
+
|
| 168 |
+
// Mobile menu toggle
|
| 169 |
+
this.shadowRoot.querySelector('#mobile-menu-btn').addEventListener('click', () => {
|
| 170 |
+
const nav = this.shadowRoot.querySelector('.nav');
|
| 171 |
+
nav.classList.toggle('active');
|
| 172 |
+
});
|
| 173 |
+
|
| 174 |
+
// Close mobile menu when clicking a link
|
| 175 |
+
this.shadowRoot.querySelectorAll('.nav a').forEach(link => {
|
| 176 |
+
link.addEventListener('click', () => {
|
| 177 |
+
this.shadowRoot.querySelector('.nav').classList.remove('active');
|
| 178 |
+
});
|
| 179 |
+
});
|
| 180 |
+
}
|
| 181 |
+
}
|
| 182 |
+
|
| 183 |
+
customElements.define('custom-header', CustomHeader);
|
|
@@ -1,19 +1,323 @@
|
|
| 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>Alexander Adolfsson – Personlig Träning & Kostrådgivning</title>
|
| 7 |
+
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
|
| 8 |
+
<link rel="stylesheet" href="style.css">
|
| 9 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 10 |
+
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
| 11 |
+
<script src="https://unpkg.com/feather-icons"></script>
|
| 12 |
+
</head>
|
| 13 |
+
<body class="bg-gray-50">
|
| 14 |
+
<custom-header></custom-header>
|
| 15 |
+
|
| 16 |
+
<main class="pt-20">
|
| 17 |
+
<!-- Hero Section -->
|
| 18 |
+
<section id="home" class="relative bg-gradient-to-r from-blue-900 to-indigo-800 text-white py-32">
|
| 19 |
+
<div class="container mx-auto px-6 text-center">
|
| 20 |
+
<h1 class="text-5xl md:text-6xl font-bold mb-6">Transformera Din Kropp & Livsstil</h1>
|
| 21 |
+
<p class="text-xl md:text-2xl mb-10 max-w-3xl mx-auto">Personlig träning och kostrådgivning anpassad efter dina mål och livsstil</p>
|
| 22 |
+
<div class="flex flex-col sm:flex-row justify-center gap-4">
|
| 23 |
+
<a href="#booking" class="bg-indigo-600 hover:bg-indigo-700 text-white font-bold py-3 px-8 rounded-full text-lg transition duration-300">Boka Konsultation</a>
|
| 24 |
+
<a href="#services" class="bg-transparent border-2 border-white hover:bg-white hover:text-indigo-800 text-white font-bold py-3 px-8 rounded-full text-lg transition duration-300">Utforska Tjänster</a>
|
| 25 |
+
</div>
|
| 26 |
+
</div>
|
| 27 |
+
</section>
|
| 28 |
+
|
| 29 |
+
<!-- About Section -->
|
| 30 |
+
<section id="about" class="py-20 bg-white">
|
| 31 |
+
<div class="container mx-auto px-6">
|
| 32 |
+
<div class="flex flex-col md:flex-row items-center">
|
| 33 |
+
<div class="md:w-1/2 mb-10 md:mb-0">
|
| 34 |
+
<img src="http://static.photos/people/640x360/42" alt="Alexander Adolfsson" class="rounded-lg shadow-xl">
|
| 35 |
+
</div>
|
| 36 |
+
<div class="md:w-1/2 md:pl-12">
|
| 37 |
+
<h2 class="text-4xl font-bold mb-6 text-gray-800">Om Alexander Adolfsson</h2>
|
| 38 |
+
<p class="text-gray-600 mb-6 text-lg">Certifierad personlig tränare och nutritionist med över 10 års erfarenhet av att hjälpa människor nå sina hälsomål.</p>
|
| 39 |
+
<p class="text-gray-600 mb-6 text-lg">Min filosofi är att skapa hållbara livsstilsförändringar genom personlig anpassning och professionell vägledning. Jag tror på att varje individ är unik och behöver en individuell approach.</p>
|
| 40 |
+
<div class="flex flex-wrap gap-4">
|
| 41 |
+
<div class="flex items-center">
|
| 42 |
+
<i data-feather="award" class="text-indigo-600 mr-2"></i>
|
| 43 |
+
<span>Certifierad PT</span>
|
| 44 |
+
</div>
|
| 45 |
+
<div class="flex items-center">
|
| 46 |
+
<i data-feather="book" class="text-indigo-600 mr-2"></i>
|
| 47 |
+
<span>Nutritionist</span>
|
| 48 |
+
</div>
|
| 49 |
+
<div class="flex items-center">
|
| 50 |
+
<i data-feather="users" class="text-indigo-600 mr-2"></i>
|
| 51 |
+
<span>500+ Klienter</span>
|
| 52 |
+
</div>
|
| 53 |
+
</div>
|
| 54 |
+
</div>
|
| 55 |
+
</div>
|
| 56 |
+
</div>
|
| 57 |
+
</section>
|
| 58 |
+
|
| 59 |
+
<!-- Services Section -->
|
| 60 |
+
<section id="services" class="py-20 bg-gray-100">
|
| 61 |
+
<div class="container mx-auto px-6">
|
| 62 |
+
<h2 class="text-4xl font-bold text-center mb-16 text-gray-800">Våra Tjänster</h2>
|
| 63 |
+
<div class="grid grid-cols-1 md:grid-cols-3 gap-10">
|
| 64 |
+
<div class="bg-white rounded-xl shadow-lg p-8 hover:shadow-xl transition duration-300">
|
| 65 |
+
<div class="text-indigo-600 mb-6">
|
| 66 |
+
<i data-feather="target" class="w-12 h-12"></i>
|
| 67 |
+
</div>
|
| 68 |
+
<h3 class="text-2xl font-bold mb-4 text-gray-800">Personlig Träning</h3>
|
| 69 |
+
<p class="text-gray-600 mb-6">Skräddarsydd träningsplan baserad på dina mål, fitnessnivå och livsstil. Träning kan ske på gym, utomhus eller hemma.</p>
|
| 70 |
+
<ul class="text-gray-600 mb-6">
|
| 71 |
+
<li class="flex items-center mb-2">
|
| 72 |
+
<i data-feather="check-circle" class="w-5 h-5 text-green-500 mr-2"></i>
|
| 73 |
+
<span>Individuell träning</span>
|
| 74 |
+
</li>
|
| 75 |
+
<li class="flex items-center mb-2">
|
| 76 |
+
<i data-feather="check-circle" class="w-5 h-5 text-green-500 mr-2"></i>
|
| 77 |
+
<span>Formanalys</span>
|
| 78 |
+
</li>
|
| 79 |
+
<li class="flex items-center">
|
| 80 |
+
<i data-feather="check-circle" class="w-5 h-5 text-green-500 mr-2"></i>
|
| 81 |
+
<span>Progressuppföljning</span>
|
| 82 |
+
</li>
|
| 83 |
+
</ul>
|
| 84 |
+
</div>
|
| 85 |
+
<div class="bg-white rounded-xl shadow-lg p-8 hover:shadow-xl transition duration-300">
|
| 86 |
+
<div class="text-indigo-600 mb-6">
|
| 87 |
+
<i data-feather="heart" class="w-12 h-12"></i>
|
| 88 |
+
</div>
|
| 89 |
+
<h3 class="text-2xl font-bold mb-4 text-gray-800">Kostrådgivning</h3>
|
| 90 |
+
<p class="text-gray-600 mb-6">Personlig kostplan och livsmedelsvägledning för att optimera din hälsa och uppnå dina mål på ett hållbart sätt.</p>
|
| 91 |
+
<ul class="text-gray-600 mb-6">
|
| 92 |
+
<li class="flex items-center mb-2">
|
| 93 |
+
<i data-feather="check-circle" class="w-5 h-5 text-green-500 mr-2"></i>
|
| 94 |
+
<span>Individuell kostplan</span>
|
| 95 |
+
</li>
|
| 96 |
+
<li class="flex items-center mb-2">
|
| 97 |
+
<i data-feather="check-circle" class="w-5 h-5 text-green-500 mr-2"></i>
|
| 98 |
+
<span>Målanpassad näring</span>
|
| 99 |
+
</li>
|
| 100 |
+
<li class="flex items-center">
|
| 101 |
+
<i data-feather="check-circle" class="w-5 h-5 text-green-500 mr-2"></i>
|
| 102 |
+
<span>Livsstilscoaching</span>
|
| 103 |
+
</li>
|
| 104 |
+
</ul>
|
| 105 |
+
</div>
|
| 106 |
+
<div class="bg-white rounded-xl shadow-lg p-8 hover:shadow-xl transition duration-300">
|
| 107 |
+
<div class="text-indigo-600 mb-6">
|
| 108 |
+
<i data-feather="package" class="w-12 h-12"></i>
|
| 109 |
+
</div>
|
| 110 |
+
<h3 class="text-2xl font-bold mb-4 text-gray-800">Kombopaket</h3>
|
| 111 |
+
<p class="text-gray-600 mb-6">Kombinera träning och kost för maximal effekt. Paketet inkluderar både personlig träning och kostrådgivning.</p>
|
| 112 |
+
<ul class="text-gray-600 mb-6">
|
| 113 |
+
<li class="flex items-center mb-2">
|
| 114 |
+
<i data-feather="check-circle" class="w-5 h-5 text-green-500 mr-2"></i>
|
| 115 |
+
<span>Skräddarsydd träning</span>
|
| 116 |
+
</li>
|
| 117 |
+
<li class="flex items-center mb-2">
|
| 118 |
+
<i data-feather="check-circle" class="w-5 h-5 text-green-500 mr-2"></i>
|
| 119 |
+
<span>Personlig kostplan</span>
|
| 120 |
+
</li>
|
| 121 |
+
<li class="flex items-center">
|
| 122 |
+
<i data-feather="check-circle" class="w-5 h-5 text-green-500 mr-2"></i>
|
| 123 |
+
<span>Veckovis uppföljning</span>
|
| 124 |
+
</li>
|
| 125 |
+
</ul>
|
| 126 |
+
</div>
|
| 127 |
+
</div>
|
| 128 |
+
</div>
|
| 129 |
+
</section>
|
| 130 |
+
|
| 131 |
+
<!-- Pricing Section -->
|
| 132 |
+
<section id="pricing" class="py-20 bg-white">
|
| 133 |
+
<div class="container mx-auto px-6">
|
| 134 |
+
<h2 class="text-4xl font-bold text-center mb-16 text-gray-800">Våra Priser</h2>
|
| 135 |
+
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
|
| 136 |
+
<div class="border border-gray-200 rounded-xl p-8 hover:shadow-xl transition duration-300">
|
| 137 |
+
<h3 class="text-2xl font-bold mb-4 text-gray-800">Personlig Träning</h3>
|
| 138 |
+
<div class="text-4xl font-bold text-indigo-600 mb-6">1200 kr<span class="text-lg text-gray-600">/session</span></div>
|
| 139 |
+
<ul class="text-gray-600 mb-8">
|
| 140 |
+
<li class="flex items-center mb-3">
|
| 141 |
+
<i data-feather="check" class="w-5 h-5 text-green-500 mr-2"></i>
|
| 142 |
+
<span>60 minuters session</span>
|
| 143 |
+
</li>
|
| 144 |
+
<li class="flex items-center mb-3">
|
| 145 |
+
<i data-feather="check" class="w-5 h-5 text-green-500 mr-2"></i>
|
| 146 |
+
<span>Skräddarsydd träningsplan</span>
|
| 147 |
+
</li>
|
| 148 |
+
<li class="flex items-center mb-3">
|
| 149 |
+
<i data-feather="check" class="w-5 h-5 text-green-500 mr-2"></i>
|
| 150 |
+
<span>Formanalys</span>
|
| 151 |
+
</li>
|
| 152 |
+
<li class="flex items-center">
|
| 153 |
+
<i data-feather="check" class="w-5 h-5 text-green-500 mr-2"></i>
|
| 154 |
+
<span>Email support</span>
|
| 155 |
+
</li>
|
| 156 |
+
</ul>
|
| 157 |
+
<a href="#booking" class="block text-center bg-indigo-600 hover:bg-indigo-700 text-white font-bold py-3 rounded-lg transition duration-300">Boka Nu</a>
|
| 158 |
+
</div>
|
| 159 |
+
<div class="border border-gray-200 rounded-xl p-8 hover:shadow-xl transition duration-300 relative">
|
| 160 |
+
<div class="absolute top-0 right-0 bg-indigo-600 text-white px-4 py-1 rounded-bl-lg rounded-tr-xl">Populär</div>
|
| 161 |
+
<h3 class="text-2xl font-bold mb-4 text-gray-800">Kostrådgivning</h3>
|
| 162 |
+
<div class="text-4xl font-bold text-indigo-600 mb-6">2500 kr<span class="text-lg text-gray-600">/månad</span></div>
|
| 163 |
+
<ul class="text-gray-600 mb-8">
|
| 164 |
+
<li class="flex items-center mb-3">
|
| 165 |
+
<i data-feather="check" class="w-5 h-5 text-green-500 mr-2"></i>
|
| 166 |
+
<span>Personlig kostplan</span>
|
| 167 |
+
</li>
|
| 168 |
+
<li class="flex items-center mb-3">
|
| 169 |
+
<i data-feather="check" class="w-5 h-5 text-green-500 mr-2"></i>
|
| 170 |
+
<span>Veckovis uppföljning</span>
|
| 171 |
+
</li>
|
| 172 |
+
<li class="flex items-center mb-3">
|
| 173 |
+
<i data-feather="check" class="w-5 h-5 text-green-500 mr-2"></i>
|
| 174 |
+
<span>Målanpassad näring</span>
|
| 175 |
+
</li>
|
| 176 |
+
<li class="flex items-center">
|
| 177 |
+
<i data-feather="check" class="w-5 h-5 text-green-500 mr-2"></i>
|
| 178 |
+
<span>Email & chat support</span>
|
| 179 |
+
</li>
|
| 180 |
+
</ul>
|
| 181 |
+
<a href="#booking" class="block text-center bg-indigo-600 hover:bg-indigo-700 text-white font-bold py-3 rounded-lg transition duration-300">Boka Nu</a>
|
| 182 |
+
</div>
|
| 183 |
+
<div class="border border-gray-200 rounded-xl p-8 hover:shadow-xl transition duration-300">
|
| 184 |
+
<h3 class="text-2xl font-bold mb-4 text-gray-800">Kombopaket</h3>
|
| 185 |
+
<div class="text-4xl font-bold text-indigo-600 mb-6">3500 kr<span class="text-lg text-gray-600">/månad</span></div>
|
| 186 |
+
<ul class="text-gray-600 mb-8">
|
| 187 |
+
<li class="flex items-center mb-3">
|
| 188 |
+
<i data-feather="check" class="w-5 h-5 text-green-500 mr-2"></i>
|
| 189 |
+
<span>2 träningspass/vecka</span>
|
| 190 |
+
</li>
|
| 191 |
+
<li class="flex items-center mb-3">
|
| 192 |
+
<i data-feather="check" class="w-5 h-5 text-green-500 mr-2"></i>
|
| 193 |
+
<span>Personlig kostplan</span>
|
| 194 |
+
</li>
|
| 195 |
+
<li class="flex items-center mb-3">
|
| 196 |
+
<i data-feather="check" class="w-5 h-5 text-green-500 mr-2"></i>
|
| 197 |
+
<span>Daglig uppföljning</span>
|
| 198 |
+
</li>
|
| 199 |
+
<li class="flex items-center">
|
| 200 |
+
<i data-feather="check" class="w-5 h-5 text-green-500 mr-2"></i>
|
| 201 |
+
<span>24/7 support</span>
|
| 202 |
+
</li>
|
| 203 |
+
</ul>
|
| 204 |
+
<a href="#booking" class="block text-center bg-indigo-600 hover:bg-indigo-700 text-white font-bold py-3 rounded-lg transition duration-300">Boka Nu</a>
|
| 205 |
+
</div>
|
| 206 |
+
</div>
|
| 207 |
+
</div>
|
| 208 |
+
</section>
|
| 209 |
+
|
| 210 |
+
<!-- Booking Section -->
|
| 211 |
+
<section id="booking" class="py-20 bg-gray-100">
|
| 212 |
+
<div class="container mx-auto px-6">
|
| 213 |
+
<div class="max-w-3xl mx-auto bg-white rounded-xl shadow-lg overflow-hidden">
|
| 214 |
+
<div class="md:flex">
|
| 215 |
+
<div class="md:w-1/2 bg-indigo-600 text-white p-10">
|
| 216 |
+
<h2 class="text-3xl font-bold mb-6">Boka Konsultation</h2>
|
| 217 |
+
<p class="mb-6">Ta det första steget mot din transformation. Fyll i formuläret så kontaktar jag dig inom 24 timmar.</p>
|
| 218 |
+
<div class="space-y-4">
|
| 219 |
+
<div class="flex items-center">
|
| 220 |
+
<i data-feather="clock" class="w-6 h-6 mr-3"></i>
|
| 221 |
+
<span>Snabba svar - Inom 24 timmar</span>
|
| 222 |
+
</div>
|
| 223 |
+
<div class="flex items-center">
|
| 224 |
+
<i data-feather="calendar" class="w-6 h-6 mr-3"></i>
|
| 225 |
+
<span>Flextid - Passar din schema</span>
|
| 226 |
+
</div>
|
| 227 |
+
<div class="flex items-center">
|
| 228 |
+
<i data-feather="lock" class="w-6 h-6 mr-3"></i>
|
| 229 |
+
<span>100% sekretessgaranti</span>
|
| 230 |
+
</div>
|
| 231 |
+
</div>
|
| 232 |
+
</div>
|
| 233 |
+
<div class="md:w-1/2 p-10">
|
| 234 |
+
<form id="booking-form" class="space-y-6">
|
| 235 |
+
<div>
|
| 236 |
+
<label class="block text-gray-700 mb-2">Namn</label>
|
| 237 |
+
<input type="text" class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-indigo-500" required>
|
| 238 |
+
</div>
|
| 239 |
+
<div>
|
| 240 |
+
<label class="block text-gray-700 mb-2">Email</label>
|
| 241 |
+
<input type="email" class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-indigo-500" required>
|
| 242 |
+
</div>
|
| 243 |
+
<div>
|
| 244 |
+
<label class="block text-gray-700 mb-2">Tjänst</label>
|
| 245 |
+
<select class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-indigo-500" required>
|
| 246 |
+
<option value="">Välj en tjänst</option>
|
| 247 |
+
<option value="training">Personlig Träning</option>
|
| 248 |
+
<option value="nutrition">Kostrådgivning</option>
|
| 249 |
+
<option value="combo">Kombopaket</option>
|
| 250 |
+
</select>
|
| 251 |
+
</div>
|
| 252 |
+
<div>
|
| 253 |
+
<label class="block text-gray-700 mb-2">Meddelande</label>
|
| 254 |
+
<textarea class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-indigo-500" rows="4" placeholder="Berätta om dina mål och preferenser..."></textarea>
|
| 255 |
+
</div>
|
| 256 |
+
<button type="submit" class="w-full bg-indigo-600 hover:bg-indigo-700 text-white font-bold py-3 rounded-lg transition duration-300">Skicka Bokningsförfrågan</button>
|
| 257 |
+
</form>
|
| 258 |
+
</div>
|
| 259 |
+
</div>
|
| 260 |
+
</div>
|
| 261 |
+
</div>
|
| 262 |
+
</section>
|
| 263 |
+
|
| 264 |
+
<!-- Contact Section -->
|
| 265 |
+
<section id="contact" class="py-20 bg-white">
|
| 266 |
+
<div class="container mx-auto px-6">
|
| 267 |
+
<h2 class="text-4xl font-bold text-center mb-16 text-gray-800">Kontakt</h2>
|
| 268 |
+
<div class="flex flex-col md:flex-row gap-12">
|
| 269 |
+
<div class="md:w-1/2">
|
| 270 |
+
<h3 class="text-2xl font-bold mb-6 text-gray-800">Kontaktinformation</h3>
|
| 271 |
+
<div class="space-y-6">
|
| 272 |
+
<div class="flex items-start">
|
| 273 |
+
<i data-feather="mail" class="w-6 h-6 text-indigo-600 mr-4 mt-1"></i>
|
| 274 |
+
<div>
|
| 275 |
+
<h4 class="font-bold text-gray-800">Email</h4>
|
| 276 |
+
<p class="text-gray-600">info@alexanderadolfsson.se</p>
|
| 277 |
+
</div>
|
| 278 |
+
</div>
|
| 279 |
+
<div class="flex items-start">
|
| 280 |
+
<i data-feather="phone" class="w-6 h-6 text-indigo-600 mr-4 mt-1"></i>
|
| 281 |
+
<div>
|
| 282 |
+
<h4 class="font-bold text-gray-800">Telefon</h4>
|
| 283 |
+
<p class="text-gray-600">+46 70 123 45 67</p>
|
| 284 |
+
</div>
|
| 285 |
+
</div>
|
| 286 |
+
<div class="flex items-start">
|
| 287 |
+
<i data-feather="map-pin" class="w-6 h-6 text-indigo-600 mr-4 mt-1"></i>
|
| 288 |
+
<div>
|
| 289 |
+
<h4 class="font-bold text-gray-800">Adress</h4>
|
| 290 |
+
<p class="text-gray-600">Träningsgatan 123<br>123 45 Stockholm</p>
|
| 291 |
+
</div>
|
| 292 |
+
</div>
|
| 293 |
+
<div class="flex items-start">
|
| 294 |
+
<i data-feather="clock" class="w-6 h-6 text-indigo-600 mr-4 mt-1"></i>
|
| 295 |
+
<div>
|
| 296 |
+
<h4 class="font-bold text-gray-800">Öppettider</h4>
|
| 297 |
+
<p class="text-gray-600">Mån-Fre: 07:00 - 20:00<br>Lör-Sön: 09:00 - 17:00</p>
|
| 298 |
+
</div>
|
| 299 |
+
</div>
|
| 300 |
+
</div>
|
| 301 |
+
</div>
|
| 302 |
+
<div class="md:w-1/2">
|
| 303 |
+
<h3 class="text-2xl font-bold mb-6 text-gray-800">Hitta Hit</h3>
|
| 304 |
+
<div class="bg-gray-200 rounded-xl h-80 flex items-center justify-center">
|
| 305 |
+
<p class="text-gray-600">Karta kommer här</p>
|
| 306 |
+
</div>
|
| 307 |
+
</div>
|
| 308 |
+
</div>
|
| 309 |
+
</div>
|
| 310 |
+
</section>
|
| 311 |
+
</main>
|
| 312 |
+
|
| 313 |
+
<custom-footer></custom-footer>
|
| 314 |
+
|
| 315 |
+
<script src="components/header.js"></script>
|
| 316 |
+
<script src="components/footer.js"></script>
|
| 317 |
+
<script src="script.js"></script>
|
| 318 |
+
<script>
|
| 319 |
+
feather.replace();
|
| 320 |
+
</script>
|
| 321 |
+
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
|
| 322 |
+
</body>
|
| 323 |
+
</html>
|
|
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
// Language switch functionality
|
| 2 |
+
function setLanguage(lang) {
|
| 3 |
+
const svElements = document.querySelectorAll('[data-lang="sv"]');
|
| 4 |
+
const enElements = document.querySelectorAll('[data-lang="en"]');
|
| 5 |
+
|
| 6 |
+
if (lang === 'sv') {
|
| 7 |
+
svElements.forEach(el => el.classList.remove('hidden'));
|
| 8 |
+
enElements.forEach(el => el.classList.add('hidden'));
|
| 9 |
+
} else {
|
| 10 |
+
svElements.forEach(el => el.classList.add('hidden'));
|
| 11 |
+
enElements.forEach(el => el.classList.remove('hidden'));
|
| 12 |
+
}
|
| 13 |
+
|
| 14 |
+
// Update lang attribute on html tag
|
| 15 |
+
document.documentElement.lang = lang;
|
| 16 |
+
}
|
| 17 |
+
|
| 18 |
+
// Smooth scrolling for anchor links
|
| 19 |
+
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
|
| 20 |
+
anchor.addEventListener('click', function (e) {
|
| 21 |
+
e.preventDefault();
|
| 22 |
+
|
| 23 |
+
const targetId = this.getAttribute('href');
|
| 24 |
+
if (targetId === '#') return;
|
| 25 |
+
|
| 26 |
+
const targetElement = document.querySelector(targetId);
|
| 27 |
+
if (targetElement) {
|
| 28 |
+
window.scrollTo({
|
| 29 |
+
top: targetElement.offsetTop - 80,
|
| 30 |
+
behavior: 'smooth'
|
| 31 |
+
});
|
| 32 |
+
}
|
| 33 |
+
});
|
| 34 |
+
});
|
| 35 |
+
|
| 36 |
+
// Form submission
|
| 37 |
+
document.getElementById('booking-form')?.addEventListener('submit', function(e) {
|
| 38 |
+
e.preventDefault();
|
| 39 |
+
|
| 40 |
+
// In a real application, you would send the form data to a server here
|
| 41 |
+
// For this example, we'll just show an alert
|
| 42 |
+
alert('Tack för din bokningsförfrågan! Alexander kommer att kontakta dig inom 24 timmar.');
|
| 43 |
+
|
| 44 |
+
// Reset form
|
| 45 |
+
this.reset();
|
| 46 |
+
});
|
| 47 |
+
|
| 48 |
+
// Header scroll effect
|
| 49 |
+
window.addEventListener('scroll', function() {
|
| 50 |
+
const header = document.querySelector('header');
|
| 51 |
+
if (window.scrollY > 50) {
|
| 52 |
+
header?.classList.add('scrolled');
|
| 53 |
+
} else {
|
| 54 |
+
header?.classList.remove('scrolled');
|
| 55 |
+
}
|
| 56 |
+
});
|
| 57 |
+
|
| 58 |
+
// Simple animation on scroll
|
| 59 |
+
const observerOptions = {
|
| 60 |
+
root: null,
|
| 61 |
+
rootMargin: '0px',
|
| 62 |
+
threshold: 0.1
|
| 63 |
+
};
|
| 64 |
+
|
| 65 |
+
const observer = new IntersectionObserver((entries) => {
|
| 66 |
+
entries.forEach(entry => {
|
| 67 |
+
if (entry.isIntersecting) {
|
| 68 |
+
entry.target.classList.add('animate-fade-in-up');
|
| 69 |
+
observer.unobserve(entry.target);
|
| 70 |
+
}
|
| 71 |
+
});
|
| 72 |
+
}, observerOptions);
|
| 73 |
+
|
| 74 |
+
document.querySelectorAll('section').forEach(section => {
|
| 75 |
+
observer.observe(section);
|
| 76 |
+
});
|
|
@@ -1,28 +1,151 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
body {
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
}
|
| 5 |
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
|
|
|
| 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;800&display=swap');
|
| 2 |
+
|
| 3 |
+
:root {
|
| 4 |
+
--primary: #4f46e5;
|
| 5 |
+
--primary-dark: #4338ca;
|
| 6 |
+
--secondary: #f9fafb;
|
| 7 |
+
--text-dark: #1f2937;
|
| 8 |
+
--text-light: #6b7280;
|
| 9 |
+
--white: #ffffff;
|
| 10 |
+
--shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
|
| 11 |
+
--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
|
| 12 |
+
}
|
| 13 |
+
|
| 14 |
+
* {
|
| 15 |
+
margin: 0;
|
| 16 |
+
padding: 0;
|
| 17 |
+
box-sizing: border-box;
|
| 18 |
+
}
|
| 19 |
+
|
| 20 |
body {
|
| 21 |
+
font-family: 'Inter', sans-serif;
|
| 22 |
+
line-height: 1.6;
|
| 23 |
+
color: var(--text-dark);
|
| 24 |
+
overflow-x: hidden;
|
| 25 |
+
}
|
| 26 |
+
|
| 27 |
+
a {
|
| 28 |
+
text-decoration: none;
|
| 29 |
+
color: inherit;
|
| 30 |
+
}
|
| 31 |
+
|
| 32 |
+
ul {
|
| 33 |
+
list-style: none;
|
| 34 |
+
}
|
| 35 |
+
|
| 36 |
+
img {
|
| 37 |
+
max-width: 100%;
|
| 38 |
+
height: auto;
|
| 39 |
+
}
|
| 40 |
+
|
| 41 |
+
.container {
|
| 42 |
+
width: 100%;
|
| 43 |
+
max-width: 1200px;
|
| 44 |
+
margin: 0 auto;
|
| 45 |
+
padding: 0 1rem;
|
| 46 |
+
}
|
| 47 |
+
|
| 48 |
+
.btn {
|
| 49 |
+
display: inline-block;
|
| 50 |
+
padding: 0.8rem 1.5rem;
|
| 51 |
+
border-radius: 0.5rem;
|
| 52 |
+
font-weight: 600;
|
| 53 |
+
transition: all 0.3s ease;
|
| 54 |
+
cursor: pointer;
|
| 55 |
+
border: none;
|
| 56 |
+
outline: none;
|
| 57 |
+
}
|
| 58 |
+
|
| 59 |
+
.btn-primary {
|
| 60 |
+
background-color: var(--primary);
|
| 61 |
+
color: var(--white);
|
| 62 |
+
}
|
| 63 |
+
|
| 64 |
+
.btn-primary:hover {
|
| 65 |
+
background-color: var(--primary-dark);
|
| 66 |
+
transform: translateY(-2px);
|
| 67 |
+
box-shadow: var(--shadow-lg);
|
| 68 |
}
|
| 69 |
|
| 70 |
+
.btn-secondary {
|
| 71 |
+
background-color: transparent;
|
| 72 |
+
color: var(--primary);
|
| 73 |
+
border: 2px solid var(--primary);
|
| 74 |
}
|
| 75 |
|
| 76 |
+
.btn-secondary:hover {
|
| 77 |
+
background-color: var(--primary);
|
| 78 |
+
color: var(--white);
|
|
|
|
|
|
|
| 79 |
}
|
| 80 |
|
| 81 |
+
.section {
|
| 82 |
+
padding: 5rem 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 83 |
}
|
| 84 |
|
| 85 |
+
.section-title {
|
| 86 |
+
font-size: 2.5rem;
|
| 87 |
+
font-weight: 800;
|
| 88 |
+
text-align: center;
|
| 89 |
+
margin-bottom: 3rem;
|
| 90 |
+
color: var(--text-dark);
|
| 91 |
}
|
| 92 |
+
|
| 93 |
+
.text-center {
|
| 94 |
+
text-align: center;
|
| 95 |
+
}
|
| 96 |
+
|
| 97 |
+
/* Custom scrollbar */
|
| 98 |
+
::-webkit-scrollbar {
|
| 99 |
+
width: 8px;
|
| 100 |
+
}
|
| 101 |
+
|
| 102 |
+
::-webkit-scrollbar-track {
|
| 103 |
+
background: #f1f1f1;
|
| 104 |
+
}
|
| 105 |
+
|
| 106 |
+
::-webkit-scrollbar-thumb {
|
| 107 |
+
background: #c5c5c5;
|
| 108 |
+
border-radius: 4px;
|
| 109 |
+
}
|
| 110 |
+
|
| 111 |
+
::-webkit-scrollbar-thumb:hover {
|
| 112 |
+
background: #a0a0a0;
|
| 113 |
+
}
|
| 114 |
+
|
| 115 |
+
/* Responsive adjustments */
|
| 116 |
+
@media (max-width: 768px) {
|
| 117 |
+
.section {
|
| 118 |
+
padding: 3rem 0;
|
| 119 |
+
}
|
| 120 |
+
|
| 121 |
+
.section-title {
|
| 122 |
+
font-size: 2rem;
|
| 123 |
+
}
|
| 124 |
+
}
|
| 125 |
+
|
| 126 |
+
/* Animation for elements */
|
| 127 |
+
@keyframes fadeInUp {
|
| 128 |
+
from {
|
| 129 |
+
opacity: 0;
|
| 130 |
+
transform: translateY(20px);
|
| 131 |
+
}
|
| 132 |
+
to {
|
| 133 |
+
opacity: 1;
|
| 134 |
+
transform: translateY(0);
|
| 135 |
+
}
|
| 136 |
+
}
|
| 137 |
+
|
| 138 |
+
.animate-fade-in-up {
|
| 139 |
+
animation: fadeInUp 0.6s ease-out;
|
| 140 |
+
}
|
| 141 |
+
|
| 142 |
+
/* Smooth scroll behavior */
|
| 143 |
+
html {
|
| 144 |
+
scroll-behavior: smooth;
|
| 145 |
+
}
|
| 146 |
+
|
| 147 |
+
/* Focus styles for accessibility */
|
| 148 |
+
a:focus, button:focus, input:focus, textarea:focus {
|
| 149 |
+
outline: 2px solid var(--primary);
|
| 150 |
+
outline-offset: 2px;
|
| 151 |
+
}
|