-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from AltriusRS:dev
Dev
- Loading branch information
Showing
36 changed files
with
4,878 additions
and
2,278 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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
module.exports = { | ||
root: true, | ||
extends: [ | ||
'@nuxtjs/eslint-config-typescript' | ||
] | ||
} |
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,11 @@ | ||
name: Lint | ||
on: push | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Install modules | ||
run: npm ci | ||
- name: Run ESLint | ||
run: npx eslint . --ext .js,.jsx,.ts,.tsx |
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 |
---|---|---|
@@ -1,42 +1,45 @@ | ||
<script async setup> | ||
import style from "./Footer.module.css"; | ||
import style from './Footer.module.css' | ||
let sb = useSupabaseClient(); | ||
let { data, error } = await useAsyncData(async () => { | ||
const sb = useSupabaseClient() | ||
const { data, error } = await useAsyncData(async () => { | ||
const e = (await sb.from('episodes').select('*', { count: 'exact', head: true })).count | ||
const c = (await sb.from('cast').select('*', { count: 'exact', head: true })).count | ||
const t = (await sb.from('topics').select('*', { count: 'exact', head: true })).count | ||
const co = (await sb.from('contributors').select('*', { count: 'exact', head: true })).count | ||
let e = (await sb.from('episodes').select('*', { count: 'exact', head: true })).count; | ||
let c = (await sb.from('cast').select('*', { count: 'exact', head: true })).count; | ||
let t = (await sb.from('topics').select('*', { count: 'exact', head: true })).count; | ||
let co = (await sb.from('contributors').select('*', { count: 'exact', head: true })).count; | ||
return { | ||
episodes: e, | ||
cast: c, | ||
topics: t, | ||
contributors: co | ||
} | ||
return { | ||
episodes: e, | ||
cast: c, | ||
topics: t, | ||
contributors: co | ||
} | ||
}) | ||
</script> | ||
<template> | ||
<div :class="style.footer"> | ||
<p v-if="data"> | ||
This database contains {{ data.topics.toLocaleString() }} topics, covered over | ||
{{ data.episodes.toLocaleString() }} episodes of The WAN Show featuring | ||
{{ data.cast.toLocaleString() }} people. | ||
<div :class="style.footer"> | ||
<p v-if="data"> | ||
This database contains {{ data.topics.toLocaleString() }} topics, covered over | ||
{{ data.episodes.toLocaleString() }} episodes of The WAN Show featuring | ||
{{ data.cast.toLocaleString() }} people. | ||
|
||
It was compiled thanks to the tireless work of {{ data.contributors.toLocaleString() }} people. | ||
Thank you to the following legends who helped make this possible (knowingly or not) | ||
<ul> | ||
<li>Noki1119 - "The Timestamp Guy" - For creating timestamp comments across over 100 episodes of the show, in real time</li> | ||
<li>kuyans3889 - Provided helpful timestamps for early WAN Show VODs, including some before it was called The WAN Show</li> | ||
</ul> | ||
</p> | ||
<p v-else-if="error">{{error}}</p> | ||
<p v-else>Loading facts</p> | ||
<span class="style.copyright"> | ||
The WAN DB is not affiliated with Linus Media Group or any of its employees, partners, or otherwise. | ||
It is solely owned and operated as a community project meant to help provide a handy index of everything discussed. | ||
The copyright of the content featured on this website belongs solely to its original creators. | ||
</span> | ||
</div> | ||
</template> | ||
It was compiled thanks to the tireless work of {{ data.contributors.toLocaleString() }} people. | ||
Thank you to the following legends who helped make this possible (knowingly or not) | ||
<ul> | ||
<li>Noki1119 - "The Timestamp Guy" - For creating timestamp comments across over 100 episodes of the show, in real time</li> | ||
<li>kuyans3889 - Provided helpful timestamps for early WAN Show VODs, including some before it was called The WAN Show</li> | ||
</ul> | ||
</p> | ||
<p v-else-if="error"> | ||
{{ error }} | ||
</p> | ||
<p v-else> | ||
Loading facts | ||
</p> | ||
<span class="style.copyright"> | ||
The WAN DB is not affiliated with Linus Media Group or any of its employees, partners, or otherwise. | ||
It is solely owned and operated as a community project meant to help provide a handy index of everything discussed. | ||
The copyright of the content featured on this website belongs solely to its original creators. | ||
</span> | ||
</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
Oops, something went wrong.