weekstaten update

This commit is contained in:
frits000000 2020-12-18 12:47:27 +01:00
parent dfddaa0aaa
commit 77a66bf07e
8 changed files with 121 additions and 2 deletions

View File

@ -4,4 +4,28 @@
.CompanyResultCard .row{ .CompanyResultCard .row{
align-items: center; align-items: center;
}
.Weekstaten-col{
flex-direction: column;
}
.DescriptionInput{
width: 80%;
min-height: 100px;
}
.HourInput{
width: 30%;
min-height: 30px;
}
.WeekStatenOverlay {
min-height:100%;
background:linear-gradient(0deg, rgba(208, 208, 208, 1), rgba(208, 208, 208, 1));
background-size:cover;
}
.OP-50{
opacity: 0.5;
} }

View File

@ -0,0 +1,40 @@
//Modules
import React from 'react';
//Styles
import "./Cards.css";
//Component
const WeekStatenCard = (props) => {
return(
<div className="WeekStatenOverlay">
<div className="WeekStatenCard">
<div className="container mb-5 pt-5">
<div className="WeekstatenWrap">
<h3 className="AP-color-primary font-weight-normal mb-4 OP-50">{props.Title}</h3>
<div className="row">
<div className="col-md-6 d-flex Weekstaten-col OP-50">
<p>Omschrijving</p>
<input className="DescriptionInput"/>
</div>
<div className="col-md-3 d-flex Weekstaten-col text-center A-Center OP-50">
<p>Aantal uren</p>
<input className="HourInput my-auto"/>
</div>
<div className="col-md-3">
<a className="AP-Btn-Primary">{props.BtnText}</a>
</div>
</div>
</div>
</div>
<hr className="GlobalHR-SM"/>
</div>
</div>
)
}
export default WeekStatenCard;

View File

@ -42,6 +42,12 @@
border: 2px solid #DE0000; border: 2px solid #DE0000;
} }
.GlobalHR-SM{
border: 1px solid #DE0000;
margin-bottom: 0px !important;
margin-top: 0px !important;
}
.AP-h1{ .AP-h1{
font-size: 3.5rem; font-size: 3.5rem;
} }
@ -69,4 +75,9 @@
.p0{ .p0{
padding: 0px !important; padding: 0px !important;
}
.A-Center {
align-items: center;
align-content: center;
} }

View File

@ -22,10 +22,11 @@ class ContactPage extends React.Component {
<div className="ContactPage"> <div className="ContactPage">
<HeroOne title="Contact" content="Heb je vragen of opmerkingen neem dan contact met ons op"/> <HeroOne title="Contact" content="Heb je vragen of opmerkingen neem dan contact met ons op"/>
<div className="container my-5"> <div className="container my-5">
<div className="row"> <div className="row py-5">
<div className="col-md-6 pr-4"> <div className="col-md-6 pr-4">
<h1 className="AP-color-primary font-weight-normal mb-4">Vragen ?</h1>
<p> <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. Een stage vinden kan soms moeilijk zijn, en we snappen dan ook dat je wel wat vragen hebt. Wij zijn staan dan ook klaar om al je vragen te beantwoorden.
</p> </p>
</div> </div>
<div className="col-md-6"> <div className="col-md-6">

View File

@ -0,0 +1,10 @@
.WeekStatenContainer .WeekStatenOverlay:first-of-type{
padding-top: 60px;
min-height: unset !important;
background: unset !important;
background-size: unset !important;
}
.WeekStatenContainer .WeekStatenOverlay:first-of-type .OP-50{
opacity: 1 !important;
}

View File

@ -0,0 +1,27 @@
//Modules
import React from 'react';
//Styles
import "./Weekstaten.css";
///Components
import { DefaultLayout, HeroOne, WeekStatenCard } from '../../';
class Weekstaten extends React.Component {
render() {
return (
<div className="WeekstatenPage">
<HeroOne title="Weekstaten" content="Bekijk en voer hier je weekstaten in"/>
<div className="WeekStatenContainer">
<WeekStatenCard Title="Vandaag" BtnText="Opslaan"/>
<WeekStatenCard Title="Gisteren" BtnText="Bewerk"/>
<WeekStatenCard Title="Eergisteren" BtnText="Bewerk"/>
</div>
</div>
)
}
}
export default Weekstaten;

View File

@ -17,6 +17,7 @@ import {
CompanyProfile, CompanyProfile,
UserProfile, UserProfile,
ContactPage, ContactPage,
Weekstaten,
} from '../'; } from '../';
//Sub routes //Sub routes
@ -43,6 +44,7 @@ class GlobalRouter extends React.Component {
<Route path="/bedrijfsprofiel" component={CompanyProfile} /> <Route path="/bedrijfsprofiel" component={CompanyProfile} />
<Route path="/gebruikersprofiel" component={UserProfile} /> <Route path="/gebruikersprofiel" component={UserProfile} />
<Route path="/contact" component={ContactPage} /> <Route path="/contact" component={ContactPage} />
<Route path="/weekstaten" component={Weekstaten} />
</Switch> </Switch>
</DefaultLayout> </DefaultLayout>
</Router> </Router>

View File

@ -7,6 +7,7 @@ import Footer from "./Footer/Footer";
import Dropdown from "./Dropdown/Dropdown"; import Dropdown from "./Dropdown/Dropdown";
import CompanyResults from "./Cards/CompanyResult"; import CompanyResults from "./Cards/CompanyResult";
import FinishedInternShip from "./Cards/FinishedInternCard"; import FinishedInternShip from "./Cards/FinishedInternCard";
import WeekStatenCard from "./Cards/WeekStatenCard";
//Layout imports //Layout imports
import DefaultLayout from "./Layouts/DefaultLayout"; import DefaultLayout from "./Layouts/DefaultLayout";
@ -17,6 +18,7 @@ import InternSearch from "./Pages/Search/InternSearchPage";
import CompanyProfile from "./Pages/Profile/CompanyProfile"; import CompanyProfile from "./Pages/Profile/CompanyProfile";
import UserProfile from "./Pages/Profile/UserProfile"; import UserProfile from "./Pages/Profile/UserProfile";
import ContactPage from "./Pages/Contact/Contact"; import ContactPage from "./Pages/Contact/Contact";
import Weekstaten from "./Pages/Weekstaten/Weekstaten";
//Style //Style
import "./GlobalStyles.css"; import "./GlobalStyles.css";
@ -31,6 +33,7 @@ export {
Dropdown, Dropdown,
CompanyResults, CompanyResults,
FinishedInternShip, FinishedInternShip,
WeekStatenCard,
} }
@ -47,4 +50,5 @@ export {
CompanyProfile, CompanyProfile,
UserProfile, UserProfile,
ContactPage, ContactPage,
Weekstaten,
} }