Skip to content

samaronybarros/react-smooth-scroll-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Smooth Scroll App

This is a project that building an app with a smooth scroll where the navbar items follow section scrolls.

Project Structure

For this project, the structure of the App is based on React.

The structure is shown below.

- react-smooth-scroll-app
    - node-modules
    - public
    - src
        - Components
        - Constants
        - Image
        - MainApp (We have just a main page)
        - Style
        - Tests
  • Components: This directory contains the app's components. We have NavBar, Logo and Section, where Section contains Section, and ListSection, that list the informed sections.

  • Constants: This directory contains default information that we used on our website. This folder is used only if we don't have a Backend structure.

  • Image: Store images in many formats.

  • MainApp: This directory contains the application's container and view. This is the main structure.

  • Tests: Contains the frontend tests.

  • Style: Contains the default styles, mainly if you would like to change simple information for all app.

Example:

export default {
  logoDefaultWidth: 60,
  logoDefaultHeight: 60,

  navShadowColor: 'rgba(0, 0, 0, 0.2)',
  navBgColor: '#FAFAFA',
  navTextColor: '#B0005B',
  ...
}

Download

You can download the folder on my GitHub.

If you have git installed on your PC, you just need do as follow:

$ git clone https://github.com/samaronybarros/react-smooth-scroll-app.git

Configuring App

$ cd react-smooth-scroll-app
$ npm install

Starting App

$ npm start

What you'll see?

Main App

react-smooth

Easy code change color

react-color

About

App that creates a navbar with links to redirect for a section

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published