-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
181 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<template> | ||
<div> | ||
<h1 class="mt-4">Bite-Sized Learning for Busy Devs</h1> | ||
<h3 class="my-4">Learn new skills in 2-min long email lessons, get certified, get a better job.</h3> | ||
</div> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<template> | ||
<div class="w-full mb-4"> | ||
<Menubar :model="items"> | ||
<template #start> | ||
<img alt="Bite-sized Learning Logo" class="h-12 w-12" src="@/assets/logo.svg" /> | ||
</template> | ||
<template #item="{ item, props, hasSubmenu }"> | ||
<router-link v-if="item.route" v-slot="{ href, navigate }" :to="item.route" custom> | ||
<a v-ripple :href="href" v-bind="props.action" @click="navigate"> | ||
<span :class="item.icon" /> | ||
<span class="ml-2">{{ item.label }}</span> | ||
</a> | ||
</router-link> | ||
<a v-else v-ripple :href="item.url" :target="item.target" v-bind="props.action"> | ||
<span :class="item.icon" /> | ||
<span class="ml-2">{{ item.label }}</span> | ||
<span v-if="hasSubmenu" class="pi pi-fw pi-angle-down ml-2" /> | ||
</a> | ||
</template> | ||
<template #end> | ||
<div class="flex items-center gap-2"> | ||
<InputText placeholder="Search" type="text" class="w-32 sm:w-auto" /> | ||
<Avatar image="https://primefaces.org/cdn/primevue/images/avatar/amyelsner.png" shape="circle" /> | ||
</div> | ||
</template> | ||
</Menubar> | ||
</div> | ||
</template> | ||
|
||
<script setup> | ||
import { ref } from "vue"; | ||
import Menubar from 'primevue/menubar'; | ||
const items = ref([ | ||
{ | ||
label: 'Home', | ||
icon: 'pi pi-home', | ||
route: '/' | ||
}, | ||
{ | ||
label: 'About', | ||
icon: 'pi pi-star', | ||
route: '/about' | ||
}, | ||
{ | ||
label: 'Contact', | ||
icon: 'pi pi-envelope', | ||
badge: 3, | ||
url: 'mailto:max@onebro.me' | ||
} | ||
]); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters