From edb0d68540935e4ee49f1e077854da0e7d415f93 Mon Sep 17 00:00:00 2001 From: Trym Jakobsen Date: Fri, 29 Mar 2024 12:28:07 +0100 Subject: [PATCH] Ran prettier using npm to format files --- README.md | 4 ++- public/site.webmanifest | 20 ++++++++++- src/app/components/HTBandTHMlinks.tsx | 8 ++--- src/app/components/navigation.tsx | 34 +++++++++--------- src/app/components/project-list.tsx | 52 +++++++++++++-------------- src/app/layout.tsx | 26 +++++++------- src/app/my-links/page.tsx | 22 ++++++------ src/app/my-projects/page.tsx | 24 ++++++------- src/app/page.tsx | 48 ++++++++++++------------- 9 files changed, 128 insertions(+), 110 deletions(-) diff --git a/README.md b/README.md index 3c481d8..ee7a7a1 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ ## My sideproject website + Made by me, to learn: + - Next.js - Typescript - TailWindCSS -- Vercel \ No newline at end of file +- Vercel diff --git a/public/site.webmanifest b/public/site.webmanifest index 99ce35f..647971f 100644 --- a/public/site.webmanifest +++ b/public/site.webmanifest @@ -1 +1,19 @@ -{"name":"Trym Site","short_name":"Trym","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"} \ No newline at end of file +{ + "name": "Trym Site", + "short_name": "Trym", + "icons": [ + { + "src": "/android-chrome-192x192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "/android-chrome-512x512.png", + "sizes": "512x512", + "type": "image/png" + } + ], + "theme_color": "#ffffff", + "background_color": "#ffffff", + "display": "standalone" +} diff --git a/src/app/components/HTBandTHMlinks.tsx b/src/app/components/HTBandTHMlinks.tsx index 43172ec..ed943c8 100644 --- a/src/app/components/HTBandTHMlinks.tsx +++ b/src/app/components/HTBandTHMlinks.tsx @@ -1,7 +1,3 @@ export function ProjectList() { - return ( -
- -
- ) -} \ No newline at end of file + return
; +} diff --git a/src/app/components/navigation.tsx b/src/app/components/navigation.tsx index 501d4a9..ae3d161 100644 --- a/src/app/components/navigation.tsx +++ b/src/app/components/navigation.tsx @@ -1,19 +1,21 @@ import Link from "next/link"; export function Navigation() { - return ( -
- -
- ); -} \ No newline at end of file + return ( +
+ +
+ ); +} diff --git a/src/app/components/project-list.tsx b/src/app/components/project-list.tsx index e514517..d0ba274 100644 --- a/src/app/components/project-list.tsx +++ b/src/app/components/project-list.tsx @@ -1,27 +1,27 @@ export function ProjectList() { - return ( -
-

Mine prosjekter:

- -
- ) -} \ No newline at end of file + return ( +
+

Mine prosjekter:

+ +
+ ); +} diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 64b4400..f069175 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,6 +1,6 @@ import type { Metadata } from "next"; import "./globals.css"; -import Head from 'next/head'; +import Head from "next/head"; export const metadata: Metadata = { title: "Trym", @@ -12,17 +12,17 @@ export default function RootLayout({ children: React.ReactNode; }) { return ( - <> - - {metadata.title as string} - - - - - {/* */} - {children} - - - + <> + + {metadata.title as string} + + + + + {/* */} + {children} + + + ); } diff --git a/src/app/my-links/page.tsx b/src/app/my-links/page.tsx index 21bbfa2..1c8cb0e 100644 --- a/src/app/my-links/page.tsx +++ b/src/app/my-links/page.tsx @@ -1,12 +1,12 @@ -import {ProjectList} from "@/app/components/project-list"; -import {Navigation} from "@/app/components/navigation"; +import { ProjectList } from "@/app/components/project-list"; +import { Navigation } from "@/app/components/navigation"; export default function MyLinks() { - return ( -
-
- -

My links:

-
-
- ); -} \ No newline at end of file + return ( +
+
+ +

My links:

+
+
+ ); +} diff --git a/src/app/my-projects/page.tsx b/src/app/my-projects/page.tsx index 0b81aed..c277a24 100644 --- a/src/app/my-projects/page.tsx +++ b/src/app/my-projects/page.tsx @@ -1,14 +1,14 @@ -import {ProjectList} from "@/app/components/project-list"; -import {Navigation} from "@/app/components/navigation"; +import { ProjectList } from "@/app/components/project-list"; +import { Navigation } from "@/app/components/navigation"; export default function Projects() { - return ( -
-
- -

Mine prosjekter

- -
-
- ); -} \ No newline at end of file + return ( +
+
+ +

Mine prosjekter

+ +
+
+ ); +} diff --git a/src/app/page.tsx b/src/app/page.tsx index fd35747..e52e68e 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,31 +1,31 @@ -import {ProjectList} from "@/app/components/project-list"; -import {Navigation} from "@/app/components/navigation"; +import { ProjectList } from "@/app/components/project-list"; +import { Navigation } from "@/app/components/navigation"; export default function Home() { return ( -
-
-
-
- -
-