-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
32 changed files
with
177 additions
and
1,195 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<script lang="ts"> | ||
export let id: number; | ||
export let name: string; | ||
export let image: string ; | ||
export let audio: string; | ||
let url='/images/'+image; | ||
</script> | ||
|
||
<div class="card cursor-pointer shadow-xl hover:shadow-md p-40"> | ||
<img src={url} alt="{name}" class="w-[80%]"/> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
import type { instrumentCardType } from "$lib/types/types"; | ||
|
||
export const instruments:instrumentCardType[] = [ | ||
{ | ||
id: 1, | ||
name: 'Schlagzeug', | ||
audio:'', | ||
image:'001-schlagzeug.png' | ||
}, | ||
{ | ||
id: 2, | ||
name: 'Gitarre', | ||
audio:'', | ||
image:'002-spanische-gitarre.png' | ||
}, | ||
{ | ||
id: 3, | ||
name: 'Bass', | ||
audio:'', | ||
image:'003-elektrische-gitarre.png' | ||
}, | ||
{ | ||
id: 4, | ||
name: 'Synthesizer', | ||
audio:'', | ||
image:'004-elektrisches-klavier.png' | ||
}, | ||
{ | ||
id: 5, | ||
name: 'Piano', | ||
audio:'', | ||
image:'005-tastatur.png' | ||
}, | ||
{ | ||
id: 6, | ||
name: 'Trompete', | ||
audio:'', | ||
image:'006-trompete.png' | ||
}, | ||
{ | ||
id: 7, | ||
name: 'Violine', | ||
audio:'', | ||
image:'007-violine.png' | ||
}, | ||
{ | ||
id: 8, | ||
name: 'Saxophone', | ||
audio:'', | ||
image:'008-saxophon.png' | ||
}, | ||
{ | ||
id: 9, | ||
name: 'Mikrophone', | ||
audio:'', | ||
image:'009-karaoke.png' | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
export interface instrumentCardType { | ||
id: number; | ||
name: string; | ||
image: string; | ||
audio: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,28 @@ | ||
<script> | ||
import { AppShell } from '@skeletonlabs/skeleton'; | ||
import { AppBar } from '@skeletonlabs/skeleton'; | ||
import Logo from "$lib/assets/logo.png" | ||
import '../app.postcss'; | ||
</script> | ||
|
||
<slot /> | ||
<AppShell> | ||
<svelte:fragment slot="header"> | ||
<AppBar gridColumns="grid-cols-3" slotDefault="place-self-center" slotTrail="place-content-end"> | ||
<svelte:fragment slot="lead"> | ||
<img src={Logo} alt="download icon" class="w-24"/> | ||
</svelte:fragment> | ||
|
||
<h1 class="h1">Instrumenten Spiel </h1> | ||
</AppBar> | ||
</svelte:fragment> | ||
|
||
<!-- <svelte:fragment slot="sidebarLeft">Sidebar Left</svelte:fragment> --> | ||
<!-- (sidebarRight) --> | ||
<!-- (pageHeader) --> | ||
<!-- Router Slot --> | ||
<slot /> | ||
<!-- ---- / ---- --> | ||
<!-- <svelte:fragment slot="pageFooter">Page Footer</svelte:fragment> --> | ||
<!-- (footer) --> | ||
</AppShell> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,17 @@ | ||
<div class="card"> | ||
<h1 class="h1">Welcome to SvelteKit</h1> | ||
<p>Visit <a href="https://kit.svelte.dev">kit.svelte.dev</a> to read the documentation</p> | ||
<script> | ||
import InstrumentCard from "$lib/components/InstrumentCard.svelte"; | ||
import { instruments } from "$lib/data/data" | ||
</script> | ||
|
||
|
||
<div class="grid grid-cols-5 self-center gap-14 p-5 my-5"> | ||
|
||
{#each instruments as instrument} | ||
<InstrumentCard {...instrument}/> | ||
{/each} | ||
|
||
</div> | ||
|
||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.