- {/if}
-
-
-
- Twitch
- {#if twitch?.configured && twitch?.found}
-
-
- Followers
- {formatCount(twitch?.followers)}
-
+ {error}
- {:else}
- {twitch?.message ?? 'Twitch stats are unavailable.'}
- {/if}
-
-
-
-
+
+{:else if !data}
+
+ Loading…
+
+{:else}
+
+
+
+ {#if content.profile_image_url}
+

+ {/if}
+
+
+
+
+
+
+ Hi there, I'm
+ RythonDev
+
+
+
+
{/if}
+
+
diff --git a/frontend/src/routes/MediaKit_copy.svelte b/frontend/src/routes/MediaKit_copy.svelte
new file mode 100644
index 0000000..488e77c
--- /dev/null
+++ b/frontend/src/routes/MediaKit_copy.svelte
@@ -0,0 +1,117 @@
+
+
+{#if error}
+
+
+ {error}
+
+
+{:else if !data}
+
+ Loading…
+
+{:else}
+
+
+ {#if content.profile_image_url}
+

+ {/if}
+
+
+ {content.brand_name ?? 'RythonDev'}
+
+ {#if content.tagline}
+
{content.tagline}
+ {/if}
+
+
+
+
+ About
+
+ {content.about ?? ''}
+
+ {#if content.email}
+ {content.email}
+ {/if}
+
+
+
+ Twitch
+ {#if twitch?.configured && twitch?.found}
+
+
+ Followers
+ {formatCount(twitch?.followers)}
+
+
+ {:else}
+ {twitch?.message ?? 'Twitch stats are unavailable.'}
+ {/if}
+
+
+
+
+{/if}
diff --git a/frontend/svelte.config.js b/frontend/svelte.config.js
index 0cf7db3..ed45953 100644
--- a/frontend/svelte.config.js
+++ b/frontend/svelte.config.js
@@ -1,2 +1,2 @@
/** @type {import("@sveltejs/vite-plugin-svelte").SvelteConfig} */
-export default {}
+export default {};
diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts
index 73a4303..f4a35bb 100644
--- a/frontend/vite.config.ts
+++ b/frontend/vite.config.ts
@@ -1,16 +1,16 @@
-import { svelte } from '@sveltejs/vite-plugin-svelte'
-import tailwindcss from '@tailwindcss/vite'
-import { defineConfig } from 'vite'
+import { svelte } from "@sveltejs/vite-plugin-svelte";
+import tailwindcss from "@tailwindcss/vite";
+import { defineConfig } from "vite";
// https://vite.dev/config/
export default defineConfig({
plugins: [tailwindcss(), svelte()],
server: {
proxy: {
- '/api': {
- target: 'http://localhost:3000',
+ "/api": {
+ target: "http://localhost:3000",
changeOrigin: true,
},
},
},
-})
+});