diff --git a/src/App.tsx b/src/App.tsx
index 3a02da9..f568c0e 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -17,12 +17,14 @@ export default function App() {
Login
About
-
- } />
- } />
- } />
- } />
-
+
+
+ } />
+ } />
+ } />
+ } />
+
+
>
);
diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx
index 8b2b952..4f0f1e2 100644
--- a/src/components/Navbar.tsx
+++ b/src/components/Navbar.tsx
@@ -7,9 +7,7 @@ interface Props {
export default function Navbar({ children }: Props) {
return (
<>
-
- {children}
-
+ {children}
>
);
}
diff --git a/src/index.css b/src/index.css
index b4c92e9..b5d8774 100644
--- a/src/index.css
+++ b/src/index.css
@@ -1,20 +1,35 @@
-body {
+html,
+body,
+#root {
+ display: flex;
+ flex-flow: column;
+ height: 100%;
+ max-height: 100%;
+ width: 100%;
+ max-width: 100%;
margin: 0px;
padding: 0px;
font-family: "consolas", sans-serif;
background-color: white;
+ --background-image: url(https://source.unsplash.com/random/1920x1080/?blurry);
--nav-bar-height: 25px;
--blog-card-width: 18rem;
--blog-card-height: 20rem;
+ --border-radii: 5px;
+ --blog-card-image-radius: 1px;
+}
+
+h1 {
+ padding: 0px;
+ margin: 0px;
}
a {
text-decoration: none;
}
-.navBar {
- width: 100%;
+#navBar {
height: var(--nav-bar-height);
max-height: var(--nav-bar-height);
max-width: 100%;
@@ -32,7 +47,7 @@ a {
width: 100%;
max-height: 100%;
max-width: 100%;
- border-radius: 5px;
+ border-radius: var(--border-radii);
display: flex;
align-items: center;
justify-content: center;
@@ -67,7 +82,7 @@ a {
height: 100%;
border-style: solid;
border-width: 5px;
- border-radius: 10px;
+ border-radius: var(--border-radii);
border-color: black;
background-color: white;
}
@@ -76,7 +91,7 @@ a {
width: var(--blog-card-width);
max-width: var(--blog-card-width);
max-height: var(--blog-card-width);
- border-radius: 4px;
+ border-radius: var(--blog-card-image-radius);
}
.blogEntryBody {
@@ -103,3 +118,46 @@ a {
.blogEntryDescription {
}
+
+#page {
+ max-width: 100%;
+ max-height: 100%;
+ flex-grow: 1;
+ padding: 0px;
+ margin: 0px;
+ background: var(--background-image);
+}
+
+.centeredBoxArea {
+ width: 100%;
+ max-width: 100%;
+ height: 100%;
+ max-height: 100%;
+ padding: 0px;
+ margin: 0px;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+}
+
+#loginBox {
+ padding: 20px;
+ border-radius: var(--border-radii);
+ display: flex;
+ background: white;
+}
+
+#loginBoxContents {
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+ gap: 20px;
+}
+
+#aboutBox {
+ padding: 20px;
+ border-radius: var(--border-radii);
+ display: flex;
+ background: white;
+}
diff --git a/src/pages/About.tsx b/src/pages/About.tsx
index 67bc757..5cae3ed 100644
--- a/src/pages/About.tsx
+++ b/src/pages/About.tsx
@@ -2,10 +2,16 @@ import * as React from "react";
export default function About() {
return (
-
- This is an about me.
- Developed by Curt Spark
- Link to Project Page
-
+ <>
+
+ >
);
}
diff --git a/src/pages/Home.tsx b/src/pages/Home.tsx
index ed64a58..14fa383 100644
--- a/src/pages/Home.tsx
+++ b/src/pages/Home.tsx
@@ -22,7 +22,7 @@ export default function Home() {
];
return (
-
+ <>
{blogEntries.map((item, index) => (
))}
-
+ >
);
}
diff --git a/src/pages/Login.tsx b/src/pages/Login.tsx
index e47146a..52ce1c7 100644
--- a/src/pages/Login.tsx
+++ b/src/pages/Login.tsx
@@ -2,8 +2,15 @@ import * as React from "react";
export default function Login() {
return (
-
- Login Page
-
+ <>
+
+ >
);
}