-
Notifications
You must be signed in to change notification settings - Fork 3
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
12 changed files
with
107 additions
and
115 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,6 +1,6 @@ | ||
export default { | ||
plugins: { | ||
tailwindcss: {}, | ||
autoprefixer: {}, | ||
}, | ||
} | ||
plugins: { | ||
tailwindcss: {}, | ||
autoprefixer: {} | ||
} | ||
}; |
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,16 +1,16 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<link rel="icon" href="%sveltekit.assets%/favicon.png" /> | ||
<meta name="viewport" content="width=device-width" /> | ||
%sveltekit.head% | ||
</head> | ||
|
||
<head> | ||
<meta charset="utf-8" /> | ||
<link rel="icon" href="%sveltekit.assets%/favicon.png" /> | ||
<meta name="viewport" content="width=device-width" /> | ||
%sveltekit.head% | ||
</head> | ||
|
||
<body class="flex flex-col items-center min-h-screen text-textprimary bg-background font-notosans p-2 mb-16" | ||
data-sveltekit-preload-data="hover"> | ||
<div style="display: contents">%sveltekit.body%</div> | ||
</body> | ||
|
||
</html> | ||
<body | ||
class="flex flex-col items-center min-h-screen text-textprimary bg-background font-notosans p-2 mb-16" | ||
data-sveltekit-preload-data="hover" | ||
> | ||
<div style="display: contents">%sveltekit.body%</div> | ||
</body> | ||
</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 |
---|---|---|
@@ -1,12 +1,16 @@ | ||
<script> | ||
export let slug = ""; | ||
export let tool = ""; | ||
export let description = ""; | ||
export let slug = ''; | ||
export let tool = ''; | ||
export let description = ''; | ||
</script> | ||
<a href={`/tools/${slug}`} class="text-cardprimarytext mt-16 rounded-sm bg-content w-60 p-4 flex flex-col items-start"> | ||
<div class="flex items-center text-xl font-semi-bold"> | ||
<img alt={tool} src={`${tool}.png`} /> | ||
{tool} | ||
</div> | ||
<p class="text-cardsecondarytext text-sm">{description}</p> | ||
</a> | ||
|
||
<a | ||
href={`/tools/${slug}`} | ||
class="text-cardprimarytext mt-16 rounded-sm bg-content w-60 p-4 flex flex-col items-start border border-black transition duration-200 hover:shadow-lg hover:scale-105" | ||
> | ||
<div class="flex items-center text-xl font-semi-bold"> | ||
<img alt={tool} src={`${tool}.png`} /> | ||
{tool} | ||
</div> | ||
<p class="text-cardsecondarytext text-sm">{description}</p> | ||
</a> |
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 { XMLParser } from "fast-xml-parser"; | ||
import { XMLParser } from 'fast-xml-parser'; | ||
|
||
export const parser = new XMLParser({ignoreAttributes : false}); | ||
export const parser = new XMLParser({ ignoreAttributes: false }); | ||
|
||
export function sleep(ms: number) { | ||
return new Promise((resolve) => setTimeout(resolve, ms)); | ||
} | ||
return new Promise((resolve) => setTimeout(resolve, ms)); | ||
} |
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
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 |
---|---|---|
|
@@ -13,4 +13,4 @@ | |
}); | ||
}); | ||
}); | ||
</script> | ||
</script> |
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,24 +1,24 @@ | ||
/** @type {import('tailwindcss').Config} */ | ||
export default { | ||
content: ['./src/**/*.{html,js,svelte,ts}'], | ||
theme: { | ||
extend: { | ||
colors: { | ||
background: 'rgb(var(--color-primary) / <alpha-value>)', | ||
content: 'rgb(var(--color-secondary) / <alpha-value>)', | ||
tertiary: 'rgb(var(--color-tertiary) / <alpha-value>)', | ||
textprimary: 'rgb(var(--text-primary) / <alpha-value>)', | ||
textcontent: 'rgb(var(--text-content) / <alpha-value>)', | ||
cardprimarytext: 'rgb(var(--card-text-primary) / <alpha-value>)', | ||
cardsecondarytext: 'rgb(var(--card-text-secondary) / <alpha-value>)', | ||
label: 'rgb(var(--labels) / <alpha-value>)', | ||
herobuttons: 'rgb(var(--herobuttons) / <alpha-value>)', | ||
herobuttonshover: 'rgb(var(--herobuttons-hover) / <alpha-value>)', | ||
buttons: 'rgb(var(--buttons) / <alpha-value>)' | ||
}, | ||
fontFamily: { | ||
notosans: ['Noto Sans', 'sans-serif'] | ||
} | ||
}, | ||
}, | ||
} | ||
content: ['./src/**/*.{html,js,svelte,ts}'], | ||
theme: { | ||
extend: { | ||
colors: { | ||
background: 'rgb(var(--color-primary) / <alpha-value>)', | ||
content: 'rgb(var(--color-secondary) / <alpha-value>)', | ||
tertiary: 'rgb(var(--color-tertiary) / <alpha-value>)', | ||
textprimary: 'rgb(var(--text-primary) / <alpha-value>)', | ||
textcontent: 'rgb(var(--text-content) / <alpha-value>)', | ||
cardprimarytext: 'rgb(var(--card-text-primary) / <alpha-value>)', | ||
cardsecondarytext: 'rgb(var(--card-text-secondary) / <alpha-value>)', | ||
label: 'rgb(var(--labels) / <alpha-value>)', | ||
herobuttons: 'rgb(var(--herobuttons) / <alpha-value>)', | ||
herobuttonshover: 'rgb(var(--herobuttons-hover) / <alpha-value>)', | ||
buttons: 'rgb(var(--buttons) / <alpha-value>)' | ||
}, | ||
fontFamily: { | ||
notosans: ['Noto Sans', 'sans-serif'] | ||
} | ||
} | ||
} | ||
}; |