Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Projeto #95

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 1 addition & 34 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,34 +1 @@
# React JS Landing Page Template

**

# 🛎️🛎️ Good news! New & improved [V2](https://github.com/issaafalkattan/react-landing-page-template-2021) is out

**


### <a href="https://react-landing-page-template-93ne.vercel.app/">LIVE DEMO</a>

## Description
This is a ReactJS based landing page template, fit for a startup company/service with a one page view. The design is inspired by a template from <a href="https://www.free-css.com/assets/files/free-css-templates/preview/page234/interact/">Free-CSS.com </a>
All 'visual' data can be easily modified by changing the data.json file.

## Make it Yours!
### 1. Preps
You will need to have <a href="https://nodejs.org/">Node JS</a> installed on your pc.

### 2. Clone Files
After cloning the files, you will have to run ```yarn``` followed by ```yarn start``` in the CLI
### 3. Add your own data
Change the data in the ```data.json``` file as well as add any images to ```public/img/```
You can also change styles by modifying the ```public/css``` files.
If you need the contact form to work, you also need to create an EmailJS account, and modify the ```src/components/contact.jsx``` file to replace your own service ID, template ID and Public Key

## Like this project?
<a href="https://www.buymeacoffee.com/issaaf">Buy my a coffee ☕️</a>

## Credits
##### Free CSS
<a href="https://www.free-css.com/assets/files/free-css-templates/preview/page234/interact/">Free-CSS.com </a>

##### Issaaf kattan
#Lading Page React
Binary file added React-Landing-Page-Template.zip
Binary file not shown.
9 changes: 9 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "landingpage-react-template",
"private": true,
"dependencies": {
"@fortawesome/fontawesome-free": "^6.6.0",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.3.2",
"@testing-library/user-event": "^7.1.2",
Expand Down
6 changes: 3 additions & 3 deletions public/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ p.intro {
line-height: 24px;
}
a {
color: #608dfd;
color: #22002e;
font-weight: 400;
}
a:hover,
a:focus {
text-decoration: none;
color: #608dfd;
color: #67008a;
}
ul,
ol {
Expand Down Expand Up @@ -104,7 +104,7 @@ hr {
bottom: -1px;
width: 0;
height: 2px;
background: linear-gradient(to right, #6372ff 0%, #5ca9fb 100%);
background: linear-gradient(to right, #45005c 0%, #8a00b8 100%);
content: "";
transition: width 0.2s;
}
Expand Down
Binary file removed public/img/about.jpg
Binary file not shown.
Empty file added public/img/testimonials/dev.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
href="https://fonts.googleapis.com/css?family=Raleway:300,400,500,600,700,800,900"
rel="stylesheet"
/>
<title>A React Landing Page Template</title>
<title>Fast Code</title>
<meta name="description" content="" />
<meta name="author" content="@Issaafalkattan" />
</head>
Expand Down
5 changes: 5 additions & 0 deletions src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,9 @@
#portfolio {
width: 110%;
}
#google_translate_element {
display: block !important;
background-color: yellow;
}

}
4 changes: 0 additions & 4 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import { Header } from "./components/header";
import { Features } from "./components/features";
import { About } from "./components/about";
import { Services } from "./components/services";
import { Gallery } from "./components/gallery";
import { Testimonials } from "./components/testimonials";
import { Team } from "./components/Team";
import { Contact } from "./components/contact";
import JsonData from "./data/data.json";
Expand All @@ -30,8 +28,6 @@ const App = () => {
<Features data={landingPageData.Features} />
<About data={landingPageData.About} />
<Services data={landingPageData.Services} />
<Gallery data={landingPageData.Gallery} />
<Testimonials data={landingPageData.Testimonials} />
<Team data={landingPageData.Team} />
<Contact data={landingPageData.Contact} />
</div>
Expand Down
5 changes: 2 additions & 3 deletions src/components/Team.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@ export const Team = (props) => {
<div id="team" className="text-center">
<div className="container">
<div className="col-md-8 col-md-offset-2 section-title">
<h2>Meet the Team</h2>
<h2>Nosso Time</h2>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit duis sed
dapibus leonec.
Conheça a equipe de desenvolvedores da Fast Code!
</p>
</div>
<div id="row">
Expand Down
4 changes: 2 additions & 2 deletions src/components/about.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ export const About = (props) => {
</div>
<div className="col-xs-12 col-md-6">
<div className="about-text">
<h2>About Us</h2>
<h2>Dev Fundador</h2>
<p>{props.data ? props.data.paragraph : "loading..."}</p>
<h3>Why Choose Us?</h3>
<h3>Competências</h3>
<div className="list-style">
<div className="col-lg-6 col-sm-6 col-xs-12">
<ul>
Expand Down
37 changes: 10 additions & 27 deletions src/components/contact.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,9 @@ export const Contact = (props) => {
<div className="col-md-8">
<div className="row">
<div className="section-title">
<h2>Get In Touch</h2>
<h2>Fale conosco</h2>
<p>
Please fill out the form below to send us an email and we will
get back to you as soon as possible.
Por favor, preencha o formulário abaixo para nos enviar uma mensagem, e entraremos em contato com você o mais rápido possível.
</p>
</div>
<form name="sentMessage" validate onSubmit={handleSubmit}>
Expand All @@ -57,7 +56,7 @@ export const Contact = (props) => {
id="name"
name="name"
className="form-control"
placeholder="Name"
placeholder="Nome"
required
onChange={handleChange}
/>
Expand Down Expand Up @@ -85,38 +84,24 @@ export const Contact = (props) => {
id="message"
className="form-control"
rows="4"
placeholder="Message"
placeholder="Mensagem"
required
onChange={handleChange}
></textarea>
<p className="help-block text-danger"></p>
</div>
<div id="success"></div>
<button type="submit" className="btn btn-custom btn-lg">
Send Message
Enviar
</button>
</form>
</div>
</div>
<div className="col-md-3 col-md-offset-1 contact-info">
<div className="contact-item">
<h3>Contact Info</h3>
<p>
<span>
<i className="fa fa-map-marker"></i> Address
</span>
{props.data ? props.data.address : "loading"}
</p>
</div>
<div className="contact-item">
<p>
<span>
<i className="fa fa-phone"></i> Phone
</span>{" "}
{props.data ? props.data.phone : "loading"}
</p>
</div>
<div className="contact-item">
<h3>Informação de contato</h3>


<p>
<span>
<i className="fa fa-envelope-o"></i> Email
Expand Down Expand Up @@ -153,10 +138,8 @@ export const Contact = (props) => {
<div id="footer">
<div className="container text-center">
<p>
&copy; 2023 Issaaf Kattan React Land Page Template. Design by{" "}
<a href="http://www.templatewire.com" rel="nofollow">
TemplateWire
</a>
&copy; 2024 Maria Eduarda Pinheiro Carreiro Design

</p>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/features.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export const Features = (props) => {
<div id="features" className="text-center">
<div className="container">
<div className="col-md-10 col-md-offset-1 section-title">
<h2>Features</h2>
<h2>Características</h2>
</div>
<div className="row">
{props.data
Expand Down
2 changes: 1 addition & 1 deletion src/components/header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const Header = (props) => {
href="#features"
className="btn btn-custom btn-lg page-scroll"
>
Learn More
Saiba Mais
</a>{" "}
</div>
</div>
Expand Down
43 changes: 15 additions & 28 deletions src/components/navigation.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React from "react";
import '@fortawesome/fontawesome-free/css/all.min.css';
import React from "react"

export const Navigation = (props) => {
export const Navigation = () => {
return (
<nav id="menu" className="navbar navbar-default navbar-fixed-top">
<div className="container">
Expand All @@ -11,55 +12,41 @@ export const Navigation = (props) => {
data-toggle="collapse"
data-target="#bs-example-navbar-collapse-1"
>
{" "}
<span className="sr-only">Toggle navigation</span>{" "}
<span className="icon-bar"></span>{" "}
<span className="icon-bar"></span>{" "}
<span className="icon-bar"></span>{" "}
<span className="sr-only">Toggle navigation</span>
<span className="icon-bar"></span>
<span className="icon-bar"></span>
<span className="icon-bar"></span>
</button>
<a className="navbar-brand page-scroll" href="#page-top">
React Landing Page
</a>{" "}
FAST CODE
</a>
</div>

<div
className="collapse navbar-collapse"
id="bs-example-navbar-collapse-1"
>
<div className="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul className="nav navbar-nav navbar-right">
<li>
<a href="#features" className="page-scroll">
Features
Características
</a>
</li>
<li>
<a href="#about" className="page-scroll">
About
Sobre
</a>
</li>
<li>
<a href="#services" className="page-scroll">
Services
</a>
</li>
<li>
<a href="#portfolio" className="page-scroll">
Gallery
</a>
</li>
<li>
<a href="#testimonials" className="page-scroll">
Testimonials
Serviços
</a>
</li>
<li>
<a href="#team" className="page-scroll">
Team
Time
</a>
</li>
<li>
<a href="#contact" className="page-scroll">
Contact
Contato
</a>
</li>
</ul>
Expand Down
5 changes: 2 additions & 3 deletions src/components/services.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@ export const Services = (props) => {
<div id="services" className="text-center">
<div className="container">
<div className="section-title">
<h2>Our Services</h2>
<h2>Serviços Oferecidos</h2>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit duis sed
dapibus leonec.
Projetos personalizado feito com rapidez
</p>
</div>
<div className="row">
Expand Down
Loading