Skip to content

Commit

Permalink
Merge pull request #1 from AdleeAfif/develop
Browse files Browse the repository at this point in the history
LGTM
  • Loading branch information
AdleeAfif authored Sep 12, 2023
2 parents 317cefe + 4d628ac commit 1060b7e
Show file tree
Hide file tree
Showing 18 changed files with 447 additions and 143 deletions.
75 changes: 35 additions & 40 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,70 +1,65 @@
# Getting Started with Create React App
# Adlee Portfolio Project

This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
## Project Overview

## Available Scripts
Welcome to my portfolio project! This project serves as a showcase of my skills, stacks, projects and even my contact as a software engineer/developer. Whether you're a potential employer, collaborator, or just curious about my work, you've come to the right place.

In the project directory, you can run:
## Table of Contents

### `npm start`
1. [Project Details](#project-details)
2. [Features](#features)
3. [Installation](#installation)
4. [Usage](#usage)
5. [Technologies Used](#technologies-used)

Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in your browser.
## Project Details

The page will reload when you make changes.\
You may also see any lint errors in the console.
This portfolio project is a personal website that provides insights about myself, showcases my projects, and offers a way to contact me. Here's a brief overview of what you can expect:

### `npm test`
- **About:** A section where I introduce myself, my background, and my career goals.

Launches the test runner in the interactive watch mode.\
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
- **Stack:** A list of technologies that I have used or learnt during my journey.

### `npm run build`
- **Project:** A portfolio of my past and ongoing projects. Each project includes a description, images/screenshots, and a link to the live project or its repository on GitHub.

Builds the app for production to the `build` folder.\
It correctly bundles React in production mode and optimizes the build for the best performance.
- **Resume:** You can download my up-to-date resume/CV to get a comprehensive view of my skills and experiences.

The build is minified and the filenames include the hashes.\
Your app is ready to be deployed!
- **Contact:** A way to reach out to me, whether it's for a job opportunity, a collaboration, or just to say hello.

See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
## Features

### `npm run eject`
- Responsive design: The portfolio is optimized for various screen sizes, from desktops to mobile devices. (Upcoming)

**Note: this is a one-way operation. Once you `eject`, you can't go back!**
- Interactive components: It includes interactive elements like hover effects, click-to-download resume, and smooth transistion.

If you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
- Easy navigation: The navigation menu allows users to quickly jump to different sections of the portfolio.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.
- Dynamic content: The projects section is dynamically generated based on data, making it easy to update and expand as needed.

You don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.
## Installation

## Learn More
There's no need to install anything to view my portfolio. You can access it directly by visiting [here](https://adleeafif.app).

You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
## Usage

To learn React, check out the [React documentation](https://reactjs.org/).
Feel free to explore my portfolio and get to know me better. Here are some tips for navigating the site:

### Code Splitting
- Click on the navigation links at the top to jump to specific sections.

This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)
- Download my resume/CV from the "Resume" section if you're interested in my qualifications.

### Analyzing the Bundle Size
- If you'd like to get in touch, use the contact form or the provided email address.

This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)
## Technologies Used

### Making a Progressive Web App
My portfolio project was built using a variety of technologies, including but not limited to:

This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)
- HTML5 and CSS3 for the structure and styling of the website.

### Advanced Configuration
- JavaScript for interactive features and smooth scrolling.

This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)
- [React](https://getbootstrap.com/) for responsive design and layout components.

### Deployment
- [GitHub Pages](https://pages.github.com/) for hosting the website.

This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)

### `npm run build` fails to minify

This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)
- More will be added!
1 change: 1 addition & 0 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ body {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
background: #191919;
height: 100%;
}

code {
Expand Down
11 changes: 1 addition & 10 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,12 @@ import ReactDOM from "react-dom/client";
import "./index.css";
import App from "./view/App";
import reportWebVitals from "./reportWebVitals";
import Header from "./view/component/header";
import Footer from "./view/component/footer";
import { Route, BrowserRouter, Routes } from "react-router-dom";
import { BrowserRouter } from "react-router-dom";

const root = ReactDOM.createRoot(document.getElementById("root"));
root.render(
<React.StrictMode>
<BrowserRouter>
<Header />
<Routes>
<Route exact path="/" component={App} />
<Route path="/users" component={App} />
<Route path="/contact" component={App} />
<Route component={App} />
</Routes>
<App />
</BrowserRouter>
</React.StrictMode>
Expand Down
5 changes: 5 additions & 0 deletions src/view/App.css
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

.App {
display: flex;
flex-direction: column;
}
17 changes: 16 additions & 1 deletion src/view/App.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,25 @@
import React from "react";
import { Route, Routes } from "react-router-dom";

import "./App.css";
import Header from "./component/header";
import About from "./about/about";
import Home from "./home/home";
import Project from "./project/project";
import Stack from "./stack/stack";
import Contact from "./contact/contact";

function App() {
return (
<div className="App">
<Home />
<Header />
<Routes>
<Route path="/" element={<Home />} />
<Route path="/about" element={<About />} />
<Route path="/project" element={<Project />} />
<Route path="/stack" element={<Stack />} />
<Route path="/contact" element={<Contact />} />
</Routes>
</div>
);
}
Expand Down
42 changes: 42 additions & 0 deletions src/view/about/about.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
.coming-soon {
text-align: center;
padding: 40px 30px 20px;
}

.coming-soon h1,
h2 {
color: #445964;
font-family: Roboto;
}

.coming-soon h1 {
font-size: 52px;
font-weight: 900;
text-transform: uppercase;
margin-bottom: 10px;
}

.coming-soon h2 {
font-size: 36px;
font-weight: 500;
margin-top: 10px;
margin-bottom: 60px;
}

.special-word {
color: #c84b31;
}

.coming-soon img {
height: 450px;
width: 450px;
}

.coming-soon a {
color: #fff;
text-decoration: none;
}

.coming-soon a:hover {
text-decoration: underline;
}
23 changes: 23 additions & 0 deletions src/view/about/about.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import React from "react";

import "./about.css";
import sorryImg from "../component/img/sorry.png";

function About() {
return (
<section id="about">
<div className="coming-soon">
<h1>
You are currently at <span className="special-word">About</span> page!
</h1>
<h2>
Currently under development, see progress{" "}
<a href="https://github.com/AdleeAfif/portfolio-app">here.</a>
</h2>
<img src={sorryImg} alt="sorry.png" />
</div>
</section>
);
}

export default About;
15 changes: 15 additions & 0 deletions src/view/component/header.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/* styles.css */
.header {
position: sticky;
top: 0;
background-color: #ffffff; /* Adjust the background color as needed */
z-index: 100; /* Adjust the z-index to control the stacking order */
}

.header-container {
display: flex;
justify-content: space-between;
Expand Down Expand Up @@ -61,3 +69,10 @@
width: 100%;
left: 0;
}

.scrolled {
position: fixed;
top: 0;
left: 0;
background-color: lightblue;
}
59 changes: 37 additions & 22 deletions src/view/component/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,45 @@ import "./header.css";
import logo from "./img/adlee-logo.ico";

function Header() {
// const scrollToSection = (sectionId) => {
// const section = document.getElementById(sectionId);
// if (section) {
// window.scrollTo({
// top: section.offsetTop,
// behavior: "smooth",
// });
// }
// };
return (
<nav className="header-container">
<div className="logo">
<img src={logo} alt="logo" className="header-logo" />
</div>
<header className="header">
<nav className="header-container">
<div className="logo">
<img src={logo} alt="logo" className="header-logo" />
</div>

<div className="nav-links">
<NavLink className="header-text" to="/">
Home
</NavLink>
<NavLink className="header-text" to="/about">
About
</NavLink>
<NavLink className="header-text" to="/project">
Project
</NavLink>
<NavLink className="header-text" to="/stack">
Stack
</NavLink>
<NavLink className="header-text" to="/contact">
Contact
</NavLink>
</div>
</nav>
<div className="nav-links">
<NavLink
// onClick={() => scrollToSection("home")}
className="header-text"
to="/"
>
Home
</NavLink>
<NavLink className="header-text" to="/about">
About
</NavLink>
<NavLink className="header-text" to="/project">
Project
</NavLink>
<NavLink className="header-text" to="/stack">
Stack
</NavLink>
<NavLink className="header-text" to="/contact">
Contact
</NavLink>
</div>
</nav>
</header>
);
}
export default Header;
Binary file added src/view/component/img/sorry.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
42 changes: 42 additions & 0 deletions src/view/contact/contact.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
.coming-soon {
text-align: center;
padding: 40px 30px 20px;
}

.coming-soon h1,
h2 {
color: #445964;
font-family: Roboto;
}

.coming-soon h1 {
font-size: 52px;
font-weight: 900;
text-transform: uppercase;
margin-bottom: 10px;
}

.coming-soon h2 {
font-size: 36px;
font-weight: 500;
margin-top: 10px;
margin-bottom: 60px;
}

.special-word {
color: #c84b31;
}

.coming-soon img {
height: 450px;
width: 450px;
}

.coming-soon a {
color: #fff;
text-decoration: none;
}

.coming-soon a:hover {
text-decoration: underline;
}
24 changes: 24 additions & 0 deletions src/view/contact/contact.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import React from "react";

import "./contact.css";
import sorryImg from "../component/img/sorry.png";

function Contact() {
return (
<section id="contact">
<div className="coming-soon">
<h1>
You are currently at <span className="special-word">Contact</span>{" "}
page!
</h1>
<h2>
Currently under development, see progress{" "}
<a href="https://github.com/AdleeAfif/portfolio-app">here.</a>
</h2>
<img src={sorryImg} alt="sorry.png" />
</div>
</section>
);
}

export default Contact;
Loading

0 comments on commit 1060b7e

Please sign in to comment.