Website redesign

This commit is contained in:
Matic Ivešić 2025-10-21 20:47:58 +02:00
parent 6ed1754cf9
commit 25b96c2827
33 changed files with 1990 additions and 0 deletions

1
.npmrc Normal file
View File

@ -0,0 +1 @@
engine-strict=true

38
README.md Normal file
View File

@ -0,0 +1,38 @@
# sv
Everything you need to build a Svelte project, powered by [`sv`](https://github.com/sveltejs/cli).
## Creating a project
If you're seeing this, you've probably already done this step. Congrats!
```sh
# create a new project in the current directory
npx sv create
# create a new project in my-app
npx sv create my-app
```
## Developing
Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
```sh
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
```
## Building
To create a production version of your app:
```sh
npm run build
```
You can preview the production build with `npm run preview`.
> To deploy your app, you may need to install an [adapter](https://svelte.dev/docs/kit/adapters) for your target environment.

1485
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

26
package.json Normal file
View File

@ -0,0 +1,26 @@
{
"name": "intelidom",
"private": true,
"version": "0.0.1",
"type": "module",
"scripts": {
"dev": "vite dev",
"build": "vite build",
"preview": "vite preview",
"prepare": "svelte-kit sync || echo ''",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch"
},
"devDependencies": {
"@sveltejs/adapter-auto": "^6.1.0",
"@sveltejs/kit": "^2.43.2",
"@sveltejs/vite-plugin-svelte": "^6.2.0",
"svelte": "^5.39.5",
"svelte-check": "^4.3.2",
"typescript": "^5.9.2",
"vite": "^7.1.7"
},
"dependencies": {
"@sveltejs/adapter-static": "^3.0.10"
}
}

11
src/app.css Normal file
View File

@ -0,0 +1,11 @@
body {
background-color: #0a0d0f;
color: #e5e4ea;
font-family: sans-serif;
margin: 0;
padding: 0;
display: flex;
align-items: center;
flex-direction: column;
gap: 2em;
}

13
src/app.d.ts vendored Normal file
View File

@ -0,0 +1,13 @@
// See https://svelte.dev/docs/kit/types#app.d.ts
// for information about these interfaces
declare global {
namespace App {
// interface Error {}
// interface Locals {}
// interface PageData {}
// interface PageState {}
// interface Platform {}
}
}
export {};

11
src/app.html Normal file
View File

@ -0,0 +1,11 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
%sveltekit.head%
</head>
<body data-sveltekit-preload-data="hover">
<div style="display: contents">%sveltekit.body%</div>
</body>
</html>

20
src/lib/Footer.svelte Normal file
View File

@ -0,0 +1,20 @@
<script>
</script>
<style>
.footer{
background-color: #11161a;
width: 100%;
display: flex;
justify-content: center;
align-items: end;
height: 10em;
}
</style>
<div class = "footer">
<p>
Intelidom d.o.o. 2025
</p>
</div>

58
src/lib/Header.svelte Normal file
View File

@ -0,0 +1,58 @@
<script lang="ts">
import intelidom_banner from '$lib/assets/intelidom_banner.svg';
import HeaderContact from './HeaderContact.svelte';
</script>
<style>
div{
width: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background-color: rgba(0, 0, 0, 0.25);
position: sticky;
top: 0;
backdrop-filter: blur(7px);
padding: 0 0 1em 0;
}
.blur-background {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
background-color: rgba(15, 15, 16, 0.8);
}
div>img{
padding: 1em;
width: 15em;
z-index: 1;
}
@media (min-width: 900px){
:global(.header-contact){
position: absolute;
right: 2em;
z-index: 1;
}
div{
padding: 0;
}
}
</style>
<div class="header-content">
<img src={intelidom_banner} alt="intelidom banner">
<HeaderContact/>
</div>

View File

@ -0,0 +1,28 @@
<script>
import HeaderContactElement from "./HeaderContactElement.svelte";
import phone_icon from '$lib/assets/phone.svg'
import mail_icon from '$lib/assets/mail.svg'
export let customClass = '';
</script>
<style>
.header-contact{
display: flex;
flex-direction: row;
gap: 2em;
}
@media (min-width: 900px){
.header-contact{
display: flex;
flex-direction: column;
gap: 0.5em;
}
}
</style>
<div class="header-contact {customClass}" >
<HeaderContactElement image_src={mail_icon} image_alt="Mail icon" link="mailto:info@intelidom.si" text="info@intelidom.si"></HeaderContactElement>
<HeaderContactElement image_src={phone_icon} image_alt="Mail icon" link="tel:+3860771166" text="040 77 11 66"></HeaderContactElement>
</div>

View File

@ -0,0 +1,38 @@
<script>
export let image_src;
export let image_alt;
export let link;
export let text;
export let icon_color = '#bcc0c2';
export let text_color = '#bcc0c2';
</script>
<style>
div{
display: flex;
gap: 0.75em;
align-items: center;
}
div:hover{
cursor: pointer;
}
a{
color: var(--text-color);
text-decoration: none;
font-weight: bold;
}
img{
width: 1.5em;
height: 1.5em;
filter: drop-shadow(0 0 0 var(--icon-color));
}
</style>
<div>
<img src={image_src} alt={image_alt} style="--icon-color: {icon_color}">
<a style="--text-color: {text_color}" href={link}>{text}</a>
</div>

41
src/lib/Main.svelte Normal file
View File

@ -0,0 +1,41 @@
<script>
import Service from '$lib/Service.svelte';
</script>
<style>
.main{
max-width: 1000px;
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
gap: 2em;
}
</style>
<div class="main">
<Service service='Pametne inštalacije' serviceImage='/loxone_image.png'>
<ul>
<li>Inštalacija in zagon <a style="color: rgb(66, 175, 56); text-decoration: none;" href="https://www.loxone.com/int/">Loxone</a> sistema za pametno hišo</li>
<li>Montaža in zagon domofonskih sistemov</li>
<li>Odpiranje vrat na pin kodo ali kartico</li>
</ul>
</Service>
<Service service='Telekomunikacije' serviceImage='/telecommunications_image.png' imageOnRight=true>
<ul>
<li>Napeljava podatkovnih kablov za računalniška omrežja</li>
<li>Montaža komunikacijskih omaric</li>
<li>Urejanje komunikacijskih vozlišč</li>
<li>Montaža in konfiguracija WiFi dostopnih točk</li>
</ul>
</Service>
<Service service='Elektroinštalacije' serviceImage='/electroinstalations_image.png'>
<ul>
<li>Napeljava električnih inštalacij</li>
<li>Zamenjava dotrajanih inštalacij</li>
<li>Zamenjava rezdelilnih omaric, varovalk, vtičnic in stikal</li>
<li>Montaža luči</li>
</ul>
</Service>
</div>

76
src/lib/Service.svelte Normal file
View File

@ -0,0 +1,76 @@
<script>
export let service = 'Lorem Ipsum';
export let serviceImage = '/default_image.jpg';
export let serviceImageAlt = 'Image';
export let imageOnRight = false;
</script>
<style>
.service{
width: 90%;
display: flex;
flex-direction: column;
align-items: center;
}
.service-content{
width: 100%;
display: flex;
flex-direction: column-reverse;
gap: 2em;
}
.image-right{
flex-direction: column-reverse;
}
.image{
width: 100%;
}
.image>img{
width: 100%;
border-radius: 2em;
}
.service-text{
width: 100%;
font-size: 1.3em;
color: #bcc0c2;
}
.service-name{
text-transform: uppercase;
}
@media (min-width: 900px){
.service-content{
flex-direction: row;
}
.image-right{
flex-direction: row-reverse;
}
}
h2{
font-size: 2em;
}
</style>
<div class="service">
<div class="service-name">
<h2>
{service}
</h2>
</div>
<div class="service-content" class:image-right={imageOnRight}>
<div class="image">
<img src={serviceImage} alt={serviceImageAlt}>
</div>
<div class="service-text">
<slot />
</div>
</div>
</div>

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="107" height="128" viewBox="0 0 107 128"><title>svelte-logo</title><path d="M94.157 22.819c-10.4-14.885-30.94-19.297-45.792-9.835L22.282 29.608A29.92 29.92 0 0 0 8.764 49.65a31.5 31.5 0 0 0 3.108 20.231 30 30 0 0 0-4.477 11.183 31.9 31.9 0 0 0 5.448 24.116c10.402 14.887 30.942 19.297 45.791 9.835l26.083-16.624A29.92 29.92 0 0 0 98.235 78.35a31.53 31.53 0 0 0-3.105-20.232 30 30 0 0 0 4.474-11.182 31.88 31.88 0 0 0-5.447-24.116" style="fill:#ff3e00"/><path d="M45.817 106.582a20.72 20.72 0 0 1-22.237-8.243 19.17 19.17 0 0 1-3.277-14.503 18 18 0 0 1 .624-2.435l.49-1.498 1.337.981a33.6 33.6 0 0 0 10.203 5.098l.97.294-.09.968a5.85 5.85 0 0 0 1.052 3.878 6.24 6.24 0 0 0 6.695 2.485 5.8 5.8 0 0 0 1.603-.704L69.27 76.28a5.43 5.43 0 0 0 2.45-3.631 5.8 5.8 0 0 0-.987-4.371 6.24 6.24 0 0 0-6.698-2.487 5.7 5.7 0 0 0-1.6.704l-9.953 6.345a19 19 0 0 1-5.296 2.326 20.72 20.72 0 0 1-22.237-8.243 19.17 19.17 0 0 1-3.277-14.502 17.99 17.99 0 0 1 8.13-12.052l26.081-16.623a19 19 0 0 1 5.3-2.329 20.72 20.72 0 0 1 22.237 8.243 19.17 19.17 0 0 1 3.277 14.503 18 18 0 0 1-.624 2.435l-.49 1.498-1.337-.98a33.6 33.6 0 0 0-10.203-5.1l-.97-.294.09-.968a5.86 5.86 0 0 0-1.052-3.878 6.24 6.24 0 0 0-6.696-2.485 5.8 5.8 0 0 0-1.602.704L37.73 51.72a5.42 5.42 0 0 0-2.449 3.63 5.79 5.79 0 0 0 .986 4.372 6.24 6.24 0 0 0 6.698 2.486 5.8 5.8 0 0 0 1.602-.704l9.952-6.342a19 19 0 0 1 5.295-2.328 20.72 20.72 0 0 1 22.237 8.242 19.17 19.17 0 0 1 3.277 14.503 18 18 0 0 1-8.13 12.053l-26.081 16.622a19 19 0 0 1-5.3 2.328" style="fill:#fff"/></svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="100%" height="100%" viewBox="0 0 1920 512" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
<g id="logo-logo" transform="matrix(2.4079,0,0,2.4079,210.872,256)">
<g id="g17">
<g id="path9" transform="matrix(0.542598,0,0,0.542598,-162.78,-175.992)">
<g id="g11">
<path id="path91" serif:id="path9" d="M385.2,326.6L385.2,256.1L334.9,205.8L373,167.7L461.4,256.1L461.4,366L324,366L324,326.6L385.2,326.6ZM321.4,277.9L348.4,277.9L348.4,304.9L321.4,304.9L321.4,277.9Z" style="fill:rgb(52,178,249);"/>
</g>
</g>
<g id="path13" transform="matrix(0.542598,0,0,0.542598,-162.78,-175.992)">
<g id="g15">
<path id="path131" serif:id="path13" d="M284.6,256.2L284.6,366.1L240.8,366.1L277.2,481L138.6,326.6L208.4,326.6L208.4,256.1L296.8,167.7L334.9,205.8L284.6,256.2ZM233,277.9L260,277.9L260,304.9L233,304.9L233,277.9Z" style="fill:rgb(87,230,74);"/>
</g>
</g>
</g>
</g>
<g id="path367" transform="matrix(4.50115,0,0,4.50115,476.708,310.417)">
<g id="text-logo">
<g id="g23">
<g id="text-logo-path-0">
<path id="path3671" serif:id="path367" d="M35.4,0L28.4,0L28.4,-32.6L35.95,-32.6L44.45,-16.4L47.65,-9.2L47.85,-9.2C47.717,-10.933 47.533,-12.867 47.3,-15C47.067,-17.133 46.95,-19.167 46.95,-21.1L46.95,-32.6L53.95,-32.6L53.95,0L46.4,0L37.9,-16.25L34.7,-23.35L34.5,-23.35C34.667,-21.55 34.86,-19.617 35.08,-17.55C35.293,-15.483 35.4,-13.483 35.4,-11.55L35.4,0ZM84.9,0L77.5,0L77.5,-26.4L68.55,-26.4L68.55,-32.6L93.85,-32.6L93.85,-26.4L84.9,-26.4L84.9,0ZM129.35,0L108.45,0L108.45,-32.6L128.85,-32.6L128.85,-26.4L115.8,-26.4L115.8,-19.85L126.9,-19.85L126.9,-13.7L115.8,-13.7L115.8,-6.2L129.35,-6.2L129.35,0ZM165.6,0L145.35,0L145.35,-32.6L152.7,-32.6L152.7,-6.2L165.6,-6.2L165.6,0ZM188.1,0L180.75,0L180.75,-32.6L188.1,-32.6L188.1,0ZM259.8,0.6C255.4,0.6 251.833,-0.91 249.1,-3.93C246.367,-6.943 245,-11.117 245,-16.45C245,-21.783 246.367,-25.91 249.1,-28.83C251.833,-31.743 255.4,-33.2 259.8,-33.2C264.2,-33.2 267.767,-31.733 270.5,-28.8C273.233,-25.867 274.6,-21.75 274.6,-16.45C274.6,-11.117 273.233,-6.943 270.5,-3.93C267.767,-0.91 264.2,0.6 259.8,0.6ZM259.8,-5.75C262.033,-5.75 263.8,-6.717 265.1,-8.65C266.4,-10.583 267.05,-13.183 267.05,-16.45C267.05,-19.683 266.4,-22.227 265.1,-24.08C263.8,-25.927 262.033,-26.85 259.8,-26.85C257.567,-26.85 255.8,-25.927 254.5,-24.08C253.2,-22.227 252.55,-19.683 252.55,-16.45C252.55,-13.183 253.2,-10.583 254.5,-8.65C255.8,-6.717 257.567,-5.75 259.8,-5.75ZM296.85,0L290.25,0L290.25,-32.6L298.3,-32.6L303.55,-18.1C303.883,-17.167 304.2,-16.183 304.5,-15.15C304.8,-14.117 305.117,-13.1 305.45,-12.1L305.65,-12.1C305.983,-13.1 306.293,-14.117 306.58,-15.15C306.86,-16.183 307.167,-17.167 307.5,-18.1L312.65,-32.6L320.65,-32.6L320.65,0L313.95,0L313.95,-11.95C313.95,-13.55 314.067,-15.41 314.3,-17.53C314.533,-19.643 314.733,-21.483 314.9,-23.05L314.7,-23.05L312.05,-15.3L307.4,-2.85L303.35,-2.85L298.7,-15.3L296.1,-23.05L295.9,-23.05C296.067,-21.483 296.267,-19.643 296.5,-17.53C296.733,-15.41 296.85,-13.55 296.85,-11.95L296.85,0Z" style="fill:rgb(52,178,249);fill-rule:nonzero;"/>
</g>
</g>
</g>
</g>
<g id="path497" transform="matrix(1.66226,0,0,1.66226,-132.87,-541.914)">
<path d="M397.045,512.756L377.143,512.756L377.143,424.48L397.045,424.48L397.045,512.756ZM948.635,512.756L922.64,512.756L922.64,424.48L947.552,424.48C961.001,424.48 971.742,427.973 979.775,434.959C987.809,441.963 991.825,453.047 991.825,468.211C991.825,483.375 987.854,494.586 979.911,501.843C971.968,509.118 961.543,512.756 948.635,512.756ZM942.542,440.591L942.542,496.644L946.333,496.644C953.825,496.644 959.873,494.541 964.476,490.335C969.079,486.146 971.381,478.772 971.381,468.211C971.381,457.651 969.079,450.403 964.476,446.467C959.873,442.55 953.825,440.591 946.333,440.591L942.542,440.591Z" style="fill:rgb(87,230,74);fill-rule:nonzero;"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.3 KiB

View File

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="100%" height="100%" viewBox="0 0 512 512" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
<g id="g17" transform="matrix(2.88468,0,0,3.01183,256,256)">
<g id="path9" transform="matrix(0.542598,0,0,0.542598,-162.78,-175.992)">
<g id="g11">
<path id="path91" serif:id="path9" d="M385.2,326.6L385.2,256.1L334.9,205.8L373,167.7L461.4,256.1L461.4,366L324,366L324,326.6L385.2,326.6ZM321.4,277.9L348.4,277.9L348.4,304.9L321.4,304.9L321.4,277.9Z" style="fill:rgb(52,178,249);"/>
</g>
</g>
<g id="path13" transform="matrix(0.542598,0,0,0.542598,-162.78,-175.992)">
<g id="g15">
<path id="path131" serif:id="path13" d="M284.6,256.2L284.6,366.1L240.8,366.1L277.2,481L138.6,326.6L208.4,326.6L208.4,256.1L296.8,167.7L334.9,205.8L284.6,256.2ZM233,277.9L260,277.9L260,304.9L233,304.9L233,277.9Z" style="fill:rgb(87,230,74);"/>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="100%" height="100%" viewBox="0 0 512 512" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
<g transform="matrix(6.23605,0,0,-6.23265,-179.903,1734.92)">
<path d="M69.902,278.359C55.156,278.359 43.203,266.406 43.203,251.664C43.203,237.136 60.105,213.172 69.902,196.211C79.719,213.211 96.602,236.707 96.598,251.664C96.598,266.617 84.645,278.359 69.902,278.359ZM69.902,263.211C75.492,263.211 80.027,258.679 80.027,253.086C80.027,247.496 75.492,242.961 69.902,242.961C67.215,242.961 64.641,244.027 62.742,245.929C60.844,247.828 59.777,250.402 59.777,253.086C59.777,255.773 60.844,258.347 62.742,260.246C64.641,262.144 67.215,263.211 69.902,263.211Z" style="fill:white;"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.0 KiB

7
src/lib/assets/mail.svg Normal file
View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="100%" height="100%" viewBox="0 0 512 512" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
<g transform="matrix(6.23174,0,0,-6.22835,-179.599,2542.96)">
<path d="M44.023,392.574C40.848,392.574 37.906,391.609 35.473,389.961L69.902,370.082L104.328,389.961C101.895,391.613 98.953,392.574 95.781,392.574L44.023,392.574ZM109.586,383.754L71.93,362.012C71.309,361.652 70.629,361.48 69.957,361.473L69.844,361.473C69.172,361.48 68.492,361.652 67.871,362.012L30.215,383.754C29.32,381.816 28.82,379.656 28.82,377.375L28.82,357C28.82,348.578 35.602,341.797 44.023,341.797L95.781,341.797C104.199,341.797 110.98,348.578 110.98,357L110.98,377.375C110.98,379.656 110.48,381.816 109.586,383.754Z" style="fill:white;"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

7
src/lib/assets/phone.svg Normal file
View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="100%" height="100%" viewBox="0 0 512 512" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
<g transform="matrix(7.38606,0,0,-7.38204,-260.297,3888.33)">
<path d="M58.566,471.523C70.129,461.605 83.641,455.348 93.27,458.594C96.773,459.773 101.086,464.266 103.723,466.902C105.352,468.531 104.535,471.984 101.898,474.621C99.117,477.402 96.301,480.219 93.492,483.027C90.855,485.66 86.582,485.66 83.945,483.027L81.246,480.328C78.613,477.691 74.336,477.691 71.703,480.328L57.832,494.195C56.566,495.461 55.855,497.18 55.855,498.969C55.855,500.762 56.566,502.477 57.832,503.742L60.531,506.441C63.168,509.078 63.168,513.352 60.531,515.988C57.723,518.797 54.926,521.59 52.125,524.391C49.488,527.027 45.215,527.027 42.578,524.391C40.953,522.766 37.281,519.266 36.102,515.766C32.863,506.137 39.117,492.625 49.031,481.059C51.453,478.23 55.734,473.949 58.566,471.523Z" style="fill:white;"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

1
src/lib/index.ts Normal file
View File

@ -0,0 +1 @@
// place files you want to import through the `$lib` alias in this folder.

27
src/routes/+layout.svelte Normal file
View File

@ -0,0 +1,27 @@
<script lang="ts">
import intelidom_icon from '$lib/assets/intelidom_icon.svg';
import intelidom_banner from '$lib/assets/intelidom_banner.svg';
import '../app.css';
import Header from '$lib/Header.svelte';
import HeaderContact from '$lib/HeaderContact.svelte';
import HeaderContactElement from "$lib/HeaderContactElement.svelte";
import Main from '$lib/Main.svelte'
import Footer from '$lib/Footer.svelte'
let { children } = $props();
</script>
<svelte:head>
<title>InteliDom d.o.o.</title>
<link rel="icon" href={intelidom_icon} />
</svelte:head>
<Header></Header>
<Main></Main>
<Footer></Footer>
{@render children?.()}

0
src/routes/+page.svelte Normal file
View File

BIN
static/default_image.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 938 KiB

BIN
static/loxone_image.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

BIN
static/loxone_image.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 514 KiB

3
static/robots.txt Normal file
View File

@ -0,0 +1,3 @@
# allow crawling everything by default
User-agent: *
Disallow:

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

20
svelte.config.js Normal file
View File

@ -0,0 +1,20 @@
import adapter from '@sveltejs/adapter-static';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
/** @type {import('@sveltejs/kit').Config} */
const config = {
// Consult https://svelte.dev/docs/kit/integrations
// for more information about preprocessors
preprocess: vitePreprocess(),
kit: {
// adapter-auto only supports some environments, see https://svelte.dev/docs/kit/adapter-auto for a list.
// If your environment is not supported, or you settled on a specific environment, switch out the adapter.
// See https://svelte.dev/docs/kit/adapters for more information about adapters.
adapter: adapter({
fallback: 'index.html'
})
}
};
export default config;

19
tsconfig.json Normal file
View File

@ -0,0 +1,19 @@
{
"extends": "./.svelte-kit/tsconfig.json",
"compilerOptions": {
"allowJs": true,
"checkJs": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"sourceMap": true,
"strict": true,
"moduleResolution": "bundler"
}
// Path aliases are handled by https://svelte.dev/docs/kit/configuration#alias
// except $lib which is handled by https://svelte.dev/docs/kit/configuration#files
//
// To make changes to top-level options such as include and exclude, we recommend extending
// the generated config; see https://svelte.dev/docs/kit/configuration#typescript
}

6
vite.config.ts Normal file
View File

@ -0,0 +1,6 @@
import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig } from 'vite';
export default defineConfig({
plugins: [sveltekit()]
});