From 6f3af0791912260749d50a77c164a77a1c5b1c93 Mon Sep 17 00:00:00 2001 From: Integr-0 Date: Thu, 28 Mar 2024 21:36:47 +0100 Subject: [PATCH] Formatting --- src/App.tsx | 180 ++++++++++++++++++------------- src/components/Box.tsx | 15 ++- src/components/CardComponent.tsx | 22 +++- src/components/Image.tsx | 6 +- src/components/LinkButton.tsx | 11 +- src/components/MainBox.tsx | 25 ++++- src/index.css | 4 - src/main.tsx | 18 ++-- 8 files changed, 179 insertions(+), 102 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index cad1a12..2f9fcc3 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,19 +1,19 @@ -import './App.css' -import csharp from './assets/csharp.png' -import css from './assets/css.png' -import html from './assets/html.png' -import java from './assets/java.png' -import javascript from './assets/javascript.png' -import kotlin from './assets/kotlin.png' -import python from './assets/python.png' -import react from './assets/react.png' -import typescript from './assets/typescript.png' -import icon from './assets/icon.png' -import Card from './components/CardComponent' -import MainBox from './components/MainBox' -import Box from './components/Box' -import LinkButton from './components/LinkButton' -import Image from './components/Image' +import "./App.css"; +import csharp from "./assets/csharp.png"; +import css from "./assets/css.png"; +import html from "./assets/html.png"; +import java from "./assets/java.png"; +import javascript from "./assets/javascript.png"; +import kotlin from "./assets/kotlin.png"; +import python from "./assets/python.png"; +import react from "./assets/react.png"; +import typescript from "./assets/typescript.png"; +import icon from "./assets/icon.png"; +import Card from "./components/CardComponent"; +import MainBox from "./components/MainBox"; +import Box from "./components/Box"; +import LinkButton from "./components/LinkButton"; +import Image from "./components/Image"; function App() { return ( @@ -21,73 +21,107 @@ function App() {
- -

About me

-
-

Hi, im Erik!

- I'm a developer from Austria who likes to try out different stuff. -
- I mainly code in Java or Kotlin (I don't really do Front end) - -
- } /> + +

+ About me +

+
+

Hi, im Erik!

+ I'm a developer from Austria who likes to + try out different stuff. +
I mainly code in Java or Kotlin (I don't really do Front end) + + + } + /> - -

Languages

+ +

+ Languages +

-

- - - - - - - - - -

+

+ + + + + + + + + +

-

- - - - - -

+

+ + + + + +

-

- - - - -

- - } /> +

+ + + + +

+ + } + /> - -

Some Projects

+ +

+ Some Projects +

- - - - - } /> + + + + + } + /> - -

Links

+ +

+ Links +

- - - - } /> + + + + } + />
- ) + ); } -export default App +export default App; diff --git a/src/components/Box.tsx b/src/components/Box.tsx index 888432f..7303733 100644 --- a/src/components/Box.tsx +++ b/src/components/Box.tsx @@ -4,9 +4,18 @@ interface Prop { export default function Box(props: Prop) { return ( -
+
{props.content}
- ); -} \ No newline at end of file +} diff --git a/src/components/CardComponent.tsx b/src/components/CardComponent.tsx index 523a9bb..3bf560b 100644 --- a/src/components/CardComponent.tsx +++ b/src/components/CardComponent.tsx @@ -6,12 +6,28 @@ interface Prop { export default function card(prop: Prop) { return ( -
+
{prop.title}

{prop.bio}

- Go there + + Go there{" "} + +
); -} \ No newline at end of file +} diff --git a/src/components/Image.tsx b/src/components/Image.tsx index 0ebe3b2..9f006bb 100644 --- a/src/components/Image.tsx +++ b/src/components/Image.tsx @@ -3,7 +3,5 @@ interface Prop { } export default function Image(props: Prop) { - return ( - image - ); -} \ No newline at end of file + return image; +} diff --git a/src/components/LinkButton.tsx b/src/components/LinkButton.tsx index 5945c1d..1a1a081 100644 --- a/src/components/LinkButton.tsx +++ b/src/components/LinkButton.tsx @@ -5,6 +5,13 @@ interface Prop { export default function LinkButton(props: Prop) { return ( - {props.name} + + {props.name}{" "} + + ); -} \ No newline at end of file +} diff --git a/src/components/MainBox.tsx b/src/components/MainBox.tsx index 413d6ca..5094c7b 100644 --- a/src/components/MainBox.tsx +++ b/src/components/MainBox.tsx @@ -4,10 +4,27 @@ interface Prop { export default function MainBox(prop: Prop) { return ( -
- Logo +
+ Logo

Integr

- ); -} \ No newline at end of file +} diff --git a/src/index.css b/src/index.css index 6afe1af..9ccec4b 100644 --- a/src/index.css +++ b/src/index.css @@ -24,10 +24,6 @@ a:hover { color: #535bf2; } -body { - -} - h1 { font-size: 3.2em; line-height: 1.1; diff --git a/src/main.tsx b/src/main.tsx index 7ef237e..e7d10d8 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -1,10 +1,10 @@ -import React from 'react' -import ReactDOM from 'react-dom/client' -import App from './App.tsx' -import './App.css' +import React from "react"; +import ReactDOM from "react-dom/client"; +import App from "./App.tsx"; +import "./App.css"; -ReactDOM.createRoot(document.getElementById('root')!).render( - - - , -) +ReactDOM.createRoot(document.getElementById("root")!).render( + + + , +);