Skip to content

Commit

Permalink
project & contact page layout
Browse files Browse the repository at this point in the history
  • Loading branch information
tin0312 committed Sep 20, 2023
1 parent afec629 commit 0713391
Show file tree
Hide file tree
Showing 8 changed files with 213 additions and 86 deletions.
123 changes: 108 additions & 15 deletions src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ nav a:hover {
display: flex;
align-items: center;
width: 80%;
height: 50vh;
margin: 0 auto;
margin-top: 5%;
}
Expand Down Expand Up @@ -132,14 +131,14 @@ nav a:hover {
}
.skill-header {
color: #fff;
font-family: 'Poppins', sans-serif;
font-family: "Poppins", sans-serif;
font-size: 64px;
font-weight: 700;
margin-bottom: 2%;
}
.skill-introduction {
color: #fff;
font-family: 'Poppins', sans-serif;
font-family: "Poppins", sans-serif;
font-size: 15px;
font-style: normal;
font-weight: 300;
Expand All @@ -148,38 +147,132 @@ nav a:hover {
}
/* Tech stacks icons*/

.technology-icon{
.technology-icon {
width: 5%;
}
.skill-set{
.skill-set {
display: flex;
margin-top: 5%;
width: 100%;
gap: 3%;
}
/* Project section*/
.project-page{
border: 1px solid red;
width: 100%;
.project-page {
width: 100vw;
margin: 5% auto;
height: auto;
}
.project-container{
.project-header {
width: 80%;
margin: 0 auto;
}
.project-container {
display: flex;
justify-content: space-between;
gap: 2%;
width: 80%;
height: auto;
margin: 2% auto 0;
}
.project-section {
margin-bottom: 3%;
width: 18%;
height: 100%;
}
.project-thumb-nail {
width: 100%;
height: 70%;
border-radius: 20px;
}
.project-content {
margin-top: 4%;
}
.project-stacks {
opacity: 0.6;
}
/* Contact section */
.contact-container {
display: flex;
justify-content: space-around;
align-items: center;
background-color: #242424;
width: 90%;
height: 60vh;
margin: 8% auto 0;
}
.contact-greeting {
width: 50%;
margin-left: 4%;
}
.form-container {
display: flex;
justify-content: center;
width: 50%;
}
.contact-header {
color: #fff;
font-family: "Space Grotesk", sans-serif;
font-size: 88px;
font-weight: 700;
line-height: 88px;
letter-spacing: -2.5px;
}
.contact-message {
margin-top: 2%;
opacity: 0.7;
font-family: "Space Grotesk", sans-serif;
font-size: 18px;
font-style: normal;
font-weight: 500;
line-height: 28px;
}
.project-section{
border: 1px solid white;
width: 400px;
height: 400px;

.form-container form {
display: flex;
width: 70%;
flex-direction: column;
}
/* form section */
.form-container label {
opacity: 0.5;
}
input[type="text"],
textarea {
border: none;
border-radius: 0;
outline: 0;
background: transparent;
border-bottom: 1px solid white;
margin-bottom: 4%;
}
input[type="text"],
textarea::placeholder {
color: white;
}
button[type="submit"] {
background: transparent;
border: none;
color: white;
position: relative;
cursor: pointer;
align-self: flex-end;
padding-bottom: 2%;
}
button[type="submit"]::after {
content: '';
display: block;
height: 3px;
width: 100%;
background-color: green;
position: absolute;
bottom: 4px;
left: 0;
}


/* Footer */
.footer-container {
position: fixed;
bottom: 3%;
bottom: 2%;
width: 100%;
display: flex;
justify-content: center;
Expand Down
33 changes: 26 additions & 7 deletions src/Pages/Contacts.jsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,28 @@
import React from "react"
import React from "react";

export default function Contacts(){
return (
<div>
<h1>Contacts</h1>
export default function Contacts() {
return (
<div className="contact-container">
<div className="contact-greeting">
<h1 className="contact-header">Contact</h1>
<p className="contact-message">
I would love to hear about your project and how I <br/>could help. Please
fill in the form, and I’ll get back<br/> to you as soon as possible.
</p>
</div>
<div className="form-container">
<form action="">
<label htmlFor = "name">NAME</label>
<input type="text" id = "name" name = "name"/>

<label htmlFor = "email">EMAIL</label>
<input type="text" id = "name" name = "email"/>

<label htmlFor= "message">MESSAGE</label>
<textarea id="message" name="message" style ={{height:`150px`}}></textarea>
<button type="submit">SEND MESSAGE</button>
</form>
</div>
)
}
</div>
);
}
136 changes: 73 additions & 63 deletions src/Pages/Projects.jsx
Original file line number Diff line number Diff line change
@@ -1,66 +1,76 @@
import React from "react"

export default function Projects(){
return(
<div className="project-page">
<h1 className="project-header">Project</h1>
<div className="project-container">
<div className="project-section">
<div className="project-content">
<img src="" alt="" className="project-thumb-nail" />
<h3 className="project-title"></h3>
<h4 className="project-stacks"></h4>
</div>
</div>

<div className="project-section">
<div className="project-content">
<img src="" alt="" className="project-thumb-nail" />
<h3 className="project-title"></h3>
<h4 className="project-stacks"></h4>
</div>
</div>

<div className="project-section">
<div className="project-content">
<img src="" alt="" className="project-thumb-nail" />
<h3 className="project-title"></h3>
<h4 className="project-stacks"></h4>
</div>
</div>

<div className="project-section">
<div className="project-content">
<img src="" alt="" className="project-thumb-nail" />
<h3 className="project-title"></h3>
<h4 className="project-stacks"></h4>
</div>
</div>

<div className="project-section">
<div className="project-content">
<img src="" alt="" className="project-thumb-nail" />
<h3 className="project-title"></h3>
<h4 className="project-stacks"></h4>
</div>
</div>
import React from "react";
import * as Images from "../images";
export default function Projects() {
return (
<div className="project-page">
<h1 className="project-header">Project</h1>
<div className="project-container">
<div className="project-section">
<img
src={Images.weatherThumbNail}
alt="weather-thumb-nail"
className="project-thumb-nail"
/>
<div className="project-content">
<h3 className="project-title">WEATHER APP</h3>
<h4 className="project-stacks">HTML • CSS • React • API </h4>
</div>
</div>
{/* project section-2 */}
<div className="project-section">
<img
src={Images.quizThumbNail}
alt="weather-thumb-nail"
className="project-thumb-nail"
/>
<div className="project-content">
<h3 className="project-title"> QUIZZICAL</h3>
<h4 className="project-stacks">HTML • CSS • React • API </h4>
</div>
</div>

<div className="project-section">
<div className="project-content">
<img src="" alt="" className="project-thumb-nail" />
<h3 className="project-title"></h3>
<h4 className="project-stacks"></h4>
</div>
</div>
{/* Project section-3 */}
<div className="project-section">
<img
src={Images.roomsystemThumbNail}
alt="weather-thumb-nail"
className="project-thumb-nail"
/>
<div className="project-content">
<h3 className="project-title">ROOM BOOKING SYSTEM</h3>
<h4 className="project-stacks">
HTML • CSS • Bootstrap • Flask • mySQL • Python{" "}
</h4>
</div>
</div>

<div className="project-section">
<div className="project-content">
<img src="" alt="" className="project-thumb-nail" />
<h3 className="project-title"></h3>
<h4 className="project-stacks"></h4>
</div>
</div>
</div>
{/* Project section-4 */}
<div className="project-section">
<img
src={Images.chromeExtThumbNail}
alt="weather-thumb-nail"
className="project-thumb-nail"
/>
<div className="project-content">
<h3 className="project-title">Walk-As-You-Scroll</h3>
<h4 className="project-stacks">
HTML • CSS • Javascript • jQuery{" "}
</h4>
</div>
</div>
)
}

{/* <div className="project-section">
<img
src={Images.weatherThumbNail}
alt="weather-thumb-nail"
className="project-thumb-nail"
/>
<div className="project-content">
<h3 className="project-title">WEATHER APP</h3>
<h4 className="project-stacks">HTML • CSS • React • API </h4>
</div>
</div> */}
</div>
</div>
);
}
Binary file added src/images/chromeExtThumbNail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 6 additions & 1 deletion src/images/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,9 @@ export { default as bootstrap } from "./bootstrapIcon.png"
export { default as netlify } from "./netlifyIcon.png"
export { default as figma } from "./figmaIcon.svg"
export { default as npm } from "./npmIcon.svg"
export { default as mySQL } from "./mySQLIcon.png"
export { default as mySQL } from "./mySQLIcon.png"
export { default as weatherThumbNail} from "./weatherThumbNail.png"
export { default as quizThumbNail} from "./quizThumbNail.png"
export { default as roomsystemThumbNail} from "./roomsystemThumbNail.png"
export { default as chromeExtThumbNail} from "./chromeExtThumbNail.png"

Binary file added src/images/quizThumbNail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/roomsystemThumbNail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/weatherThumbNail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0713391

Please sign in to comment.