-
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
3 changed files
with
30 additions
and
38 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 |
---|---|---|
@@ -1,42 +1,13 @@ | ||
<script setup> | ||
import { RouterLink, RouterView } from 'vue-router'; | ||
import TheHeader from './components/TheHeader.vue'; | ||
</script> | ||
|
||
<template> | ||
<div class="text-sm lg:text-xl"> | ||
<header class="p-2 w-full flex flex-row justify-between fixed"> | ||
<div> | ||
<RouterLink to="/" class="font-bold">HOME</RouterLink> | ||
</div> | ||
<div> | ||
<nav class="font-bold w-full flex gap-5"> | ||
<RouterLink to="/projects">PROJECTS</RouterLink> | ||
<RouterLink to="/contact">CONTACT</RouterLink> | ||
</nav> | ||
</div> | ||
</header> | ||
</div> | ||
<div class="min-h-screen flex justify-center transition-all padd"> | ||
<TheHeader /> | ||
<div class="min-h-screen flex justify-center transition-all"> | ||
<RouterView /> | ||
</div> | ||
</template> | ||
|
||
<style scoped> | ||
header { | ||
background-color: rgba(57, 62, 70, 0.8); | ||
} | ||
nav { | ||
color: #eeeeee; | ||
} | ||
.padd { | ||
padding-top: 8rem; | ||
} | ||
@media (min-width: 1024px) { | ||
.padd { | ||
padding-top: 16rem; | ||
} | ||
} | ||
</style> | ||
<style></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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<template> | ||
<HeaderItem> | ||
<div class="text-sm lg:text-xl"> | ||
<div class="p-2 w-full flex flex-row justify-between fixed"> | ||
<div> | ||
<RouterLink to="/" class="font-bold">HOME</RouterLink> | ||
</div> | ||
<div> | ||
<nav class="font-bold w-full flex gap-5"> | ||
<RouterLink to="/projects">PROJECTS</RouterLink> | ||
<RouterLink to="/contact">CONTACT</RouterLink> | ||
</nav> | ||
</div> | ||
</div> | ||
</div> | ||
</HeaderItem> | ||
</template> | ||
|
||
<script setup></script> | ||
|
||
<style scoped></style> |