mirror of
https://github.com/Lapikud/lapikud.github.io.git
synced 2026-08-08 19:49:13 +00:00
stiim page
This commit is contained in:
@@ -11,7 +11,6 @@
|
|||||||
// Icon imports (Lucide)
|
// Icon imports (Lucide)
|
||||||
import Coffee from "lucide-svelte/icons/coffee";
|
import Coffee from "lucide-svelte/icons/coffee";
|
||||||
import Presentation from "lucide-svelte/icons/presentation";
|
import Presentation from "lucide-svelte/icons/presentation";
|
||||||
import Swords from "lucide-svelte/icons/swords";
|
|
||||||
import Lectern from "lucide-svelte/icons/lectern";
|
import Lectern from "lucide-svelte/icons/lectern";
|
||||||
import Bot from "lucide-svelte/icons/bot";
|
import Bot from "lucide-svelte/icons/bot";
|
||||||
import HandHeart from "lucide-svelte/icons/hand-heart";
|
import HandHeart from "lucide-svelte/icons/hand-heart";
|
||||||
|
|||||||
32
src/routes/Striim.svelte
Normal file
32
src/routes/Striim.svelte
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
<script>
|
||||||
|
import { Section, Grid } from "$components";
|
||||||
|
|
||||||
|
let sectionElement;
|
||||||
|
let imagesLoaded = 0;
|
||||||
|
const totalImages = 3;
|
||||||
|
|
||||||
|
function handleImageLoad() {
|
||||||
|
imagesLoaded++;
|
||||||
|
if (imagesLoaded === totalImages && sectionElement) {
|
||||||
|
sectionElement.scrollIntoView({ behavior: 'smooth', block: 'start' });
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<div bind:this={sectionElement}>
|
||||||
|
<Section>
|
||||||
|
<Grid min="400px">
|
||||||
|
<a href="https://master.lapikud.ee/stream/1/stream">
|
||||||
|
<img src="https://master.lapikud.ee/stream/1/substream" alt="video0" style="width:100%;" on:load={handleImageLoad}/>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<a href="https://master.lapikud.ee/stream/2/stream">
|
||||||
|
<img src="https://master.lapikud.ee/stream/2/substream" alt="video1" style="width:100%;" on:load={handleImageLoad}/>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<a href="https://master.lapikud.ee/stream/3/stream">
|
||||||
|
<img src="https://master.lapikud.ee/stream/3/substream" alt="video2" style="width:100%;" on:load={handleImageLoad}/>
|
||||||
|
</a>
|
||||||
|
</Grid>
|
||||||
|
</Section>
|
||||||
|
</div>
|
||||||
@@ -9,6 +9,7 @@ import OurWork from './OurWork.svelte'
|
|||||||
import AboutUs from './AboutUs.svelte'
|
import AboutUs from './AboutUs.svelte'
|
||||||
import Contact from './Contact.svelte'
|
import Contact from './Contact.svelte'
|
||||||
import Managment from './Managment.svelte'
|
import Managment from './Managment.svelte'
|
||||||
|
import Striim from './Striim.svelte'
|
||||||
|
|
||||||
// Route mapping for language switching
|
// Route mapping for language switching
|
||||||
export const routeMap = {
|
export const routeMap = {
|
||||||
@@ -77,4 +78,5 @@ export const routes = {
|
|||||||
'/contact': Contact,
|
'/contact': Contact,
|
||||||
'/juhatus': Managment,
|
'/juhatus': Managment,
|
||||||
'/management': Managment,
|
'/management': Managment,
|
||||||
|
'/striim': Striim,
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user