-
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.
Merge pull request #3 from BeatBuzzer/feat/home-view
Feat/home view
- Loading branch information
Showing
6 changed files
with
84 additions
and
20 deletions.
There are no files selected for viewing
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,35 @@ | ||
<script setup lang="ts"> | ||
</script> | ||
|
||
<template> | ||
<div class="flex flex-col h-screen max-h-screen items-center"> | ||
<!-- Wrapper div für die Breiten-Kontrolle --> | ||
<div class="w-full xl:w-1/2 2xl:w-1/4 flex flex-col h-full"> | ||
|
||
<!-- Header --> | ||
<div class="basis-24 border rounded-b-3xl"> | ||
<div class="flex justify-around items-center h-full"> | ||
<slot name="header"/> | ||
</div> | ||
</div> | ||
|
||
<!-- Content --> | ||
<div class="flex-1"> | ||
<slot name="content"/> | ||
</div> | ||
|
||
<!-- Footer --> | ||
<div class="basis-24 border rounded-t-3xl"> | ||
<div class="flex justify-around items-center h-full"> | ||
<slot name="footer"/> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
</div> | ||
</template> | ||
|
||
<style scoped> | ||
</style> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
<template> | ||
<div> | ||
<slot/> | ||
<div class="flex justify-center"> | ||
<div class="w-screen"> | ||
<slot/> | ||
</div> | ||
</div> | ||
</template> |
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 |
---|---|---|
|
@@ -17,5 +17,6 @@ export default defineNuxtConfig({ | |
}, | ||
devServer: { | ||
host: '0.0.0.0' | ||
} | ||
}, | ||
ssr: false | ||
}) |
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,15 +1,34 @@ | ||
<script setup lang="ts"> | ||
import HeaderFooterView from "~/layouts/HeaderFooterView.vue"; | ||
useSeoMeta({ | ||
title: "BeatBuzzer", | ||
description: "A fun music quiz game" | ||
description: "A fun music quiz game", | ||
viewport: "width=device-width, initial-scale=1.0", | ||
}) | ||
const session = useSupabaseSession() | ||
</script> | ||
|
||
<template> | ||
<div class="h-screen bg-gradient-to-b from-indigo-500 via-purple-500 to-pink-500"> | ||
|
||
<div class="bg-gradient-to-b from-indigo-500 via-purple-500 to-pink-500"> | ||
<HeaderFooterView> | ||
<template #header> | ||
<div> | ||
1A | ||
</div> | ||
<div> | ||
2B | ||
</div> | ||
<div> | ||
3C | ||
</div> | ||
</template> | ||
<template #footer> | ||
<div class="text-4xl">A</div> | ||
<div class="text-4xl">B</div> | ||
<div class="text-4xl">C</div> | ||
</template> | ||
</HeaderFooterView> | ||
</div> | ||
</template> |
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