-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/themeselection/vue-cheatsheet
- Loading branch information
Showing
20 changed files
with
614 additions
and
267 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,4 +20,5 @@ | |
"emmet.includeLanguages": { | ||
"markdown": "html", | ||
}, | ||
"commentAnchors.tagHighlights.enabled": false, | ||
} |
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<script lang="ts" setup> | ||
import { useData } from 'vitepress'; | ||
const { isDark } = useData() | ||
</script> | ||
<template> | ||
<div class="mt-4 flex items-center gap-x-3"> | ||
<!-- <a data-v-0c3feb32 data-v-2270f7fa class="VPButton medium brand" href="/vue/basic.html">Let's Start</a> --> | ||
<a class="action-btn" href="/vue/basic.html">Let's Start</a> | ||
<a href="https://www.producthunt.com/posts/vue-cheatsheet?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-vue-cheatsheet" | ||
target="_blank"><img | ||
:src="`https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=445414&theme=${isDark ? 'dark' : 'light'}`" | ||
alt="Vue CheatSheet - The Ultimate Vue CheatSheet For Vue, Vue Router & Pinia | Product Hunt" | ||
style="width: auto; height: 40px;border: 1px solid #fff;border-radius: 6px;" width="auto" | ||
height="40" /></a> | ||
</div> | ||
</template> | ||
|
||
<style> | ||
.action-btn { | ||
padding: 0.5rem 1rem; | ||
border-radius: 0.5rem; | ||
background-color: var(--vp-c-brand-2); | ||
color: #fff; | ||
font-weight: 600; | ||
text-decoration: none; | ||
transition: all 0.3s; | ||
} | ||
</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
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,30 @@ | ||
<script lang="ts" setup> | ||
import { useData } from 'vitepress'; | ||
import GithubButton from 'vue-github-button'; | ||
const { isDark } = useData() | ||
console.log('theme :>> ', isDark.value); | ||
</script> | ||
|
||
<template> | ||
<div class="widget"> | ||
<!-- Place this tag where you want the button to render. --> | ||
<github-button href="https://github.com/themeselection/vue-cheatsheet" | ||
:data-color-scheme="`no-preference: ${isDark ? 'dark' : 'light'};light: ${isDark ? 'dark' : 'light'} ; dark: ${isDark ? 'dark' : 'light'}`" | ||
data-icon="octicon-star" data-size="large" data-show-count="true" | ||
aria-label="Star themeselection/vue-cheatsheet on GitHub">Star</github-button> | ||
</div> | ||
</template> | ||
|
||
<style lang="scss"> | ||
.widget { | ||
display: block; | ||
margin-inline-start: 0.75rem; | ||
margin-block-start: 0.375rem; | ||
.social-count { | ||
display: none; | ||
} | ||
} | ||
</style> |
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
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,14 @@ | ||
<script lang="ts" setup> | ||
import { ref } from 'vue'; | ||
const isSuccess = ref() | ||
const params = new URLSearchParams(window.location.search) | ||
isSuccess.value = params.get('success') === 'success' | ||
</script> | ||
|
||
<template> | ||
<div class="mb-16 px-8 py-3 bg-emerald-500 text-white font-medium dark:bg-emerald-600 mb-12" v-if="isSuccess"> | ||
<p class="text-center">You have successfully subscribed to our newsletter | ||
</p> | ||
</div> | ||
</template> |
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 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 @@ | ||
google-site-verification: google6f658ffc1e5996cb.html |
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,2 @@ | ||
User-agent: * | ||
Disallow: |
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.