1 | <template>
|
2 | <div class="nav displayFlex marginTop30 marginBottom35 fontSize14">
|
3 | <router-link to="/contact" class="link marginRight20">
|
4 | Contact Form
|
5 | </router-link>
|
6 | <router-link to="/patient" class="link">
|
7 | Patient Form
|
8 | </router-link>
|
9 | </div>
|
10 | </template>
|
11 |
|
12 | <script>
|
13 | export default {
|
14 | name: 'FormNav'
|
15 | }
|
16 | </script>
|
17 |
|
18 | <style lang="scss">
|
19 | .nav .link {
|
20 | background-color: rgba(255, 255, 255, .1);
|
21 | border-radius: 25px;
|
22 | padding: 8px 16px;
|
23 | transition: all 0.5s ease-in-out;
|
24 |
|
25 | &:hover {
|
26 | background-color: rgba(255, 255, 255, .2);
|
27 | }
|
28 |
|
29 | &.router-link-active {
|
30 | color: #fff;
|
31 | background-color: rgba(255, 255, 255, .2);
|
32 | }
|
33 | }
|
34 | </style>
|