Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* docs: init * refactor: tweaking home page * refactor: finish up homepage * refactor: lots of updates * refactor: more updates * refactor: more massive updates * docs: update alerts * refactor: change transition of locales menu * refactor: more updates * refactor: more updates * refactor: fix home page render mismatch * docs: fix ssr mismatch * refactor: more updates * docs: fix ads * docs: more tweaks * docs: add comparison * docs: updates * docs: add docs mode * docs: add support for dark mode logos * docs: mobile tweaks and more * docs: fix 404s, improve 404 page, improve toc generation feel * docs: add support for breadcrumbs microdata * docs: add support for breadcrumbs microdata * docs: toc clean-up * docs: add layouts * docs: fix ie11 support * docs: partial revert of last commit * docs: change base component implementation * docs: resolve ie11 issues * docs: fix releases & migrations * docs: fix drawer in md on docs * docs: hide second/third ad some scenarios this happens if the user changes the pages too fast * docs: clean-up consulting page * docs(premium): clean up page * docs(ToC): always have 1 heading selected * chore: remove invert on dark theme css cascading breaks examples, don't allow invert toggle on dark * docs: add products to ad card * docs: fix reactivity and add border radius to card * docs: add skeleton loader for pages * docs: improve why-vuetify page * refactor: updates * docs: add router functionality * docs: fix snippets * refactor: fix links, update styles on home page * docs: fix base button * docs(WhyVuetify): fix page structure * docs: update text on why page * refactor: update quick-start and add new browser-support page * docs: add missing meta information * docs: update getting started * docs: add nuxt installation guide * docs: update snippet * docs: lots of updates * docs: update value * docs: more updates * docs: update drawer and 301s * docs: fixes and tweaks * docs: fix enterprise link * docs: lots of updates * docs: final tweaks
- Loading branch information
1 parent
ade8707
commit fa40396
Showing
953 changed files
with
8,472 additions
and
7,519 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
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
<template> | ||
<no-ssr> | ||
<v-card | ||
v-if="activeTemplate" | ||
class="mb-12" | ||
outlined | ||
> | ||
<v-list | ||
class="py-0" | ||
color="transparent" | ||
> | ||
<v-list-item | ||
:href="`${activeTemplate.url}?ref=vuetifyjs.com${activeTemplate.query || ''}`" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
@click="$ga.event($route.path, 'click', 'theme-ad')" | ||
> | ||
<v-list-item-avatar | ||
size="56" | ||
tile | ||
> | ||
<v-img | ||
:alt="`Link to ${activeTemplate.title}`" | ||
:src="activeTemplate.src" | ||
style="border-radius: 4px 0 0 4px" | ||
/> | ||
</v-list-item-avatar> | ||
|
||
<v-list-item-content class="align-self-center"> | ||
<v-list-item-title v-text="activeTemplate.title" /> | ||
|
||
<v-list-item-subtitle v-text="activeTemplate.description" /> | ||
</v-list-item-content> | ||
|
||
<v-list-item-action> | ||
<v-icon class="mb-3">mdi-open-in-new</v-icon> | ||
|
||
<span class="caption text--secondary">ads by Vuetify</span> | ||
</v-list-item-action> | ||
</v-list-item> | ||
</v-list> | ||
</v-card> | ||
</no-ssr> | ||
</template> | ||
|
||
<script> | ||
// Utilities | ||
import { | ||
sync, | ||
} from 'vuex-pathify' | ||
export default { | ||
name: 'AdCard', | ||
props: { | ||
dense: { | ||
type: Boolean, | ||
default: false, | ||
}, | ||
}, | ||
data: () => ({ | ||
products: require('@/data/products'), | ||
}), | ||
computed: { | ||
themes: sync('documentation/templates'), | ||
templates () { | ||
return { | ||
...this.themes, | ||
...this.products, | ||
} | ||
}, | ||
activeTemplate () { | ||
const templates = Object.keys(this.templates) | ||
return this.templates[ | ||
templates[Math.floor(Math.random() * templates.length)] | ||
] | ||
}, | ||
}, | ||
} | ||
</script> |
Oops, something went wrong.