Skip to content

Commit

Permalink
Small design update
Browse files Browse the repository at this point in the history
  • Loading branch information
Remzi1993 committed Feb 5, 2025
1 parent e7ba3f2 commit cb2dcb1
Show file tree
Hide file tree
Showing 6 changed files with 60 additions and 45 deletions.
2 changes: 2 additions & 0 deletions src/App.vue
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
<script setup lang="ts">
import Topbar from './components/Topbar.vue'
import NavBar from './components/NavBar.vue'
import FooterComp from './components/FooterComp.vue'
</script>

<template>
<topbar></topbar>
<nav-bar></nav-bar>
<router-view></router-view>
<footer-comp></footer-comp>
Expand Down
3 changes: 0 additions & 3 deletions src/components/FooterComp.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
<script setup lang="ts">
</script>

<template>
<footer class="bg-body-tertiary text-center py-3 d-print-none">
<div class="container">
Expand Down
39 changes: 0 additions & 39 deletions src/components/NavBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,6 @@ onBeforeUnmount(() => {
</script>

<template>
<div class="topbar fixed-top d-print-none">
<div class="container d-flex justify-content-center align-items-center">
<span>Op zoek naar een bijbaan</span>
<router-link class="btn btn-sm btn-success" to="/portfolio">Check mijn portfolio</router-link>
</div>
</div>
<nav class="navbar navbar-expand-md fixed-top bg-body-tertiary d-print-none">
<div class="container">
<router-link class="navbar-brand" to="/">
Expand Down Expand Up @@ -102,32 +96,6 @@ onBeforeUnmount(() => {
</template>

<style lang="scss" scoped>
.topbar {
background-color: #B22222;
color: white;
padding: 5px 0;
z-index: 2;
}
.topbar .container {
display: flex;
justify-content: space-between;
align-items: center;
}
.topbar .container > *:not(:last-child) {
margin-right: 1rem;
}
.topbar .container span {
font-size: 0.8rem;
line-height: 0.8rem;
}
.topbar .container .btn {
font-size: 0.8rem;
}
.navbar {
top: 37px;
}
Expand Down Expand Up @@ -161,11 +129,4 @@ onBeforeUnmount(() => {
padding-bottom: 5px;
}
}
@media (max-width: 575.98px) {
.topbar .container span {
font-size: 0.7rem;
line-height: 0.7rem;
}
}
</style>
15 changes: 15 additions & 0 deletions src/components/NotFound.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@
<script setup lang="ts">
import {useHead} from '@unhead/vue';
useHead({
title: '404 pagina niet gevonden - Remzi Cavdar',
meta: [
{
name: 'description',
content: '404 pagina niet gevonden - Remzi Cavdar'
},
{
name: 'author',
content: 'Remzi Cavdar'
},
]
});
</script>

<template>
Expand Down
3 changes: 0 additions & 3 deletions src/components/Sidebar.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
<script setup lang="ts">
</script>

<template>
<div class="col-lg-3 ms-auto">
<div class="sticky-sidebar">
Expand Down
43 changes: 43 additions & 0 deletions src/components/Topbar.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<template>
<div class="topbar fixed-top d-print-none">
<div class="container d-flex justify-content-center align-items-center">
<span>Op zoek naar een bijbaan vanaf 1 juli 2025</span>
<router-link class="btn btn-sm btn-success" to="/portfolio">Check mijn portfolio</router-link>
</div>
</div>
</template>

<style lang="scss" scoped>
.topbar {
background-color: #B22222;
color: white;
padding: 5px 0;
z-index: 2;
}
.topbar .container {
display: flex;
justify-content: space-between;
align-items: center;
}
.topbar .container > *:not(:last-child) {
margin-right: 1rem;
}
.topbar .container span {
font-size: 0.8rem;
line-height: 0.8rem;
}
.topbar .container .btn {
font-size: 0.8rem;
}
@media (max-width: 575.98px) {
.topbar .container span {
font-size: 0.7rem;
line-height: 0.7rem;
}
}
</style>

0 comments on commit cb2dcb1

Please sign in to comment.