Skip to content

πŸ“ƒLandPage created with react and typescript inspired by the landpage of Inbound Emotion

License

Notifications You must be signed in to change notification settings

EuCarlos/landpage-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

20 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

LandPage React

Para a versΓ£o em portuguΓͺs deste README, clique aqui.

Project description

LandPage created with react and typescript inspired by the landpage of Inbound Emotion

GitHub language count GitHub top language GitHub repo size GitHub GitHub release (latest by date)


Installation

Clone the repo:

git clone https://github.com/EuCarlos/landpage-react.git && cd landpage-react

Install the dependencies using Yarn:

yarn install // or -> npm install 

Environment variables

create an .env file like the .env.example and fill in your github credentials

Run the project

Start a react server:

yarn dev // or -> npm run dev

The project

General Objective:

Develop a functional landpage and integrate theory and practice of acquired knowledge to reality.

Functional requirements

  • [FR001] - The system must have a form that receives the following fields: Name, Email, Company and Website.
  • [FR002] - The system should show a message after submitting the form.
  • [FR003] - The system should send an email for notification about the expected content.
  • [FR004] - The system must count the number of people who filled out the form.
  • [FR005] - The system should show (somewhere on the landpage) comments on related content.

Non-functional requirements

  • [NFR001] - The System must be responsive (adaptable for desktop, tablets and mobile phones).
  • [NFR002] - The system should be developed using React and TypeScript.
  • [NFR003] - The system must be connected to a message sending API (created by me).
  • [NFR004] - The system should have a good interface for man and machine interaction.
  • [NFR005] - The system should receive variables from environments.

Project prototype

image

The project is a landpage where a text (in Portuguese) with general information about the e-book is presented, with a form on the right side of the screen. On the website screen, comments from people who received your e-book by e-mail are also shown and report on the experience. At the bottom of the page there are buttons to access Github, LinkedIn, Dribbble, Instagram and the personal website of the landpage author.

Directory structure

.
β”œβ”€β”€ src
β”‚    β”œβ”€β”€ components
β”‚    β”‚    β”œβ”€β”€ LandingForm
β”‚    β”‚    β”‚      β”œβ”€β”€ index.tsx
β”‚    β”‚    β”‚      └── styles.module.sass
β”‚    β”‚    β”œβ”€β”€ MessageList
β”‚    β”‚    β”‚      β”œβ”€β”€ index.tsx
β”‚    β”‚    β”‚      └── styles.module.sass
β”‚    β”‚    └── Menu
β”‚    β”‚           β”œβ”€β”€ index.tsx
β”‚    β”‚           └── styles.module.sass
β”‚    β”œβ”€β”€ images
β”‚    β”‚    β”œβ”€β”€ image.svg
β”‚    β”‚    └── logo.svg
β”‚    β”œβ”€β”€ database
β”‚    β”‚    └── messageList.example.json
β”‚    β”œβ”€β”€ pages
β”‚    β”‚    └── Home
β”‚    β”‚          β”œβ”€β”€ index.tsx
β”‚    β”‚          └── styles.module.sass
β”‚    β”œβ”€β”€ services
β”‚    β”‚    └── api.ts
β”‚    β”œβ”€β”€ App.tsx
β”‚    β”œβ”€β”€ main.tsx
β”‚    β”œβ”€β”€ styles.module.sass
β”‚    └── vite-env.d.ts
β”œβ”€β”€ .gitignore
β”œβ”€β”€ index.html
β”œβ”€β”€ package.json
β”œβ”€β”€ README.md
β”œβ”€β”€ tsconfig.json
β”œβ”€β”€ vite.config.ts
└── yarn.lock

Created with heart πŸ’œ by Carlos Alves