Skip to content

Commit 4eb7f83

Browse files
authored
Merge pull request #291 from ComSSA/feat/new-website-banner
Update with note
2 parents ed1090a + 6939676 commit 4eb7f83

2 files changed

Lines changed: 37 additions & 4 deletions

File tree

components/Banner.vue

Lines changed: 31 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,34 @@
11
<template>
2-
<div class="w-100" style="position: fixed; background: #4559A7; height: 20px; z-index: 1;">
3-
<a href="https://new.comssa.org.au" style="color: white; text-align: center; display: block; padding: 2px 0; font-size: 12px; font-weight: 400;">
4-
Click here to see our new website!</a>
2+
<div class="w-100 banner">
3+
<a href="https://new.comssa.org.au">
4+
<span>Click here to see our new website!</span>
5+
<span>Note: WIP, please give us feedback!</span>
6+
</a>
57
</div>
68
</template>
9+
10+
<style>
11+
.banner {
12+
position: fixed;
13+
background: #4559A7;
14+
height: 40px;
15+
z-index: 1;
16+
}
17+
.banner a {
18+
color: white;
19+
text-align: center;
20+
display: flex;
21+
padding: 2px 0;
22+
font-size: 12px;
23+
font-weight: 400;
24+
flex-direction: column;
25+
justify-content: center;
26+
}
27+
28+
@media (min-width: 576px) {
29+
.banner a {
30+
flex-direction: row;
31+
gap: 10px;
32+
}
33+
}
34+
</style>

components/NavBar.vue

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,11 @@ export default {
7070

7171
<style scoped>
7272
.navbar {
73-
top: 20px;
73+
top: 40px;
74+
}
75+
@media (min-width: 576px) {
76+
.navbar {
77+
top: 20px;
78+
}
7479
}
7580
</style>

0 commit comments

Comments
 (0)