reactjs
1
ReactJS/alfaprentice/.env
Normal file
@ -0,0 +1 @@
|
||||
NODE_PATH=src/
|
||||
23
ReactJS/alfaprentice/.gitignore
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
|
||||
|
||||
# dependencies
|
||||
/node_modules
|
||||
/.pnp
|
||||
.pnp.js
|
||||
|
||||
# testing
|
||||
/coverage
|
||||
|
||||
# production
|
||||
/build
|
||||
|
||||
# misc
|
||||
.DS_Store
|
||||
.env.local
|
||||
.env.development.local
|
||||
.env.test.local
|
||||
.env.production.local
|
||||
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
70
ReactJS/alfaprentice/README.md
Normal file
@ -0,0 +1,70 @@
|
||||
# Getting Started with Create React App
|
||||
|
||||
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
|
||||
|
||||
## Available Scripts
|
||||
|
||||
In the project directory, you can run:
|
||||
|
||||
### `npm start`
|
||||
|
||||
Runs the app in the development mode.\
|
||||
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
|
||||
|
||||
The page will reload if you make edits.\
|
||||
You will also see any lint errors in the console.
|
||||
|
||||
### `npm test`
|
||||
|
||||
Launches the test runner in the interactive watch mode.\
|
||||
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
|
||||
|
||||
### `npm run build`
|
||||
|
||||
Builds the app for production to the `build` folder.\
|
||||
It correctly bundles React in production mode and optimizes the build for the best performance.
|
||||
|
||||
The build is minified and the filenames include the hashes.\
|
||||
Your app is ready to be deployed!
|
||||
|
||||
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
|
||||
|
||||
### `npm run eject`
|
||||
|
||||
**Note: this is a one-way operation. Once you `eject`, you can’t go back!**
|
||||
|
||||
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.
|
||||
|
||||
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.
|
||||
|
||||
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.
|
||||
|
||||
## Learn More
|
||||
|
||||
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
|
||||
|
||||
To learn React, check out the [React documentation](https://reactjs.org/).
|
||||
|
||||
### Code Splitting
|
||||
|
||||
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)
|
||||
|
||||
### Analyzing the Bundle Size
|
||||
|
||||
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)
|
||||
|
||||
### Making a Progressive Web App
|
||||
|
||||
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)
|
||||
|
||||
### Advanced Configuration
|
||||
|
||||
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)
|
||||
|
||||
### Deployment
|
||||
|
||||
This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)
|
||||
|
||||
### `npm run build` fails to minify
|
||||
|
||||
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)
|
||||
16834
ReactJS/alfaprentice/package-lock.json
generated
Normal file
44
ReactJS/alfaprentice/package.json
Normal file
@ -0,0 +1,44 @@
|
||||
{
|
||||
"name": "alfaprentice",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@testing-library/jest-dom": "^5.11.6",
|
||||
"@testing-library/react": "^11.2.1",
|
||||
"@testing-library/user-event": "^12.2.2",
|
||||
"axios": "^0.21.0",
|
||||
"react": "^17.0.1",
|
||||
"react-cookie": "^4.0.3",
|
||||
"react-dom": "^17.0.1",
|
||||
"react-modal": "^3.11.2",
|
||||
"react-paginate": "^6.5.0",
|
||||
"react-router-dom": "^5.2.0",
|
||||
"react-scripts": "4.0.0",
|
||||
"react-toggle-display": "^2.2.1",
|
||||
"web-vitals": "^0.2.4"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "react-scripts start",
|
||||
"build": "react-scripts build",
|
||||
"test": "react-scripts test",
|
||||
"eject": "react-scripts eject"
|
||||
},
|
||||
"eslintConfig": {
|
||||
"extends": [
|
||||
"react-app",
|
||||
"react-app/jest"
|
||||
]
|
||||
},
|
||||
"browserslist": {
|
||||
"production": [
|
||||
">0.2%",
|
||||
"not dead",
|
||||
"not op_mini all"
|
||||
],
|
||||
"development": [
|
||||
"last 1 chrome version",
|
||||
"last 1 firefox version",
|
||||
"last 1 safari version"
|
||||
]
|
||||
}
|
||||
}
|
||||
BIN
ReactJS/alfaprentice/public/images/Stock.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
ReactJS/alfaprentice/public/images/logo-licht.png
Normal file
|
After Width: | Height: | Size: 126 KiB |
BIN
ReactJS/alfaprentice/public/images/logo.png
Normal file
|
After Width: | Height: | Size: 150 KiB |
BIN
ReactJS/alfaprentice/public/images/stock2.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
18
ReactJS/alfaprentice/public/index.html
Normal file
@ -0,0 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="icon" href="" />
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css" integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous">
|
||||
<title>AlfaPrentice</title>
|
||||
</head>
|
||||
<body>
|
||||
<noscript>You need to enable JavaScript to run this app.</noscript>
|
||||
<div id="root"></div>
|
||||
|
||||
|
||||
</body>
|
||||
<script src="https://kit.fontawesome.com/e1907787e3.js" crossorigin="anonymous"></script>
|
||||
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ho+j7jyWK8fNQe+A12Hb8AhRq26LrZ/JpcUGGOn+Y7RsweNrtN/tE3MoK7ZeZDyx" crossorigin="anonymous"></script>
|
||||
</html>
|
||||
40
ReactJS/alfaprentice/src/Components/CTA/CTA.js
Normal file
@ -0,0 +1,40 @@
|
||||
//Modules
|
||||
import React from 'react';
|
||||
|
||||
//Style
|
||||
import "./Cta.css"
|
||||
|
||||
class CTA extends React.Component {
|
||||
constructor(props) {
|
||||
super(props);
|
||||
}
|
||||
|
||||
render() {
|
||||
function ContentSwitch(props) {
|
||||
const BtnChecker = props.BTNText;
|
||||
const ContentChecker = props.ContentText;
|
||||
|
||||
if (BtnChecker){
|
||||
return (<a className="AP-Btn-outline">{BtnChecker}</a>);
|
||||
}
|
||||
if (ContentChecker){
|
||||
return (<p>{ContentChecker}</p>);
|
||||
}
|
||||
else {
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="Cta mt-5">
|
||||
<div className="container">
|
||||
<h1 className="mb-5">{this.props.title}</h1>
|
||||
|
||||
<ContentSwitch BTNText={this.props.BtnText} ContentText={this.props.ContentText}/>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
export default CTA;
|
||||
13
ReactJS/alfaprentice/src/Components/CTA/Cta.css
Normal file
@ -0,0 +1,13 @@
|
||||
.Cta{
|
||||
background:linear-gradient( rgba(255, 0, 0, 0.7) 100%, rgba(255, 0, 0, 0.7)100%),url("../images/Stock.png");
|
||||
background-size: cover;
|
||||
padding: 50px;
|
||||
text-align: center;
|
||||
color: #ffffff !important;
|
||||
}
|
||||
|
||||
.Cta h1{
|
||||
color: #ffffff;
|
||||
font-weight: 350 !important;
|
||||
}
|
||||
|
||||
7
ReactJS/alfaprentice/src/Components/Cards/Cards.css
Normal file
@ -0,0 +1,7 @@
|
||||
.CompanyResultCard .CompantResultBtn{
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.CompanyResultCard .row{
|
||||
align-items: center;
|
||||
}
|
||||
153
ReactJS/alfaprentice/src/Components/Cards/CompanyResult.js
Normal file
@ -0,0 +1,153 @@
|
||||
//Modules
|
||||
import React from 'react';
|
||||
|
||||
//Style
|
||||
import "./Cards.css";
|
||||
|
||||
//Components
|
||||
import {
|
||||
BrowserRouter as Router,
|
||||
Switch,
|
||||
Route,
|
||||
Link
|
||||
} from "react-router-dom";
|
||||
|
||||
class CompanyResult extends React.Component {
|
||||
render() {
|
||||
return(
|
||||
<div className="container">
|
||||
<div className="row">
|
||||
<div className="col-12 mt-2">
|
||||
<div className="CompanyResultCard mx-3">
|
||||
<h1 className="AP-color-primary font-weight-normal">Bedrijf 1</h1>
|
||||
<div className="row mt-3">
|
||||
<div className="col-md-8">
|
||||
Wij bij bedrijf 1 zijn bezig met bla bla en zoeken altijd naar bla bla bla. Wij zijn bla bla en bla bla maar altijd bla bla. bla bla bla tolereren wij echten niet. bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla …….
|
||||
</div>
|
||||
<div className="col-md-4 CompantResultBtn">
|
||||
<Link to="/bedrijfsprofiel" className="AP-Btn-Primary">Bekijk bedrijf</Link>
|
||||
</div>
|
||||
</div>
|
||||
<div className="row mt-4">
|
||||
<div className="col-md-2">
|
||||
bla
|
||||
</div>
|
||||
<div className="col-md-2">
|
||||
bla
|
||||
</div>
|
||||
<div className="col-md-2">
|
||||
bla
|
||||
</div>
|
||||
<div className="col-md-3">
|
||||
bla
|
||||
</div>
|
||||
<div className="col-md-3">
|
||||
bla
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr className="GlobalHR"/>
|
||||
</div>
|
||||
|
||||
<div className="col-12 mt-4">
|
||||
<div className="CompanyResultCard mx-3">
|
||||
<h1 className="AP-color-primary font-weight-normal">Bedrijf 2</h1>
|
||||
<div className="row mt-3">
|
||||
<div className="col-md-8">
|
||||
Wij bij bedrijf 2 zijn bezig met bla bla en zoeken altijd naar bla bla bla. Wij zijn bla bla en bla bla maar altijd bla bla. bla bla bla tolereren wij echten niet. bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla …….
|
||||
</div>
|
||||
<div className="col-md-4 CompantResultBtn">
|
||||
<Link to="/bedrijfsprofiel" className="AP-Btn-Primary">Bekijk bedrijf</Link>
|
||||
</div>
|
||||
</div>
|
||||
<div className="row mt-4">
|
||||
<div className="col-md-2">
|
||||
bla
|
||||
</div>
|
||||
<div className="col-md-2">
|
||||
bla
|
||||
</div>
|
||||
<div className="col-md-2">
|
||||
bla
|
||||
</div>
|
||||
<div className="col-md-3">
|
||||
bla
|
||||
</div>
|
||||
<div className="col-md-3">
|
||||
bla
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr className="GlobalHR"/>
|
||||
</div>
|
||||
|
||||
<div className="col-12 mt-4">
|
||||
<div className="CompanyResultCard mx-3">
|
||||
<h1 className="AP-color-primary font-weight-normal">Bedrijf 3</h1>
|
||||
<div className="row mt-3">
|
||||
<div className="col-md-8">
|
||||
Wij bij bedrijf 3 zijn bezig met bla bla en zoeken altijd naar bla bla bla. Wij zijn bla bla en bla bla maar altijd bla bla. bla bla bla tolereren wij echten niet. bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla …….
|
||||
</div>
|
||||
<div className="col-md-4 CompantResultBtn">
|
||||
<Link to="/bedrijfsprofiel" className="AP-Btn-Primary">Bekijk bedrijf</Link>
|
||||
</div>
|
||||
</div>
|
||||
<div className="row mt-4">
|
||||
<div className="col-md-2">
|
||||
bla
|
||||
</div>
|
||||
<div className="col-md-2">
|
||||
bla
|
||||
</div>
|
||||
<div className="col-md-2">
|
||||
bla
|
||||
</div>
|
||||
<div className="col-md-3">
|
||||
bla
|
||||
</div>
|
||||
<div className="col-md-3">
|
||||
bla
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr className="GlobalHR"/>
|
||||
</div>
|
||||
|
||||
<div className="col-12 mt-4">
|
||||
<div className="CompanyResultCard mx-3">
|
||||
<h1 className="AP-color-primary font-weight-normal">Bedrijf 4</h1>
|
||||
<div className="row mt-3">
|
||||
<div className="col-md-8">
|
||||
Wij bij bedrijf 4 zijn bezig met bla bla en zoeken altijd naar bla bla bla. Wij zijn bla bla en bla bla maar altijd bla bla. bla bla bla tolereren wij echten niet. bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla …….
|
||||
</div>
|
||||
<div className="col-md-4 CompantResultBtn">
|
||||
<Link to="/bedrijfsprofiel" className="AP-Btn-Primary">Bekijk bedrijf</Link>
|
||||
</div>
|
||||
</div>
|
||||
<div className="row mt-4">
|
||||
<div className="col-md-2">
|
||||
bla
|
||||
</div>
|
||||
<div className="col-md-2">
|
||||
bla
|
||||
</div>
|
||||
<div className="col-md-2">
|
||||
bla
|
||||
</div>
|
||||
<div className="col-md-3">
|
||||
bla
|
||||
</div>
|
||||
<div className="col-md-3">
|
||||
bla
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr className="GlobalHR"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
export default CompanyResult;
|
||||
@ -0,0 +1,28 @@
|
||||
//Modules
|
||||
import React from 'react';
|
||||
|
||||
//Stlyes
|
||||
import "./Cards.css";
|
||||
|
||||
class FinishedInternShip extends React.Component {
|
||||
render() {
|
||||
return (
|
||||
<div className="col-md-6">
|
||||
<div className="finished-intership-card px-5">
|
||||
<h4 className="AP-h4 my-4">Bedrijf 1</h4>
|
||||
<p>Wij bij bedrijf 1 zijn bezig met bla bla en zoeken altijd naar bla bla bla. Wij zijn bla bla en bla bla maar altijd bla bla. bla bla bla tolereren wij echten niet. bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla …….</p>
|
||||
<div className="row my-4">
|
||||
<div className="col-md-6">
|
||||
Gespecialiseerd in ICT communicatie
|
||||
</div>
|
||||
<div className="col-md-6">
|
||||
<a className="AP-Btn-Primary">Bekijk bedrijf</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
export default FinishedInternShip;
|
||||
23
ReactJS/alfaprentice/src/Components/Dropdown/Dropdown.js
Normal file
@ -0,0 +1,23 @@
|
||||
import React from 'react';
|
||||
|
||||
|
||||
class Dropdown extends React.Component {
|
||||
constructor(props){
|
||||
super(props)
|
||||
}
|
||||
render() {
|
||||
return (
|
||||
<div className="col-md-4">
|
||||
<a class="AP-Btn-Primary dropdown-toggle" href="#" role="button" id="dropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
{this.props.Title}
|
||||
</a>
|
||||
|
||||
<div class="dropdown-menu" aria-labelledby="dropdownMenuLink">
|
||||
<a class="dropdown-item" href="#">{this.props.Category}</a>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
export default Dropdown;
|
||||
14
ReactJS/alfaprentice/src/Components/Footer/Footer.css
Normal file
@ -0,0 +1,14 @@
|
||||
Footer{
|
||||
background-color: #003581;
|
||||
padding: 50px 100px 10px 100px;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
|
||||
.FooterLogo{
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.FooterColumn{
|
||||
max-width: 300px;
|
||||
}
|
||||
48
ReactJS/alfaprentice/src/Components/Footer/Footer.js
Normal file
@ -0,0 +1,48 @@
|
||||
//Modules
|
||||
import React from 'react';
|
||||
|
||||
//Style
|
||||
import "./Footer.css";
|
||||
|
||||
//Components
|
||||
import Logo from "../images/logo-licht.png";
|
||||
import {
|
||||
BrowserRouter as Router,
|
||||
Switch,
|
||||
Route,
|
||||
Link
|
||||
} from "react-router-dom";
|
||||
|
||||
class Footer extends React.Component {
|
||||
render(){
|
||||
return (
|
||||
<footer>
|
||||
<div className="container-fluid">
|
||||
<div className="row">
|
||||
<div className="col-md-4">
|
||||
<div className="FooterColumn">
|
||||
<Link to="/"><img className="FooterLogo" src={Logo} /></Link>
|
||||
</div>
|
||||
</div>
|
||||
<div className="col-md-4">
|
||||
<div className="FooterColumn">
|
||||
<h4 className="text-center">Contact</h4>
|
||||
<p>Adres <br/> Mail <br/> Facebook,inst, twitter</p>
|
||||
</div>
|
||||
</div>
|
||||
<div className="col-md-4">
|
||||
<div className="FooterColumn">
|
||||
<h4 className="text-center">Contact</h4>
|
||||
<p>Adres <br/> Mail <br/> Facebook,inst, twitter</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<p className="text-center mt-5">Copyright © AlfaPrentice 2020 - 2021 </p>
|
||||
</footer>
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
export default Footer;
|
||||
72
ReactJS/alfaprentice/src/Components/GlobalStyles.css
Normal file
@ -0,0 +1,72 @@
|
||||
.AP-Btn-Primary {
|
||||
background-color: #DE0000;
|
||||
padding: 5px 10px;
|
||||
color: #ffffff;
|
||||
border-radius: 5px;
|
||||
transition: 0.7s;
|
||||
}
|
||||
|
||||
.AP-Btn-Primary:hover{
|
||||
text-decoration: none !important;
|
||||
cursor: pointer;
|
||||
color: #DE0000;
|
||||
background-color: #ffffff;
|
||||
border: 1px solid #DE0000;
|
||||
}
|
||||
|
||||
.AP-Btn-outline{
|
||||
border: 1px solid #ffffff;
|
||||
padding: 10px 15px;
|
||||
color: #ffffff;
|
||||
transition: 0.7s;
|
||||
}
|
||||
|
||||
.AP-Btn-outline:hover{
|
||||
text-decoration: none !important;
|
||||
cursor: pointer;
|
||||
background-color: #ffffff;
|
||||
color: #DE0000;
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
.AP-color-primary{
|
||||
color: #DE0000;
|
||||
}
|
||||
|
||||
.Container-NP{
|
||||
padding-left: 0px !important;
|
||||
padding-right: 0px !important;
|
||||
}
|
||||
|
||||
.GlobalHR{
|
||||
border: 2px solid #DE0000;
|
||||
}
|
||||
|
||||
.AP-h1{
|
||||
font-size: 3.5rem;
|
||||
}
|
||||
|
||||
.AP-h1-l{
|
||||
color:#ffffff;
|
||||
font-size: 3.5rem !important;
|
||||
font-weight: 350 !important;
|
||||
}
|
||||
|
||||
.AP-h1, .AP-h2, .AP-h3, .AP-h4, .AP-h5{
|
||||
color:#DE0000;
|
||||
font-weight: 350 !important;
|
||||
}
|
||||
|
||||
.hr-1{
|
||||
border: 1px solid #DE0000;
|
||||
margin-left: 0px !important;
|
||||
}
|
||||
|
||||
.hr-2{
|
||||
border: 2px solid #DE0000;
|
||||
margin-left: 0px !important;
|
||||
}
|
||||
|
||||
.p0{
|
||||
padding: 0px !important;
|
||||
}
|
||||
31
ReactJS/alfaprentice/src/Components/Header/Header.css
Normal file
@ -0,0 +1,31 @@
|
||||
/* Header Styles */
|
||||
.Header{
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.logo img{
|
||||
width: 150px;
|
||||
}
|
||||
|
||||
.NavBar{
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.Cancel-btn{
|
||||
font-size: 25px;
|
||||
}
|
||||
|
||||
.Cancel-btn:hover{
|
||||
opacity: 0.7;
|
||||
color: #DE0000;
|
||||
}
|
||||
|
||||
.Nav-link{
|
||||
color: black;
|
||||
}
|
||||
|
||||
.Nav-link:hover{
|
||||
color: #DE0000;
|
||||
text-decoration: none;
|
||||
}
|
||||
78
ReactJS/alfaprentice/src/Components/Header/Header.js
Normal file
@ -0,0 +1,78 @@
|
||||
//Modules
|
||||
import React from 'react';
|
||||
import ToggleDisplay from 'react-toggle-display';
|
||||
|
||||
//Style
|
||||
import "./Header.css";
|
||||
|
||||
//Components
|
||||
import Logo from '../images/logo.png';
|
||||
import LogoLight from '../images/logo-licht.png'
|
||||
import {
|
||||
BrowserRouter as Router,
|
||||
Switch,
|
||||
Route,
|
||||
Link
|
||||
} from "react-router-dom";
|
||||
|
||||
|
||||
class Header extends React.Component {
|
||||
constructor() {
|
||||
super();
|
||||
this.state = { show: false };
|
||||
}
|
||||
|
||||
handleClick() {
|
||||
this.setState({
|
||||
show: !this.state.show
|
||||
});
|
||||
}
|
||||
|
||||
render() {
|
||||
return (
|
||||
<header id="Header">
|
||||
<div className="d-flex Header px-4 py-3">
|
||||
<Link to="/" className="logo">
|
||||
<img src={Logo} alt="Logo" />
|
||||
</Link>
|
||||
|
||||
<ToggleDisplay hide={this.state.show} tag="section">
|
||||
<div className="NavBar d-flex">
|
||||
<div className="NavItem mx-2">
|
||||
<Link to="/" className="Nav-link">Home</Link>
|
||||
</div>
|
||||
<div className="NavItem mx-2">
|
||||
<Link to="/contact" className="Nav-link">Contact</Link>
|
||||
</div>
|
||||
<div className="NavItem mx-2">
|
||||
<a className="AP-Btn-Primary" onClick={ () => this.handleClick() }>Login</a>
|
||||
</div>
|
||||
</div>
|
||||
</ToggleDisplay>
|
||||
|
||||
<ToggleDisplay show={this.state.show}>
|
||||
<div className="NavBar d-flex">
|
||||
<div className="NavItem mx-2">
|
||||
<input placeholder="Gebruikersnaam"/>
|
||||
</div>
|
||||
<div className="NavItem mx-2">
|
||||
<input placeholder="Wachtwoord"/>
|
||||
</div>
|
||||
<div className="NavItem mx-2">
|
||||
<a className="AP-Btn-Primary">Login</a>
|
||||
</div>
|
||||
<div className="NavItem mx-2">
|
||||
<a className="AP-color-primary Cancel-btn" onClick={ () => this.handleClick() }><i class="fa fa-times" aria-hidden="true"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
</ToggleDisplay>
|
||||
</div>
|
||||
</header>
|
||||
)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
export default Header;
|
||||
20
ReactJS/alfaprentice/src/Components/Hero/Hero.js
Normal file
@ -0,0 +1,20 @@
|
||||
import React from 'react';
|
||||
|
||||
class HeroOne extends React.Component {
|
||||
constructor(props) {
|
||||
super(props);
|
||||
}
|
||||
|
||||
render() {
|
||||
return (
|
||||
<div className="HomeHero">
|
||||
<div className="HeroContents">
|
||||
<h1>{this.props.title}</h1>
|
||||
<p>{this.props.content}</p>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
export default HeroOne;
|
||||
20
ReactJS/alfaprentice/src/Components/Layouts/DefaultLayout.js
Normal file
@ -0,0 +1,20 @@
|
||||
//Modules
|
||||
import react from 'react';
|
||||
|
||||
//Components
|
||||
import {
|
||||
Header,
|
||||
Footer,
|
||||
} from '../index';
|
||||
|
||||
const DefaultLayout = (props) => {
|
||||
return(
|
||||
<div className="MainLayout">
|
||||
<Header/>
|
||||
{props.children}
|
||||
<Footer/>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default DefaultLayout;
|
||||
@ -0,0 +1,14 @@
|
||||
.AP-input{
|
||||
width: 100%;
|
||||
border: 1px solid #DE0000;
|
||||
padding: 10px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.AP-textarea{
|
||||
width: 100%;
|
||||
border: 1px solid #DE0000;
|
||||
min-height: 200px;
|
||||
padding: 10px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
56
ReactJS/alfaprentice/src/Components/Pages/Contact/Contact.js
Normal file
@ -0,0 +1,56 @@
|
||||
//Modules
|
||||
import React from 'react';
|
||||
|
||||
//Style
|
||||
import "./Contact.css";
|
||||
|
||||
//Components
|
||||
import {
|
||||
BrowserRouter as Router,
|
||||
Switch,
|
||||
Route,
|
||||
Link
|
||||
} from "react-router-dom";
|
||||
import {
|
||||
HeroOne,
|
||||
CTA,
|
||||
} from "../../";
|
||||
|
||||
class ContactPage extends React.Component {
|
||||
render() {
|
||||
return(
|
||||
<div className="ContactPage">
|
||||
<HeroOne title="Contact" content="Heb je vragen of opmerkingen neem dan contact met ons op"/>
|
||||
<div className="container my-5">
|
||||
<div className="row">
|
||||
<div className="col-md-6 pr-4">
|
||||
<p>
|
||||
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
|
||||
</p>
|
||||
</div>
|
||||
<div className="col-md-6">
|
||||
<form className="ContactForm">
|
||||
<div className="row">
|
||||
<div className="col-md-6">
|
||||
<input className="AP-input" placeholder="Voornaam"/>
|
||||
</div>
|
||||
<div className="col-md-6">
|
||||
<input className="AP-input" placeholder="Achternaam"/>
|
||||
</div>
|
||||
<div className="col-md-12 mt-4">
|
||||
<input className="AP-input" placeholder="Email adres"/>
|
||||
</div>
|
||||
<div className="col-md-12 mt-4">
|
||||
<textarea className="AP-textarea" placeholder="Je bericht"/>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
export default ContactPage;
|
||||
65
ReactJS/alfaprentice/src/Components/Pages/Home/HomePage.css
Normal file
@ -0,0 +1,65 @@
|
||||
.HomeHero{
|
||||
position: relative;
|
||||
background-image: url("../../images/Stock.png");
|
||||
padding: 150px 50px;
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
.HomeHero:before {
|
||||
background: #DE0000;
|
||||
opacity: 0.7;
|
||||
clip-path: polygon(0 0, 40% 0, 60% 100%, 0% 100%);
|
||||
content: '';
|
||||
display: block;
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.HeroContents{
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
margin-top: auto;
|
||||
margin-bottom: auto;
|
||||
height: 100px;
|
||||
}
|
||||
|
||||
.HeroContents h1{
|
||||
color: #ffffff;
|
||||
font-size: 3.5rem !important;
|
||||
font-weight: 350 !important;
|
||||
}
|
||||
|
||||
.HeroContents p{
|
||||
color: #ffffff;
|
||||
font-size: 1.3rem !important;
|
||||
}
|
||||
|
||||
.color-p2{
|
||||
color: #003581;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.color-white{
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.OpleidingItemInner{
|
||||
background:linear-gradient( rgba(0, 0, 0, 0.5) 100%, rgba(0, 0, 0, 0.5)100%),url("../../images/stock2.png");
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
height: 300px;
|
||||
width: 100%;
|
||||
transition: all 0.5s;
|
||||
}
|
||||
|
||||
.OpleidingItemInner:hover{
|
||||
transform: scale(1.1);
|
||||
}
|
||||
|
||||
a{
|
||||
text-decoration: none !important;
|
||||
}
|
||||
63
ReactJS/alfaprentice/src/Components/Pages/Home/HomePage.js
Normal file
@ -0,0 +1,63 @@
|
||||
//Modules
|
||||
import React from 'react';
|
||||
|
||||
//Style
|
||||
import "./HomePage.css";
|
||||
|
||||
//Components
|
||||
import {
|
||||
BrowserRouter as Router,
|
||||
Switch,
|
||||
Route,
|
||||
Link
|
||||
} from "react-router-dom";
|
||||
import {
|
||||
HeroOne,
|
||||
CTA,
|
||||
} from "../../";
|
||||
|
||||
class HomePage extends React.Component {
|
||||
render() {
|
||||
return(
|
||||
<div className="HomePage">
|
||||
<HeroOne title="AlfaPrentice" content="De plek om je ideale stageplek te vinden"/>
|
||||
<div className="container mt-5">
|
||||
<h2 className="color-p2 text-center">klik op je opleding en kijk welk bedrijf het meest bij jou past</h2>
|
||||
<div className="row mt-4">
|
||||
<Link to="/zoeken" className="col-md-3 OpleidingItem">
|
||||
<a className="OpleidingItemInner d-flex">
|
||||
<div className="m-auto color-white">
|
||||
Opleiding 1
|
||||
</div>
|
||||
</a>
|
||||
</Link>
|
||||
<Link to="/zoeken" className="col-md-3 OpleidingItem">
|
||||
<a className="OpleidingItemInner d-flex">
|
||||
<div className="m-auto color-white">
|
||||
Opleiding 1
|
||||
</div>
|
||||
</a>
|
||||
</Link>
|
||||
<Link to="/zoeken" className="col-md-3 OpleidingItem">
|
||||
<a className="OpleidingItemInner d-flex">
|
||||
<div className="m-auto color-white">
|
||||
Opleiding 1
|
||||
</div>
|
||||
</a>
|
||||
</Link>
|
||||
<Link to="/zoeken" className="col-md-3 OpleidingItem">
|
||||
<a className="OpleidingItemInner d-flex">
|
||||
<div className="m-auto color-white">
|
||||
Opleiding 1
|
||||
</div>
|
||||
</a>
|
||||
</Link>
|
||||
</div>
|
||||
</div>
|
||||
<CTA title="ALfaPrentice is ontwikkeld om jou te helpen met het zoeken naar de beste match tussen jou en een bedrijf" BtnText="Login en begin met soliciteren"/>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
export default HomePage;
|
||||
@ -0,0 +1,58 @@
|
||||
//Modules
|
||||
import React from 'react';
|
||||
|
||||
//Styles
|
||||
import "./Profile.css";
|
||||
|
||||
//Images
|
||||
import Image from "../../images/doos.jpg";
|
||||
|
||||
//Components
|
||||
import {HeroOne} from "../../";
|
||||
|
||||
class CompanyProfile extends React.Component {
|
||||
render() {
|
||||
return (
|
||||
<div className="CompanyProfile">
|
||||
<HeroOne title="Bedrijf 1" content="ICT ontwikkeling"/>
|
||||
<div className="container my-5">
|
||||
<div className="row">
|
||||
<div className="col-md-7">
|
||||
<h1 className="AP-h1 mb-4">Wie zijn wij</h1>
|
||||
<p>Bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla</p>
|
||||
<h1 className="AP-h1 mt-4">Eisen</h1>
|
||||
<p> . Kan koprol maken <br/>
|
||||
. kan hoger dan 10 cm springen <br/>
|
||||
. drinkt graag koffie <br/>
|
||||
. heet een hekel aan Nederlandse rap
|
||||
</p>
|
||||
|
||||
<h1 className="AP-h1 my-4">Heb je intresse</h1>
|
||||
<a className="AP-Btn-Primary">Soliciteer nu</a>
|
||||
</div>
|
||||
<div className="col-md-5 text-center">
|
||||
<h2 className="AP-h1 mb-5">Contactpersoon</h2>
|
||||
<div className="ProfilePictureContainer mx-auto my-3">
|
||||
<img src={Image} />
|
||||
</div>
|
||||
<h3 className="AP-h3 mb-4">Frits Haringa</h3>
|
||||
<div className="ContactPersonContent mx-auto">
|
||||
<p className="text-left">
|
||||
Functie: CEO <br/>
|
||||
Email: flappie@bedrijf1.nl <br/>
|
||||
Tel: 0192883746
|
||||
</p>
|
||||
<p className="text-left">
|
||||
Adres: ergends
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
export default CompanyProfile;
|
||||
@ -0,0 +1,24 @@
|
||||
.AP-h1{
|
||||
font-size: 3rem !important;
|
||||
}
|
||||
|
||||
.ProfilePictureContainer{
|
||||
width: 250px;
|
||||
height: 250px;
|
||||
|
||||
}
|
||||
|
||||
.ProfilePictureContainer img{
|
||||
object-fit: cover;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.ContactPersonContent, .ContactPersonContent p{
|
||||
width: fit-content !important;
|
||||
}
|
||||
|
||||
.finished-intership-card{
|
||||
border: 1px solid #DE0000;
|
||||
}
|
||||
@ -0,0 +1,65 @@
|
||||
//Modules
|
||||
import React from 'react';
|
||||
|
||||
//Images
|
||||
import Image from "../../images/doos.jpg";
|
||||
|
||||
//Styles
|
||||
import "./Profile.css";
|
||||
|
||||
//Components
|
||||
import { HeroOne, FinishedInternShip } from "../../";
|
||||
|
||||
class UserProfile extends React.Component {
|
||||
render() {
|
||||
return (
|
||||
<div className="CompanyProfile">
|
||||
<HeroOne title="Frits Haringa" content="Student Applicatie en Mediaontwikkeling jaar 3"/>
|
||||
<div className="container my-5">
|
||||
<div className="row">
|
||||
<div className="col-md-7">
|
||||
<h1 className="AP-h1 mb-4">Wie ben ik</h1>
|
||||
<p>Bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla</p>
|
||||
<h1 className="AP-h1 mt-4">Beheersde talen</h1>
|
||||
<p> . Javascript <br/>
|
||||
. html <br/>
|
||||
. php <br/>
|
||||
. ReactJs
|
||||
</p>
|
||||
|
||||
<h1 className="AP-h1 my-4">Mijn CV</h1>
|
||||
<a className="AP-Btn-Primary">Bekijk Mijn cv</a>
|
||||
</div>
|
||||
<div className="col-md-5 text-center">
|
||||
<div className="ProfilePictureContainer mx-auto my-3">
|
||||
<img src={Image} />
|
||||
</div>
|
||||
<h3 className="AP-h3 mb-4">Frits Haringa</h3>
|
||||
<div className="ContactPersonContent mx-auto">
|
||||
<p className="text-left">
|
||||
Opleiding: AO <br/>
|
||||
Email: flappie@bedrijf1.nl <br/>
|
||||
Tel: 0192883746
|
||||
</p>
|
||||
<p className="text-left">
|
||||
Github: githublink
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div className="container p0 mb-5">
|
||||
<hr className="hr-1"/>
|
||||
<h1 className="AP-h2 my-4">Heeft ook stage gelopen bij</h1>
|
||||
<div className="row">
|
||||
<FinishedInternShip/>
|
||||
<FinishedInternShip/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
export default UserProfile;
|
||||
@ -0,0 +1,9 @@
|
||||
.SearchPage hr{
|
||||
border: 2px solid #DE0000;
|
||||
margin-left: 0px !important;
|
||||
}
|
||||
|
||||
.dropdown-toggle{
|
||||
min-width: 10rem;
|
||||
display: inline-block !important;
|
||||
}
|
||||
@ -0,0 +1,35 @@
|
||||
//Module
|
||||
import React from 'react';
|
||||
|
||||
//Style
|
||||
import "./InternSearchPage.css";
|
||||
|
||||
//Component
|
||||
import {
|
||||
HeroOne,
|
||||
CTA,
|
||||
Dropdown,
|
||||
CompanyResults,
|
||||
} from "../../";
|
||||
|
||||
class InternSearch extends React.Component {
|
||||
render() {
|
||||
return (
|
||||
<div className="SearchPage">
|
||||
<HeroOne title="Stageplek zoeken" content="Voor de opleiding Applicatie en mediaontwikkeling"/>
|
||||
<div className="container-fluid Container-NP mb-5">
|
||||
<div className="row text-center my-5">
|
||||
<Dropdown Title="Locatie" Category="Groningen"/>
|
||||
<Dropdown Title="Niveau" Category="MBO Niveau 4"/>
|
||||
<Dropdown Title="Stageperiode" Category="01-01-2021 - 01-06-2021n"/>
|
||||
</div>
|
||||
<hr/>
|
||||
</div>
|
||||
<CompanyResults/>
|
||||
<CTA title="Geen plek kunnen vinden of vragen of je ook bij een eigen benadert bedrijf stage mag lopen" ContentText="Neem dan contact op met je mentor of stage begeleider om te vragen naar de mogelijkheden"/>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
export default InternSearch;
|
||||
54
ReactJS/alfaprentice/src/Components/Routing/Router.js
Normal file
@ -0,0 +1,54 @@
|
||||
//Modules
|
||||
import React from "react";
|
||||
import {
|
||||
BrowserRouter as Router,
|
||||
Switch,
|
||||
Route,
|
||||
Link
|
||||
} from "react-router-dom";
|
||||
|
||||
//Components
|
||||
import { DefaultLayout } from '../';
|
||||
|
||||
//Main routes
|
||||
import {
|
||||
HomePage,
|
||||
InternSearch,
|
||||
CompanyProfile,
|
||||
UserProfile,
|
||||
ContactPage,
|
||||
} from '../';
|
||||
|
||||
//Sub routes
|
||||
|
||||
class GlobalRouter extends React.Component {
|
||||
constructor(props) {
|
||||
super(props)
|
||||
this.state = {
|
||||
errorlog: [],
|
||||
clear: 'clear'
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
render() {
|
||||
|
||||
return (
|
||||
<Router>
|
||||
<DefaultLayout>
|
||||
<Switch>
|
||||
<Route exact path="/" component={HomePage} />
|
||||
<Route path="/zoeken" component={InternSearch} />
|
||||
<Route path="/bedrijfsprofiel" component={CompanyProfile} />
|
||||
<Route path="/gebruikersprofiel" component={UserProfile} />
|
||||
<Route path="/contact" component={ContactPage} />
|
||||
</Switch>
|
||||
</DefaultLayout>
|
||||
</Router>
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
export default GlobalRouter;
|
||||
BIN
ReactJS/alfaprentice/src/Components/images/Stock.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
ReactJS/alfaprentice/src/Components/images/doos.jpg
Normal file
|
After Width: | Height: | Size: 216 KiB |
BIN
ReactJS/alfaprentice/src/Components/images/logo-licht.png
Normal file
|
After Width: | Height: | Size: 126 KiB |
BIN
ReactJS/alfaprentice/src/Components/images/logo.png
Normal file
|
After Width: | Height: | Size: 150 KiB |
BIN
ReactJS/alfaprentice/src/Components/images/stock2.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
50
ReactJS/alfaprentice/src/Components/index.js
Normal file
@ -0,0 +1,50 @@
|
||||
//Components imports
|
||||
import GlobalRouter from "./Routing/Router";
|
||||
import Header from "./Header/Header";
|
||||
import HeroOne from "./Hero/Hero";
|
||||
import CTA from "./CTA/CTA"
|
||||
import Footer from "./Footer/Footer";
|
||||
import Dropdown from "./Dropdown/Dropdown";
|
||||
import CompanyResults from "./Cards/CompanyResult";
|
||||
import FinishedInternShip from "./Cards/FinishedInternCard";
|
||||
|
||||
//Layout imports
|
||||
import DefaultLayout from "./Layouts/DefaultLayout";
|
||||
|
||||
//Pages imports
|
||||
import HomePage from './Pages/Home/HomePage';
|
||||
import InternSearch from "./Pages/Search/InternSearchPage";
|
||||
import CompanyProfile from "./Pages/Profile/CompanyProfile";
|
||||
import UserProfile from "./Pages/Profile/UserProfile";
|
||||
import ContactPage from "./Pages/Contact/Contact";
|
||||
|
||||
//Style
|
||||
import "./GlobalStyles.css";
|
||||
|
||||
//Components exports
|
||||
export {
|
||||
GlobalRouter,
|
||||
Header,
|
||||
HeroOne,
|
||||
CTA,
|
||||
Footer,
|
||||
Dropdown,
|
||||
CompanyResults,
|
||||
FinishedInternShip,
|
||||
}
|
||||
|
||||
|
||||
//Layout exports
|
||||
export {
|
||||
DefaultLayout,
|
||||
}
|
||||
|
||||
|
||||
//Pages export
|
||||
export {
|
||||
HomePage,
|
||||
InternSearch,
|
||||
CompanyProfile,
|
||||
UserProfile,
|
||||
ContactPage,
|
||||
}
|
||||
14
ReactJS/alfaprentice/src/index.js
Normal file
@ -0,0 +1,14 @@
|
||||
//Modules
|
||||
import React from 'react';
|
||||
import ReactDOM from 'react-dom';
|
||||
|
||||
//Components
|
||||
import {GlobalRouter} from './Components'
|
||||
|
||||
const AlfaPrentice = () => {
|
||||
return(
|
||||
<GlobalRouter/>
|
||||
)
|
||||
}
|
||||
|
||||
ReactDOM.render(<AlfaPrentice/>, document.querySelector('#root'));
|
||||