-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(HelloWorld): update design and add footer
- Loading branch information
1 parent
b9b9709
commit 08a2e1d
Showing
11 changed files
with
414 additions
and
132 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,8 @@ | |
<v-main> | ||
<HelloWorld /> | ||
</v-main> | ||
|
||
<AppFooter /> | ||
</v-app> | ||
</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,79 @@ | ||
<template> | ||
<v-footer height="40" app> | ||
<a | ||
v-for="item in items" | ||
:key="item.title" | ||
:href="item.href" | ||
:title="item.title" | ||
class="d-inline-block mx-2 social-link" | ||
rel="noopener noreferrer" | ||
target="_blank" | ||
> | ||
<v-icon | ||
:icon="item.icon" | ||
:size="item.icon === '$vuetify' ? 24 : 16" | ||
/> | ||
</a> | ||
|
||
<div | ||
class="text-caption text-disabled" | ||
style="position: absolute; right: 16px;" | ||
> | ||
© 2016-{{ (new Date()).getFullYear() }} <span class="d-none d-sm-inline-block">Vuetify, LLC</span> | ||
— | ||
<a | ||
class="text-decoration-none on-surface" | ||
href="https://vuetifyjs.com/about/licensing/" | ||
rel="noopener noreferrer" | ||
target="_blank" | ||
> | ||
MIT License | ||
</a> | ||
</div> | ||
</v-footer> | ||
</template> | ||
|
||
<script setup> | ||
const items = [ | ||
{ | ||
title: 'Vuetify Documentation', | ||
icon: `$vuetify`, | ||
href: 'https://vuetifyjs.com/', | ||
}, | ||
{ | ||
title: 'Vuetify Support', | ||
icon: 'mdi-shield-star-outline', | ||
href: 'https://support.vuetifyjs.com/', | ||
}, | ||
{ | ||
title: 'Vuetify X', | ||
icon: `svg:M2.04875 3.00002L9.77052 13.3248L1.99998 21.7192H3.74882L10.5519 14.3697L16.0486 21.7192H22L13.8437 10.8137L21.0765 3.00002H19.3277L13.0624 9.76874L8.0001 3.00002H2.04875ZM4.62054 4.28821H7.35461L19.4278 20.4308H16.6937L4.62054 4.28821Z`, | ||
href: 'https://x.com/vuetifyjs', | ||
}, | ||
{ | ||
title: 'Vuetify GitHub', | ||
icon: `mdi-github`, | ||
href: 'https://github.com/vuetifyjs/vuetify', | ||
}, | ||
{ | ||
title: 'Vuetify Discord', | ||
icon: `mdi-discord`, | ||
href: 'https://community.vuetifyjs.com/', | ||
}, | ||
{ | ||
title: 'Vuetify Reddit', | ||
icon: `mdi-reddit`, | ||
href: 'https://reddit.com/r/vuetifyjs', | ||
}, | ||
] | ||
</script> | ||
|
||
<style scoped lang="sass"> | ||
.social-link :deep(.v-icon) | ||
color: rgba(var(--v-theme-on-background), var(--v-disabled-opacity)) | ||
text-decoration: none | ||
transition: .2s ease-in-out | ||
&:hover | ||
color: rgba(25, 118, 210, 1) | ||
</style> |
162 changes: 122 additions & 40 deletions
162
template/javascript/default/src/components/HelloWorld.vue
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 |
---|---|---|
@@ -1,12 +1,13 @@ | ||
<template> | ||
<v-app> | ||
<DefaultBar /> | ||
<v-main> | ||
<router-view /> | ||
</v-main> | ||
|
||
<DefaultView /> | ||
<AppFooter /> | ||
</v-app> | ||
</template> | ||
|
||
<script setup> | ||
import DefaultBar from './default/AppBar.vue' | ||
import DefaultView from './default/View.vue' | ||
// | ||
</script> |
13 changes: 0 additions & 13 deletions
13
template/javascript/essentials/src/layouts/default/AppBar.vue
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.