diff --git a/src/routes/zhen/cv/CompsRev3/Education.svelte b/src/routes/zhen/cv/CompsRev3/Education.svelte index fbe79a9..af9c728 100644 --- a/src/routes/zhen/cv/CompsRev3/Education.svelte +++ b/src/routes/zhen/cv/CompsRev3/Education.svelte @@ -8,11 +8,11 @@ import IconAndText2 from "./IconAndText2.svelte"; -
+
Education
-
+
DTU

Artificial intelligence

@@ -26,7 +26,7 @@

SAS Programming

- Emphasys center
+ Emphasys center

VR development

diff --git a/src/routes/zhen/cv/CompsRev3/IconAndText.svelte b/src/routes/zhen/cv/CompsRev3/IconAndText.svelte index 670446e..a8eee3c 100644 --- a/src/routes/zhen/cv/CompsRev3/IconAndText.svelte +++ b/src/routes/zhen/cv/CompsRev3/IconAndText.svelte @@ -16,7 +16,7 @@
{imageCaption} @@ -38,10 +38,6 @@ text-align: start; } - & > img { - border-radius: 2.5mm; - filter: drop-shadow(1mm 1mm 1mm #0000009d); - } } diff --git a/src/routes/zhen/cv/CompsRev3/IconAndText2.svelte b/src/routes/zhen/cv/CompsRev3/IconAndText2.svelte index f390cea..1ec697c 100644 --- a/src/routes/zhen/cv/CompsRev3/IconAndText2.svelte +++ b/src/routes/zhen/cv/CompsRev3/IconAndText2.svelte @@ -2,8 +2,6 @@ export let logo: string; export let logoWidths: string = "35%"; - export let fontSize: string = "3mm"; - export let lineHeight: string = "3.1mm"; import { onMount } from "svelte"; onMount(() => { @@ -13,34 +11,21 @@ let imageCaption: undefined | string; // Not a high piority, you get the file name and thats it -
- +
+ {imageCaption} -
- + /> +
+
+
- diff --git a/static/fonts/NotoSans-VariableFont_wdth,wght.ttf b/static/fonts/NotoSans-VariableFont_wdth,wght.ttf deleted file mode 100644 index 9530d84..0000000 Binary files a/static/fonts/NotoSans-VariableFont_wdth,wght.ttf and /dev/null differ diff --git a/static/stylesheets/global.css b/static/stylesheets/global.css index 74fac21..f252295 100644 --- a/static/stylesheets/global.css +++ b/static/stylesheets/global.css @@ -10,7 +10,7 @@ font-family: "NotoSans"; src: local("NotoSans"), - url("/fonts/NotoSans-VariableFont_wdth,wght.ttf") format("truetype"); + url("/fonts/NotoSans.ttf") format("truetype"); } .NotoSans * { diff --git a/vite.config.js b/vite.config.js index 1a37c22..60a5888 100644 --- a/vite.config.js +++ b/vite.config.js @@ -1,28 +1,31 @@ import tailwindcss from "@tailwindcss/vite"; -import { sveltekit } from '@sveltejs/kit/vite'; -import { defineConfig } from 'vite'; +import { sveltekit } from "@sveltejs/kit/vite"; +import { defineConfig } from "vite"; import path from "path"; -const buildTime = new Intl.DateTimeFormat('da-DK', { - day: '2-digit', - month: '2-digit', - year: 'numeric', - hour: '2-digit', - minute: '2-digit', - hour12: false, - timeZone: 'Europe/Copenhagen' +const buildTime = new Intl.DateTimeFormat("da-DK", { + day: "2-digit", + month: "2-digit", + year: "numeric", + hour: "2-digit", + minute: "2-digit", + hour12: false, + timeZone: "Europe/Copenhagen", }).format(new Date()); export default defineConfig({ - plugins: [tailwindcss(), sveltekit()], - define: { - __BUILD_TIME__: JSON.stringify(buildTime) - }, - resolve: { - alias: { - "@images": path.resolve("./src/images"), - "@src": path.resolve("./src"), - "@static": path.resolve("./static"), - } - } + plugins: [tailwindcss(), sveltekit()], + define: { + __BUILD_TIME__: JSON.stringify(buildTime), + }, + resolve: { + alias: { + "@images": path.resolve("./src/images"), + "@src": path.resolve("./src"), + "@static": path.resolve("./static"), + }, + }, + server: { + allowedHosts: ["development2.deprived.dev"], + }, });