Skip to content

Commit 26d9e47

Browse files
authored
feat: adds personalized folder to make components and a new page to recieve input in home.tsx. Lesson_25 -JosephCaballero (#609)
* feat: adds personalized folder to lesson_25 called josephs_template. makes changes to Homes.tsx as requested to make components for programs and programslist and recieve input in another page using router. lesson_26 -JosephCaballero * t puMerge branch 'main' of https://github.com/Josephcabs/code-differently-24-q4 into feature/lesson_25 * feat: modified home.tsx to clear input when clicking enter. lesson_25 -JosephCaballero * Merge branch 'main' of https://github.com/Josephcabs/code-differently-24-q4 into feature/lesson_25 * Merge branch 'main' of https://github.com/Josephcabs/code-differently-24-q4 into feature/lesson_25 * feat: puts components into their own files and folders, gives them scss, and routes the pages properly. Lesson_25 -JosephCaballero * feat: adheres to directions by making files our 'boss' does by convention * Merge branch 'main' of https://github.com/Josephcabs/code-differently-24-q4 into feature/lesson_25
1 parent 6a56478 commit 26d9e47

38 files changed

+4899
-0
lines changed

lesson_25/Josephs_template/.gitignore

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
pnpm-debug.log*
8+
lerna-debug.log*
9+
10+
node_modules
11+
dist
12+
dist-ssr
13+
*.local
14+
15+
# Editor directories and files
16+
.vscode/*
17+
!.vscode/extensions.json
18+
.idea
19+
.DS_Store
20+
*.suo
21+
*.ntvs*
22+
*.njsproj
23+
*.sln
24+
*.sw?
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"bracketSpacing": false,
3+
"singleQuote": true,
4+
"trailingComma": "es5",
5+
"arrowParens": "avoid",
6+
"importOrder": [
7+
"<THIRD_PARTY_MODULES>",
8+
"interface",
9+
"(?=content|api)",
10+
"context/",
11+
"mock/",
12+
"config",
13+
"utils/",
14+
"hooks/",
15+
"(components/|./index)",
16+
".svg",
17+
"^../(.*)$",
18+
"(?=./styles.module.scss)"
19+
],
20+
"endOfLine": "auto",
21+
"importOrderSeparation": true,
22+
"importOrderSortSpecifiers": true,
23+
"plugins": [
24+
"@trivago/prettier-plugin-sort-imports"
25+
]
26+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// .eslintrc.js
2+
import eslintConfigPrettier from 'eslint-config-prettier';
3+
4+
export default [eslintConfigPrettier];

lesson_25/Josephs_template/index.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
<title>Code Different - Cohort 24Q1</title>
8+
</head>
9+
<body>
10+
<div id="root"></div>
11+
<script type="module" src="/src/main.tsx"></script>
12+
</body>
13+
</html>

0 commit comments

Comments
 (0)