website/root-vue/src/App.vue

55 lines
934 B
Vue
Raw Normal View History

2023-04-21 12:21:28 -07:00
<script setup lang="ts">
import HelloWorld from './components/HelloWorld.vue'
import TopBar from './components/TopBar.vue';
2023-04-21 21:26:08 -07:00
import Video from './components/Video.vue'
// function alert() {
// console.log("lol hi")
// }
2023-04-21 12:21:28 -07:00
</script>
<template>
2023-05-23 15:58:23 -07:00
<!-- <TopBar /> -->
2023-04-21 12:21:28 -07:00
<header>
<img alt="my pfp, made with @greyfeu's picrew" class="logo" src="./assets/pfp.png" width="150" height="150" />
2023-04-21 12:21:28 -07:00
<div class="wrapper">
2023-04-21 21:26:08 -07:00
<HelloWorld msg="SadlyNotSappho" />
2023-04-21 12:21:28 -07:00
</div>
</header>
<main>
2023-04-21 21:26:08 -07:00
<Video />
2023-04-21 12:21:28 -07:00
</main>
</template>
<style scoped>
header {
line-height: 1.5;
}
.logo {
display: block;
margin: 0 auto 2rem;
clip-path: circle();
}
@media (min-width: 1024px) {
header {
display: flex;
place-items: center;
padding-right: calc(var(--section-gap) / 2);
}
.logo {
margin: 0 2rem 0 0;
}
header .wrapper {
display: flex;
place-items: flex-start;
flex-wrap: wrap;
}
}
</style>