Skip to content

davidmetraux/cs601_final_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

112 Commits
 
 
 
 

Repository files navigation

cs601_final_project

Final Project for David Metraux for CS601. It's a website about David's interests/life:

  1. Home Page
  2. Pathfinder Page
  3. Boston Weather Page
  4. Contact Page
  5. Game Page

Development

Generally:

  • Work on dev branch
  • Merge into main branch
  • deploy to gh-pages branch

But there are times I accidentally committed to the main branch first.

Install

Go to cs601_finalproject

$ npm install

Run locally

Go to cs601_finalproject

$ npm run start

Deployment

Go to cs601_finalproject

$ npm run deploy

Source

Used https://github.com/gitname/react-gh-pages to help setup.

Used https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/menu to help with menu styling

Used for Button/Link styling: https://www.w3schools.com/css/css3_buttons.asp

Used for scrollbar styling: https://www.w3schools.com/howto/howto_css_custom_scrollbar.asp

Weather API: https://www.weather.gov/documentation/services-web-api

React Form Hook: https://react-hook-form.com/get-started

Random: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/random

Article (what inspired me to use it for the weather page): https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/article

Adding SVGs: https://create-react-app.dev/docs/adding-images-fonts-and-files/#adding-svgs

SVGs from: https://www.svgrepo.com/

Pathfinder Logo under Paizo's Community Use Policy

Email Logo under MIT License

Work:

  • Hosted on GitHub Pages
  • Uses React
  • Styled Banner with Image
  • Navigational Menu
  • React Router (Hash Router) for multiple pages
  • Homepage that uses the same data as the navigational menu to get more details.
  • Page that fetches weather from boston
  • Page that gives some contact information and gives a dummy form with a variety of options
  • Page that uses Grid and Float that shows off a hobby of mine, Pathfinder
  • Page that asynchronously fetches a json of my Resume from the public folder and formats it.
  • Page that contains a simple game

Cool Notable Things:

General:

  • Flex used very often
  • Grid used very often
  • website works without CSS
  • Works on mobile views down to ~350px
  • TypeScript used
  • CSS modules used
  • media queries used for screen width and printing

Banner:

  • Gradient used
  • Gradient used over headshot to give effect of fading out
  • Title+Logo animates upwards when hovered over
  • Buttons in nav animate to different color Nav buttons are created by iterating through list

Main-area wrapper:

  • Scrollbar styled

Home Page:

  • Populated with same data as the nav

Pathfinder:

  • Uses Grid and Float

Boston Weather:

  • Fetches weather from API
  • Uses Grid

Contact David:

  • Uses inputs, textarea, select, checkbox, and radio select
  • validates input accordingly, with errors appearing after submission and updating with further edits

Resume:

  • Fetches JSON
  • Iterates over JSON to show content
  • Able to be printed, and removes certain elements that we don't want to be printed

Game:

  • Uses buttons and React for a simple game.

MIT License

Copyright 2025 David Metraux

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Releases

No releases published

Packages

 
 
 

Contributors