source: ReserveNGo-frontend/src/App.vue@ b09655a

Last change on this file since b09655a was b09655a, checked in by Aleksandarj03 <138524804+Aleksandarj03@…>, 3 months ago

Updated footer

  • Property mode set to 100644
File size: 2.0 KB
Line 
1<script setup>
2//import { RouterLink, RouterView } from 'vue-router'
3import NavBar from './components/Project/Nav_bar_new.vue'
4import Footer_ from '@/components/Project/Footer_.vue'
5
6</script>
7
8<template>
9<!-- <header>
10 <img alt="Vue logo" class="logo" src="@/assets/logo.svg" width="125" height="125" />
11
12 <div class="wrapper">
13 <HelloWorld msg="You did it!" />
14
15 <nav>
16 <RouterLink to="/">Home</RouterLink>
17 <RouterLink to="/about">About</RouterLink>
18 </nav>
19 </div>
20 </header>
21
22 <RouterView />-->
23
24 <div class="wrapper">
25 <NavBar></NavBar>
26 <main>
27 <router-view/>
28 </main>
29 <footer>
30 <div class="container-fluid">
31 <div class="row">
32 <Footer_></Footer_>
33 </div>
34 </div>
35 </footer>
36 </div>
37
38
39
40
41
42
43<!-- <Locale_listing_container></Locale_listing_container>
44 <Locale_listing_container></Locale_listing_container>
45 <Locale_listing_container></Locale_listing_container>-->
46
47
48</template>
49
50<style scoped>
51
52.wrapper {
53 display: flex;
54 flex-direction: column;
55 min-height: 100vh;
56}
57
58main {
59 flex: 1; /*istrazi*/
60}
61footer{
62 background: #8377D1;
63}
64
65template{ background: #FBFFF1;}
66/*header {
67 line-height: 1.5;
68 max-height: 100vh;
69}
70
71.logo {
72 display: block;
73 margin: 0 auto 2rem;
74}
75
76nav {
77 width: 100%;
78 font-size: 12px;
79 text-align: center;
80 margin-top: 2rem;
81}
82
83nav a.router-link-exact-active {
84 color: var(--color-text);
85}
86
87nav a.router-link-exact-active:hover {
88 background-color: transparent;
89}
90
91nav a {
92 display: inline-block;
93 padding: 0 1rem;
94 border-left: 1px solid var(--color-border);
95}
96
97nav a:first-of-type {
98 border: 0;
99}
100
101@media (min-width: 1024px) {
102 header {
103 display: flex;
104 place-items: center;
105 padding-right: calc(var(--section-gap) / 2);
106 }
107
108 .logo {
109 margin: 0 2rem 0 0;
110 }
111
112 header .wrapper {
113 display: flex;
114 place-items: flex-start;
115 flex-wrap: wrap;
116 }
117
118 nav {
119 text-align: left;
120 margin-left: -1rem;
121 font-size: 1rem;
122
123 padding: 1rem 0;
124 margin-top: 1rem;
125 }
126}*/
127</style>
Note: See TracBrowser for help on using the repository browser.