Skip to content

Turners insurance app to take user information, return quote, and allow purchase.

Notifications You must be signed in to change notification settings

dbruner23/m5-turners-frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic folder structure for Turners Insurance app.

Each compoent has its own folder within 'components' folder and corresponding subfolder broken down by pages with its own .jsx and .module.css.

The 'pages' are just container components that will import all the different subcompoents. So you would do base styling for each 'page' and then pull in the subcompoents based on different conditions set in the page compoent. We'll route everything from the App.js base compoenent.

In an app with a bunch of compoents I've found modular css to be helpful to avoid conflicts. Basically just write the css as usual and then import it in the corresponding component with (for example):

import styles from './Navbar.module.css';

and then in the jsx render use:

About

Turners insurance app to take user information, return quote, and allow purchase.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published