Skip to content
This repository has been archived by the owner on Nov 15, 2024. It is now read-only.

nuxt to v3-rc #1648

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions app.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<script lang="ts" setup>
if (process.client) {
window.addEventListener('load', () => {
if (!('serviceWorker' in navigator)) {
throw new Error('serviceWorker is not supported in current browser!')
}
navigator.serviceWorker.register('/sw.js')
})
}
</script>

<template>
<div>
<NuxtPage />
</div>
</template>
7 changes: 0 additions & 7 deletions app/assets/README.md

This file was deleted.

5 changes: 5 additions & 0 deletions app/assets/_buy-me-a-coffee.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,10 @@
&:focus {
color: #42b883;
}

svg {
width: 8em;
height: 4em;
}
}
}
158 changes: 0 additions & 158 deletions app/assets/_calendar.scss

This file was deleted.

20 changes: 8 additions & 12 deletions app/assets/_footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,9 @@ footer {
text-decoration: none;
}

img {
width: 36px;
height: 36px;
margin-left: 0.5rem;
svg {
width: 4em;
height: 4em;
}
}

Expand Down Expand Up @@ -59,15 +58,12 @@ footer {
color: #42b883;
}
}
}

.notion-logo {
height: 2em;
margin-right: 0.2rem;
}

.nekohack-logo {
height: 4em;
svg {
width: 2em;
height: 2em;
margin-right: 0.2rem;
}
}

@media (prefers-color-scheme: dark) {
Expand Down
169 changes: 0 additions & 169 deletions app/assets/_markdown.scss

This file was deleted.

Loading