feat: core structure of home page with intro and history sections

This commit is contained in:
jezzahehn 2025-05-11 22:07:10 -04:00
parent 3aea00e798
commit 0d98f11e21
7 changed files with 77 additions and 65 deletions

View file

@ -1,31 +1,34 @@
<script setup lang="ts">
import HelloWorld from './components/HelloWorld.vue'
// import SideBar from './components/organisms/SideBar.vue'
import './assets/style.scss'
import 'bulma/css/bulma.css'
</script>
<template>
<div class="min-h-screen flex flex-col" style="gap: 4rem;"><!-- Main application wrapper -->
<!-- <SideBar /> -->
<div>
<a href="https://vite.dev" target="_blank">
<img src="/vite.svg" class="logo" alt="Vite logo" />
</a>
<a href="https://vuejs.org/" target="_blank">
<img src="./assets/vue.svg" class="logo" alt="Vue logo" />
</a>
<h1 class="title has-text-black p-6">BRÅTULA VIOSSA.NET MÅDE</h1>
<PaddingWrapper v-for="(sectionName, index) in sectionList" :key="index">
<component :is="sectionName" />
</PaddingWrapper>
</div>
<HelloWorld msg="Vite + Vue = bråtula!" />
</template>
<style scoped>
.logo {
height: 10em;
padding: 1.5em;
will-change: filter;
transition: filter 300ms;
<script lang="ts">
// import SideBar from './components/organisms/SideBar.vue'
import PaddingWrapper from './components/molecules/PaddingWrapper.vue'
import IntroSection from './components/organisms/IntroSection.vue'
import HistorySection from './components/organisms/HistorySection.vue'
import './assets/style.scss'
import 'bulma/css/bulma.css'
export default {
name: 'app',
components: {
PaddingWrapper,
IntroSection,
HistorySection
},
data() {
return {
sectionList: ['IntroSection', 'HistorySection']
}
.logo:hover {
filter: drop-shadow(0 0 2em #000000aa);
}
</style>
}
</script>

BIN
src/assets/flakka.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

View file

@ -1,6 +1,6 @@
@import 'bulma/css/bulma.css';
$viossa-blue: #00baff;
$viossa-blue: #65B7F9;
body {
background-color: $viossa-blue;

View file

@ -1,38 +0,0 @@
<script setup lang="ts">
import { ref } from 'vue'
import 'bulma/css/bulma.css'
defineProps<{ msg: string }>()
const count = ref(0)
</script>
<template>
<h1>{{ msg }}</h1>
<div class="card">
<button type="button" @click="count++">låsku: {{ count }}</button>
</div>
<p>
Check out
<a href="https://vuejs.org/guide/quick-start.html#local" target="_blank"
>create-vue</a
>, the official Vue + Vite starter
</p>
<p>
Learn more about IDE Support for Vue in the
<a
href="https://vuejs.org/guide/scaling-up/tooling.html#ide-support"
target="_blank"
>Vue Docs Scaling up Guide</a
>.
</p>
<p class="read-the-docs">Click on the Vite and Vue logos to learn more</p>
</template>
<style scoped>
.read-the-docs {
color: #888;
}
</style>

View file

@ -0,0 +1,11 @@
<template>
<div class="box my-6">
<slot />
</div>
</template>
<script lang="ts">
export default {
name: 'PaddingWrapper'
}
</script>

View file

@ -0,0 +1,18 @@
<template>
<div class="columns is-vcentered">
<!-- Text Column (left 3/4) -->
<div class="column">
<h2 class="title is-4">Viossa's History</h2>
<p class="has-text-white">Knock over christmas tree... If it fits i sits, jump five feet high and sideways when a shadow moves, rub face on owner and sometimes switches in french and say "miaou" just because well why not. Good morning sunshine, pet a cat, rub its belly, endure blood and agony, quietly weep, keep rubbing belly. Chase ball of string stares at human while pushing stuff off a table ooooh feather moving feather! jump up to edge of bath, fall in then scramble in a mad panic to get out slap kitten brother with paw for chase mice. Have a lot of grump in yourself because you can't forget to be grumpy and not be like king grumpy cat mmmmmmmmmeeeeeeeeooooooooowwwwwwww but cough furball into food bowl then scratch owner for a new one. Scream at teh bath open the door, let me out, let me out, let me-out, let me-aow, let meaow, meaow!</p>
</div>
<!-- Image Column (right 1/4) -->
<div class="column is-one-quarter">
<figure class="image">
<img src="/src/assets/flakka.png" alt="Flag of the Viossa Language">
</figure>
</div>
</div>
</template>

View file

@ -0,0 +1,18 @@
<template>
<div class="columns is-vcentered">
<!-- Image Column (left 1/4) -->
<div class="column is-one-quarter">
<figure class="image">
<img src="/src/assets/flakka.png" alt="Flag of the Viossa Language">
</figure>
</div>
<!-- Text Column (right 3/4) -->
<div class="column">
<h2 class="title is-4">What is Viossa?</h2>
<p class="has-text-white">Cat ipsum dolor sit amet, be superior eats owners hair then claws head gimme attention gimme attention gimme attention gimme attention gimme attention gimme attention just kidding i don't want it anymore meow bye. Avoid the new toy and just play with the box it came in floof tum, tickle bum, jellybean footies curly toes curl up and sleep on the freshly laundered towels hiss and stare at nothing then run suddenly away. Need to check on human, have not seen in an hour might be dead oh look, human is alive, hiss at human, feed me attack the dog then pretend like nothing happened jump on human and sleep on her all night long be long in the bed, purr in the morning and then give a bite to every human around for not waking up request food, purr loud scratch the walls, the floor, the windows, the humans eat prawns daintily with a claw then lick paws clean wash down prawns with a lap of carnation milk then retire to the warmest spot on the couch to claw at the fabric before taking a catnap steal raw zucchini off kitchen counter...</p>
</div>
</div>
</template>