diff --git a/.gitignore b/.gitignore index d8899e9..7dd518f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,19 @@ +# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. + +# dependencies +/.pnp +.pnp.js + +# production +/build + +# misc +.env.local +.env.development.local +.env.test.local +.env.production.local + +# ===== Pre 2023 ======== # Logs logs *.log @@ -14,7 +30,7 @@ pids # Directory for instrumented libs generated by jscoverage/JSCover lib-cov -# Coverage directory used by tools like istanbul +# Coverage directory used by tools like istanbul or React testing (/coverage) coverage # nyc test coverage @@ -58,7 +74,7 @@ typings/ # gatsby files .cache/ -public +# public # Mac files .DS_Store @@ -70,4 +86,4 @@ yarn-error.log # Yarn Integrity file .yarn-integrity -.now \ No newline at end of file +.now diff --git a/ReactSteps.md b/docs/ReactSteps.md similarity index 91% rename from ReactSteps.md rename to docs/ReactSteps.md index 259cd21..e954ebb 100644 --- a/ReactSteps.md +++ b/docs/ReactSteps.md @@ -1,8 +1,10 @@ -Run `npx create-react-app my-app` - you will run `npm install react-scripts@latest` to update tooling +Run `npx create-react-app my-app` - you will run `npm install react-scripts@latest` to update tooling as needed. Check to ensure no issues with base creation by CD into folder and running `npm start`. -Move files and folder from `src` to `my-app/src` +Move files and folder from `src` to `my-app/src`. This will bring in the original files with this newly created React app. + +Move everything in the my-app folder to the base folder, since GitHub pages will not be looking in subfolders for the index file. Delete the my-app folder. Check to ensure working by running `npm start` again. # Adding In Sections Made From Volunteers diff --git a/my-app/README.md b/docs/react-README.md similarity index 100% rename from my-app/README.md rename to docs/react-README.md diff --git a/my-app/package-lock.json b/package-lock.json similarity index 100% rename from my-app/package-lock.json rename to package-lock.json diff --git a/my-app/package.json b/package.json similarity index 96% rename from my-app/package.json rename to package.json index 11ab19b..b6e6c12 100644 --- a/my-app/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "my-app", + "name": "Code-For-Dallas-App", "version": "0.1.0", "private": true, "dependencies": { diff --git a/public/favicon.ico b/public/favicon.ico new file mode 100644 index 0000000..a11777c Binary files /dev/null and b/public/favicon.ico differ diff --git a/public/index.html b/public/index.html new file mode 100644 index 0000000..aa069f2 --- /dev/null +++ b/public/index.html @@ -0,0 +1,43 @@ + + + + + + + + + + + + + React App + + + +
+ + + diff --git a/public/logo.png b/public/logo.png new file mode 100644 index 0000000..3353214 Binary files /dev/null and b/public/logo.png differ diff --git a/my-app/src/components/Logo/temp.png b/public/logo192.png similarity index 100% rename from my-app/src/components/Logo/temp.png rename to public/logo192.png diff --git a/public/logo512.png b/public/logo512.png new file mode 100644 index 0000000..a4e47a6 Binary files /dev/null and b/public/logo512.png differ diff --git a/public/manifest.json b/public/manifest.json new file mode 100644 index 0000000..080d6c7 --- /dev/null +++ b/public/manifest.json @@ -0,0 +1,25 @@ +{ + "short_name": "React App", + "name": "Create React App Sample", + "icons": [ + { + "src": "favicon.ico", + "sizes": "64x64 32x32 24x24 16x16", + "type": "image/x-icon" + }, + { + "src": "logo192.png", + "type": "image/png", + "sizes": "192x192" + }, + { + "src": "logo512.png", + "type": "image/png", + "sizes": "512x512" + } + ], + "start_url": ".", + "display": "standalone", + "theme_color": "#000000", + "background_color": "#ffffff" +} diff --git a/public/robots.txt b/public/robots.txt new file mode 100644 index 0000000..e9e57dc --- /dev/null +++ b/public/robots.txt @@ -0,0 +1,3 @@ +# https://www.robotstxt.org/robotstxt.html +User-agent: * +Disallow: diff --git a/my-app/src/App.css b/src/App.css similarity index 100% rename from my-app/src/App.css rename to src/App.css diff --git a/my-app/src/App.js b/src/App.js similarity index 100% rename from my-app/src/App.js rename to src/App.js diff --git a/my-app/src/App.test.js b/src/App.test.js similarity index 100% rename from my-app/src/App.test.js rename to src/App.test.js diff --git a/my-app/src/components/About/About.css b/src/components/About/About.css similarity index 100% rename from my-app/src/components/About/About.css rename to src/components/About/About.css diff --git a/my-app/src/components/About/About.html b/src/components/About/About.html similarity index 100% rename from my-app/src/components/About/About.html rename to src/components/About/About.html diff --git a/my-app/src/components/About/About.js b/src/components/About/About.js similarity index 100% rename from my-app/src/components/About/About.js rename to src/components/About/About.js diff --git a/my-app/src/components/Donations/Donations.css b/src/components/Donations/Donations.css similarity index 100% rename from my-app/src/components/Donations/Donations.css rename to src/components/Donations/Donations.css diff --git a/my-app/src/components/Donations/Donations.js b/src/components/Donations/Donations.js similarity index 100% rename from my-app/src/components/Donations/Donations.js rename to src/components/Donations/Donations.js diff --git a/my-app/src/components/Donations/donation.html b/src/components/Donations/donation.html similarity index 100% rename from my-app/src/components/Donations/donation.html rename to src/components/Donations/donation.html diff --git a/my-app/src/components/Footer/Footer.css b/src/components/Footer/Footer.css similarity index 100% rename from my-app/src/components/Footer/Footer.css rename to src/components/Footer/Footer.css diff --git a/my-app/src/components/Footer/Footer.js b/src/components/Footer/Footer.js similarity index 100% rename from my-app/src/components/Footer/Footer.js rename to src/components/Footer/Footer.js diff --git a/my-app/src/components/Footer/index.html b/src/components/Footer/index.html similarity index 100% rename from my-app/src/components/Footer/index.html rename to src/components/Footer/index.html diff --git a/my-app/src/components/Header/header-ORIGINAL.jsx b/src/components/Header/header-ORIGINAL.jsx similarity index 100% rename from my-app/src/components/Header/header-ORIGINAL.jsx rename to src/components/Header/header-ORIGINAL.jsx diff --git a/my-app/src/components/Header/header.css b/src/components/Header/header.css similarity index 100% rename from my-app/src/components/Header/header.css rename to src/components/Header/header.css diff --git a/my-app/src/components/Header/header.html b/src/components/Header/header.html similarity index 100% rename from my-app/src/components/Header/header.html rename to src/components/Header/header.html diff --git a/my-app/src/components/Header/header.js b/src/components/Header/header.js similarity index 100% rename from my-app/src/components/Header/header.js rename to src/components/Header/header.js diff --git a/my-app/src/components/Logo/Logo-ORIGINAL.jsx b/src/components/Logo/Logo-ORIGINAL.jsx similarity index 100% rename from my-app/src/components/Logo/Logo-ORIGINAL.jsx rename to src/components/Logo/Logo-ORIGINAL.jsx diff --git a/my-app/src/components/Logo/Logo.js b/src/components/Logo/Logo.js similarity index 100% rename from my-app/src/components/Logo/Logo.js rename to src/components/Logo/Logo.js diff --git a/src/components/Logo/temp.png b/src/components/Logo/temp.png new file mode 100644 index 0000000..fc44b0a Binary files /dev/null and b/src/components/Logo/temp.png differ diff --git a/my-app/src/components/Mission/index.jsx b/src/components/Mission/index.jsx similarity index 100% rename from my-app/src/components/Mission/index.jsx rename to src/components/Mission/index.jsx diff --git a/my-app/src/components/Nav/README.md b/src/components/Nav/README.md similarity index 100% rename from my-app/src/components/Nav/README.md rename to src/components/Nav/README.md diff --git a/my-app/src/components/Nav/clearNavFunc.js b/src/components/Nav/clearNavFunc.js similarity index 100% rename from my-app/src/components/Nav/clearNavFunc.js rename to src/components/Nav/clearNavFunc.js diff --git a/my-app/src/components/Nav/nav-BASE.js b/src/components/Nav/nav-BASE.js similarity index 100% rename from my-app/src/components/Nav/nav-BASE.js rename to src/components/Nav/nav-BASE.js diff --git a/my-app/src/components/Nav/nav.css b/src/components/Nav/nav.css similarity index 100% rename from my-app/src/components/Nav/nav.css rename to src/components/Nav/nav.css diff --git a/my-app/src/components/Nav/nav.js b/src/components/Nav/nav.js similarity index 100% rename from my-app/src/components/Nav/nav.js rename to src/components/Nav/nav.js diff --git a/my-app/src/components/Projects/Projects.css b/src/components/Projects/Projects.css similarity index 100% rename from my-app/src/components/Projects/Projects.css rename to src/components/Projects/Projects.css diff --git a/my-app/src/components/Projects/Projects.js b/src/components/Projects/Projects.js similarity index 100% rename from my-app/src/components/Projects/Projects.js rename to src/components/Projects/Projects.js diff --git a/my-app/src/components/Projects/README.md b/src/components/Projects/README.md similarity index 100% rename from my-app/src/components/Projects/README.md rename to src/components/Projects/README.md diff --git a/my-app/src/components/Projects/chatGPT-Projects.css b/src/components/Projects/chatGPT-Projects.css similarity index 100% rename from my-app/src/components/Projects/chatGPT-Projects.css rename to src/components/Projects/chatGPT-Projects.css diff --git a/my-app/src/components/Projects/chatGPT-Projects.html b/src/components/Projects/chatGPT-Projects.html similarity index 100% rename from my-app/src/components/Projects/chatGPT-Projects.html rename to src/components/Projects/chatGPT-Projects.html diff --git a/my-app/src/index.css b/src/index.css similarity index 100% rename from my-app/src/index.css rename to src/index.css diff --git a/my-app/src/index.js b/src/index.js similarity index 100% rename from my-app/src/index.js rename to src/index.js diff --git a/src/logo.svg b/src/logo.svg new file mode 100644 index 0000000..9dfc1c0 --- /dev/null +++ b/src/logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/my-app/src/reportWebVitals.js b/src/reportWebVitals.js similarity index 100% rename from my-app/src/reportWebVitals.js rename to src/reportWebVitals.js diff --git a/my-app/src/setupTests.js b/src/setupTests.js similarity index 100% rename from my-app/src/setupTests.js rename to src/setupTests.js