|
| 1 | +<!-- |
| 2 | + SecondaryNavbar |
| 3 | + -- |
| 4 | + This component is static on the top of the About and Sponsorship pages. It links to |
| 5 | + each one and the home `/` page. |
| 6 | +--> |
| 7 | + |
| 8 | +<template> |
| 9 | + <v-app-bar app color="rgba(0,0,51,0.9)" elevation="0" width="100vw"> |
| 10 | + <!-- Large screen display --> |
| 11 | + <v-container class="hidden-sm-and-down"> |
| 12 | + <v-row class="d-flex"> |
| 13 | + <v-col class="d-flex ps-10 align-center justify-start"> |
| 14 | + <RouterLink to="/" style="text-decoration: none;" v-on:click.native="showMenu = false"> |
| 15 | + <v-img contain max-height="60px" max-width="100px" src="@/assets/csesocwhiteblue.png" /> |
| 16 | + </RouterLink> |
| 17 | + </v-col> |
| 18 | + <v-col class="d-flex align-center justify-end pr-10"> |
| 19 | + <v-btn text to='/about' class="mr-2" color="white">ABOUT US</v-btn> |
| 20 | + <v-btn text to="/sponsors" class="ms-2" color="white">SPONSORSHIP</v-btn> |
| 21 | + </v-col> |
| 22 | + </v-row> |
| 23 | + </v-container> |
| 24 | + |
| 25 | + <!-- Smaller screen container --> |
| 26 | + <v-container class="hidden-md-and-up"> |
| 27 | + <v-row class="d-flex justify-space-between"> |
| 28 | + <v-col class="d-flex align-center"> |
| 29 | + <RouterLink to="/" style="text-decoration: none;" v-on:click.native="showMenu = false"> |
| 30 | + <v-img contain max-height="40px" max-width="100px" src="@/assets/csesocwhiteblue.png" /> |
| 31 | + </RouterLink> |
| 32 | + </v-col> |
| 33 | + <v-col class="d-flex justify-end"> |
| 34 | + <v-menu bottom left> |
| 35 | + <template v-slot:activator="{ on, attrs }"> |
| 36 | + <v-btn dark icon v-bind="attrs" v-on="on"> |
| 37 | + <v-icon>mdi-menu</v-icon> |
| 38 | + </v-btn> |
| 39 | + </template> |
| 40 | + <v-list> |
| 41 | + <v-list-item> |
| 42 | + <RouterLink to="/about" style="text-decoration: none; color: black;"> |
| 43 | + About us |
| 44 | + </RouterLink> |
| 45 | + </v-list-item> |
| 46 | + <v-list-item> |
| 47 | + <RouterLink style="text-decoration: none; color: black;" to="/sponsors"> |
| 48 | + Sponsorship |
| 49 | + </RouterLink> |
| 50 | + </v-list-item> |
| 51 | + </v-list> |
| 52 | + </v-menu> |
| 53 | + </v-col> |
| 54 | + </v-row> |
| 55 | + </v-container> |
| 56 | + </v-app-bar> |
| 57 | +</template> |
| 58 | + |
| 59 | +<script type="text/javascript"> |
| 60 | +export default { |
| 61 | + name: 'SecondaryNavbar', |
| 62 | +}; |
| 63 | +</script> |
0 commit comments