add more changes

This commit is contained in:
timothypidashev
2021-07-15 04:04:12 +00:00
parent f72058988c
commit 2c256b62e1
3 changed files with 108 additions and 40 deletions

View File

@@ -1,37 +0,0 @@
<template>
<b-navbar toggleable="lg" type="dark" variant="dark" class="w-100">
<b-navbar-brand to="/">
<b-img
class="d-inline-block align-top"
src="~assets/logo.svg"
alt="Logo"
width="30"
height="30"
/>
<span class="font-weight-bold"></span>
</b-navbar-brand>
<b-navbar-toggle target="nav-collapse"></b-navbar-toggle>
<b-collapse id="nav-collapse" is-nav>
<b-navbar-nav>
<b-nav-item v-for="(item, index) in menu" :key="index" :href="item.to">
{{ item.label }}
</b-nav-item>
</b-navbar-nav>
</b-collapse>
</b-navbar>
</template>
<script>
export default {
data() {
return {
menu: [
{ to: "#about", label: "About" },
{ to: "#contact", label: "Contact" }
]
};
}
};
</script>