├── src
├── theme.js
├── commonStyles.js
├── assets
│ ├── logo
│ │ ├── logo.png
│ │ ├── logo_croped.png
│ │ └── logo_nobrand.png
│ ├── pictures
│ │ ├── website1.png
│ │ ├── company_team.jpg
│ │ ├── profile_picture_1.jpg
│ │ ├── profile_picture_2.jpg
│ │ ├── profile_picture_3.jpg
│ │ └── profile_picture_4.jpeg
│ └── illustrations
│ │ ├── settings.png
│ │ ├── bug_fixed.png
│ │ ├── mobile_phone.png
│ │ ├── authentication.png
│ │ ├── rocket_launch_.png
│ │ ├── web_development_.png
│ │ └── campaign_launch_flatline.png
├── App.js
├── setupTests.js
├── components
│ ├── sectionTitle
│ │ └── index.jsx
│ ├── marginer
│ │ └── index.jsx
│ ├── button
│ │ └── index.jsx
│ ├── downArrow
│ │ └── index.jsx
│ ├── navbar
│ │ └── index.jsx
│ ├── logo
│ │ └── index.jsx
│ ├── ourService
│ │ └── index.jsx
│ ├── reviewCard
│ │ └── index.jsx
│ └── footer
│ │ └── index.jsx
├── App.test.js
├── index.js
├── index.css
├── App.css
├── containers
│ └── homepage
│ │ ├── index.jsx
│ │ ├── servicesSection.jsx
│ │ ├── moreAboutSection.jsx
│ │ ├── topSection.jsx
│ │ └── reviewsSection.jsx
├── logo.svg
└── serviceWorker.js
├── public
├── robots.txt
├── favicon.ico
├── logo192.png
├── logo512.png
├── manifest.json
└── index.html
├── .gitignore
├── package.json
└── README.md
/src/theme.js:
--------------------------------------------------------------------------------
1 | export const theme = {
2 | primary: "#00B997",
3 | };
4 |
--------------------------------------------------------------------------------
/src/commonStyles.js:
--------------------------------------------------------------------------------
1 | export const theme = {
2 | primary: "#00B997",
3 | };
4 |
--------------------------------------------------------------------------------
/public/robots.txt:
--------------------------------------------------------------------------------
1 | # https://www.robotstxt.org/robotstxt.html
2 | User-agent: *
3 | Disallow:
4 |
--------------------------------------------------------------------------------
/public/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pokemon918/Smooth-React-Responsive-Website/HEAD/public/favicon.ico
--------------------------------------------------------------------------------
/public/logo192.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pokemon918/Smooth-React-Responsive-Website/HEAD/public/logo192.png
--------------------------------------------------------------------------------
/public/logo512.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pokemon918/Smooth-React-Responsive-Website/HEAD/public/logo512.png
--------------------------------------------------------------------------------
/src/assets/logo/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pokemon918/Smooth-React-Responsive-Website/HEAD/src/assets/logo/logo.png
--------------------------------------------------------------------------------
/src/assets/logo/logo_croped.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pokemon918/Smooth-React-Responsive-Website/HEAD/src/assets/logo/logo_croped.png
--------------------------------------------------------------------------------
/src/assets/logo/logo_nobrand.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pokemon918/Smooth-React-Responsive-Website/HEAD/src/assets/logo/logo_nobrand.png
--------------------------------------------------------------------------------
/src/assets/pictures/website1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pokemon918/Smooth-React-Responsive-Website/HEAD/src/assets/pictures/website1.png
--------------------------------------------------------------------------------
/src/assets/illustrations/settings.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pokemon918/Smooth-React-Responsive-Website/HEAD/src/assets/illustrations/settings.png
--------------------------------------------------------------------------------
/src/assets/pictures/company_team.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pokemon918/Smooth-React-Responsive-Website/HEAD/src/assets/pictures/company_team.jpg
--------------------------------------------------------------------------------
/src/assets/illustrations/bug_fixed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pokemon918/Smooth-React-Responsive-Website/HEAD/src/assets/illustrations/bug_fixed.png
--------------------------------------------------------------------------------
/src/assets/illustrations/mobile_phone.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pokemon918/Smooth-React-Responsive-Website/HEAD/src/assets/illustrations/mobile_phone.png
--------------------------------------------------------------------------------
/src/assets/pictures/profile_picture_1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pokemon918/Smooth-React-Responsive-Website/HEAD/src/assets/pictures/profile_picture_1.jpg
--------------------------------------------------------------------------------
/src/assets/pictures/profile_picture_2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pokemon918/Smooth-React-Responsive-Website/HEAD/src/assets/pictures/profile_picture_2.jpg
--------------------------------------------------------------------------------
/src/assets/pictures/profile_picture_3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pokemon918/Smooth-React-Responsive-Website/HEAD/src/assets/pictures/profile_picture_3.jpg
--------------------------------------------------------------------------------
/src/assets/pictures/profile_picture_4.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pokemon918/Smooth-React-Responsive-Website/HEAD/src/assets/pictures/profile_picture_4.jpeg
--------------------------------------------------------------------------------
/src/assets/illustrations/authentication.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pokemon918/Smooth-React-Responsive-Website/HEAD/src/assets/illustrations/authentication.png
--------------------------------------------------------------------------------
/src/assets/illustrations/rocket_launch_.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pokemon918/Smooth-React-Responsive-Website/HEAD/src/assets/illustrations/rocket_launch_.png
--------------------------------------------------------------------------------
/src/assets/illustrations/web_development_.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pokemon918/Smooth-React-Responsive-Website/HEAD/src/assets/illustrations/web_development_.png
--------------------------------------------------------------------------------
/src/assets/illustrations/campaign_launch_flatline.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pokemon918/Smooth-React-Responsive-Website/HEAD/src/assets/illustrations/campaign_launch_flatline.png
--------------------------------------------------------------------------------
/src/App.js:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import "./App.css";
3 | import { Homepage } from "./containers/homepage";
4 |
5 | function App(props) {
6 | return ;
7 | }
8 |
9 | export default App;
10 |
--------------------------------------------------------------------------------
/src/setupTests.js:
--------------------------------------------------------------------------------
1 | // jest-dom adds custom jest matchers for asserting on DOM nodes.
2 | // allows you to do things like:
3 | // expect(element).toHaveTextContent(/react/i)
4 | // learn more: https://github.com/testing-library/jest-dom
5 | import '@testing-library/jest-dom/extend-expect';
6 |
--------------------------------------------------------------------------------
/src/components/sectionTitle/index.jsx:
--------------------------------------------------------------------------------
1 | const { default: styled } = require("styled-components");
2 |
3 | export const SectionTitle = styled.h1`
4 | font-size: 34px;
5 | font-weight: bold;
6 | color: #000;
7 |
8 | @media screen and (max-width: 480px) {
9 | text-align: center;
10 | }
11 | `;
12 |
--------------------------------------------------------------------------------
/src/App.test.js:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 | import { render } from '@testing-library/react';
3 | import App from './App';
4 |
5 | test('renders learn react link', () => {
6 | const { getByText } = render();
7 | const linkElement = getByText(/learn react/i);
8 | expect(linkElement).toBeInTheDocument();
9 | });
10 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2 |
3 | # dependencies
4 | /node_modules
5 | /.pnp
6 | .pnp.js
7 |
8 | # testing
9 | /coverage
10 |
11 | # production
12 | /build
13 |
14 | # misc
15 | .DS_Store
16 | .env.local
17 | .env.development.local
18 | .env.test.local
19 | .env.production.local
20 |
21 | npm-debug.log*
22 | yarn-debug.log*
23 | yarn-error.log*
24 |
--------------------------------------------------------------------------------
/src/index.js:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 | import ReactDOM from 'react-dom';
3 | import './index.css';
4 | import App from './App';
5 | import * as serviceWorker from './serviceWorker';
6 |
7 | ReactDOM.render(
8 |
9 |
10 | ,
11 | document.getElementById('root')
12 | );
13 |
14 | // If you want your app to work offline and load faster, you can change
15 | // unregister() to register() below. Note this comes with some pitfalls.
16 | // Learn more about service workers: https://bit.ly/CRA-PWA
17 | serviceWorker.unregister();
18 |
--------------------------------------------------------------------------------
/public/manifest.json:
--------------------------------------------------------------------------------
1 | {
2 | "short_name": "React App",
3 | "name": "Create React App Sample",
4 | "icons": [
5 | {
6 | "src": "favicon.ico",
7 | "sizes": "64x64 32x32 24x24 16x16",
8 | "type": "image/x-icon"
9 | },
10 | {
11 | "src": "logo192.png",
12 | "type": "image/png",
13 | "sizes": "192x192"
14 | },
15 | {
16 | "src": "logo512.png",
17 | "type": "image/png",
18 | "sizes": "512x512"
19 | }
20 | ],
21 | "start_url": ".",
22 | "display": "standalone",
23 | "theme_color": "#000000",
24 | "background_color": "#ffffff"
25 | }
26 |
--------------------------------------------------------------------------------
/src/index.css:
--------------------------------------------------------------------------------
1 | @import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap");
2 |
3 | * {
4 | box-sizing: border-box;
5 | }
6 |
7 | body {
8 | margin: 0;
9 | padding: 0;
10 | font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto",
11 | "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
12 | sans-serif;
13 | -webkit-font-smoothing: antialiased;
14 | -moz-osx-font-smoothing: grayscale;
15 | }
16 |
17 | code {
18 | font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New",
19 | monospace;
20 | }
21 |
--------------------------------------------------------------------------------
/src/App.css:
--------------------------------------------------------------------------------
1 | .App {
2 | text-align: center;
3 | }
4 |
5 | .App-logo {
6 | height: 40vmin;
7 | pointer-events: none;
8 | }
9 |
10 | @media (prefers-reduced-motion: no-preference) {
11 | .App-logo {
12 | animation: App-logo-spin infinite 20s linear;
13 | }
14 | }
15 |
16 | .App-header {
17 | background-color: #282c34;
18 | min-height: 100vh;
19 | display: flex;
20 | flex-direction: column;
21 | align-items: center;
22 | justify-content: center;
23 | font-size: calc(10px + 2vmin);
24 | color: white;
25 | }
26 |
27 | .App-link {
28 | color: #61dafb;
29 | }
30 |
31 | @keyframes App-logo-spin {
32 | from {
33 | transform: rotate(0deg);
34 | }
35 | to {
36 | transform: rotate(360deg);
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/src/components/marginer/index.jsx:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import styled from "styled-components/macro";
3 |
4 | const HorizontalMargin = styled.span`
5 | display: flex;
6 | width: ${({ margin }) =>
7 | typeof margin === "string" ? margin : `${margin}px`};
8 | `;
9 |
10 | const VerticalMargin = styled.span`
11 | display: flex;
12 | height: ${({ margin }) =>
13 | typeof margin === "string" ? margin : `${margin}px`};
14 | `;
15 |
16 | function Marginer(props) {
17 | const { direction } = props;
18 |
19 | if (direction === "horizontal") return ;
20 | else {
21 | return ;
22 | }
23 | }
24 |
25 | Marginer.defaultProps = {
26 | direction: "horizontal",
27 | };
28 |
29 | export { Marginer };
30 |
--------------------------------------------------------------------------------
/src/components/button/index.jsx:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import styled from "styled-components";
3 | import { theme } from "../../theme";
4 |
5 | const ButtonWrapper = styled.button`
6 | padding: ${({ small }) => (small ? "5px 8px" : "7px 15px")};
7 | border-radius: 5px;
8 | background-color: ${theme.primary};
9 | color: #fff;
10 | font-weight: bold;
11 | font-size: ${({ small }) => (small ? "12px" : "16px")};
12 | outline: none;
13 | border: 2px solid transparent;
14 | transition: all 220ms ease-in-out;
15 | cursor: pointer;
16 |
17 | &:hover {
18 | background-color: transparent;
19 | border: 2px solid ${theme.primary};
20 | }
21 | `;
22 |
23 | export function Button(props) {
24 | return {props.children};
25 | }
26 |
--------------------------------------------------------------------------------
/src/containers/homepage/index.jsx:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import styled from "styled-components";
3 | import { Footer } from "../../components/footer";
4 | import { Marginer } from "../../components/marginer";
5 | import { MoreAboutSection } from "./moreAboutSection";
6 | import { ReviewsSection } from "./reviewsSection";
7 | import { ServicesSection } from "./servicesSection";
8 | import { TopSection } from "./topSection";
9 |
10 | const PageContainer = styled.div`
11 | width: 100%;
12 | height: 100%;
13 | display: flex;
14 | flex-direction: column;
15 | `;
16 |
17 | export function Homepage(props) {
18 | return (
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 | );
29 | }
30 |
--------------------------------------------------------------------------------
/src/components/downArrow/index.jsx:
--------------------------------------------------------------------------------
1 | import { faAngleDown } from "@fortawesome/free-solid-svg-icons";
2 | import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
3 | import React from "react";
4 | import styled from "styled-components";
5 | import { theme } from "../../theme";
6 |
7 | const ArrowContainer = styled.div`
8 | width: 46px;
9 | height: 46px;
10 | border-radius: 50%;
11 | background-color: rgba(113, 113, 113, 0.48);
12 | display: flex;
13 | justify-content: center;
14 | align-items: center;
15 | border: 2px solid transparent;
16 | transition: all 250ms ease-in-out;
17 | cursor: pointer;
18 |
19 | &:hover {
20 | border: 2px solid ${theme.primary};
21 | }
22 | `;
23 |
24 | const ArrowIcon = styled.div`
25 | margin-top: 3px;
26 | color: #fff;
27 | font-size: 29px;
28 | `;
29 |
30 | export function DownArrow() {
31 | return (
32 |
33 |
34 |
35 |
36 |
37 | );
38 | }
39 |
--------------------------------------------------------------------------------
/src/components/navbar/index.jsx:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import styled from "styled-components";
3 | import { Button } from "../button";
4 | import { Logo } from "../logo";
5 | import { Marginer } from "../marginer";
6 |
7 | const NavbarContainer = styled.div`
8 | width: 100%;
9 | height: 50px;
10 | padding: 0 2em;
11 | display: flex;
12 | align-items: center;
13 | justify-content: space-between;
14 | `;
15 |
16 | const BrandContainer = styled.div``;
17 |
18 | const AccessibilityContainer = styled.div`
19 | display: flex;
20 | flex-direction: row;
21 | `;
22 |
23 | const LoginButton = styled(Button)`
24 | background-color: transparent;
25 | border: none;
26 |
27 | &:hover {
28 | background-color: transparent;
29 | border: none;
30 | color: rgb(212, 212, 212);
31 | }
32 | `;
33 |
34 | export function Navbar(props) {
35 | return (
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 | Login
44 |
45 |
46 | );
47 | }
48 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "react-elegant-smooth-website",
3 | "version": "0.1.0",
4 | "private": true,
5 | "dependencies": {
6 | "@fortawesome/fontawesome-svg-core": "^1.2.32",
7 | "@fortawesome/free-brands-svg-icons": "^5.15.1",
8 | "@fortawesome/free-solid-svg-icons": "^5.15.1",
9 | "@fortawesome/react-fontawesome": "^0.1.11",
10 | "@testing-library/jest-dom": "^4.2.4",
11 | "@testing-library/react": "^9.3.2",
12 | "@testing-library/user-event": "^7.1.2",
13 | "node-sass": "^4.14.1",
14 | "pure-react-carousel": "^1.27.5",
15 | "react": "^16.14.0",
16 | "react-dom": "^16.14.0",
17 | "react-responsive": "^8.1.0",
18 | "react-scripts": "3.4.3",
19 | "react-scroll": "^1.8.1",
20 | "styled-components": "^5.2.0"
21 | },
22 | "scripts": {
23 | "start": "react-scripts start",
24 | "build": "react-scripts build",
25 | "test": "react-scripts test",
26 | "eject": "react-scripts eject"
27 | },
28 | "eslintConfig": {
29 | "extends": "react-app"
30 | },
31 | "browserslist": {
32 | "production": [
33 | ">0.2%",
34 | "not dead",
35 | "not op_mini all"
36 | ],
37 | "development": [
38 | "last 1 chrome version",
39 | "last 1 firefox version",
40 | "last 1 safari version"
41 | ]
42 | }
43 | }
44 |
--------------------------------------------------------------------------------
/src/components/logo/index.jsx:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import styled, { css } from "styled-components";
3 |
4 | import BeemaLogo from "../../assets/logo/logo_croped.png";
5 | import { theme } from "../../theme";
6 |
7 | const LogoContainer = styled.div`
8 | display: flex;
9 | flex-direction: ${({ inline }) => (inline ? "row" : "column")};
10 | align-items: center;
11 | `;
12 |
13 | const LogoImg = styled.img`
14 | width: 8em;
15 | height: 8em;
16 |
17 | ${({ inline }) =>
18 | inline &&
19 | css`
20 | width: 24px;
21 | height: 24px;
22 | margin-right: 6px;
23 | `};
24 |
25 | ${({ small }) =>
26 | small &&
27 | css`
28 | width: 4.8em;
29 | height: 4.8em;
30 | `};
31 | `;
32 |
33 | const LogoText = styled.div`
34 | margin-top: ${({ inline }) => (inline ? 0 : "6px")};
35 | font-size: ${({ inline, small }) =>
36 | inline ? "18px" : small ? "23px" : "40px"};
37 | color: ${({ inline }) => (inline ? "#fff" : theme.primary)};
38 | font-weight: 900;
39 | `;
40 |
41 | export function Logo(props) {
42 | const { inline, small } = props;
43 |
44 | return (
45 |
46 |
47 |
48 | Beema
49 |
50 |
51 | );
52 | }
53 |
--------------------------------------------------------------------------------
/src/components/ourService/index.jsx:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import styled from "styled-components/macro";
3 |
4 | const ServiceContainer = styled.div`
5 | display: flex;
6 | align-items: center;
7 | flex-direction: ${({ isReversed }) => isReversed && "row-reverse"};
8 | margin-bottom: 4em;
9 | flex-wrap: wrap-reverse;
10 |
11 | @media screen and (max-width: 480px) {
12 | justify-content: center;
13 | }
14 | `;
15 |
16 | const ServiceImg = styled.img`
17 | width: 22em;
18 | height: 17em;
19 |
20 | @media screen and (max-width: 480px) {
21 | width: 18em;
22 | height: 13em;
23 | }
24 | `;
25 |
26 | const DescriptionContainer = styled.div`
27 | display: flex;
28 | flex-direction: column;
29 | align-items: center;
30 | max-width: 60%;
31 |
32 | @media screen and (max-width: 480px) {
33 | max-width: 100%;
34 | }
35 | `;
36 |
37 | const Title = styled.h2`
38 | color: #000;
39 | font-size: 28px;
40 | font-weight: 700;
41 | margin: 5px 0;
42 |
43 | @media screen and (max-width: 480px) {
44 | margin-top: 1.5em;
45 | }
46 | `;
47 |
48 | const Details = styled.p`
49 | color: #7a7a7a;
50 | font-size: 21px;
51 | text-align: center;
52 | max-width: 55%;
53 |
54 | @media screen and (max-width: 480px) {
55 | width: 100%;
56 | }
57 | `;
58 |
59 | export function OurSerivce(props) {
60 | const { imgUrl, title, description, isReversed } = props;
61 |
62 | return (
63 |
64 |
65 | {title}
66 | {description}
67 |
68 |
69 |
70 | );
71 | }
72 |
--------------------------------------------------------------------------------
/public/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
12 |
13 |
17 |
18 |
27 | React App
28 |
29 |
30 |
31 |
32 |
42 |
43 |
44 |
--------------------------------------------------------------------------------
/src/containers/homepage/servicesSection.jsx:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import { Element } from "react-scroll";
3 | import styled from "styled-components";
4 | import { Marginer } from "../../components/marginer";
5 | import { OurSerivce } from "../../components/ourService";
6 | import { SectionTitle } from "../../components/sectionTitle";
7 |
8 | import Service1Img from "../../assets/illustrations/web_development_.png";
9 | import Service2Img from "../../assets/illustrations/mobile_phone.png";
10 | import Service3Img from "../../assets/illustrations/bug_fixed.png";
11 |
12 | const ServicesContainer = styled(Element)`
13 | width: 100%;
14 | min-height: 1100px;
15 | display: flex;
16 | flex-direction: column;
17 | align-items: center;
18 | padding: 10px 0;
19 | `;
20 |
21 | export function ServicesSection(props) {
22 | return (
23 |
24 | Best Quality Software
25 |
26 |
33 |
41 |
48 |
49 | );
50 | }
51 |
--------------------------------------------------------------------------------
/src/containers/homepage/moreAboutSection.jsx:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import { Element } from "react-scroll";
3 | import styled from "styled-components";
4 | import { SectionTitle } from "../../components/sectionTitle";
5 |
6 | import AboutImgUrl from "../../assets/illustrations/rocket_launch_.png";
7 |
8 | const MoreAboutContainer = styled(Element)`
9 | min-height: 500px;
10 | display: flex;
11 | flex-direction: column;
12 | align-items: center;
13 | padding: 0 1em;
14 | `;
15 |
16 | const AboutContainer = styled.div`
17 | display: flex;
18 | justify-content: center;
19 | align-items: center;
20 | max-width: 1000px;
21 |
22 | @media screen and (max-width: 480px) {
23 | max-width: 100%;
24 | flex-direction: column-reverse;
25 | }
26 | `;
27 |
28 | const AboutText = styled.p`
29 | font-size: 21px;
30 | color: #2f2f2f;
31 | font-weight: normal;
32 | line-height: 1.4;
33 | `;
34 |
35 | const AboutImg = styled.img`
36 | width: 600px;
37 | height: 500px;
38 | margin-left: 2em;
39 |
40 | @media screen and (max-width: 480px) {
41 | width: 370px;
42 | height: 290px;
43 | margin-left: 0;
44 | }
45 | `;
46 |
47 | export function MoreAboutSection(props) {
48 | return (
49 |
50 | More About Beema
51 |
52 |
53 | Beema is about designing, building and deliverying best quality
54 | software for your company. {
}
55 | {
} We make sure that you get the best software inferstracture
56 | and set of applications to ensure the best experience of your clients.{" "}
57 | {
}
58 | {
} So wether you are handling thousands of payment transactions
59 | or you’re just starting out, you are in the right place.
60 |
61 |
62 |
63 |
64 | );
65 | }
66 |
--------------------------------------------------------------------------------
/src/components/reviewCard/index.jsx:
--------------------------------------------------------------------------------
1 | import { faQuoteLeft } from "@fortawesome/free-solid-svg-icons";
2 | import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
3 | import React from "react";
4 | import styled from "styled-components";
5 | import { Marginer } from "../marginer";
6 |
7 | const CardContainer = styled.div`
8 | width: 350px;
9 | height: 430px;
10 | background-color: #fff;
11 | box-shadow: 0px 0px 7px rgba(17, 17, 17, 0.2);
12 | border-radius: 3px;
13 | margin: 5px 0;
14 | position: relative;
15 | padding: 10px 1.2em;
16 | `;
17 |
18 | const QuoteIcon = styled.div`
19 | position: absolute;
20 | top: 13px;
21 | left: 17px;
22 | color: #d1d1d1;
23 | font-size: 37px;
24 | `;
25 |
26 | const ReviewText = styled.p`
27 | font-size: 17px;
28 | color: #585858;
29 | font-weight: normal;
30 | display: flex;
31 | justify-content: center;
32 | `;
33 |
34 | const Line = styled.span`
35 | min-width: 100%;
36 | min-height: 1px;
37 | margin-bottom: 1em;
38 | background-color: #cdcdcd;
39 | display: flex;
40 | `;
41 |
42 | const UserDetails = styled.div`
43 | display: flex;
44 | align-items: center;
45 | `;
46 |
47 | const UserImg = styled.img`
48 | width: 45px;
49 | height: 45px;
50 | border-radius: 50%;
51 | margin-right: 10px;
52 | `;
53 |
54 | const Username = styled.span`
55 | font-size: 15px;
56 | color: #000;
57 | `;
58 |
59 | export function ReviewCard(props) {
60 | const { reviewText, username, userImgUrl } = props;
61 |
62 | return (
63 |
64 |
65 |
66 |
67 |
68 | {reviewText}
69 |
70 |
71 |
72 |
73 | {username}
74 |
75 |
76 | );
77 | }
78 |
--------------------------------------------------------------------------------
/src/containers/homepage/topSection.jsx:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import { Element, scroller } from "react-scroll";
3 | import styled from "styled-components";
4 |
5 | import BackgroundImg from "../../assets/pictures/company_team.jpg";
6 | import { Button } from "../../components/button";
7 | import { DownArrow } from "../../components/downArrow";
8 | import { Logo } from "../../components/logo";
9 | import { Marginer } from "../../components/marginer";
10 | import { Navbar } from "../../components/navbar";
11 |
12 | const TopContainer = styled.div`
13 | width: 100%;
14 | height: 100vh;
15 | padding: 0;
16 | background-image: url(${BackgroundImg});
17 | position: relative;
18 | `;
19 |
20 | const BackgroundFilter = styled.div`
21 | width: 100%;
22 | height: 100%;
23 | background-color: rgba(55, 55, 55, 0.89);
24 | display: flex;
25 | flex-direction: column;
26 | align-items: center;
27 | `;
28 |
29 | const MotivationalText = styled.h1`
30 | font-size: 34px;
31 | font-weight: 500;
32 | line-height: 1.4;
33 | color: #fff;
34 | margin: 0;
35 | text-align: center;
36 | `;
37 |
38 | const DownArrowContainer = styled.div`
39 | position: absolute;
40 | bottom: 25px;
41 | left: 50%;
42 | transform: translateX(-50%);
43 | `;
44 |
45 | export function TopSection(props) {
46 | const scrollToNextSection = () => {
47 | scroller.scrollTo("servicesSection", { smooth: true, duration: 1500 });
48 | };
49 |
50 | return (
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 | Software Development
59 | From the Best in the Industry
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 | );
69 | }
70 |
--------------------------------------------------------------------------------
/src/logo.svg:
--------------------------------------------------------------------------------
1 |
8 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
2 |
3 | ## Available Scripts
4 |
5 | In the project directory, you can run:
6 |
7 | ### `yarn start`
8 |
9 | Runs the app in the development mode.
10 | Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
11 |
12 | The page will reload if you make edits.
13 | You will also see any lint errors in the console.
14 |
15 | ### `yarn test`
16 |
17 | Launches the test runner in the interactive watch mode.
18 | See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
19 |
20 | ### `yarn build`
21 |
22 | Builds the app for production to the `build` folder.
23 | It correctly bundles React in production mode and optimizes the build for the best performance.
24 |
25 | The build is minified and the filenames include the hashes.
26 | Your app is ready to be deployed!
27 |
28 | See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
29 |
30 | ### `yarn eject`
31 |
32 | **Note: this is a one-way operation. Once you `eject`, you can’t go back!**
33 |
34 | If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
35 |
36 | Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.
37 |
38 | You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.
39 |
40 | ## Learn More
41 |
42 | You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
43 |
44 | To learn React, check out the [React documentation](https://reactjs.org/).
45 |
46 | ### Code Splitting
47 |
48 | This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting
49 |
50 | ### Analyzing the Bundle Size
51 |
52 | This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size
53 |
54 | ### Making a Progressive Web App
55 |
56 | This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app
57 |
58 | ### Advanced Configuration
59 |
60 | This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration
61 |
62 | ### Deployment
63 |
64 | This section has moved here: https://facebook.github.io/create-react-app/docs/deployment
65 |
66 | ### `yarn build` fails to minify
67 |
68 | This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify
69 |
--------------------------------------------------------------------------------
/src/components/footer/index.jsx:
--------------------------------------------------------------------------------
1 | import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
2 | import React from "react";
3 | import styled from "styled-components";
4 | import { Button } from "../button";
5 | import { Logo } from "../logo";
6 | import { Marginer } from "../marginer";
7 | import { faTwitter, faLinkedin } from "@fortawesome/free-brands-svg-icons";
8 |
9 | const FooterContainer = styled.div`
10 | width: 100%;
11 | height: 500px;
12 | display: flex;
13 | flex-direction: column;
14 | align-items: center;
15 | background-color: #1f1f1f;
16 | position: relative;
17 | `;
18 |
19 | const MotivationalText = styled.h1`
20 | font-size: 25px;
21 | font-weight: 500;
22 | line-height: 1.4;
23 | color: #fff;
24 | margin: 0;
25 | `;
26 |
27 | const AccessibilityContainer = styled.div`
28 | width: 80%;
29 | display: flex;
30 | border-top: 1px solid #cdcdcd;
31 | padding-top: 12px;
32 | padding-right: 10px;
33 | padding-left: 10px;
34 | color: #fff;
35 | justify-content: space-between;
36 |
37 | @media screen and (max-width: 480px) {
38 | width: 90%;
39 | padding-left: 8px;
40 | padding-right: 8px;
41 | }
42 | `;
43 |
44 | const PrivacyContainer = styled.div`
45 | display: flex;
46 | `;
47 |
48 | const SocialContainer = styled.div`
49 | display: flex;
50 | `;
51 |
52 | const SocialIcon = styled.div`
53 | color: #fff;
54 | font-size: 20px;
55 | transition: all 200ms ease-in-out;
56 | cursor: pointer;
57 |
58 | &:not(:last-of-type) {
59 | margin-right: 11px;
60 |
61 | @media screen and (max-width: 480px) {
62 | margin-right: 9px;
63 | }
64 | }
65 |
66 | @media screen and (max-width: 480px) {
67 | font-size: 14px;
68 | }
69 |
70 | &:hover {
71 | color: #adadad;
72 | }
73 | `;
74 |
75 | const Link = styled.a`
76 | color: #fff;
77 | transition: all 200ms ease-in-out;
78 | cursor: pointer;
79 | font-size: 14px;
80 |
81 | &:not(:last-of-type) {
82 | margin-right: 11px;
83 |
84 | @media screen and (max-width: 480px) {
85 | margin-right: 9px;
86 | }
87 | }
88 |
89 | @media screen and (max-width: 480px) {
90 | font-size: 12px;
91 | }
92 |
93 | &:hover {
94 | color: #adadad;
95 | }
96 | `;
97 |
98 | const RightsReserved = styled.div`
99 | position: absolute;
100 | bottom: 8px;
101 | left: 50%;
102 | transform: translateX(-50%);
103 | color: #fff;
104 | font-size: 12px;
105 | `;
106 |
107 | export function Footer(props) {
108 | return (
109 |
110 |
111 |
112 |
113 | Just say the magical word
114 | and we will do the rest
115 |
116 |
117 |
118 |
119 |
120 | Privacy Policy
121 | Terms of Service
122 | Contact
123 |
124 |
125 |
126 |
127 |
128 |
129 |
130 |
131 |
132 |
133 | © 2020 Beema All rights reserved
134 |
135 | );
136 | }
137 |
--------------------------------------------------------------------------------
/src/containers/homepage/reviewsSection.jsx:
--------------------------------------------------------------------------------
1 | import { CarouselProvider, DotGroup, Slide, Slider } from "pure-react-carousel";
2 | import React from "react";
3 | import { Element } from "react-scroll";
4 | import styled from "styled-components";
5 | import { Marginer } from "../../components/marginer";
6 | import { ReviewCard } from "../../components/reviewCard";
7 | import { SectionTitle } from "../../components/sectionTitle";
8 | import { useMediaQuery } from "react-responsive";
9 |
10 | import "pure-react-carousel/dist/react-carousel.es.css";
11 |
12 | import User1Img from "../../assets/pictures/profile_picture_1.jpg";
13 | import User2Img from "../../assets/pictures/profile_picture_2.jpg";
14 | import User3Img from "../../assets/pictures/profile_picture_3.jpg";
15 | import User4Img from "../../assets/pictures/profile_picture_4.jpeg";
16 |
17 | const ReviewsContainer = styled(Element)`
18 | height: 700px;
19 | display: flex;
20 | flex-direction: column;
21 | align-items: center;
22 | `;
23 |
24 | const StyledCarouselProvider = styled(CarouselProvider)`
25 | width: 50%;
26 |
27 | @media screen and (max-width: 480px) {
28 | width: 100%;
29 | }
30 | `;
31 |
32 | const StyledSlide = styled(Slide)`
33 | .carousel__inner-slide {
34 | display: flex;
35 | justify-content: center;
36 | }
37 | `;
38 |
39 | const StyledDotGroup = styled(DotGroup)`
40 | margin: auto;
41 | display: flex;
42 | justify-content: center;
43 | button {
44 | width: 11px;
45 | height: 11px;
46 | border-radius: 50%;
47 | background-color: #e4e4e4;
48 | border: none;
49 | outline: none;
50 | &:not(:last-of-type) {
51 | margin-right: 3px;
52 | }
53 | }
54 |
55 | .carousel__dot--selected {
56 | background-color: #c4c4c4;
57 | }
58 | `;
59 |
60 | export function ReviewsSection(props) {
61 | const isMobile = useMediaQuery({ query: "(max-width: 480px)" });
62 |
63 | return (
64 |
65 | What others are saying about us
66 |
67 |
74 |
75 |
76 |
81 |
82 |
83 |
88 |
89 |
90 |
95 |
96 |
97 |
102 |
103 |
104 |
105 |
106 |
107 | );
108 | }
109 |
--------------------------------------------------------------------------------
/src/serviceWorker.js:
--------------------------------------------------------------------------------
1 | // This optional code is used to register a service worker.
2 | // register() is not called by default.
3 |
4 | // This lets the app load faster on subsequent visits in production, and gives
5 | // it offline capabilities. However, it also means that developers (and users)
6 | // will only see deployed updates on subsequent visits to a page, after all the
7 | // existing tabs open on the page have been closed, since previously cached
8 | // resources are updated in the background.
9 |
10 | // To learn more about the benefits of this model and instructions on how to
11 | // opt-in, read https://bit.ly/CRA-PWA
12 |
13 | const isLocalhost = Boolean(
14 | window.location.hostname === 'localhost' ||
15 | // [::1] is the IPv6 localhost address.
16 | window.location.hostname === '[::1]' ||
17 | // 127.0.0.0/8 are considered localhost for IPv4.
18 | window.location.hostname.match(
19 | /^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/
20 | )
21 | );
22 |
23 | export function register(config) {
24 | if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {
25 | // The URL constructor is available in all browsers that support SW.
26 | const publicUrl = new URL(process.env.PUBLIC_URL, window.location.href);
27 | if (publicUrl.origin !== window.location.origin) {
28 | // Our service worker won't work if PUBLIC_URL is on a different origin
29 | // from what our page is served on. This might happen if a CDN is used to
30 | // serve assets; see https://github.com/facebook/create-react-app/issues/2374
31 | return;
32 | }
33 |
34 | window.addEventListener('load', () => {
35 | const swUrl = `${process.env.PUBLIC_URL}/service-worker.js`;
36 |
37 | if (isLocalhost) {
38 | // This is running on localhost. Let's check if a service worker still exists or not.
39 | checkValidServiceWorker(swUrl, config);
40 |
41 | // Add some additional logging to localhost, pointing developers to the
42 | // service worker/PWA documentation.
43 | navigator.serviceWorker.ready.then(() => {
44 | console.log(
45 | 'This web app is being served cache-first by a service ' +
46 | 'worker. To learn more, visit https://bit.ly/CRA-PWA'
47 | );
48 | });
49 | } else {
50 | // Is not localhost. Just register service worker
51 | registerValidSW(swUrl, config);
52 | }
53 | });
54 | }
55 | }
56 |
57 | function registerValidSW(swUrl, config) {
58 | navigator.serviceWorker
59 | .register(swUrl)
60 | .then(registration => {
61 | registration.onupdatefound = () => {
62 | const installingWorker = registration.installing;
63 | if (installingWorker == null) {
64 | return;
65 | }
66 | installingWorker.onstatechange = () => {
67 | if (installingWorker.state === 'installed') {
68 | if (navigator.serviceWorker.controller) {
69 | // At this point, the updated precached content has been fetched,
70 | // but the previous service worker will still serve the older
71 | // content until all client tabs are closed.
72 | console.log(
73 | 'New content is available and will be used when all ' +
74 | 'tabs for this page are closed. See https://bit.ly/CRA-PWA.'
75 | );
76 |
77 | // Execute callback
78 | if (config && config.onUpdate) {
79 | config.onUpdate(registration);
80 | }
81 | } else {
82 | // At this point, everything has been precached.
83 | // It's the perfect time to display a
84 | // "Content is cached for offline use." message.
85 | console.log('Content is cached for offline use.');
86 |
87 | // Execute callback
88 | if (config && config.onSuccess) {
89 | config.onSuccess(registration);
90 | }
91 | }
92 | }
93 | };
94 | };
95 | })
96 | .catch(error => {
97 | console.error('Error during service worker registration:', error);
98 | });
99 | }
100 |
101 | function checkValidServiceWorker(swUrl, config) {
102 | // Check if the service worker can be found. If it can't reload the page.
103 | fetch(swUrl, {
104 | headers: { 'Service-Worker': 'script' },
105 | })
106 | .then(response => {
107 | // Ensure service worker exists, and that we really are getting a JS file.
108 | const contentType = response.headers.get('content-type');
109 | if (
110 | response.status === 404 ||
111 | (contentType != null && contentType.indexOf('javascript') === -1)
112 | ) {
113 | // No service worker found. Probably a different app. Reload the page.
114 | navigator.serviceWorker.ready.then(registration => {
115 | registration.unregister().then(() => {
116 | window.location.reload();
117 | });
118 | });
119 | } else {
120 | // Service worker found. Proceed as normal.
121 | registerValidSW(swUrl, config);
122 | }
123 | })
124 | .catch(() => {
125 | console.log(
126 | 'No internet connection found. App is running in offline mode.'
127 | );
128 | });
129 | }
130 |
131 | export function unregister() {
132 | if ('serviceWorker' in navigator) {
133 | navigator.serviceWorker.ready
134 | .then(registration => {
135 | registration.unregister();
136 | })
137 | .catch(error => {
138 | console.error(error.message);
139 | });
140 | }
141 | }
142 |
--------------------------------------------------------------------------------