weekstaten update
This commit is contained in:
parent
dfddaa0aaa
commit
77a66bf07e
@ -5,3 +5,27 @@
|
||||
.CompanyResultCard .row{
|
||||
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;
|
||||
}
|
||||
40
ReactJS/alfaprentice/src/Components/Cards/WeekStatenCard.js
Normal file
40
ReactJS/alfaprentice/src/Components/Cards/WeekStatenCard.js
Normal 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;
|
||||
@ -42,6 +42,12 @@
|
||||
border: 2px solid #DE0000;
|
||||
}
|
||||
|
||||
.GlobalHR-SM{
|
||||
border: 1px solid #DE0000;
|
||||
margin-bottom: 0px !important;
|
||||
margin-top: 0px !important;
|
||||
}
|
||||
|
||||
.AP-h1{
|
||||
font-size: 3.5rem;
|
||||
}
|
||||
@ -70,3 +76,8 @@
|
||||
.p0{
|
||||
padding: 0px !important;
|
||||
}
|
||||
|
||||
.A-Center {
|
||||
align-items: center;
|
||||
align-content: center;
|
||||
}
|
||||
@ -22,10 +22,11 @@ class ContactPage extends React.Component {
|
||||
<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="row py-5">
|
||||
<div className="col-md-6 pr-4">
|
||||
<h1 className="AP-color-primary font-weight-normal mb-4">Vragen ?</h1>
|
||||
<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>
|
||||
</div>
|
||||
<div className="col-md-6">
|
||||
|
||||
@ -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;
|
||||
}
|
||||
@ -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;
|
||||
@ -17,6 +17,7 @@ import {
|
||||
CompanyProfile,
|
||||
UserProfile,
|
||||
ContactPage,
|
||||
Weekstaten,
|
||||
} from '../';
|
||||
|
||||
//Sub routes
|
||||
@ -43,6 +44,7 @@ class GlobalRouter extends React.Component {
|
||||
<Route path="/bedrijfsprofiel" component={CompanyProfile} />
|
||||
<Route path="/gebruikersprofiel" component={UserProfile} />
|
||||
<Route path="/contact" component={ContactPage} />
|
||||
<Route path="/weekstaten" component={Weekstaten} />
|
||||
</Switch>
|
||||
</DefaultLayout>
|
||||
</Router>
|
||||
|
||||
@ -7,6 +7,7 @@ import Footer from "./Footer/Footer";
|
||||
import Dropdown from "./Dropdown/Dropdown";
|
||||
import CompanyResults from "./Cards/CompanyResult";
|
||||
import FinishedInternShip from "./Cards/FinishedInternCard";
|
||||
import WeekStatenCard from "./Cards/WeekStatenCard";
|
||||
|
||||
//Layout imports
|
||||
import DefaultLayout from "./Layouts/DefaultLayout";
|
||||
@ -17,6 +18,7 @@ import InternSearch from "./Pages/Search/InternSearchPage";
|
||||
import CompanyProfile from "./Pages/Profile/CompanyProfile";
|
||||
import UserProfile from "./Pages/Profile/UserProfile";
|
||||
import ContactPage from "./Pages/Contact/Contact";
|
||||
import Weekstaten from "./Pages/Weekstaten/Weekstaten";
|
||||
|
||||
//Style
|
||||
import "./GlobalStyles.css";
|
||||
@ -31,6 +33,7 @@ export {
|
||||
Dropdown,
|
||||
CompanyResults,
|
||||
FinishedInternShip,
|
||||
WeekStatenCard,
|
||||
}
|
||||
|
||||
|
||||
@ -47,4 +50,5 @@ export {
|
||||
CompanyProfile,
|
||||
UserProfile,
|
||||
ContactPage,
|
||||
Weekstaten,
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user