From cbe242393fe50fb8909bb768d063bc41ff37a195 Mon Sep 17 00:00:00 2001 From: wouter Date: Fri, 23 Oct 2026 16:30:01 +0200 Subject: [PATCH] Apply prettier --- README.md | 3 ++- package.json | 4 +++- src/App.css | 37 ++++++++++++++++++------------------- src/main.tsx | 8 ++++---- 4 files changed, 27 insertions(+), 25 deletions(-) diff --git a/README.md b/README.md index 60f98b3..6a7b6a5 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,3 @@ # Hi -Nice of you to check out the source of the website. Hopefully you enjoy what you see! \ No newline at end of file + +Nice of you to check out the source of the website. Hopefully you enjoy what you see! diff --git a/package.json b/package.json index 6459c2b..83045d1 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,9 @@ "dev": "vite", "build": "tsc -b && vite build", "lint": "eslint .", - "preview": "vite preview" + "prettier": "prettier -w .", + "preview": "vite preview", + "typescript": "tsc --noEmit" }, "dependencies": { "@emotion/styled": "^11.14.1", diff --git a/src/App.css b/src/App.css index f27c48a..2189d54 100644 --- a/src/App.css +++ b/src/App.css @@ -1,48 +1,48 @@ @font-face { - font-family: "hammersmith-one"; + font-family: 'hammersmith-one'; src: - url("fonts/hammersmithone-webfont.woff2") format("woff2"), - url("fonts/hammersmithone-webfont.woff") format("woff"); + url('fonts/hammersmithone-webfont.woff2') format('woff2'), + url('fonts/hammersmithone-webfont.woff') format('woff'); font-weight: normal; font-style: normal; font-display: swap; } @font-face { - font-family: "veramono"; + font-family: 'veramono'; src: - url("fonts/veramono-webfont.woff2") format("woff2"), - url("fonts/veramono-webfont.woff") format("woff"); + url('fonts/veramono-webfont.woff2') format('woff2'), + url('fonts/veramono-webfont.woff') format('woff'); font-weight: normal; font-style: normal; font-display: swap; } @font-face { - font-family: "veramono"; + font-family: 'veramono'; src: - url("fonts/veramono-bold-webfont.woff2") format("woff2"), - url("fonts/veramono-bold-webfont.woff") format("woff"); + url('fonts/veramono-bold-webfont.woff2') format('woff2'), + url('fonts/veramono-bold-webfont.woff') format('woff'); font-weight: bold; font-style: normal; font-display: swap; } @font-face { - font-family: "veramono"; + font-family: 'veramono'; src: - url("fonts/veramono-italic-webfont.woff2") format("woff2"), - url("fonts/veramono-italic-webfont.woff") format("woff"); + url('fonts/veramono-italic-webfont.woff2') format('woff2'), + url('fonts/veramono-italic-webfont.woff') format('woff'); font-weight: normal; font-style: italic; font-display: swap; } @font-face { - font-family: "veramono"; + font-family: 'veramono'; src: - url("fonts/veramono-bold-italic-webfont.woff2") format("woff2"), - url("fonts/veramono-bold-italic-webfont.woff") format("woff"); + url('fonts/veramono-bold-italic-webfont.woff2') format('woff2'), + url('fonts/veramono-bold-italic-webfont.woff') format('woff'); font-weight: bold; font-style: italic; font-display: swap; @@ -67,9 +67,8 @@ body { /*filter: contrast(400%) brightness(1000%);*/ /*background: #190a52;*/ background: - linear-gradient(177deg, rgba(25, 10, 82, 1) 0%, rgba(29, 0, 43, 0) 100%), - url("/assets/noise.svg"), - rgba(29, 0, 43, 1); + linear-gradient(177deg, rgba(25, 10, 82, 1) 0%, rgba(29, 0, 43, 0) 100%), + url('/assets/noise.svg'), rgba(29, 0, 43, 1); background-blend-mode: overlay; position: absolute; isolation: isolate; @@ -87,4 +86,4 @@ p { + p { margin-top: 1.5em; } -} \ No newline at end of file +} diff --git a/src/main.tsx b/src/main.tsx index d9e6579..1dd416e 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -1,8 +1,8 @@ -import { StrictMode } from "react"; -import { createRoot } from "react-dom/client"; -import App from "./App.tsx"; +import { StrictMode } from 'react'; +import { createRoot } from 'react-dom/client'; +import App from './App.tsx'; -createRoot(document.getElementById("root")!).render( +createRoot(document.getElementById('root')!).render(