Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
2c55de4
basic project
NGFuture Aug 15, 2021
92d07e1
lesson1full
NGFuture Aug 17, 2021
b5b99ba
Merge pull request #1 from NGFuture/lesson-1-1
NGFuture Aug 19, 2021
09959cd
less1final
NGFuture Aug 19, 2021
5f75c8b
Merge pull request #2 from NGFuture/lesson-1-1
NGFuture Aug 19, 2021
06ec91a
Merge branch 'Code-the-Dream-School:main' into main
NGFuture Aug 19, 2021
914b03b
lesson2
NGFuture Aug 19, 2021
8db0fee
Merge pull request #3 from NGFuture/lesson-1-2
NGFuture Aug 26, 2021
59d868c
Merge branch 'Code-the-Dream-School:main' into main
NGFuture Aug 26, 2021
5e1b349
lesson1-3 done
NGFuture Aug 31, 2021
0724fee
Merge pull request #4 from NGFuture/lesson-1-3
NGFuture Sep 12, 2021
d3aac98
Merge branch 'Code-the-Dream-School:main' into main
NGFuture Sep 12, 2021
1cb67d4
lesson.1-4. done
NGFuture Sep 15, 2021
4735f8a
Merge pull request #5 from NGFuture/lesson-1-4
NGFuture Sep 18, 2021
8b6df76
Merge branch 'Code-the-Dream-School:main' into main
NGFuture Sep 18, 2021
7de1535
lesson 1.5. done
NGFuture Sep 19, 2021
c76b9ca
Merge pull request #6 from NGFuture/lesson-1-5
NGFuture Sep 28, 2021
1b65071
lesson-1-6 done
NGFuture Oct 1, 2021
eb1cd1a
Merge pull request #7 from NGFuture/lesson-1-6
NGFuture Oct 14, 2021
2446414
lesson1.7 done
NGFuture Oct 15, 2021
0d21ded
Merge pull request #9 from NGFuture/lesson-1-7
NGFuture Nov 2, 2021
3b28543
lesson 1-8 done
NGFuture Nov 2, 2021
46abf8d
Merge pull request #10 from NGFuture/lesson-1-8
NGFuture Nov 6, 2021
a68bf10
lesson-1-9
NGFuture Nov 10, 2021
c309d35
Merge pull request #11 from NGFuture/lesson-1-9
NGFuture Nov 11, 2021
f74b611
lesson-3-1
NGFuture Nov 13, 2021
6f7e459
Merge pull request #12 from NGFuture/lesson-3-1
NGFuture Nov 14, 2021
3016b5e
lesson-3-1
NGFuture Nov 14, 2021
82438ab
lesson-3-1 final
NGFuture Nov 14, 2021
32c0802
Merge pull request #13 from NGFuture/lesson-3-1
NGFuture Nov 14, 2021
9d65162
lesson-3-1 css updated
NGFuture Nov 18, 2021
92b1f16
inspiration added
NGFuture Nov 19, 2021
42449ba
Lesson-4-1 finished
NGFuture Nov 26, 2021
ffd0e88
Merge pull request #14 from NGFuture/lesson-4-1
NGFuture Nov 26, 2021
4c61549
lesson-5-1
NGFuture Dec 6, 2021
f786fd5
lesson-5-1 container added
NGFuture Dec 6, 2021
4976980
Merge pull request #15 from NGFuture/lesson-5-1
NGFuture Dec 13, 2021
60017a2
final version
NGFuture Dec 13, 2021
48ea9b1
Merge pull request #16 from NGFuture/lesson-5-1
NGFuture Dec 13, 2021
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
1 change: 1 addition & 0 deletions Class2.1/ctd-react-numberGuessingAssignment
Submodule ctd-react-numberGuessingAssignment added at 5004b1
Binary file added ToDoApp/202111 todo item.psd
Binary file not shown.
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 ToDoApp/IMG/202111-todo-item.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 32 additions & 0 deletions h --set-upstream origin lesson-1-9
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
a68bf10 (HEAD -> lesson-1-9) lesson-1-9
46abf8d (origin/main, origin/HEAD, main) Merge pull request #10 from NGFuture/lesson-1-8
3b28543 (origin/lesson-1-8, lesson-1-8) lesson 1-8 done
0d21ded Merge pull request #9 from NGFuture/lesson-1-7
2446414 (origin/lesson-1-7, lesson-1-7) lesson1.7 done
eb1cd1a Merge pull request #7 from NGFuture/lesson-1-6
1b65071 lesson-1-6 done
c76b9ca Merge pull request #6 from NGFuture/lesson-1-5
7de1535 (origin/lesson-1-5, lesson-1-5) lesson 1.5. done
8b6df76 Merge branch 'Code-the-Dream-School:main' into main
4735f8a Merge pull request #5 from NGFuture/lesson-1-4
6448828 feat: write instructions for lesson 1.5
1cb67d4 (origin/lesson-1-4, lesson-1-4) lesson.1-4. done
d3aac98 Merge branch 'Code-the-Dream-School:main' into main
0724fee Merge pull request #4 from NGFuture/lesson-1-3
612dfd5 feat: write instructions for lesson 1.4
5e1b349 (origin/lesson-1-3, lesson-1-3) lesson1-3 done
59d868c Merge branch 'Code-the-Dream-School:main' into main
8db0fee Merge pull request #3 from NGFuture/lesson-1-2
d67b80c Merge pull request #9 from Code-the-Dream-School/instructions/lesson-1-3
feabda2 feat: write instructions for lesson 1.3
914b03b (origin/lesson-1-2, lesson-1-2) lesson2
06ec91a Merge branch 'Code-the-Dream-School:main' into main
5f75c8b Merge pull request #2 from NGFuture/lesson-1-1
09959cd (origin/lesson-1-1, lesson-1-1) less1final
b5b99ba Merge pull request #1 from NGFuture/lesson-1-1
c51e6c8 feat: write instructions for lesson 1.2
92d07e1 lesson1full
2c55de4 basic project
20fba19 Merge pull request #1 from Code-the-Dream-School/instructions/lesson-1-1
8324046 feat: instructions for lesson 1.1
588ee82 Initial commit
23 changes: 23 additions & 0 deletions less1.1/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
16,114 changes: 16,114 additions & 0 deletions less1.1/package-lock.json

Large diffs are not rendered by default.

33 changes: 33 additions & 0 deletions less1.1/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"name": "less1.1",
"version": "0.1.0",
"private": true,
"dependencies": {
"prop-types": "^15.7.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-router-dom": "^5.2.0",
"react-scripts": "4.0.3"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}
Binary file added less1.1/public/favicon.ico
Binary file not shown.
48 changes: 48 additions & 0 deletions less1.1/public/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description" content="Web site created using create-react-app" />
<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=Libre+Franklin:wght@500&display=swap" rel="stylesheet">


<link href="https://fonts.googleapis.com/css2?family=Raleway:wght@300&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Rubik:wght@500&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Caveat:wght@600&display=swap" rel="stylesheet">

<!-- Permanent marker cursive -->
<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=Caveat:wght@600&display=swap" rel="stylesheet">

<!--
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Only files inside the `public` folder can be referenced from the HTML.

Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
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`.
-->
<title>React App</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<!-- <div id="root"></div> ></div> -->
<div id="root" body style="background-image: linear-gradient(rgb(114, 78, 49), rgb(188, 128, 80), rgb(114, 78, 49))"></div></div>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.

You can add webfonts, meta tags, or analytics to this file.
The build step will place the bundled scripts into the <body> tag.

To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->
</body>
</html>
87 changes: 87 additions & 0 deletions less1.1/src/App.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
import React, { useState } from 'react';
import { BrowserRouter, Route, Switch, Link } from "react-router-dom";
import styles from './App.module.css';
import logo from './components/IMG/202111-todo-item.jpg'
import TodoContainer from './components/TodoContainer.js'


import Inspiration from './components/Inspiration';


function App() {

const [activeButton, setButton] = useState('fun')

return (
<BrowserRouter>
<div className={styles.wholePage}>
<header className={styles.headerMain}>
<img src={logo} alt="Logo" className={styles.headerImg} />
<nav className={styles.headerNav}>
<ul className={styles.headerLists}>
<li
className={activeButton === "fun" ? `${styles.headerList1} ${styles.active}` : styles.headerList1}
onClick={() => setButton("fun")}
>
<Link to="/">Fun</Link>
</li>
<li
className={activeButton === "work" ? `${styles.headerList2} ${styles.active}` : styles.headerList2}
onClick={() => setButton("work")}
>
{/* <a href="/work">Work</a> */}
<Link to="/Work">Work</Link>
</li>
<li
className={activeButton === "education" ? `${styles.headerList3} ${styles.active}` : styles.headerList3}
onClick={() => setButton("education")}
>
<Link to="/Education">Education</Link>
</li>
<li
className={activeButton === "health" ? `${styles.headerList4} ${styles.active}` : styles.headerList4}
onClick={() => setButton("health")}
>
<Link to="/Health">Health</Link>
</li>
</ul>
</nav>

</header>

<Switch>
<Route exact path="/">
<>
{/* <h1>Fun Todo List</h1>
<AddTodoForm onAddTodo={addTodo} />
<p>{isLoading ?'Loading...' : null}</p>
<TodoList todoList={todoList} onRemoveTodo = {removeTodo}/>
<Inspiration /> */}
<TodoContainer tableName="Default" />
<Inspiration />
</>
</Route>
<Route path="/Work">
<>
<TodoContainer tableName="List 2" />
<Inspiration />
</>
</Route>

<Route path="/Education">
<TodoContainer tableName="List 3" />
<Inspiration />
</Route>
<Route path="/Health">
<TodoContainer tableName="List 4" />
<Inspiration />
</Route>
</Switch>
</div>
</BrowserRouter>
);
}



export default App;
137 changes: 137 additions & 0 deletions less1.1/src/App.module.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
/* Colors:
gradient-dark: rgb(114, 78, 49),
gradient-light: rgb(188, 128, 80)
dark-violet: rgb(94, 21, 73);
light-violet: rgb(175, 76, 145)

Dark-dark brown rgb(52, 41, 39)
dark-brown rgb(75, 59, 59)
dark-violet - proposed: rgb(120, 40, 101);
light-violet - proposed: rgb(180, 52, 136)

pink rgb(235, 112, 143)
nut rgb(187, 132, 76)
nude rgb(235, 171, 146)
light-nude rgb(238, 211, 192)
*/


.wholePage {
display: flex;
flex-direction: column;
/* justify-content: center; */
max-width: 960px;
align-items: center;
padding: 20px;
min-height: 100vh;
box-sizing: border-box;
margin-left: auto;
margin-right: auto;
font-family: 'Libre Franklin', sans-serif;
/* font-family: 'Raleway', sans-serif; */
/* font-family: 'Rubik', sans-serif; */
/* font-family: 'Caveat', cursive; */
}

.headerMain {
display: grid;
grid-template-columns: 2fr 1fr;
grid-gap: 10px;
grid-template-areas:
"headerNav headerImg"
}
.headerNav {
grid-area: headerNav;


/* position: fixed;
top: 0;
width: 100% */

}
.headerImg {
grid-area: headerImg;
max-width: 138px;
border: 2px solid white;
margin-top: 0.3rem;
}
.headerLists {
list-style: none;
margin: 0;
padding: 0;

display: grid;
grid-gap: 10px;
grid-template-areas:
"headerList1 headerList2"
"headerList3 headerList4"
}
.headerList1 {
grid-area: headerList1;
}
.active a {
background-color: rgb(180, 52, 136) !important;

/* -webkit-text-stroke: 1px black;
-webkit-text-fill-color: white; */
}
.headerList2 {
grid-area: headerList2;
}
.headerList3 {
grid-area: headerList3;
}
.headerList4 {
grid-area: headerList4;
}

.headerLists li a {
display: inline-block;
width: 144px;
color: white;
padding: 19px 0px;
text-align: center;
text-decoration: none;
border-radius: 0.25rem;
/* background: rgb(120, 40, 101); */
background: rgb(120, 40, 101);
margin: 0.3rem;
font-size: 1.25rem;
font-weight: 400;
}

/* Change the link color on hover */
.headerLists li a:hover {
background-color: rgb(235, 112, 143);
color: white;
}

h1 {
display: none;
color: white;
font-weight: 400;
}


@media (max-width: 769px) {
.headerMain {
display: flex;
flex-direction: column;
justify-content: center;
}

.headerImg {
max-width: 100px;
align-self: center
}

.headerLists li a {
padding: 5px 0px;
margin: 0;
}

h1 {
font-size: 18px;
}

}
Loading