</div>
</template>
-<script>
+<script setup>
import HomeSponsorsGroup from './HomeSponsorsGroup.vue'
import sponsors from './sponsors.json'
-
-export default {
- name: 'HomeSponsors',
- components: { HomeSponsorsGroup },
-
- created() {
- this.sponsors = sponsors
- },
-}
</script>
<style>
}
#sponsors h3 {
- color: #999;
margin: 0 0 10px;
}
border-radius: 2em;
transition: all 0.15s ease;
box-sizing: border-box;
- border: 1px solid #4fc08d;
+ border: 2px solid var(--c-text);
+ color: var(--c-text);
}
#sponsors .become-sponsor:hover {
- background-color: #4fc08d;
- color: white;
+ background-color: var(--c-brand);
+ border-color: var(--c-brand);
}
</style>
import DefaultTheme from 'vitepress/dist/client/theme-default'
import Layout from './Layout.vue'
-import HomeSponsors from '../components/HomeSponsors.vue'
export default {
...DefaultTheme,
Layout,
enhanceApp({ app, router, siteData }) {
- app.component('HomeSponsors', HomeSponsors)
// app is the Vue 3 app instance from createApp()
// router is VitePress' custom router (see `lib/app/router.js`)
// siteData is a ref of current site-level metadata.
---
home: true
+
heroImage: /logo.png
actionText: Get Started →
actionLink: /introduction.html
+features:
+ - title: 💡 Intuitive
+ details: Stores are as familiar as components. API designed to let you write well organized stores.
+ - title: 🔑 Type Safe
+ details: Types are inferred, which means stores provide you with autocompletion even in JavaScript!
+ - title: ⚙️ Devtools support
+ details: Pinia hooks into Vue devtools to give you a enhanced development experience in both Vue 2 and Vue 3.
+ - title: 🔌 Extensible
+ details: React to store changes to extend Pinia with transactions, local storage synchronization, etc.
+ - title: 🏗 Modular by design
+ details: Build multiple stores and let your bundler code split them automatically.
+ - title: 📦 Extremely light
+ details: Pinia weights around 1kb, you will forget it's even there!
+
footer: MIT Licensed | Copyright © 2014-present Evan You, Eduardo San Martin Morote
---
+
+<HomeSponsors />
+
+<script setup>
+import HomeSponsors from './.vitepress/components/HomeSponsors.vue'
+</script>