generated from ReCoded-Org/capstone-react-redux-template
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Navbar for not logged in users (#92)
* Navbar for not logged in users * Navbar for not loggen in users * Navbar for not logged in users * Navbar for not logged in users * deleted package-lock.json * ran yarn fix Co-authored-by: allan <[email protected]>
- Loading branch information
1 parent
03fe71a
commit 645fbfd
Showing
44 changed files
with
1,600 additions
and
849 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,54 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
<meta name="theme-color" content="#000000" /> | ||
<meta | ||
name="description" | ||
content="Web site created using create-react-app" | ||
/> | ||
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" /> | ||
<!-- | ||
manifest.json provides metadata used when your web app is installed on a | ||
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/ | ||
--> | ||
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" /> | ||
<!-- | ||
Notice the use of %PUBLIC_URL% in the tags above. | ||
It will be replaced with the URL of the `public` folder during the build. | ||
Only files inside the `public` folder can be referenced from the HTML. | ||
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will | ||
work correctly both with client-side routing and a non-root public URL. | ||
Learn how to configure a non-root public URL by running `npm run build`. | ||
--> | ||
<title>React Redux App</title> | ||
</head> | ||
<body> | ||
<noscript>You need to enable JavaScript to run this app.</noscript> | ||
<div id="root"></div> | ||
<!-- | ||
This HTML file is a template. | ||
If you open it directly in the browser, you will see an empty page. | ||
You can add webfonts, meta tags, or analytics to this file. | ||
The build step will place the bundled scripts into the <body> tag. | ||
To begin the development, run `npm start` or `yarn start`. | ||
To create a production bundle, use `npm run build` or `yarn build`. | ||
--> | ||
</body> | ||
</html> | ||
<script type="text/javascript" | ||
src="https://cdn.jsdelivr.net/npm/@emailjs/browser@3/dist/email.min.js"> | ||
</script> | ||
<script type="text/javascript"> | ||
(function(){ | ||
emailjs.init("XLaQi2fl8od8a1zHc"); | ||
})(); | ||
</script> | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
<meta name="theme-color" content="#000000" /> | ||
<meta | ||
name="description" | ||
content="Web site created using create-react-app" | ||
/> | ||
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" /> | ||
<!-- | ||
manifest.json provides metadata used when your web app is installed on a | ||
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/ | ||
--> | ||
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" /> | ||
<!-- | ||
Notice the use of %PUBLIC_URL% in the tags above. | ||
It will be replaced with the URL of the `public` folder during the build. | ||
Only files inside the `public` folder can be referenced from the HTML. | ||
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will | ||
work correctly both with client-side routing and a non-root public URL. | ||
Learn how to configure a non-root public URL by running `npm run build`. | ||
--> | ||
<title>React Redux App</title> | ||
</head> | ||
<body> | ||
<noscript>You need to enable JavaScript to run this app.</noscript> | ||
<div id="root"></div> | ||
<!-- | ||
This HTML file is a template. | ||
If you open it directly in the browser, you will see an empty page. | ||
You can add webfonts, meta tags, or analytics to this file. | ||
The build step will place the bundled scripts into the <body> tag. | ||
To begin the development, run `npm start` or `yarn start`. | ||
To create a production bundle, use `npm run build` or `yarn build`. | ||
--> | ||
</body> | ||
</html> | ||
<script type="text/javascript" | ||
src="https://cdn.jsdelivr.net/npm/@emailjs/browser@3/dist/email.min.js"> | ||
</script> | ||
<script type="text/javascript"> | ||
(function(){ | ||
emailjs.init("XLaQi2fl8od8a1zHc"); | ||
})(); | ||
</script> | ||
<script src="https://kit.fontawesome.com/ee6989c844.js" crossorigin="anonymous"></script> | ||
<script type="module" src="https://unpkg.com/[email protected]/dist/ionicons/ionicons.esm.js"></script> | ||
<script nomodule src="https://unpkg.com/[email protected]/dist/ionicons/ionicons.js"></script> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"tabWidth": 2, | ||
"useTabs": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import React from 'react'; | ||
import React from "react"; | ||
|
||
function AboutUsComponent() { | ||
return ( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import renderer from 'react-test-renderer'; | ||
import renderer from "react-test-renderer"; | ||
|
||
import AboutUsComponent from './AboutUsComponent'; | ||
import AboutUsComponent from "./AboutUsComponent"; | ||
|
||
it('renders correctly when the component matches the snapshot', () => { | ||
it("renders correctly when the component matches the snapshot", () => { | ||
const tree = renderer.create(<AboutUsComponent />).toJSON(); | ||
expect(tree).toMatchSnapshot(); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import { configureStore } from '@reduxjs/toolkit'; | ||
import counterReducer from '../features/counter/counterSlice'; | ||
|
||
export const store = configureStore({ | ||
reducer: { | ||
counter: counterReducer, | ||
}, | ||
}); | ||
import { configureStore } from '@reduxjs/toolkit'; | ||
import counterReducer from '../features/counter/counterSlice'; | ||
|
||
export const store = configureStore({ | ||
reducer: { | ||
counter: counterReducer, | ||
}, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,58 +1,58 @@ | ||
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; | ||
import { | ||
faFileLines, | ||
faHandshake, | ||
faPen, | ||
} from '@fortawesome/free-solid-svg-icons'; | ||
|
||
function HowItWorks() { | ||
return ( | ||
<div className="container px-20 "> | ||
<div> | ||
<h1 className="text-left text-5xl font-inter text-secondary py-10 font-bold"> | ||
How it Works | ||
</h1> | ||
</div> | ||
<div className="text-left flex justify-center flex-nowrap content-center text- font-inter gap-20 small:flex-col small:items-center medium:flex-col pb-9"> | ||
<div className=" "> | ||
<div className="rounded-full bg-dark-gray h-16 w-16 flex items-center justify-center "> | ||
<FontAwesomeIcon | ||
icon={faFileLines} | ||
className="text-3xl text-accent" | ||
/> | ||
</div> | ||
<h1 className="text-3xl py-3 small:text-left">Create your resume </h1> | ||
<p className="text-justify small:text-justify small:text-xl"> | ||
Create your resume and add your skills and experience to your | ||
profile. You can also add your education and work experience to your | ||
profile. | ||
</p> | ||
</div> | ||
<div className=" "> | ||
<div className="rounded-full bg-dark-gray h-16 w-16 flex items-center justify-center"> | ||
<FontAwesomeIcon icon={faPen} className="text-3xl text-accent" /> | ||
</div> | ||
<h1 className="text-3xl py-3 small:text-left">Apply for jobs</h1> | ||
<p className="text-justify small:text-justify small:text-xl"> | ||
Search for jobs and apply for them. You can also search for | ||
companires and apply for their jobs. | ||
</p> | ||
</div> | ||
<div className=" "> | ||
<div className="rounded-full bg-secondary h-16 w-16 flex items-center justify-center"> | ||
<FontAwesomeIcon | ||
icon={faHandshake} | ||
className="text-3xl text-accent" | ||
/> | ||
</div> | ||
<h1 className="text-3xl py-3">Get Hired</h1> | ||
<p className="text-justify small:text-justify small:text-xl"> | ||
Once you have applied for a job you will be notified when the | ||
employer has responded to your application. | ||
</p> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
} | ||
export default HowItWorks; | ||
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; | ||
import { | ||
faFileLines, | ||
faHandshake, | ||
faPen, | ||
} from "@fortawesome/free-solid-svg-icons"; | ||
|
||
function HowItWorks() { | ||
return ( | ||
<div className="container px-20 "> | ||
<div> | ||
<h1 className="text-left text-5xl font-inter text-secondary py-10 font-bold"> | ||
How it Works | ||
</h1> | ||
</div> | ||
<div className="text-left flex justify-center flex-nowrap content-center text- font-inter gap-20 small:flex-col small:items-center medium:flex-col pb-9"> | ||
<div className=" "> | ||
<div className="rounded-full bg-dark-gray h-16 w-16 flex items-center justify-center "> | ||
<FontAwesomeIcon | ||
icon={faFileLines} | ||
className="text-3xl text-accent" | ||
/> | ||
</div> | ||
<h1 className="text-3xl py-3 small:text-left">Create your resume </h1> | ||
<p className="text-justify small:text-justify small:text-xl"> | ||
Create your resume and add your skills and experience to your | ||
profile. You can also add your education and work experience to your | ||
profile. | ||
</p> | ||
</div> | ||
<div className=" "> | ||
<div className="rounded-full bg-dark-gray h-16 w-16 flex items-center justify-center"> | ||
<FontAwesomeIcon icon={faPen} className="text-3xl text-accent" /> | ||
</div> | ||
<h1 className="text-3xl py-3 small:text-left">Apply for jobs</h1> | ||
<p className="text-justify small:text-justify small:text-xl"> | ||
Search for jobs and apply for them. You can also search for | ||
companires and apply for their jobs. | ||
</p> | ||
</div> | ||
<div className=" "> | ||
<div className="rounded-full bg-secondary h-16 w-16 flex items-center justify-center"> | ||
<FontAwesomeIcon | ||
icon={faHandshake} | ||
className="text-3xl text-accent" | ||
/> | ||
</div> | ||
<h1 className="text-3xl py-3">Get Hired</h1> | ||
<p className="text-justify small:text-justify small:text-xl"> | ||
Once you have applied for a job you will be notified when the | ||
employer has responded to your application. | ||
</p> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
} | ||
export default HowItWorks; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import React from 'react'; | ||
import renderer from 'react-test-renderer'; | ||
import HowItWorks from '../HowItWorks'; | ||
it('renders Custom button correctly', () => { | ||
import React from "react"; | ||
import renderer from "react-test-renderer"; | ||
import HowItWorks from "../HowItWorks"; | ||
it("renders Custom button correctly", () => { | ||
const tree = renderer.create(<HowItWorks />).toJSON(); | ||
expect(tree).toMatchSnapshot(); | ||
}); |
Oops, something went wrong.