-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from ChavaSobreyra/chava
i18n Hookup, Homepage, Component Doc Component
- Loading branch information
1 parent
44600ee
commit 32e3c60
Showing
31 changed files
with
737 additions
and
55 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
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 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,24 +1,98 @@ | ||
<style lang="stylus" scoped> | ||
footer | ||
display: block // todo: default of display flex causing issues | ||
a | ||
text-decoration none | ||
color #cfd8dc | ||
&:hover | ||
color white | ||
cursor pointer | ||
background #37424b | ||
color white | ||
.flex | ||
padding 2.5em 3em | ||
&.vuetify | ||
background #303c42 | ||
h5 | ||
font-size 21px | ||
img | ||
height 32px | ||
margin-right 10px | ||
vertical-align middle | ||
span | ||
position relative | ||
top 3px | ||
h5 | ||
color white | ||
font-size 16px | ||
ul | ||
list-style none | ||
margin 0 | ||
padding 0 | ||
li | ||
a | ||
font-size 16px | ||
display block | ||
padding: 0 0 .66em | ||
.icon.fa | ||
font-size 18px | ||
width 25px | ||
</style> | ||
|
||
|
||
<template lang="pug"> | ||
v-footer.white--text | ||
v-layout(row wrap).ma-0 | ||
v-flex(xs12 sm4).pa-5.blue-grey.darken-2 | ||
v-flex(xs12 sm8).blue-grey.darken-3 | ||
v-layout | ||
v-flex( | ||
xs12 sm4 | ||
v-for="(column, i) in columns" | ||
:key="i" | ||
) | ||
v-flex(xs6 md3).pa-5.blue-grey.darken-2.vuetify | ||
h5 | ||
img(src="/static/doc-images/logo.svg") | ||
span Vuetify | ||
ul | ||
li | ||
a(href="https://vuetifyjs.com/vuetify/quick-start") | ||
span.hidden-sm-only Documentation | ||
span.hidden-md-and-up.hidden-xs-only Docs | ||
li | ||
a(href="https:/vuetifyjs/vuetify" target="_blank") <v-icon dark class="hidden-sm-only">fa-github</v-icon> GitHub | ||
li | ||
a(href="https://twitter.com/vuetifyjs" target="_blank") <v-icon dark class="hidden-sm-only">fa-twitter</v-icon> Twitter | ||
li | ||
a(href="https://www.facebook.com/vuetifyjs" target="_blank") <v-icon dark class="hidden-sm-only">fa-facebook</v-icon> Facebook | ||
|
||
v-flex(xs6 md3).blue-grey.darken-3 | ||
h5 Donate | ||
ul | ||
li | ||
a(href="https://www.patreon.com/vuetify" target="_blank") Patreon | ||
li | ||
a(href="https://www.paypal.me/vuetify" target="_blank") PayPal | ||
|
||
v-flex(xs6 md3).blue-grey.darken-3 | ||
h5 Sponsors | ||
ul | ||
li | ||
a(href="https://www.browserstack.com/" target="_blank") BrowserStack | ||
li | ||
a(href="https://www.cloudflare.com/" target="_blank") CloudFlare | ||
|
||
v-flex(xs6 md3).blue-grey.darken-3 | ||
h5 Links | ||
ul | ||
li | ||
a( href="https://vuejs.org/" target="_blank") Vue.js | ||
li | ||
a( href="https://material.io/guidelines/" target="_blank") Material Design | ||
|
||
v-flex(xs12).blue-grey.darken-4.text-xs-center.pa-3 | ||
span © {{ new Date().getFullYear() }} | ||
span © {{ new Date().getFullYear() }} Vuetify LLC. Distributed under the | ||
a( | ||
href="https://opensource.org/licenses/MIT" | ||
target="_blank" | ||
) MIT License. | ||
</template> | ||
|
||
<script> | ||
export default { | ||
name: 'home-footer', | ||
data: () => ({ | ||
columns: [] | ||
}) | ||
name: 'home-footer' | ||
} | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,54 @@ | ||
{} | ||
{ | ||
"home": { | ||
"announcementBanner": "Aww yisss, this is an exciting announcement! Or maybe its an advertisement!", | ||
"heading1": "Supercharge your development with", | ||
"heading1cont": "Vuetify Material Component Framework", | ||
"getStarted": "Get Started", | ||
"features": [ | ||
{ | ||
"img": "/static/doc-images/feature1.svg", | ||
"title": "Ready-Made Project Scaffolding", | ||
"text": "Vuetify comes ready to go with 5 pre-made vue-cli templates. From simple html to full-blown SSR you are ready to go in minutes." | ||
}, | ||
{ | ||
"img": "/static/doc-images/feature2.svg", | ||
"title": "Semantic Material Components", | ||
"text": "Be prepared for an armada of specialized components at your disposal. With over 80 in total, there is a solution for any application." | ||
}, | ||
{ | ||
"img": "/static/doc-images/feature3.svg", | ||
"title": "Vibrant Community", | ||
"text": "When you run into a roadblock, you need assistance right away. Vuetify offers chat support in our growing community on Discord server." | ||
} | ||
], | ||
"checkFeaturesTitle": "All the Tools You Need", | ||
"checkFeaturesTitleCtd": "To Build Incredible User Interfaces", | ||
"checkFeatures": [ | ||
"Semantic Helper Components", | ||
"SSR and PWA Support", | ||
"8 Vue-CLI Templates", | ||
"Community Chat Support" | ||
], | ||
"checkFeaturesCtd": [ | ||
"80+ Material Design Components", | ||
"Transition System Component", | ||
"Blazing Fast", | ||
"A La Carte Components" | ||
], | ||
"letterFromAuthor": [ | ||
"Hey there,", | ||
"I know choosing a UI framework can be a daunting task -- there are so many options to choose from and every one of them claims that they are the best. So you have to decide for yourself: what are the metrics for success?", | ||
"This was me almost a year ago. There were plenty of UI toolkits to choose from, but none of them had everything that I needed, and that is why I started working on Vuetify.", | ||
"I am extremely humbled that you have considered using Vuetify as your next UI Framework. A lot of care has went into crafting the perfect setup for taking any idea from conception to production. I look forward to you joining the Vuetify community and am excited to see what incredible interfaces you create!" | ||
], | ||
"authorOfVuetify": "Author of Vuetify", | ||
"support": { | ||
"hasVuetifyHelped": "Has Vuetify helped you create an amazing application?", | ||
"showYourSupport": "Show your support for Vuetify by", | ||
"becomingAPatron": "becoming a patron" | ||
}, | ||
"becomeSponsor": "Become a Sponsor", | ||
"proudlySponsoredBy": "Proudly sponsored by", | ||
"callout": "Supercharge your development with the power of Vue and Material Design" | ||
} | ||
} |
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,8 +1,14 @@ | ||
import Vue from 'vue' | ||
import VueI18n from 'vue-i18n' | ||
import en from'./en.json' | ||
|
||
Vue.use(VueI18n) | ||
|
||
export function createLanguage () { | ||
return {} | ||
} | ||
export function createI18n () { | ||
return new VueI18n({ | ||
locale: 'en-US', | ||
messages: { | ||
'en-US': en | ||
} | ||
}) | ||
} |
Oops, something went wrong.