Skip to content

Commit 8b4b6de

Browse files
author
nvanha
committed
first upload, upload source code
1 parent 6d420f6 commit 8b4b6de

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+5266
-131
lines changed

package-lock.json

Lines changed: 4140 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,29 @@
22
"name": "50-projects-html-css-javascript",
33
"version": "0.1.0",
44
"private": true,
5+
"homepage": "https://nvanha.github.io/50-projects-html-css-javascript/",
56
"dependencies": {
7+
"@ant-design/icons": "^4.6.4",
68
"@testing-library/jest-dom": "^5.14.1",
79
"@testing-library/react": "^11.2.7",
810
"@testing-library/user-event": "^12.8.3",
11+
"antd": "^4.16.13",
12+
"gh-pages": "^3.2.3",
13+
"node-sass": "^6.0.1",
914
"react": "^17.0.2",
1015
"react-dom": "^17.0.2",
16+
"react-router-dom": "^5.3.0",
1117
"react-scripts": "4.0.3",
18+
"styled-components": "^5.3.1",
1219
"web-vitals": "^1.1.2"
1320
},
1421
"scripts": {
1522
"start": "react-scripts start",
1623
"build": "react-scripts build",
1724
"test": "react-scripts test",
18-
"eject": "react-scripts eject"
25+
"eject": "react-scripts eject",
26+
"predeploy": "npm run build",
27+
"deploy": "gh-pages -d build"
1928
},
2029
"eslintConfig": {
2130
"extends": [

public/favicon.ico

-3.78 KB
Binary file not shown.

public/favicon.png

12.8 KB
Loading

public/index.html

Lines changed: 19 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,24 @@
11
<!DOCTYPE html>
22
<html lang="en">
3-
<head>
4-
<meta charset="utf-8" />
5-
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
6-
<meta name="viewport" content="width=device-width, initial-scale=1" />
7-
<meta name="theme-color" content="#000000" />
8-
<meta
9-
name="description"
10-
content="Web site created using create-react-app"
11-
/>
12-
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
13-
<!--
14-
manifest.json provides metadata used when your web app is installed on a
15-
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
16-
-->
17-
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
18-
<!--
19-
Notice the use of %PUBLIC_URL% in the tags above.
20-
It will be replaced with the URL of the `public` folder during the build.
21-
Only files inside the `public` folder can be referenced from the HTML.
223

23-
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
24-
work correctly both with client-side routing and a non-root public URL.
25-
Learn how to configure a non-root public URL by running `npm run build`.
26-
-->
27-
<title>React App</title>
28-
</head>
29-
<body>
30-
<noscript>You need to enable JavaScript to run this app.</noscript>
31-
<div id="root"></div>
32-
<!--
33-
This HTML file is a template.
34-
If you open it directly in the browser, you will see an empty page.
4+
<head>
5+
<meta charset="utf-8" />
6+
<link rel="icon" href="%PUBLIC_URL%/favicon.png" />
7+
<meta name="viewport" content="width=device-width, initial-scale=1" />
8+
<meta name="theme-color" content="#000000" />
9+
<meta name="description" content="Web site created using create-react-app" />
10+
<link rel="apple-touch-icon" href="%PUBLIC_URL%/favicon.png" />
11+
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
12+
<title>50 Projects HTML, CSS, Javascript</title>
3513

36-
You can add webfonts, meta tags, or analytics to this file.
37-
The build step will place the bundled scripts into the <body> tag.
14+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.14.0/css/all.min.css"
15+
integrity="sha512-1PKOgIY59xJ8Co8+NE6FZ+LOAZKjy+KY8iq0G4B3CyeY6wYHN3yt9PW0XpSriVlkMXe40PTKnXrLnZ9+fkDaog=="
16+
crossorigin="anonymous" />
17+
</head>
3818

39-
To begin the development, run `npm start` or `yarn start`.
40-
To create a production bundle, use `npm run build` or `yarn build`.
41-
-->
42-
</body>
43-
</html>
19+
<body>
20+
<noscript>You need to enable JavaScript to run this app.</noscript>
21+
<div id="root"></div>
22+
</body>
23+
24+
</html>

public/logo192.png

-5.22 KB
Binary file not shown.

public/logo512.png

-9.44 KB
Binary file not shown.

public/manifest.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@
33
"name": "Create React App Sample",
44
"icons": [
55
{
6-
"src": "favicon.ico",
6+
"src": "favicon.png",
77
"sizes": "64x64 32x32 24x24 16x16",
8-
"type": "image/x-icon"
8+
"type": "image/png"
99
},
1010
{
11-
"src": "logo192.png",
11+
"src": "favicon.png",
1212
"type": "image/png",
1313
"sizes": "192x192"
1414
},
1515
{
16-
"src": "logo512.png",
16+
"src": "favicon.png",
1717
"type": "image/png",
1818
"sizes": "512x512"
1919
}

src/App.css

Lines changed: 0 additions & 38 deletions
This file was deleted.

src/App.js

Lines changed: 11 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,17 @@
1-
import logo from './logo.svg';
2-
import './App.css';
1+
import { BrowserRouter as Router, Route } from "react-router-dom";
2+
import Routes from "./routes/Routes";
33

44
function App() {
55
return (
6-
<div className="App">
7-
<header className="App-header">
8-
<img src={logo} className="App-logo" alt="logo" />
9-
<p>
10-
Edit <code>src/App.js</code> and save to reload.
11-
</p>
12-
<a
13-
className="App-link"
14-
href="https://reactjs.org"
15-
target="_blank"
16-
rel="noopener noreferrer"
17-
>
18-
Learn React
19-
</a>
20-
</header>
21-
</div>
6+
<Router>
7+
<Route
8+
render={(props) => (
9+
<>
10+
<Routes />
11+
</>
12+
)}
13+
/>
14+
</Router>
2215
);
2316
}
2417

src/App.test.js

Lines changed: 0 additions & 8 deletions
This file was deleted.

src/assets/data/projects.js

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
const pj1_image =
2+
require("./../images/projects/pj1_expanding-cards.png").default;
3+
const pj2_image =
4+
require("./../images/projects/pj2_progress-steps.png").default;
5+
const pj3_image =
6+
require("./../images/projects/pj3_rotating-navigation-animation.png").default;
7+
const pj4_image =
8+
require("./../images/projects/pj4_hidden-search-widget.png").default;
9+
const pj5_image =
10+
require("./../images/projects/pj5_blurry-loading.png").default;
11+
const pj6_image =
12+
require("./../images/projects/pj6_scroll-animation.png").default;
13+
const pj7_image =
14+
require("./../images/projects/pj7_split-landing-page.png").default;
15+
16+
const projects = [
17+
{
18+
id: 1,
19+
name: "Expanding Cards",
20+
image: pj1_image,
21+
slug: "https://codepen.io/nvanha/full/BaZxveZ",
22+
},
23+
{
24+
id: 2,
25+
name: "Progress Steps",
26+
image: pj2_image,
27+
slug: "https://codepen.io/nvanha/full/QWgrYjr",
28+
},
29+
{
30+
id: 3,
31+
name: "Rotating Navigation Animation",
32+
image: pj3_image,
33+
slug: "https://codepen.io/nvanha/full/LYLmqGV",
34+
},
35+
{
36+
id: 4,
37+
name: "Hidden Search Widget",
38+
image: pj4_image,
39+
slug: "https://codepen.io/nvanha/full/yLXjZeR",
40+
},
41+
{
42+
id: 5,
43+
name: "Blurry Loading",
44+
image: pj5_image,
45+
slug: "https://codepen.io/nvanha/full/RwgyvaK",
46+
},
47+
{
48+
id: 6,
49+
name: "Scroll Animation",
50+
image: pj6_image,
51+
slug: "https://codepen.io/nvanha/full/WNOJPwJ",
52+
},
53+
{
54+
id: 7,
55+
name: "Split Landing Page",
56+
image: pj7_image,
57+
slug: "https://codepen.io/nvanha/full/PojeVGK",
58+
},
59+
];
60+
61+
export default projects;

src/assets/images/avt/avt.jpg

612 KB
Loading
48.2 KB
Loading
67.2 KB
Loading

src/assets/images/logo/logo.png

12.8 KB
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading

src/components/About/About.jsx

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
import React from "react";
2+
import { GithubOutlined } from "@ant-design/icons";
3+
import bannerAbout from "./../../assets/images/banner/html-css-js.png";
4+
import avt from "./../../assets/images/avt/avt.jpg";
5+
import * as SocialLink from "./../../constants/SocialLink";
6+
const About = () => {
7+
return (
8+
<section className="about" id="about">
9+
<div className="container">
10+
<div className="about-inner">
11+
<div className="about-a about-content">
12+
<h3>About The Course</h3>
13+
14+
<p>
15+
This is a pure, practical and fun <span>project based</span>{" "}
16+
course. Every project is different and while we use do use some
17+
repeated practices, they are each meant to teach you something
18+
new. It is recommended that you do one project per day, however
19+
you can do them as you please. By the end, you will have a
20+
stronger foundation in JS as well as HTML/CSS and should be able
21+
to move on and build your own projects.
22+
</p>
23+
24+
<a
25+
href={SocialLink.LINK_GITHUB_REPO}
26+
target="_blank"
27+
rel="noreferrer"
28+
>
29+
<GithubOutlined />
30+
Github Repo For All Projects
31+
</a>
32+
</div>
33+
34+
<div className="about-b about-content">
35+
<h3>What You Should Know</h3>
36+
37+
<p>
38+
A very basic understanding of HTML, CSS & JavaScript is all that
39+
you need to know before taking this course. Things like common
40+
HTML5 tags, basic styling, JS variables, conditionals, etc
41+
</p>
42+
43+
<img src={bannerAbout} alt="HTML-CSS-JavaScript" />
44+
</div>
45+
46+
<div className="about-author about-content">
47+
<img src={avt} alt="avatar" className="about-author-avt" />
48+
49+
<div className="about-author-desc">
50+
<h3>
51+
Web Developer, <span>nvan.ha</span>
52+
</h3>
53+
<p>
54+
I am Ha, web developer from VietNam. I have profound interest in
55+
website design, building and customization, and everything in
56+
between, also am good at ReactJS.
57+
</p>
58+
</div>
59+
</div>
60+
</div>
61+
</div>
62+
</section>
63+
);
64+
};
65+
66+
export default About;

0 commit comments

Comments
 (0)