add landingpage
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
@import "@fontsource/outfit";
|
||||
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
Vendored
+13
@@ -0,0 +1,13 @@
|
||||
// See https://kit.svelte.dev/docs/types#app
|
||||
// for information about these interfaces
|
||||
declare global {
|
||||
namespace App {
|
||||
// interface Error {}
|
||||
// interface Locals {}
|
||||
// interface PageData {}
|
||||
// interface PageState {}
|
||||
// interface Platform {}
|
||||
}
|
||||
}
|
||||
|
||||
export {};
|
||||
@@ -0,0 +1,12 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="icon" href="%sveltekit.assets%/favicon.png" />
|
||||
<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>
|
||||
@@ -0,0 +1,17 @@
|
||||
<script>
|
||||
import ImageTile from "./ImageTile.svelte";
|
||||
/** @type {string} **/
|
||||
export let src;
|
||||
/** @type {string} **/
|
||||
export let href;
|
||||
/** @type {"_self" | "_blank" | "_parent" | "_top" } **/
|
||||
export let target = "_self";
|
||||
</script>
|
||||
|
||||
<div class="hover:invert">
|
||||
<ImageTile {src}>
|
||||
<a {href} {target} class="flex items-center justify-center h-full">
|
||||
<slot />
|
||||
</a>
|
||||
</ImageTile>
|
||||
</div>
|
||||
@@ -0,0 +1,14 @@
|
||||
<script>
|
||||
/** @string */
|
||||
export let src;
|
||||
</script>
|
||||
|
||||
<div class="grid grid-cols-1 grid-rows-1">
|
||||
<img
|
||||
{src}
|
||||
class="row-start-1 col-start-1 pointer-events-none w-full h-96 object-cover"
|
||||
/>
|
||||
<div class="row-start-1 col-start-1">
|
||||
<slot />
|
||||
</div>
|
||||
</div>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 105 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 95 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 423 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 439 KiB |
@@ -0,0 +1 @@
|
||||
// place files you want to import through the `$lib` alias in this folder.
|
||||
@@ -0,0 +1,8 @@
|
||||
<script>
|
||||
import "../app.css";
|
||||
</script>
|
||||
|
||||
<header class="fixed z-50 mix-blend-difference p-1">
|
||||
<a href="/" class="text-white text-2xl">schreifuchs.ch</a>
|
||||
</header>
|
||||
<slot />
|
||||
@@ -0,0 +1,32 @@
|
||||
<script>
|
||||
import ImageLinkTile from "$lib/components/ImageLinkTile.svelte";
|
||||
|
||||
import mouse from "$lib/images/mouse.webp";
|
||||
import drummachine from "$lib/images/drummachine.webp";
|
||||
import scouts from "$lib/images/scouts.webp";
|
||||
import console_image from "$lib/images/console.webp";
|
||||
</script>
|
||||
|
||||
<ImageLinkTile src={console_image} href="">
|
||||
<h2 class="text-3xl font-bold text-white hover:underline text-shadow-lg">
|
||||
Informatik
|
||||
</h2>
|
||||
</ImageLinkTile>
|
||||
|
||||
<ImageLinkTile src={scouts} href="https://pfadifrisco.ch/" target="_blank">
|
||||
<h2 class="text-3xl font-bold text-white hover:underline text-shadow-lg">
|
||||
Pfadi
|
||||
</h2>
|
||||
</ImageLinkTile>
|
||||
|
||||
<ImageLinkTile src={mouse} href="">
|
||||
<h2 class="text-3xl font-bold text-white hover:underline text-shadow-lg">
|
||||
Fotos
|
||||
</h2>
|
||||
</ImageLinkTile>
|
||||
|
||||
<ImageLinkTile src={drummachine} href="">
|
||||
<h2 class="text-3xl font-bold text-white hover:underline text-shadow-lg">
|
||||
Musik
|
||||
</h2>
|
||||
</ImageLinkTile>
|
||||
Reference in New Issue
Block a user