ui updates

This commit is contained in:
2024-11-20 16:16:50 -05:00
parent 89fa257a86
commit 226acbb98c
7 changed files with 49 additions and 22 deletions

View File

@@ -31,7 +31,7 @@ function App() {
<Route path="/about" exact element={<About />} /> <Route path="/about" exact element={<About />} />
<Route path="/contact" exact element={<Contact />} /> {/* <Route path="/contact" exact element={<Contact />} /> */}
</Routes> </Routes>
<Discord /> <Discord />

View File

@@ -19,14 +19,14 @@ function Navbar() {
<NavLink to="/"> Home </NavLink> <NavLink to="/"> Home </NavLink>
<NavLink to="/socials"> Socials </NavLink> <NavLink to="/socials"> Socials </NavLink>
<NavLink to="/about"> About </NavLink> <NavLink to="/about"> About </NavLink>
<NavLink to="/contact"> Contact </NavLink> {/* <NavLink to="/contact"> Contact </NavLink> */}
</div> </div>
</div> </div>
<div className='rightSide'> <div className='rightSide'>
<NavLink to="/"> Home </NavLink> <NavLink to="/"> Home </NavLink>
<NavLink to="/socials"> Socials </NavLink> <NavLink to="/socials"> Socials </NavLink>
<NavLink to="/about"> About </NavLink> <NavLink to="/about"> About </NavLink>
<NavLink to="/contact"> Contact </NavLink> {/* <NavLink to="/contact"> Contact </NavLink> */}
<button onClick={toggleNavbar}> <button onClick={toggleNavbar}>
<ReorderIcon /> <ReorderIcon />
</button> </button>

View File

@@ -2,11 +2,13 @@ import React from "react";
function SocialItem({ image, name, link, hiddenLink }) { function SocialItem({ image, name, link, hiddenLink }) {
return ( return (
<div className="socialItem"> <div className="socialItem">
<div style={{ backgroundImage: `url(${image})` }}> </div> <div style={{ backgroundImage: `url(${image})` }}></div>
<h1> {name} </h1> <h1> {name} </h1>
<p>{link}</p> <p>{link}</p>
</div> </div>
); );
} }

View File

@@ -11,10 +11,11 @@
background-position: center; background-position: center;
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: cover; background-size: cover;
font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif; font-family: sans-serif, Arial;
} }
.aboutBottom { .aboutBottom {
font-family: 'Comic Sans', monospace, sans-serif, Arial;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
height: 100%; height: 100%;
@@ -41,7 +42,7 @@
} }
.discordInvAbout, .discordInvAbout a { .discordInvAbout, .discordInvAbout a {
font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif; font-family: 'Comic Sans', monospace, sans-serif, Arial;
background-color: #121619; background-color: #121619;
display: flex; display: flex;
justify-content: center; justify-content: center;
@@ -55,7 +56,6 @@
} }
.discordInvAbout a:hover { .discordInvAbout a:hover {
background-color: black;
text-decoration: none; text-decoration: none;
font-size: 28px; font-size: 28px;
cursor: pointer; cursor: pointer;

View File

@@ -1,10 +1,12 @@
.contact { .contact
{
width: 100%; width: 100%;
height: 90vh; height: 90vh;
display: flex; display: flex;
} }
.contact .leftSide { .contact .leftSide
{
height: 100%; height: 100%;
flex: 50%; flex: 50%;
background-position: center; background-position: center;
@@ -12,7 +14,8 @@
background-size: cover; background-size: cover;
} }
.contact .rightSide { .contact .rightSide
{
height: 100%; height: 100%;
flex: 50%; flex: 50%;
display: flex; display: flex;
@@ -20,7 +23,8 @@
justify-content: center; justify-content: center;
} }
.contact .rightSide h1 { .contact .rightSide h1
{
font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
"Lucida Sans", Arial, sans-serif; "Lucida Sans", Arial, sans-serif;
font-weight: 10; font-weight: 10;
@@ -28,7 +32,8 @@
margin-left: 30px; margin-left: 30px;
} }
form { form
{
display: flex; display: flex;
flex-direction: column; flex-direction: column;
width: auto; width: auto;
@@ -36,7 +41,8 @@
padding: 30px; padding: 30px;
} }
form input { form input
{
height: 40px; height: 40px;
width: 80%; width: 80%;
border: none; border: none;
@@ -44,7 +50,8 @@
color: black; color: black;
} }
form textarea { form textarea
{
margin-top: 15px; margin-top: 15px;
height: 70px; height: 70px;
width: 80%; width: 80%;
@@ -52,29 +59,46 @@
border-bottom: 1px solid #121619; border-bottom: 1px solid #121619;
color: black; color: black;
} }
input::placeholder, input::placeholder,
textarea::placeholder { textarea::placeholder
{
font-weight: bold; font-weight: bold;
color: black; color: black;
font-family: Arial, Helvetica, sans-serif; font-family: Arial, Helvetica, sans-serif;
} }
form input:focus, form input:focus,
textarea:focus { textarea:focus
{
outline: none; outline: none;
} }
form label { form label
{
margin-top: 15px; margin-top: 15px;
color: grey; color: grey;
} }
form button { form button
margin-top: 40px; {
margin-top: 10px;
width: 140px; width: 140px;
height: 40px; border-radius: 20px;
padding: 10px;
border: none; border: none;
background-color: #121619; background-color: #121619;
color: whitesmoke; color: whitesmoke;
font-size: 15px; font-size: 15px;
cursor: pointer; cursor: pointer;
} }
form button:hover
{
text-decoration: none;
width: 160px;
font-size: 20px;
cursor: pointer;
border-radius: 20px;
transition: 0.3s ease-in;
}

View File

@@ -61,6 +61,7 @@
.navbar #open { .navbar #open {
padding-left: 0px; padding-left: 0px;
} }
.navbar #open img { .navbar #open img {
display: none; display: none;
} }

View File

@@ -8,7 +8,7 @@
} }
.social .socialTitle { .social .socialTitle {
font-family: cursive; font-family: sans-serif, Arial;
font-size: 60px; font-size: 60px;
} }