-
{title} #
+
{title} #
diff --git a/src/lib/components/EventListElement/index.svelte b/src/lib/components/EventListElement/index.svelte
index 570bfd6..4712d82 100644
--- a/src/lib/components/EventListElement/index.svelte
+++ b/src/lib/components/EventListElement/index.svelte
@@ -59,20 +59,4 @@
a:hover {
text-decoration: underline;
}
-
- /* mobile design */
- @media only screen and (max-width: 768px) {
- .wrapper {
- display: flex;
- flex-direction: column;
- }
- .society-wrapper {
- flex: 0 1 auto;
- margin-top: 5%;
- padding: 2rem;
- --tw-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
- box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000),
- var(--tw-shadow);
- }
- }
diff --git a/src/lib/components/Societies/index.svelte b/src/lib/components/Societies/index.svelte
index f3733d6..81a0085 100644
--- a/src/lib/components/Societies/index.svelte
+++ b/src/lib/components/Societies/index.svelte
@@ -65,11 +65,6 @@
var(--tw-shadow);
border-radius: 0.5rem;
}
- h5.title {
- font-size: 1.5em;
- margin-block-start: 0.8em;
- margin-block-end: 0.5em;
- }
h6.continent {
font-size: 25px;
color: #64748b;
diff --git a/src/lib/components/recipes/CategoryTree.svelte b/src/lib/components/recipes/CategoryTree.svelte
index 9e3fcab..df2fe60 100644
--- a/src/lib/components/recipes/CategoryTree.svelte
+++ b/src/lib/components/recipes/CategoryTree.svelte
@@ -1,6 +1,5 @@
diff --git a/src/lib/layouts/Recipe.svelte b/src/lib/layouts/Recipe.svelte
index 19fc81f..b16402c 100644
--- a/src/lib/layouts/Recipe.svelte
+++ b/src/lib/layouts/Recipe.svelte
@@ -4,8 +4,7 @@
import { categories } from '$lib/stores/recipes';
import { page } from '$app/stores';
- export let title,
- description = '';
+ export let title;
@@ -40,9 +39,6 @@
.TOCLink.active a {
font-weight: bold;
}
- .TOCLink img {
- height: 1em;
- }
@media (min-width: 1024px) {
main {
display: flex;
diff --git a/src/lib/layouts/RecipeCategory.svelte b/src/lib/layouts/RecipeCategory.svelte
index 6dd1444..2001b5f 100644
--- a/src/lib/layouts/RecipeCategory.svelte
+++ b/src/lib/layouts/RecipeCategory.svelte
@@ -6,8 +6,7 @@
const childrenNodes = $categories.find((c) => c.path === $page.path).children || [];
- export let title,
- description = '';
+ export let title;
@@ -50,9 +49,6 @@
.TOCLink.active a {
font-weight: bold;
}
- .TOCLink img {
- height: 1em;
- }
@media (min-width: 1024px) {
main {
display: flex;
diff --git a/src/lib/stores/recipes.ts b/src/lib/stores/recipes.ts
index 27e7e0a..18b1f00 100644
--- a/src/lib/stores/recipes.ts
+++ b/src/lib/stores/recipes.ts
@@ -2,7 +2,7 @@ import type { Writable } from 'svelte/store';
import { writable } from 'svelte/store';
type Recipe = {
- meta: any;
+ meta: unknown;
filename: string;
path: string;
children: Recipe[];
diff --git a/src/routes/events/events.ts b/src/routes/events/events.ts
index f10c5e8..13c593c 100644
--- a/src/routes/events/events.ts
+++ b/src/routes/events/events.ts
@@ -1,7 +1,9 @@
/**
* @type {import('@sveltejs/kit').RequestHandler}
*/
-export async function get() {
+import type { EndpointOutput } from '@sveltejs/kit';
+
+export async function get(): Promise {
const events = await Promise.all(
Object.entries(import.meta.glob('./*.svx')).map(async ([path, page]) => {
const { metadata } = await page();
diff --git a/src/routes/events/index.svelte b/src/routes/events/index.svelte
index a60832b..5f5dcfa 100644
--- a/src/routes/events/index.svelte
+++ b/src/routes/events/index.svelte
@@ -1,5 +1,7 @@