Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add cute logo (#1118) #1119

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 9 additions & 1 deletion .vitepress/theme/components/Home.vue
Original file line number Diff line number Diff line change
@@ -1,18 +1,26 @@
<script setup lang="ts">
import { onMounted } from 'vue'
import { ref, onMounted } from 'vue'
import SiteMap from './SiteMap.vue'
// import NewsLetter from './NewsLetter.vue'
import { load, data, base } from './sponsors'
import SponsorsGroup from './SponsorsGroup.vue'
import VueMasteryModal from './VueMasteryModal.vue'

const uwu = ref(false)

onMounted(async () => {
uwu.value = location.search.includes('?uwu')
await load()
})
</script>

<template>
<section id="hero">
<img
v-if="uwu"
src="/logo-uwu.svg"
style="width: 100%; max-width: 580px; margin: -80px auto -20px"
/>
<h1 class="tagline">
Le Framework
<br />JavaScript
Expand Down