From 77a66bf07eba5311b206bbeecde42f1c85ddec80 Mon Sep 17 00:00:00 2001 From: frits000000 <45283950+frits000000@users.noreply.github.com> Date: Fri, 18 Dec 2020 12:47:27 +0100 Subject: [PATCH] weekstaten update --- .../src/Components/Cards/Cards.css | 24 +++++++++++ .../src/Components/Cards/WeekStatenCard.js | 40 +++++++++++++++++++ .../src/Components/GlobalStyles.css | 11 +++++ .../src/Components/Pages/Contact/Contact.js | 5 ++- .../Pages/Weekstaten/Weekstaten.css | 10 +++++ .../Components/Pages/Weekstaten/Weekstaten.js | 27 +++++++++++++ .../src/Components/Routing/Router.js | 2 + ReactJS/alfaprentice/src/Components/index.js | 4 ++ 8 files changed, 121 insertions(+), 2 deletions(-) create mode 100644 ReactJS/alfaprentice/src/Components/Cards/WeekStatenCard.js create mode 100644 ReactJS/alfaprentice/src/Components/Pages/Weekstaten/Weekstaten.css create mode 100644 ReactJS/alfaprentice/src/Components/Pages/Weekstaten/Weekstaten.js diff --git a/ReactJS/alfaprentice/src/Components/Cards/Cards.css b/ReactJS/alfaprentice/src/Components/Cards/Cards.css index 0357430..7627004 100644 --- a/ReactJS/alfaprentice/src/Components/Cards/Cards.css +++ b/ReactJS/alfaprentice/src/Components/Cards/Cards.css @@ -4,4 +4,28 @@ .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; } \ No newline at end of file diff --git a/ReactJS/alfaprentice/src/Components/Cards/WeekStatenCard.js b/ReactJS/alfaprentice/src/Components/Cards/WeekStatenCard.js new file mode 100644 index 0000000..4bae6a4 --- /dev/null +++ b/ReactJS/alfaprentice/src/Components/Cards/WeekStatenCard.js @@ -0,0 +1,40 @@ +//Modules +import React from 'react'; + +//Styles +import "./Cards.css"; + +//Component + +const WeekStatenCard = (props) => { + return( +
+
+ +
+ +
+

{props.Title}

+
+
+

Omschrijving

+ +
+
+

Aantal uren

+ +
+ +
+ +
+
+
+
+
+ ) +} + +export default WeekStatenCard; \ No newline at end of file diff --git a/ReactJS/alfaprentice/src/Components/GlobalStyles.css b/ReactJS/alfaprentice/src/Components/GlobalStyles.css index a097f09..220e0b7 100644 --- a/ReactJS/alfaprentice/src/Components/GlobalStyles.css +++ b/ReactJS/alfaprentice/src/Components/GlobalStyles.css @@ -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; } @@ -69,4 +75,9 @@ .p0{ padding: 0px !important; +} + +.A-Center { + align-items: center; + align-content: center; } \ No newline at end of file diff --git a/ReactJS/alfaprentice/src/Components/Pages/Contact/Contact.js b/ReactJS/alfaprentice/src/Components/Pages/Contact/Contact.js index cd3e487..0b1f677 100644 --- a/ReactJS/alfaprentice/src/Components/Pages/Contact/Contact.js +++ b/ReactJS/alfaprentice/src/Components/Pages/Contact/Contact.js @@ -22,10 +22,11 @@ class ContactPage extends React.Component {
-
+
+

Vragen ?

- 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.

diff --git a/ReactJS/alfaprentice/src/Components/Pages/Weekstaten/Weekstaten.css b/ReactJS/alfaprentice/src/Components/Pages/Weekstaten/Weekstaten.css new file mode 100644 index 0000000..bb2f926 --- /dev/null +++ b/ReactJS/alfaprentice/src/Components/Pages/Weekstaten/Weekstaten.css @@ -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; +} diff --git a/ReactJS/alfaprentice/src/Components/Pages/Weekstaten/Weekstaten.js b/ReactJS/alfaprentice/src/Components/Pages/Weekstaten/Weekstaten.js new file mode 100644 index 0000000..7f49020 --- /dev/null +++ b/ReactJS/alfaprentice/src/Components/Pages/Weekstaten/Weekstaten.js @@ -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 ( +
+ +
+ + + +
+ +
+ ) + } +} + +export default Weekstaten; \ No newline at end of file diff --git a/ReactJS/alfaprentice/src/Components/Routing/Router.js b/ReactJS/alfaprentice/src/Components/Routing/Router.js index 00d8c3b..069a3c7 100644 --- a/ReactJS/alfaprentice/src/Components/Routing/Router.js +++ b/ReactJS/alfaprentice/src/Components/Routing/Router.js @@ -17,6 +17,7 @@ import { CompanyProfile, UserProfile, ContactPage, + Weekstaten, } from '../'; //Sub routes @@ -43,6 +44,7 @@ class GlobalRouter extends React.Component { + diff --git a/ReactJS/alfaprentice/src/Components/index.js b/ReactJS/alfaprentice/src/Components/index.js index 87b6920..111891e 100644 --- a/ReactJS/alfaprentice/src/Components/index.js +++ b/ReactJS/alfaprentice/src/Components/index.js @@ -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, } \ No newline at end of file