Skip to content

Commit

Permalink
Change header appearance slightly
Browse files Browse the repository at this point in the history
  • Loading branch information
jyfmidi committed May 1, 2022
1 parent baa9a94 commit e9effe6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vuetify 3 Vite Preview</title>
<title>Cyber Cookbook</title>
</head>

<body>
Expand Down
15 changes: 9 additions & 6 deletions src/components/HeaderBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
temporary
position="right"
>
<v-list density="compact">
<v-list>
<v-list-subheader>Menu</v-list-subheader>
<v-list-item
v-for="(item, i) in sideBarItems"
Expand All @@ -22,7 +22,9 @@
</v-navigation-drawer>

<v-app-bar prominent>
<v-toolbar-title>Cyber Cookbook</v-toolbar-title>
<v-btn>
<v-app-bar-title>Cyber Cookbook</v-app-bar-title>
</v-btn>
<v-spacer />
<v-btn icon="mdi-magnify" />

Expand All @@ -33,12 +35,13 @@
<v-btn
variant="outlined"
color="primary"
class="ml-4 mr-4"
>
Start!
Connect!
</v-btn>

<v-btn
icon="mdi-earth"
icon="mdi-cookie-plus"
@click.stop="drawer = !drawer"
/>
</v-app-bar>
Expand All @@ -53,8 +56,8 @@ export default {
setup() {
let drawer = ref(false);
let sideBarItems = [
{ text: "My Accound", icon: "mdi-account" },
{ text: "Recipes", icon: "mdi-store" },
{ text: "Add Ingredient", icon: "mdi-cookie-plus" },
{ text: "Add Recipe", icon: "mdi-text-box-plus" },
];
return { drawer, sideBarItems };
Expand Down

0 comments on commit e9effe6

Please sign in to comment.