Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
885 changes: 879 additions & 6 deletions package-lock.json

Large diffs are not rendered by default.

12 changes: 11 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,23 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@formspree/react": "^2.4.0",
"aos": "^3.0.0-beta.6",
"bootstrap": "^5.2.2",
"bootstrap-icons": "^1.9.1",
"gh-pages": "^4.0.0",
"react": "^18.1.0",
"react-bootstrap": "^2.5.0",
"react-dom": "^18.1.0",
"react-responsive": "^9.0.0",
"react-scripts": "5.0.1"
},
"homepage": "https://myusername.github.io/my-app",
"scripts": {
"predeploy": "npm run build",
"deploy": "gh-pages -b main -d build",
"start": "react-scripts start",
"build": "react-scripts build"
"build": "react-scripts build",
},
"eslintConfig": {
"extends": [
Expand Down
33 changes: 33 additions & 0 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,42 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap"
rel="stylesheet"
/>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Rubik+Mono+One&family=Share+Tech+Mono&display=swap"
rel="stylesheet"
/>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
Comment on lines +33 to +40

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Duplicate link tags

<link href="https://fonts.googleapis.com/css2?family=Monoton&family=Rubik+Mono+One&family=Share+Tech+Mono&display=swap" rel="stylesheet">
<title>Rocket Bootcamp Project</title>
</head>
<body>
<script
src="https://unpkg.com/react/umd/react.production.min.js"
crossorigin
></script>

<script
src="https://unpkg.com/react-dom/umd/react-dom.production.min.js"
crossorigin
></script>
Comment on lines +45 to +53

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think you need to load react via a CDN script, if you are running this app on react already :)!


<script
src="https://unpkg.com/react-bootstrap@next/dist/react-bootstrap.min.js"
crossorigin
></script>

<script>
var Alert = ReactBootstrap.Alert;
</script>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<!--
Expand Down
288 changes: 279 additions & 9 deletions src/App.css
Original file line number Diff line number Diff line change
@@ -1,19 +1,289 @@
.App {
text-align: center;
* {
box-sizing: border-box;
}

body {
margin: 0px;
}

.App-logo {
height: 40vmin;
pointer-events: none;
.App {
background-color: #112240;
}

.App-header {
background-color: #282c34;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-size: calc(10px + 2vmin);
color: white;
gap: 5vh;
}

a {
text-decoration: none !important;
}

@media only screen and (min-width: 1150px) {
body #home {
background-size: cover;
background-image: url(../src/assets/images/hero1.jpg);
background-repeat: no-repeat;
align-items: flex-start;
}
body #skillswrap {
gap: 2vw;
flex-direction: row;
}

body .contact-text-align {
text-align: center;
}
}

@media only screen and (min-width: 720px) and (max-width: 1150px) {
body #home {
background-image: url(../src/assets/images/hero1.jpg);
background-repeat: no-repeat;
background-size: contain;
align-items: flex-start;
height: clamp(30vh, 100vw, 50vh);
}
body #skillswrap {
gap: 5vw;
flex-direction: row;
}
body .HeroLeft {
position: absolute;
top: 50%;
transform: translate(15%, -65%);
}
body .contact-text-align {
text-align: center;
}
}
/* NavBar CSS */

.fixed-top {
position: sticky;
top: 0;
background-color: black !important;
}

/*Hero CSS */

#home {
flex-direction: column;
background-color: black;
width: 100vw;
height: 100vh;
position: relative;
padding-top: 10vh;
padding-left: 0px;
padding-right: 0px;
margin: 0px 0px;
}

.hero-button {
font-size: 1.8vw;
padding-left: 16px;
background-color: transparent;
border-color: #20c20e;
font-weight: bolder;
color: #20c20e;
}

.HeroLeft {
position: absolute;
top: 50%;
transform: translate(15%, -65%);
}

/* About Me CSS */

#about {
width: 80vw;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding-top: 15vh;
}

.logo {
width: 5vh;
height: 5vh;
object-fit: cover;
}

.logo-small {
width: max(16px, 1.5vw);
height: max(16px, 1.5vw);
}

/* Skills CSS */

#skills {
width: 100vw;
flex-direction: column;
padding-top: 15vh
}

#skillswrap {
gap: 0vh;
flex-direction: column;
}

.expert {
background-color: #900603 !important;
}

.intermediate {
background-color: aqua !important;
}

.advanced {
background-color: #51087e !important;
}

.basics {
background-color: #028a0f !important;
}

/* Project CSS*/

#project {
width: 100vw;
padding-top: 15vh;
flex-direction: column;
max-width: 700px;
}

.cardSize {
width: max(240px, 20vw);
border-radius: 1vw !important;
}

.link-button {
background-color: transparent !important;
color: #028a0f !important;
border-width: 3px !important;
border-color: #028a0f !important;
}

.link-button:hover {
background-color: #028a0f !important;
color: black !important;
}

/* Education Tab CSS */

#education {
flex-direction: column;
padding-top: 15vh;
}

/* Work Tab CSS */

#work {
flex-direction: column;
padding-top: 15vh;
}

/* Contact CSS */
#contact {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
padding-top: 0vh;
max-width: 800px;
}

#contact-form {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
gap: 1vh;
}

#form-email {
width: 70vw;
max-width: 500px;
background-color: transparent;
border: solid;
border-color: #028a0f;
color: #028a0f;
border-radius: 1vh;
padding-left: 0.5vw;
}

#form-message {
width: 70vw;
max-width: 500px;
height: 30vh;
max-height: 200px;
background-color: transparent;
border: solid;
border-color: #028a0f;
color: #028a0f;
border-radius: 1vh;
padding-left: 0.5vw;
}

.contact-text-align {
text-align: left;
font-size: max(1.2vw, 20px);
}

.submit-button {
width: 100px;
height: 40px;
margin-bottom: 5vh;
border: solid;
border-color: #028a0f;
border-radius: 1vw;
background-color: transparent;
color: #028a0f;
font-size: clamp(16px, 1.5vh, 32px);
font-weight: bold;
}

.submit-button:hover {
color: black;
background-color: #028a0f;
}

/* Misc CSS */

.centerDiv {
display: flex;
align-items: center;
justify-content: center;
}

.col label {
padding: 1vh;
}

.nav-pills .nav-link.active {
background-color: aqua !important;
color: navy !important;
}

.carousel-indicators button {
width: min(5vw, 2rem) !important;
height: min(5vw, 2rem) !important;
border-radius: 50%;
}

.carousel-indicators button:not(:first-child) {
margin-left: 1rem !important;
}

.carousel-indicators .active {
background-color: #028a0f !important;
}

.navbar-collapse {
height: auto !important;
}
Loading