Optimized Styling added Dummy
This commit is contained in:
parent
3a74cf4759
commit
c69c74b5d3
3 changed files with 25 additions and 18 deletions
|
@ -9,17 +9,18 @@ const isLoggedIn = true
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<header class="sticky top-0 z-50 bg-black w-full">
|
<div class="sticky top-0">
|
||||||
|
<header>
|
||||||
<HeaderNav :isLoggedIn="isLoggedIn" :isTeacher="isTeacher">
|
<HeaderNav :isLoggedIn="isLoggedIn" :isTeacher="isTeacher">
|
||||||
<template #left-icon>
|
<template #left-icon>
|
||||||
<BoltIcon class="icon" />
|
<BoltIcon class="icon" />
|
||||||
|
<!--Hier dann ein richtiges Logo rein-->
|
||||||
</template>
|
</template>
|
||||||
</HeaderNav>
|
</HeaderNav>
|
||||||
</header>
|
</header>
|
||||||
|
</div>
|
||||||
<SideBar />
|
<SideBar />
|
||||||
<div id="app" class="flex flex-col min-h-screen overflow-x-hidden">
|
<div>
|
||||||
<main class="flex-grow p-4">
|
|
||||||
<RouterView />
|
<RouterView />
|
||||||
</main>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -1,10 +1,7 @@
|
||||||
@import './base.css';
|
@import './base.css';
|
||||||
|
|
||||||
#app {
|
#app {
|
||||||
max-width: 1280px;
|
margin-left: 325px;
|
||||||
margin: 0 auto;
|
|
||||||
padding: 2rem;
|
|
||||||
font-weight: normal;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
a,
|
a,
|
||||||
|
|
|
@ -2,9 +2,16 @@
|
||||||
import Drawer from 'primevue/drawer'
|
import Drawer from 'primevue/drawer'
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
|
|
||||||
var elements = ['doulrion', 'Anna', 'Tom']
|
var elements = [
|
||||||
|
{ name: 'Max', id: 25 },
|
||||||
|
{ name: 'Anna', id: 30 },
|
||||||
|
{ name: 'Tom', id: 35 },
|
||||||
|
]
|
||||||
var visible = ref(true)
|
var visible = ref(true)
|
||||||
var closeIcon = ref(false)
|
var closeIcon = ref(false)
|
||||||
|
var counter = ref(0)
|
||||||
|
|
||||||
|
function doShit(input: Number) {}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
@ -13,12 +20,14 @@ var closeIcon = ref(false)
|
||||||
:showCloseIcon="closeIcon"
|
:showCloseIcon="closeIcon"
|
||||||
:modal="false"
|
:modal="false"
|
||||||
:dismissable="false"
|
:dismissable="false"
|
||||||
header=""
|
v-on:hide="visible = true"
|
||||||
|
header="Sidebar"
|
||||||
>
|
>
|
||||||
<div>
|
<div>
|
||||||
|
<p>{{ counter }}</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li v-for="item in elements">
|
<li v-for="item in elements">
|
||||||
<a url="twitch.tv/{{ item }}">{{ item }}</a>
|
<a href="/about" @click="doShit(item.id)">{{ item.name }}</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Reference in a new issue