-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Add links for Mastering Pinia and Vue Certificate (#2489)
- Loading branch information
1 parent
dbc4a26
commit ab8aa72
Showing
4 changed files
with
113 additions
and
7 deletions.
There are no files selected for viewing
38 changes: 38 additions & 0 deletions
38
packages/docs/.vitepress/theme/components/AsideSponsors.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<script setup> | ||
const banners = [ | ||
{ | ||
id: 1, | ||
name: 'Vue.js Certification', | ||
link: 'https://certificates.dev/vuejs?friend=VUEROUTER', | ||
image: '/banners/vuejs-certification.svg', | ||
}, | ||
{ | ||
id: 2, | ||
name: 'Mastering Pinia', | ||
link: 'https://masteringpinia.com', | ||
image: '/banners/mastering-pinia.png', | ||
}, | ||
] | ||
</script> | ||
|
||
<template> | ||
<a | ||
v-for="banner in banners" | ||
:key="banner.id" | ||
:href="banner.link" | ||
target="_blank" | ||
:class="`banner_image_${banner.id}`" | ||
> | ||
<img :src="banner.image" :alt="banner.name" /> | ||
</a> | ||
</template> | ||
|
||
<style scoped> | ||
.banner_image_1 { | ||
padding: 25px 10px 0px 0px; | ||
} | ||
.banner_image_2 { | ||
padding: 15px 10px 15px 0px; | ||
} | ||
</style> |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.