Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
125 commits
Select commit Hold shift + click to select a range
b1adb40
Update README.md
christoph3r3w May 13, 2024
5ebc283
CW V0 "codes space setup"
christoph3r3w May 13, 2024
7d01afb
CW1.1 router Concept
christoph3r3w May 14, 2024
03dfa01
CW1.1 server adjustments
christoph3r3w May 14, 2024
eaf4f18
CW1.1 main-server routes
christoph3r3w May 14, 2024
7bb70aa
CW1.2 router Concept
christoph3r3w May 14, 2024
16e6f6f
CW1.3 server changes
christoph3r3w May 15, 2024
394ac32
JK - Fixed server.js
Jesse-Kramer May 15, 2024
07270ab
JK - Added custom fonts
Jesse-Kramer May 15, 2024
6503267
JK - Added custom variables
Jesse-Kramer May 15, 2024
28a9685
JK - Added hightlight section in EJS
Jesse-Kramer May 15, 2024
1d3f3ba
JK - Added font in main.css
Jesse-Kramer May 15, 2024
82b9a2b
JK - Changed format hightlighted posts
Jesse-Kramer May 15, 2024
640e162
CW2 Route setup
christoph3r3w May 15, 2024
a591c2c
JK - Added inter
Jesse-Kramer May 15, 2024
e6e45f1
JK - Added mobile styling
Jesse-Kramer May 15, 2024
c819c29
JK - Added display none for desktop
Jesse-Kramer May 15, 2024
822ca82
JK - OOPS
Jesse-Kramer May 15, 2024
1bd11ca
CW2.1 server changes
christoph3r3w May 15, 2024
2170f8c
JW - Small css changes
Jason2426 May 15, 2024
05442e3
!! JK - REVERT LATER!
Jesse-Kramer May 16, 2024
292855d
JK - Added SKELETON of mobile caroursel
Jesse-Kramer May 16, 2024
68656cd
CW3 server changes
christoph3r3w May 17, 2024
f94cd55
JK - Changed some stuff
Jesse-Kramer May 17, 2024
7b0616f
Revert "!! JK - REVERT LATER!"
Jesse-Kramer May 17, 2024
99f31df
Merge pull request #19 from christoph3r3w/#4-feauture-Branch-route-se…
christoph3r3w May 17, 2024
f5f533f
CW3.1 changed route name from post to detail
christoph3r3w May 17, 2024
33c8677
CW3.2 server changes
christoph3r3w May 17, 2024
1600ffe
CW3.3 server changes
christoph3r3w May 17, 2024
e011d49
JK - Finalized carousel
Jesse-Kramer May 17, 2024
720e07f
JK - Improved the CSS
Jesse-Kramer May 17, 2024
fdb2701
JK - Changed line clamp
Jesse-Kramer May 17, 2024
4e53609
CW3.3 server fixes
christoph3r3w May 17, 2024
34b7b1f
CW3.2.1 server fixes
christoph3r3w May 17, 2024
f3db877
JK - Added read more banner
Jesse-Kramer May 17, 2024
37688c4
JK - Added border-radius to images
Jesse-Kramer May 17, 2024
583631b
Revert "JK - Fixed server.js"
Jesse-Kramer May 17, 2024
1652835
JK - Uncommented header & footer
Jesse-Kramer May 17, 2024
4f43212
Update README.md
christoph3r3w May 17, 2024
59da568
Merge pull request #18 from christoph3r3w/17-mobile-homepage-jesse
christoph3r3w May 17, 2024
ce835d0
CW3.2 server additions
christoph3r3w May 17, 2024
328e790
Merge branch 'main' into #20-client-side-posting
christoph3r3w May 17, 2024
8b80cb7
JK - Fixes #25
Jesse-Kramer May 17, 2024
eada1e5
JK - Fixed the error(s) and changed the HREF
Jesse-Kramer May 17, 2024
5b68da6
Merge pull request #27 from christoph3r3w/26-bouwen-desktop-home-page…
Jesse-Kramer May 17, 2024
5ae8f0f
JK - TEST COMMIT
Jesse-Kramer May 17, 2024
9b52f06
Revert "JK - TEST COMMIT"
Jesse-Kramer May 17, 2024
443cf05
JW - Removed old HTML
Jason2426 May 19, 2024
779df5c
JW - 'Images' map added in 'assets' folder
Jason2426 May 19, 2024
d2965ae
JW - SVGs added to assets folder
Jason2426 May 19, 2024
e51a66d
JW - Core HTML for mobile menu added
Jason2426 May 19, 2024
02011f4
JW - Offer browser different logo formats
Jason2426 May 19, 2024
91050dd
JW - Added styling for mobile menu (standard)
Jason2426 May 19, 2024
95b272c
JW - Made the mobile menu functionally work and added styling
Jason2426 May 19, 2024
8fdabcf
Merge pull request #22 from christoph3r3w/#20-client-side-posting
christoph3r3w May 19, 2024
8c3d924
Merge branch 'fdnd-task:main' into main
christoph3r3w May 19, 2024
c42ecdc
CW1 CSS changes
christoph3r3w May 19, 2024
5016ec3
CW1.1 detail-page HTML content
christoph3r3w May 19, 2024
48f092e
CW1.2 tried to fix categories route issues
christoph3r3w May 19, 2024
ccd91a3
CW1.2.1 server changes
christoph3r3w May 19, 2024
c01604e
JW - Removed test styling
Jason2426 May 20, 2024
020cf98
JK - Responsive for desktop
Jesse-Kramer May 20, 2024
44c9995
JK - Removed class
Jesse-Kramer May 20, 2024
f859ef5
Merge branch 'main' into 21-bouwen-algemene-header-voor-mobile
Jesse-Kramer May 22, 2024
7cce5bb
JW - changed name of class to be more logical
Jason2426 May 22, 2024
eb7b8e7
Merge branch '21-bouwen-algemene-header-voor-mobile' of https://githu…
Jason2426 May 22, 2024
45baf91
Merge pull request #30 from christoph3r3w/21-bouwen-algemene-header-v…
Jesse-Kramer May 22, 2024
e87ac79
JK - Added carousel buttons
Jesse-Kramer May 22, 2024
d3198a9
JK - Styled buttons
Jesse-Kramer May 22, 2024
6fedfae
JK - Positioned buttons
Jesse-Kramer May 22, 2024
2a773be
JK - Changed id's to classes
Jesse-Kramer May 22, 2024
31e81ae
JK - Added button functions
Jesse-Kramer May 22, 2024
43df1d3
CW1 mobile-first layout
christoph3r3w May 23, 2024
e953207
CW2 mobile-first layout
christoph3r3w May 23, 2024
c4dac77
CW1 general changes
christoph3r3w May 23, 2024
2c6c13a
Merge pull request #29 from christoph3r3w/26-bouwen-desktop-home-page…
christoph3r3w May 23, 2024
659b589
CW3 Button navbar
christoph3r3w May 23, 2024
9d00425
CW4 general changes
christoph3r3w May 23, 2024
9d0edb7
Merge pull request #34 from christoph3r3w/23-detail-pagina-layout-chris
christoph3r3w May 23, 2024
3237a2f
CW5 partials update
christoph3r3w May 23, 2024
247fafb
CW6 Desktop layout
christoph3r3w May 23, 2024
6d0642e
CW6.1 colour changes
christoph3r3w May 23, 2024
149f3bf
JK - Button fix
Jesse-Kramer May 24, 2024
6adecc1
CW detail bar feature
christoph3r3w May 24, 2024
b497e85
JW - Added a page loader
Jason2426 May 24, 2024
9966963
Merge branch 'main' into 32-homepage-loader-JW
Jason2426 May 24, 2024
c4407c2
Merge pull request #37 from christoph3r3w/32-homepage-loader-JW
Jason2426 May 24, 2024
ea0e362
JW - general change
Jason2426 May 24, 2024
801cc01
Merge pull request #38 from christoph3r3w/32-homepage-loader-JW
Jason2426 May 24, 2024
862e49e
Merge pull request #36 from christoph3r3w/23-detail-pagina-layout-chris
christoph3r3w May 24, 2024
e362885
JW - Written Core HTML and some CSS
Jason2426 May 25, 2024
d5a4a0d
JW - Small changes
Jason2426 May 25, 2024
37cefc5
JK - (re)Made time & date parser
Jesse-Kramer May 25, 2024
8b325b4
JW - added current date to header
Jason2426 May 25, 2024
b7f39ee
JK - Added temp footer
Jesse-Kramer May 25, 2024
404f1fe
Revert "JK - Added temp footer"
Jesse-Kramer May 25, 2024
a3c358f
JK - Added temp footer
Jesse-Kramer May 25, 2024
1838eb0
JW - CSS changes
Jason2426 May 25, 2024
1fbd807
Merge pull request #48 from christoph3r3w/40-time-and-date-parser-for…
christoph3r3w May 25, 2024
1123deb
JW - added newsletter and fixes
Jason2426 May 25, 2024
d38049b
JW - added flexbox supports rule
Jason2426 May 25, 2024
bb57fe3
JW - fixed image route for detail
Jason2426 May 26, 2024
a4029c1
JW - removed @supports rule
Jason2426 May 26, 2024
ad274eb
JW - media query styling fixes
Jason2426 May 26, 2024
933f1ef
JW - fixes
Jason2426 May 26, 2024
f163f79
JW - small changes
Jason2426 May 26, 2024
eb67052
CW additions and fixes
christoph3r3w May 26, 2024
1a23633
CW unnecessary
christoph3r3w May 26, 2024
eb08fa4
Merge pull request #49 from christoph3r3w/42-algemeene-footer-maken-m…
christoph3r3w May 26, 2024
dc241bd
Merge branch 'main' into 47-adding-subgrid-to-home-page-chris
christoph3r3w May 26, 2024
9188ac9
Merge pull request #50 from christoph3r3w/45-main-header-bouwen-voor-…
christoph3r3w May 26, 2024
830fea2
Merge branch '47-adding-subgrid-to-home-page-chris' of https://github…
christoph3r3w May 26, 2024
5bb5604
Merge branch 'main' into 47-adding-subgrid-to-home-page-chris
christoph3r3w May 26, 2024
c954470
Merge branch '47-adding-subgrid-to-home-page-chris' of https://github…
christoph3r3w May 26, 2024
5b4179b
CW subgrid fixes
christoph3r3w May 26, 2024
fa95efb
Merge pull request #51 from christoph3r3w/47-adding-subgrid-to-home-p…
christoph3r3w May 26, 2024
6a64c1d
JK - Fix for parse
Jesse-Kramer May 27, 2024
3e986af
CW general fixes
christoph3r3w May 27, 2024
38a1db3
Merge branch 'main' of https://github.com/christoph3r3w/pleasurable-ui
christoph3r3w May 27, 2024
fadc6d7
JW - button styling
Jason2426 May 27, 2024
1f85a68
Merge branch 'main' into 35-ui-states-voor-buttons-implementeren
Jason2426 May 27, 2024
707efda
JW - styling and hover state added
Jason2426 May 27, 2024
9c467f1
JW - after state and styling fixes
Jason2426 May 27, 2024
7d2a8c9
JW - small fix
Jason2426 May 27, 2024
e260dc1
JW - styling fixes
Jason2426 May 27, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 14 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
> _Fork_ deze leertaak en ga aan de slag. Onderstaande outline ga je gedurende deze taak in jouw eigen GitHub omgeving uitwerken. De instructie vind je in: [docs/INSTRUCTIONS.md](docs/INSTRUCTIONS.md)

# Titel
<!-- Geef je project een titel en schrijf in één zin wat het is -->
# Groep Elite redpers
## Doel


## leden
* Jason
* Jesse
* Christopher



## Inhoudsopgave

Expand All @@ -26,8 +33,10 @@
## Installatie
<!-- Bij Instalatie staat hoe een andere developer aan jouw repo kan werken -->

## Bronnen
***

> _Fork_ deze leertaak en ga aan de slag. Onderstaande outline ga je gedurende deze taak in jouw eigen GitHub omgeving uitwerken. De instructie vind je in: [docs/INSTRUCTIONS.md](docs/INSTRUCTIONS.md)

## Licentie

This project is licensed under the terms of the [MIT license](./LICENSE).
This project is licensed under the terms of the [MIT license](./LICENSE).
20 changes: 20 additions & 0 deletions helpers/fetch-json.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/**
* An asynchronous helper function that wraps the standard node.js fetch API.
* This function calls an API url passed as the first and mandatory parameter,
* there is an optional payload parameter to send a json object, eg. a filter.
* It then calls the API and returns the response body parsed as a json object.
* @example <caption>fetchJson as returning function using the await keyword</caption>
* const data = await fetchJson('https://api-url.com/endpoint/')
* @example <caption>fetchJson as oneliner using the then() structure.</caption>
* fetchJson('https://api-url.com/endpoint/').then((data)=>{
* // use data...
* })
* @param {string} url the api endpoint to address
* @param {object} [payload] the payload to send to the API
* @returns the response from the API endpoint parsed as a json object
*/
export default async function fetchJson(url, payload = {}) {
return await fetch(url, payload)
.then((response) => response.json())
.catch((error) => error)
}
Loading