├── .gitignore
├── README.md
├── package-lock.json
├── package.json
├── public
├── favicon.ico
├── images
│ ├── callcenter.jpg
│ ├── hero1.jpg
│ ├── hero2.jpg
│ ├── hero3.jpg
│ ├── hero4.jpg
│ └── mainHero.png
├── index.html
├── manifest.json
└── robots.txt
├── src
├── API
│ ├── howToUse.js
│ ├── serviceApi.js
│ └── workApi.js
├── Aboutus.js
├── App.js
├── Contact.js
├── Error404.js
├── Footer.js
├── Header.js
├── Home.js
├── HowItWorks.js
├── Services.js
├── index.css
├── index.js
├── navbar.js
└── pages
│ ├── About.js
│ ├── Contact.js
│ ├── Error.js
│ └── Service.js
└── yarn.lock
/.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 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Getting Started with Create React App
2 |
3 | This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
4 |
5 | ## Available Scripts
6 |
7 | In the project directory, you can run:
8 |
9 | ### `yarn start`
10 |
11 | Runs the app in the development mode.\
12 | Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
13 |
14 | The page will reload if you make edits.\
15 | You will also see any lint errors in the console.
16 |
17 | ### `yarn test`
18 |
19 | Launches the test runner in the interactive watch mode.\
20 | See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
21 |
22 | ### `yarn build`
23 |
24 | Builds the app for production to the `build` folder.\
25 | It correctly bundles React in production mode and optimizes the build for the best performance.
26 |
27 | The build is minified and the filenames include the hashes.\
28 | Your app is ready to be deployed!
29 |
30 | See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
31 |
32 | ### `yarn eject`
33 |
34 | **Note: this is a one-way operation. Once you `eject`, you can’t go back!**
35 |
36 | 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.
37 |
38 | 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.
39 |
40 | 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.
41 |
42 | ## Learn More
43 |
44 | You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
45 |
46 | To learn React, check out the [React documentation](https://reactjs.org/).
47 |
48 | ### Code Splitting
49 |
50 | This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)
51 |
52 | ### Analyzing the Bundle Size
53 |
54 | This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)
55 |
56 | ### Making a Progressive Web App
57 |
58 | This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)
59 |
60 | ### Advanced Configuration
61 |
62 | This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)
63 |
64 | ### Deployment
65 |
66 | This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)
67 |
68 | ### `yarn build` fails to minify
69 |
70 | This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)
71 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "thapapay",
3 | "version": "0.1.0",
4 | "private": true,
5 | "dependencies": {
6 | "@testing-library/jest-dom": "^5.11.4",
7 | "@testing-library/react": "^11.1.0",
8 | "@testing-library/user-event": "^12.1.10",
9 | "react": "^17.0.2",
10 | "react-dom": "^17.0.2",
11 | "react-router-dom": "^5.2.0",
12 | "react-scripts": "4.0.3",
13 | "web-vitals": "^1.0.1"
14 | },
15 | "scripts": {
16 | "start": "react-scripts start",
17 | "build": "react-scripts build",
18 | "test": "react-scripts test",
19 | "eject": "react-scripts eject"
20 | },
21 | "eslintConfig": {
22 | "extends": [
23 | "react-app",
24 | "react-app/jest"
25 | ]
26 | },
27 | "browserslist": {
28 | "production": [
29 | ">0.2%",
30 | "not dead",
31 | "not op_mini all"
32 | ],
33 | "development": [
34 | "last 1 chrome version",
35 | "last 1 firefox version",
36 | "last 1 safari version"
37 | ]
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/public/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thapatechnical/reactfirebaseYoutube/5fee0c43e920267ec6661ba96ecdb13e6aa5114e/public/favicon.ico
--------------------------------------------------------------------------------
/public/images/callcenter.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thapatechnical/reactfirebaseYoutube/5fee0c43e920267ec6661ba96ecdb13e6aa5114e/public/images/callcenter.jpg
--------------------------------------------------------------------------------
/public/images/hero1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thapatechnical/reactfirebaseYoutube/5fee0c43e920267ec6661ba96ecdb13e6aa5114e/public/images/hero1.jpg
--------------------------------------------------------------------------------
/public/images/hero2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thapatechnical/reactfirebaseYoutube/5fee0c43e920267ec6661ba96ecdb13e6aa5114e/public/images/hero2.jpg
--------------------------------------------------------------------------------
/public/images/hero3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thapatechnical/reactfirebaseYoutube/5fee0c43e920267ec6661ba96ecdb13e6aa5114e/public/images/hero3.jpg
--------------------------------------------------------------------------------
/public/images/hero4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thapatechnical/reactfirebaseYoutube/5fee0c43e920267ec6661ba96ecdb13e6aa5114e/public/images/hero4.jpg
--------------------------------------------------------------------------------
/public/images/mainHero.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thapatechnical/reactfirebaseYoutube/5fee0c43e920267ec6661ba96ecdb13e6aa5114e/public/images/mainHero.png
--------------------------------------------------------------------------------
/public/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
12 |
13 |
14 |
15 |
16 | ThapaPay
17 |
18 |
25 |
26 |
32 |
33 |
34 | You need to enable JavaScript to run this app.
35 |
36 |
41 |
46 |
51 |
52 |
53 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/public/robots.txt:
--------------------------------------------------------------------------------
1 | # https://www.robotstxt.org/robotstxt.html
2 | User-agent: *
3 | Disallow:
4 |
--------------------------------------------------------------------------------
/src/API/howToUse.js:
--------------------------------------------------------------------------------
1 | const howToUseApp = [
2 | {
3 | id: 1,
4 | title: "Sign in",
5 | info: "Lorem ipsum, dolor sit amet consectetur adipisicing elit. Etquia quis?Lorem ipsum, dolor sit amet consectetur adipisicing elit. Etquia quis?Lorem ipsum, Etquia quis?Lorem ipsum, Etquia quis?",
6 | },
7 | {
8 | id: 2,
9 | title: "Add your bank Account",
10 | info: "Lorem ipsum, dolor sit amet consectetur adipisicing elit. Etquia quis?Lorem ipsum, dolor sit amet consectetur adipisicing elit.",
11 | },
12 | {
13 | id: 3,
14 | title: "Send payment request",
15 | info: "Lorem ipsum, dolor sit amet consectetur adipisicing elit. Etquia quis?Lorem ipsum, consectetur adipisicing elit. Etquia quis?Lorem ipsum?",
16 | },
17 | ];
18 |
19 | export default howToUseApp;
20 |
--------------------------------------------------------------------------------
/src/API/serviceApi.js:
--------------------------------------------------------------------------------
1 | const serviceapi = [
2 | {
3 | id: 1,
4 | logo: "fas fa-download",
5 | title: "Register for free.",
6 | info: "Lorem ipsum, dolor sit amet consectetur adipisicing elit. Etquia quis?Lorem ipsum, dolor sit amet consectetur adipisicing elit. Etquia quis?",
7 | },
8 | {
9 | id: 2,
10 | logo: "fas fa-user-check",
11 | title: "Verify your identity ",
12 | info: "Lorem ipsum, dolor sit amet consectetur adipisicing elit. Etquia quis?Lorem ipsum, dolor sit amet consectetur adipisicing elit. Etquia quis?",
13 | },
14 | {
15 | id: 3,
16 | logo: "fas fa-money-check-alt",
17 | title: "Add recipient's bank details.",
18 | info: "Lorem ipsum, dolor sit amet consectetur adipisicing elit. Etquia quis?Lorem ipsum, dolor sit amet consectetur adipisicing elit. Etquia quis?",
19 | },
20 | {
21 | id: 4,
22 | logo: "fab fa-amazon-pay",
23 | title: "Pay for your transfer.",
24 | info: "Lorem ipsum, dolor sit amet consectetur adipisicing elit. Etquia quis?Lorem ipsum, dolor sit amet consectetur adipisicing elit. Etquia quis?",
25 | },
26 | {
27 | id: 5,
28 | logo: "fas fa-hand-holding-usd",
29 | title: "choose an amount to send.",
30 | info: "Lorem ipsum, dolor sit amet consectetur adipisicing elit. Etquia quis?Lorem ipsum, dolor sit amet consectetur adipisicing elit. Etquia quis?",
31 | },
32 | {
33 | id: 6,
34 | logo: "fas fa-globe",
35 | title: "That's it.",
36 | info: "Lorem ipsum, dolor sit amet consectetur adipisicing elit. Etquia quis?Lorem ipsum, dolor sit amet consectetur adipisicing elit. Etquia quis?",
37 | },
38 | ];
39 |
40 | export default serviceapi;
41 |
--------------------------------------------------------------------------------
/src/API/workApi.js:
--------------------------------------------------------------------------------
1 | const workapi = [
2 | {
3 | id: 1,
4 | logo: "fas fa-download",
5 | title: "Downlaod App",
6 | info: "Lorem ipsum, dolor sit amet consectetur adipisicing elit. Etquia quis?Lorem ipsum, dolor sit amet consectetur adipisicing elit. Etquia quis?",
7 | },
8 | {
9 | id: 2,
10 | logo: "fas fa-chalkboard-teacher",
11 | title: "Complete the Instruction ",
12 | info: "Lorem ipsum, dolor sit amet consectetur adipisicing elit. Etquia quis?Lorem ipsum, dolor sit amet consectetur adipisicing elit. Etquia quis?",
13 | },
14 | {
15 | id: 3,
16 | logo: "fas fa-donate",
17 | title: "Receive your funds",
18 | info: "Lorem ipsum, dolor sit amet consectetur adipisicing elit. Etquia quis?Lorem ipsum, dolor sit amet consectetur adipisicing elit. Etquia quis?",
19 | },
20 | ];
21 |
22 | export default workapi;
23 |
--------------------------------------------------------------------------------
/src/Aboutus.js:
--------------------------------------------------------------------------------
1 | import React, { useState } from "react";
2 | import howToUseApp from "./API/howToUse.js";
3 |
4 | const Aboutus = () => {
5 | const [aboutData, setAboutData] = useState(howToUseApp);
6 | return (
7 | <>
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 | {/* 1section right side data */}
16 |
17 |
18 | -- AVAILABLE @ GOOGLE AND IOS APP STORE ONLY
19 |
20 |
How to use the App?
21 |
22 | {aboutData.map((curElem) => {
23 | const { id, title, info } = curElem;
24 | return (
25 | <>
26 |
27 |
{id}
28 |
29 |
{title}
30 |
{info}
31 |
32 |
33 | >
34 | );
35 | })}
36 |
37 |
38 |
learn more
39 |
40 |
41 |
42 |
43 |
44 | {/* 2nd part of bayt us section */}
45 |
46 |
47 |
48 |
49 | {/* 1section right side data */}
50 |
51 |
-- SUPPORT IN ANY LANGUAGES
52 |
53 | World class support is available 24/7
54 |
55 |
56 | {aboutData.map((curElem) => {
57 | const { id, title, info } = curElem;
58 | return (
59 | <>
60 |
61 |
{id}
62 |
63 |
{title}
64 |
{info}
65 |
66 |
67 | >
68 | );
69 | })}
70 |
71 |
72 |
learn more
73 |
74 |
75 | {/* images section */}
76 |
77 |
78 |
79 |
80 |
81 |
82 | >
83 | );
84 | };
85 |
86 | export default Aboutus;
87 |
--------------------------------------------------------------------------------
/src/App.js:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import Home from "./Home";
3 | import { Route, Switch } from "react-router";
4 | import About from "./pages/About";
5 | import Contact from "./pages/Contact";
6 | import Service from "./pages/Service";
7 | import Error from "./pages/Error";
8 |
9 | const App = () => {
10 | return (
11 | <>
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 | >
20 | );
21 | };
22 |
23 | export default App;
24 |
--------------------------------------------------------------------------------
/src/Contact.js:
--------------------------------------------------------------------------------
1 | import React, { useState } from "react";
2 |
3 | const Contact = () => {
4 | const [userData, setUserData] = useState({
5 | firstName: "",
6 | lastName: "",
7 | phone: "",
8 | email: "",
9 | address: "",
10 | message: "",
11 | });
12 |
13 | let name, value;
14 | const postUserData = (event) => {
15 | name = event.target.name;
16 | value = event.target.value;
17 |
18 | setUserData({ ...userData, [name]: value });
19 | };
20 |
21 | // connect with firebase
22 | const submitData = async (event) => {
23 | event.preventDefault();
24 | const { firstName, lastName, phone, email, address, message } = userData;
25 |
26 | if (firstName && lastName && phone && email && address && message) {
27 | const res = fetch(
28 | "https://reactfirebasewebsite-default-rtdb.firebaseio.com/userDataRecords.json",
29 | {
30 | method: "POST",
31 | headers: {
32 | "Content-Type": "application/json",
33 | },
34 | body: JSON.stringify({
35 | firstName,
36 | lastName,
37 | phone,
38 | email,
39 | address,
40 | message,
41 | }),
42 | }
43 | );
44 |
45 | if (res) {
46 | setUserData({
47 | firstName: "",
48 | lastName: "",
49 | phone: "",
50 | email: "",
51 | address: "",
52 | message: "",
53 | });
54 | alert("Data Stored");
55 | } else {
56 | alert("plz fill the data");
57 | }
58 | } else {
59 | alert("plz fill the data");
60 | }
61 | };
62 |
63 | return (
64 | <>
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 | Connect With Our Sales Team.
73 |
74 |
75 | Lorem ipsum dolor sit amet consectetur adipisicing elit.
76 | Deserunt eaque alias similique.
77 |
78 |
79 |
84 |
85 |
86 |
87 | {/* right side contact form */}
88 |
188 |
189 |
190 |
191 |
192 |
193 | >
194 | );
195 | };
196 |
197 | export default Contact;
198 |
--------------------------------------------------------------------------------
/src/Error404.js:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import { NavLink } from "react-router-dom";
3 |
4 | const Error404 = () => {
5 | return (
6 | <>
7 |
8 |
9 |
10 |
404
11 |
12 |
WE ARE SORRY, PAGE NOT FOUND!
13 |
14 | THE PAGE YOU ARE LOOKING FOR MIGHT HAVE BEEN REMOVED HAD ITS NAME
15 | CHANGED OR IS TEMPORARILY UNAVAILABLE.
16 |
17 |
back to homepage
18 |
19 |
20 | >
21 | );
22 | };
23 |
24 | export default Error404;
25 |
--------------------------------------------------------------------------------
/src/Footer.js:
--------------------------------------------------------------------------------
1 | import React from "react";
2 |
3 | const Footer = () => {
4 | return (
5 | <>
6 |
7 |
8 |
9 |
10 |
11 |
28 |
29 |
46 |
47 |
64 |
65 |
66 |
Follow Us
67 |
68 |
69 |
70 |
71 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 | Copyright @ 2021 ThapaPay. All rights reserved.
91 |
92 |
93 |
94 |
95 |
96 |
97 | >
98 | );
99 | };
100 |
101 | export default Footer;
102 |
--------------------------------------------------------------------------------
/src/Header.js:
--------------------------------------------------------------------------------
1 | import React from "react";
2 |
3 | const Header = () => {
4 | return (
5 | <>
6 |
7 |
8 |
9 |
10 |
11 | Online Payment Made Easy For You.
12 |
13 |
14 | Lorem ipsum, dolor sit amet consectetur adipisicing elit. Et,
15 | quia quis? Ipsa officia ad deserunt voluptate quam, nisi odio
16 | officiis tempora recusandae voluptate quam, nisi odio officiis
17 | tempora recusandae
18 |
19 |
Get early access for you
20 |
21 |
26 |
Get it now
27 |
28 |
29 | {/* --------------- main header right side-------------- */}
30 |
31 |
36 |
41 |
42 |
43 |
44 |
45 | >
46 | );
47 | };
48 |
49 | export default Header;
50 |
--------------------------------------------------------------------------------
/src/Home.js:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import Navbar from "./navbar";
3 | import Header from "./Header";
4 | import HowItWorks from "./HowItWorks";
5 | import Aboutus from "./Aboutus";
6 | import Services from "./Services";
7 | import Contact from "./Contact";
8 | import Footer from "./Footer";
9 |
10 | const Home = () => {
11 | return (
12 | <>
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 | >
21 | );
22 | };
23 |
24 | export default Home;
25 |
--------------------------------------------------------------------------------
/src/HowItWorks.js:
--------------------------------------------------------------------------------
1 | import React, { useState } from "react";
2 | import workapi from "./API/workApi.js";
3 |
4 | const HowItWorks = () => {
5 | const [workData, setWorkData] = useState(workapi);
6 | console.log(workData);
7 | return (
8 | <>
9 |
10 |
11 |
How does it Work
12 |
13 | {workData.map((curElem) => {
14 | const { id, logo, title, info } = curElem;
15 | return (
16 | <>
17 |
18 |
19 |
{title}
20 |
{info}
21 |
22 | >
23 | );
24 | })}
25 |
26 |
27 |
28 | >
29 | );
30 | };
31 |
32 | export default HowItWorks;
33 |
--------------------------------------------------------------------------------
/src/Services.js:
--------------------------------------------------------------------------------
1 | import React, { useState } from "react";
2 | import serviceapi from "./API/serviceApi.js";
3 |
4 | const Services = () => {
5 | const [serviceData, setServiceData] = useState(serviceapi);
6 | return (
7 | <>
8 |
9 |
10 |
11 | How to send money
12 |
13 |
14 | {serviceData.map((curElem) => {
15 | const { id, logo, title, info } = curElem;
16 | return (
17 | <>
18 |
21 |
22 |
{title}
23 |
{info}
24 |
25 | >
26 | );
27 | })}
28 |
29 |
30 |
31 | >
32 | );
33 | };
34 |
35 | export default Services;
36 |
--------------------------------------------------------------------------------
/src/index.css:
--------------------------------------------------------------------------------
1 | @import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&display=swap");
2 |
3 | /* custom colors */
4 |
5 | * {
6 | margin: 0;
7 | padding: 0;
8 | box-sizing: border-box;
9 | font-family: "Poppins", sans-serif;
10 | }
11 |
12 | :root {
13 | --bgcolor: #f1f5fd;
14 | --primary-color: #6f5de7;
15 | --text-color: #828286;
16 | --main-text-color: #333333;
17 | }
18 |
19 | html {
20 | font-size: 62.5%;
21 | }
22 |
23 | a {
24 | text-decoration: none;
25 | color: #fff;
26 | }
27 |
28 | h1,
29 | h2,
30 | h3,
31 | h4,
32 | h5,
33 | h6 {
34 | color: #333333;
35 | }
36 |
37 | /* --------------------------------- navbar css style starts
38 | -------------------------------------------------------*/
39 |
40 | .navbar-bg {
41 | background-color: var(--bgcolor);
42 | padding: 2rem 0;
43 | z-index: 99;
44 | position: relative;
45 | }
46 |
47 | .navbar-brand {
48 | font-size: 2.5rem;
49 | }
50 |
51 | .navbar li {
52 | padding: 0 2rem;
53 | }
54 |
55 | .navbar li a {
56 | font-size: 1.7rem;
57 | font-weight: lighter;
58 | position: relative;
59 | }
60 |
61 | .navbar li a:hover {
62 | color: var(--primary-color) !important;
63 | text-shadow: 0 0.2rem 0.3rem rgba(183, 171, 255, 0.5);
64 | }
65 |
66 | .btn-style {
67 | width: 12rem;
68 | height: 4rem;
69 | border-radius: 2rem;
70 | color: #fff;
71 | background-color: var(--primary-color);
72 | text-transform: capitalize;
73 | font-size: 1.6rem;
74 | }
75 |
76 | .btn-style:first-child {
77 | margin-right: 2rem;
78 | }
79 |
80 | .btn-style:hover {
81 | border: 0.1rem solid var(--primary-color);
82 | background-color: transparent;
83 | color: var(--primary-color);
84 | box-shadow: 0 0.2rem 0.5rem rgba(183, 171, 255, 0.5);
85 | }
86 |
87 | .btn-style-border {
88 | border: 0.1rem solid var(--primary-color);
89 | background-color: transparent;
90 | color: var(--primary-color);
91 | box-shadow: 0 0.2rem 0.5rem rgba(183, 171, 255, 0.5);
92 | }
93 |
94 | .btn-style-border:hover {
95 | color: #fff;
96 | background-color: var(--primary-color);
97 | text-transform: capitalize;
98 | }
99 |
100 | /* --------------------------------- Navbar ends
101 | -------------------------------------------------------*/
102 |
103 | /* --------------------------------- Hero sEction starts
104 | -------------------------------------------------------*/
105 | header {
106 | background-color: var(--bgcolor);
107 | min-height: 100vh;
108 | width: 100%;
109 | }
110 |
111 | .main-hero-container {
112 | height: 80vh;
113 | display: flex;
114 | /* background-color: aqua; */
115 | }
116 |
117 | .main-hero-container h1 {
118 | text-transform: capitalize;
119 | font-weight: bolder;
120 | }
121 |
122 | .main-hero-para {
123 | font-size: 1.5rem;
124 | color: var(--text-color);
125 | margin: 3rem 0 5rem 0;
126 | font-weight: lighter;
127 | width: 75%;
128 | }
129 |
130 | .main-hero-container h3 {
131 | font-weight: lighter;
132 | }
133 |
134 | .input-group {
135 | position: relative !important;
136 | }
137 |
138 | .form-control-text {
139 | position: absolute;
140 | height: 5rem;
141 | border: none;
142 | outline-style: none;
143 | padding-left: 1.5rem !important;
144 | font-size: 1.4rem;
145 | font-weight: lighter;
146 | }
147 |
148 | .input-group-button {
149 | position: absolute;
150 | right: 51%;
151 | top: 0.5rem;
152 | color: #fff;
153 | background-color: var(--primary-color);
154 | height: 4rem;
155 | width: 15%;
156 | border-radius: 2rem !important;
157 | text-align: center;
158 | display: flex;
159 | align-items: center;
160 | justify-content: center;
161 | font-size: 1.3rem;
162 | }
163 |
164 | /* right side of hero section */
165 |
166 | .main-herosection-images {
167 | position: relative;
168 | }
169 |
170 | .main-herosection-images img {
171 | width: 60%;
172 | height: 75%;
173 | margin-top: 10rem;
174 | box-shadow: 0 0.8rem 0.8rem rgba(0, 0, 0, 0.25);
175 | border-radius: 1.5rem;
176 | position: absolute;
177 | }
178 |
179 | .main-herosection-images .main-hero-img2 {
180 | position: absolute;
181 | width: 50%;
182 | height: 30%;
183 | left: 55%;
184 | top: -2%;
185 | box-shadow: 0.8rem 0 0.8rem rgba(0, 0, 0, 0.25);
186 | }
187 |
188 | /* --------------------------------- Hero sEction ends
189 | -------------------------------------------------------*/
190 |
191 | /* --------------------------------- Work Section below hero section starts
192 | -------------------------------------------------------*/
193 |
194 | .work-container {
195 | width: 80vw;
196 | padding: 5rem;
197 | box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.1);
198 | margin-top: -10rem;
199 | background-color: #fff;
200 | border-radius: 0.5rem;
201 | }
202 |
203 | .work-container .main-heading {
204 | font-size: 3rem;
205 | font-weight: bolder;
206 | margin-bottom: 4rem;
207 | word-spacing: 1rem;
208 | }
209 |
210 | .work-container-subdiv {
211 | padding: 0 6rem;
212 | }
213 |
214 | .work-container .sub-heading {
215 | font-size: 2rem;
216 | font-weight: normal;
217 | }
218 |
219 | .fontawesome-style {
220 | font-size: 2.3rem;
221 | color: var(--primary-color);
222 | width: 6rem;
223 | height: 6rem;
224 | border-radius: 50%;
225 | background-color: var(--bgcolor);
226 | display: grid;
227 | place-items: center;
228 | text-align: center;
229 | margin: 2rem auto;
230 | }
231 | /* --------------------------------- Work Section below hero section ends
232 | -------------------------------------------------------*/
233 |
234 | /* --------------------------------- About Us Section STarts
235 | -------------------------------------------------------*/
236 | .common-section {
237 | margin: 5rem 0;
238 | }
239 |
240 | .our-services img {
241 | width: 40%;
242 | height: 75%;
243 | margin-top: 10rem;
244 | box-shadow: rgba(0, 0, 0, 0.25) 0px 0.8rem 0.8rem;
245 | border-radius: 1.5rem;
246 | }
247 |
248 | .our-services .mini-title {
249 | text-transform: uppercase;
250 | font-weight: normal;
251 | margin: 3rem 0;
252 | text-align: left;
253 | font-size: 1.5rem;
254 | }
255 |
256 | .our-services .main-heading {
257 | font-weight: bolder;
258 | }
259 |
260 | .our-services-info {
261 | margin-top: 4rem;
262 | }
263 |
264 | .our-services .our-services-number {
265 | width: 3rem;
266 | height: 3rem;
267 | border-radius: 50%;
268 | background-color: transparent;
269 | border: 0.1rem solid var(--primary-color);
270 | font-size: 1.5rem;
271 | color: var(--primary-color);
272 | display: grid;
273 | place-items: center;
274 | }
275 |
276 | .our-services-data {
277 | padding-left: 2rem;
278 | }
279 |
280 | .our-services .our-services-data p {
281 | margin: 1rem 0;
282 | }
283 |
284 | /* 2nd section of about us */
285 |
286 | .our-services-rightside {
287 | margin-top: 10rem;
288 | }
289 |
290 | .our-services-rightside-content {
291 | padding-left: 8rem;
292 | }
293 |
294 | /* --------------------------------- About Us Section ends
295 | -------------------------------------------------------*/
296 | /* --------------------------------- Services Section starts
297 | -------------------------------------------------------*/
298 |
299 | .service-main-container {
300 | margin-top: 5rem;
301 | padding: 5rem 0;
302 | }
303 |
304 | .service-main-container .main-heading {
305 | margin: 3rem 0;
306 | }
307 |
308 | .work-container-subdiv {
309 | box-shadow: 0 0.1rem 0.4rem rgba(0, 0, 0, 0.16);
310 | }
311 |
312 | .work-container-subdiv:hover {
313 | background-color: var(--bgcolor);
314 | cursor: pointer;
315 | }
316 |
317 | .work-container-subdiv:hover > .fontawesome-style {
318 | background-color: #fff;
319 | }
320 |
321 | .work-container-subdiv .main-hero-para {
322 | width: 100%;
323 | }
324 |
325 | .service-main-container .work-container-subdiv .fontawesome-style {
326 | text-align: left;
327 | margin: 2rem 0;
328 | }
329 |
330 | @media (min-width: 1400px) {
331 | .service-container .col-xxl-4 {
332 | flex: 0 0 auto;
333 | width: 30% !important;
334 | margin: auto;
335 | }
336 | }
337 |
338 | @media (min-width: 992px) {
339 | .service-container .col-lg-4 {
340 | flex: 0 0 auto;
341 | width: 30% !important;
342 | margin: 2.5rem auto;
343 | }
344 | }
345 |
346 | /* --------------------------------- Services Section ends
347 | -------------------------------------------------------*/
348 |
349 | /* --------------------------------- Contact US Section starts
350 | -------------------------------------------------------*/
351 | .contactus-section {
352 | margin: 15rem 0;
353 | }
354 |
355 | .contact-leftside img {
356 | min-width: 80%;
357 | max-height: 30rem;
358 | height: auto;
359 | }
360 |
361 | .contact-input-feild {
362 | margin-bottom: 4rem;
363 | }
364 |
365 | .contact-rightside form .form-control {
366 | border: 1px solid #ced4da;
367 | -webkit-appearance: none;
368 | height: 5rem;
369 | border-radius: 0.5rem;
370 | font-size: 1.6rem;
371 | padding-left: 1rem;
372 | font-weight: lighter;
373 | }
374 |
375 | .contact-rightside form .form-check-input {
376 | width: 2rem;
377 | height: 2rem;
378 | }
379 |
380 | .form-checkbox-style {
381 | margin: 4rem 0;
382 | }
383 |
384 | .contact-rightside form .main-hero-para {
385 | font-size: 1.5rem;
386 | color: var(--text-color);
387 | margin: 0;
388 | font-weight: lighter;
389 | width: 75%;
390 | padding: 0 2rem;
391 | }
392 | /* --------------------------------- Contact US Section ends
393 | -------------------------------------------------------*/
394 |
395 | /* --------------------------------- Footer Section starts
396 | -------------------------------------------------------*/
397 |
398 | footer {
399 | padding: 5rem 0;
400 | background-color: #182334;
401 | color: #fff;
402 | }
403 |
404 | footer h2 {
405 | color: #fff;
406 | }
407 |
408 | footer li {
409 | list-style: none;
410 | font-size: 1.5rem;
411 | font-weight: lighter;
412 | color: #fff;
413 | cursor: pointer;
414 | margin: 1rem 0;
415 | }
416 |
417 | footer li:hover {
418 | color: var(--primary-color);
419 | }
420 |
421 | footer .fontawesome-style {
422 | font-size: 2.3rem;
423 | color: var(--primary-color);
424 | background-color: transparent;
425 | width: 0rem;
426 | height: 0rem;
427 | margin: 2rem 0;
428 | cursor: pointer;
429 | }
430 |
431 | footer .fontawesome-style:hover {
432 | transition: all 1s;
433 | animation: rotatefont 1s linear infinite alternate-reverse;
434 | color: #fff;
435 | }
436 |
437 | @keyframes rotatefont {
438 | 0% {
439 | transform: scale(0.6);
440 | }
441 | 100% {
442 | transform: scale(1.2);
443 | }
444 | }
445 |
446 | footer .main-hero-para {
447 | margin: 0;
448 | }
449 |
450 | /* --------------------------------- Footer Section ends
451 | -------------------------------------------------------*/
452 |
453 | /* --------------------------------- 404 Error Page Section
454 | -------------------------------------------------------*/
455 |
456 | #notfound {
457 | position: relative;
458 | height: 100vh;
459 | }
460 |
461 | #notfound .notfound {
462 | position: absolute;
463 | left: 50%;
464 | top: 50%;
465 | -webkit-transform: translate(-50%, -50%);
466 | -ms-transform: translate(-50%, -50%);
467 | transform: translate(-50%, -50%);
468 | }
469 |
470 | .notfound {
471 | max-width: 920px;
472 | width: 100%;
473 | line-height: 1.4;
474 | text-align: center;
475 | padding-left: 15px;
476 | padding-right: 15px;
477 | }
478 |
479 | .notfound .notfound-404 {
480 | position: absolute;
481 | height: 100px;
482 | top: 0;
483 | left: 50%;
484 | -webkit-transform: translateX(-50%);
485 | -ms-transform: translateX(-50%);
486 | transform: translateX(-50%);
487 | z-index: -1;
488 | }
489 |
490 | .notfound .notfound-404 h1 {
491 | font-family: "Maven Pro", sans-serif;
492 | color: #ececec;
493 | font-weight: 900;
494 | font-size: 276px;
495 | margin: 0px;
496 | position: absolute;
497 | left: 50%;
498 | top: 50%;
499 | -webkit-transform: translate(-50%, -50%);
500 | -ms-transform: translate(-50%, -50%);
501 | transform: translate(-50%, -50%);
502 | }
503 |
504 | .notfound h2 {
505 | font-family: "Maven Pro", sans-serif;
506 | font-size: 46px;
507 | color: #000;
508 | font-weight: 900;
509 | text-transform: uppercase;
510 | margin: 0px;
511 | }
512 |
513 | .notfound p {
514 | font-size: 16px;
515 | color: #000;
516 | font-weight: 400;
517 | text-transform: uppercase;
518 | margin-top: 15px;
519 | }
520 |
521 | .notfound a {
522 | font-size: 14px;
523 | text-decoration: none;
524 | text-transform: uppercase;
525 | background: #189cf0;
526 | display: inline-block;
527 | padding: 16px 38px;
528 | border: 2px solid transparent;
529 | border-radius: 40px;
530 | color: #fff;
531 | font-weight: 400;
532 | -webkit-transition: 0.2s all;
533 | transition: 0.2s all;
534 | }
535 |
536 | .notfound a:hover {
537 | background-color: #fff;
538 | border-color: #189cf0;
539 | color: #189cf0;
540 | }
541 |
542 | @media only screen and (max-width: 480px) {
543 | .notfound .notfound-404 h1 {
544 | font-size: 162px;
545 | }
546 | .notfound h2 {
547 | font-size: 26px;
548 | }
549 | }
550 |
551 | /* --------------------------------- 404 Error Page Section Ends
552 | -------------------------------------------------------*/
553 |
554 | /* --------------------------------- responsive media queries
555 | -------------------------------------------------------*/
556 | @media (min-width: 1500px) {
557 | .container,
558 | .container-lg,
559 | .container-md,
560 | .container-sm,
561 | .container-xl,
562 | .container-xxl {
563 | max-width: 1500px !important;
564 | }
565 | }
566 |
567 | @media (min-width: 1400px) {
568 | .container,
569 | .container-lg,
570 | .container-md,
571 | .container-sm,
572 | .container-xl,
573 | .container-xxl {
574 | max-width: 1400px;
575 | }
576 | }
577 |
--------------------------------------------------------------------------------
/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 { BrowserRouter } from "react-router-dom";
6 |
7 | ReactDOM.render(
8 |
9 |
10 |
11 |
12 | ,
13 | document.getElementById("root")
14 | );
15 |
--------------------------------------------------------------------------------
/src/navbar.js:
--------------------------------------------------------------------------------
1 | import React, { useState } from "react";
2 | import { NavLink } from "react-router-dom";
3 |
4 | const Navbar = () => {
5 | const [show, setShow] = useState(false);
6 |
7 | return (
8 | <>
9 |
10 |
11 |
12 |
13 | ThapaPay
14 |
15 |
setShow(!show)}>
24 |
25 |
26 |
27 |
28 |
29 |
30 | Home
31 |
32 |
33 |
34 |
35 | Services
36 |
37 |
38 |
39 |
40 | About
41 |
42 |
43 |
44 |
45 | Contact
46 |
47 |
48 |
49 |
57 |
58 |
59 |
60 |
61 | >
62 | );
63 | };
64 |
65 | export default Navbar;
66 |
--------------------------------------------------------------------------------
/src/pages/About.js:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import Navbar from "../navbar";
3 | import Aboutus from "../Aboutus";
4 | import Footer from "../Footer";
5 |
6 | const About = () => {
7 | return (
8 | <>
9 |
10 |
11 |
12 |
13 |
14 | >
15 | );
16 | };
17 |
18 | export default About;
19 |
--------------------------------------------------------------------------------
/src/pages/Contact.js:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import Navbar from "../navbar";
3 | import Contacts from "../Contact";
4 | import Footer from "../Footer";
5 |
6 | const Contact = () => {
7 | return (
8 | <>
9 |
10 |
11 |
12 |
13 |
14 | >
15 | );
16 | };
17 |
18 | export default Contact;
19 |
--------------------------------------------------------------------------------
/src/pages/Error.js:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import Error404 from "../Error404";
3 | import Navbar from "../navbar";
4 | import Footer from "../Footer";
5 |
6 | const Error = () => {
7 | return (
8 | <>
9 |
10 |
11 |
12 | >
13 | );
14 | };
15 |
16 | export default Error;
17 |
--------------------------------------------------------------------------------
/src/pages/Service.js:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import Navbar from "../navbar";
3 | import Services from "../Services";
4 | import Footer from "../Footer";
5 |
6 | const Service = () => {
7 | return (
8 | <>
9 |
10 |
11 |
12 |
13 |
14 | >
15 | );
16 | };
17 |
18 | export default Service;
19 |
--------------------------------------------------------------------------------