-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Vue mastery Promotion Banner (#701)
- Loading branch information
Showing
8 changed files
with
389 additions
and
3 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions
22
src/.vuepress/public/images/vuemastery/logo-vuemastery.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions
19
src/.vuepress/theme/components/sponsors/VueMasteryBanner.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,19 @@ | ||
<template> | ||
<div id="vm-banner" class="vuemastery-banner hide" role="banner"> | ||
<div class="vuemastery-planet"></div> | ||
<a class="vuemastery-banner--link" href="https://www.vuemastery.com/black-friday-2020" target="_blank"> | ||
<img class="vuemastery-banner--logo" src="/images/vuemastery/logo-vuemastery.svg" alt="vuemastery" /> | ||
<div class="vuemastery-banner--wrapper"> | ||
<p><span>Vue Mastery's Black Friday Sale:</span>Save 50% off a year of Vue courses</p> | ||
<button class="vuemastery-button">Get discount</button> | ||
</div> | ||
</a> | ||
<div @click.prevent="$emit('close-banner')" class="vuemastery-banner--close"></div> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
} | ||
</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
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
Oops, something went wrong.