-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
24 changed files
with
152 additions
and
126 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 |
---|---|---|
@@ -1,15 +1,15 @@ | ||
module.exports = { | ||
root: true, | ||
extends: ['eslint:recommended', 'prettier'], | ||
plugins: ['svelte3'], | ||
overrides: [{ files: ['*.svelte'], processor: 'svelte3/svelte3' }], | ||
extends: ["eslint:recommended", "prettier"], | ||
plugins: ["svelte3"], | ||
overrides: [{ files: ["*.svelte"], processor: "svelte3/svelte3" }], | ||
parserOptions: { | ||
sourceType: 'module', | ||
ecmaVersion: 2020 | ||
sourceType: "module", | ||
ecmaVersion: 2020, | ||
}, | ||
env: { | ||
browser: true, | ||
es2017: true, | ||
node: true | ||
} | ||
node: true, | ||
}, | ||
}; |
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 |
---|---|---|
|
@@ -12,4 +12,4 @@ | |
"files": { | ||
"ignore": ["node_modules/*", ".netlify/*", ".svelte-kit/", "build/"] | ||
} | ||
} | ||
} |
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,35 +1,35 @@ | ||
{ | ||
"name": "illusion", | ||
"version": "0.0.1", | ||
"private": true, | ||
"scripts": { | ||
"dev": "vite dev", | ||
"build": "vite build", | ||
"preview": "vite preview", | ||
"check": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json", | ||
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json --watch", | ||
"lint": "prettier --plugin-search-dir . --check . && eslint .", | ||
"format": "prettier --plugin-search-dir . --write ." | ||
}, | ||
"devDependencies": { | ||
"@biomejs/biome": "1.7.1", | ||
"@sveltejs/adapter-auto": "^3.2.0", | ||
"@sveltejs/kit": "^2.5.7", | ||
"@unocss/preset-uno": "^0.59.4", | ||
"eslint": "^9.1.1", | ||
"eslint-config-biome": "^1.5.3", | ||
"eslint-plugin-svelte3": "^4.0.0", | ||
"svelte": "^4.2.1", | ||
"svelte-check": "^3.5.2", | ||
"svelte-preprocess": "^5.0.4", | ||
"typescript": "^5.2.2", | ||
"unocss": "^0.59.4", | ||
"vite": "^5.2.10" | ||
}, | ||
"type": "module", | ||
"dependencies": { | ||
"@selemondev/svelte-marquee": "^0.0.2", | ||
"@sveltejs/adapter-netlify": "^4.2.0", | ||
"rescript": "^11.1.0" | ||
} | ||
"name": "illusion", | ||
"version": "0.0.1", | ||
"private": true, | ||
"scripts": { | ||
"dev": "vite dev", | ||
"build": "vite build", | ||
"preview": "vite preview", | ||
"check": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json", | ||
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json --watch", | ||
"lint": "prettier --plugin-search-dir . --check . && eslint .", | ||
"format": "prettier --plugin-search-dir . --write ." | ||
}, | ||
"devDependencies": { | ||
"@biomejs/biome": "1.7.1", | ||
"@sveltejs/adapter-auto": "^3.2.0", | ||
"@sveltejs/kit": "^2.5.7", | ||
"@unocss/preset-uno": "^0.59.4", | ||
"eslint": "^9.1.1", | ||
"eslint-config-biome": "^1.5.3", | ||
"eslint-plugin-svelte3": "^4.0.0", | ||
"svelte": "^4.2.1", | ||
"svelte-check": "^3.5.2", | ||
"svelte-preprocess": "^5.0.4", | ||
"typescript": "^5.2.2", | ||
"unocss": "^0.59.4", | ||
"vite": "^5.2.10" | ||
}, | ||
"type": "module", | ||
"dependencies": { | ||
"@selemondev/svelte-marquee": "^0.0.2", | ||
"@sveltejs/adapter-netlify": "^4.2.0", | ||
"rescript": "^11.1.0" | ||
} | ||
} |
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 |
---|---|---|
|
@@ -9,4 +9,4 @@ declare global { | |
} | ||
} | ||
|
||
export {}; | ||
export type {}; |
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 |
---|---|---|
@@ -1 +1 @@ | ||
export const prerender = true; | ||
export const prerender = true; |
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 +1 @@ | ||
const prerender = true; | ||
const prerender = true; |
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,9 +1,11 @@ | ||
import { json } from "@sveltejs/kit" | ||
import { json } from "@sveltejs/kit"; | ||
|
||
/** @type {import('./$types').RequestHandler} */ | ||
export async function GET({ url }) { | ||
const res = await fetch("https://bank.hackclub.com/api/v3/organizations/org_rPurE1.json") | ||
const data = await res.json() | ||
const res = await fetch( | ||
"https://bank.hackclub.com/api/v3/organizations/org_rPurE1.json", | ||
); | ||
const data = await res.json(); | ||
|
||
return json(data); | ||
return json(data); | ||
} |
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,9 +1,11 @@ | ||
import { json } from "@sveltejs/kit" | ||
import { json } from "@sveltejs/kit"; | ||
|
||
/** @type {import('./$types').RequestHandler} */ | ||
export async function GET({ url }) { | ||
const res = await fetch("https://bank.hackclub.com/api/v3/organizations/teamillusion/transactions") | ||
const data = await res.json() | ||
const res = await fetch( | ||
"https://bank.hackclub.com/api/v3/organizations/teamillusion/transactions", | ||
); | ||
const data = await res.json(); | ||
|
||
return json(data); | ||
return json(data); | ||
} |
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 +1 @@ | ||
export const prerender = true; | ||
export const prerender = true; |
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 +1 @@ | ||
export const prerender = true; | ||
export const prerender = true; |
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 +1,19 @@ | ||
{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"} | ||
{ | ||
"name": "", | ||
"short_name": "", | ||
"icons": [ | ||
{ | ||
"src": "/android-chrome-192x192.png", | ||
"sizes": "192x192", | ||
"type": "image/png" | ||
}, | ||
{ | ||
"src": "/android-chrome-512x512.png", | ||
"sizes": "512x512", | ||
"type": "image/png" | ||
} | ||
], | ||
"theme_color": "#ffffff", | ||
"background_color": "#ffffff", | ||
"display": "standalone" | ||
} |
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,18 +1,22 @@ | ||
// uno.config.ts | ||
import { defineConfig, presetUno } from 'unocss' | ||
import { defineConfig, presetUno } from "unocss"; | ||
|
||
export default defineConfig( | ||
{ | ||
presets: [presetUno()], | ||
rules: [ | ||
// cursor | ||
[/^cursor-emoji-(\w+)$/, ([, w]) => ({ cursor: `url('/emojis/${w}.webp') 64 64, auto` })], | ||
[/^spacing-(\d)$/, ([, d]) => ({ 'letter-spacing': `${d}px` })], | ||
['font-spacemono', { 'font-family': 'Space Mono' }] | ||
], | ||
shortcuts: { | ||
'button': 'no-underline text-current text-center hover:scale-105 duration-250 ease-out rounded-full bg-[#6000FF] text-white b-none py-2 px-5 md:px-10 mt-5 text-xl font-bold -spacing-1 flex items-center justify-center', | ||
'section-wrapper': 'h-screen w-screen font-[Inter]', | ||
'section': 'mx-auto flex flex-col items-center justify-center text-white lg:max-w-screen-xl w-screen h-screen m-auto overflow-x-clip', | ||
} | ||
}) | ||
export default defineConfig({ | ||
presets: [presetUno()], | ||
rules: [ | ||
// cursor | ||
[ | ||
/^cursor-emoji-(\w+)$/, | ||
([, w]) => ({ cursor: `url('/emojis/${w}.webp') 64 64, auto` }), | ||
], | ||
[/^spacing-(\d)$/, ([, d]) => ({ "letter-spacing": `${d}px` })], | ||
["font-spacemono", { "font-family": "Space Mono" }], | ||
], | ||
shortcuts: { | ||
button: | ||
"no-underline text-current text-center hover:scale-105 duration-250 ease-out rounded-full bg-[#6000FF] text-white b-none py-2 px-5 md:px-10 mt-5 text-xl font-bold -spacing-1 flex items-center justify-center", | ||
"section-wrapper": "h-screen w-screen font-[Inter]", | ||
section: | ||
"mx-auto flex flex-col items-center justify-center text-white lg:max-w-screen-xl w-screen h-screen m-auto overflow-x-clip", | ||
}, | ||
}); |
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,7 +1,7 @@ | ||
import { sveltekit } from '@sveltejs/kit/vite'; | ||
import { defineConfig } from 'vite'; | ||
import { sveltekit } from "@sveltejs/kit/vite"; | ||
import UnoCSS from "unocss/vite"; | ||
import { defineConfig } from "vite"; | ||
|
||
export default defineConfig({ | ||
plugins: [sveltekit(), UnoCSS()] | ||
plugins: [sveltekit(), UnoCSS()], | ||
}); |