Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User-all page #27

Open
wants to merge 48 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
abd907f
file push for main branche
TomDeeterink1 May 13, 2024
3246710
setup
J3SS3HVA May 13, 2024
05ff163
node installs
rutgerkock May 13, 2024
e0fd9af
Delete package-lock.json
J3SS3HVA May 13, 2024
66a4788
Merge branch 'main' of https://github.com/TomDeeterink1/pleasurable-u…
J3SS3HVA May 13, 2024
32d4139
github files test push
rutgerkock May 13, 2024
750c221
test push
rutgerkock May 13, 2024
ed37aa5
test
TomDeeterink1 May 13, 2024
cf5640d
Merge pull request #1 from TomDeeterink1/main
TomDeeterink1 May 13, 2024
eec8a74
navbar done + setup
J3SS3HVA May 13, 2024
b1e8881
Merge pull request #2 from TomDeeterink1/main
TomDeeterink1 May 13, 2024
5530bbe
Merge pull request #3 from TomDeeterink1/Rutger
TomDeeterink1 May 13, 2024
d9cbd8a
Merge branch 'main' into Jesse
J3SS3HVA May 13, 2024
4577a32
Update page title in head file
rutgerkock May 13, 2024
a87a1f9
Merge pull request #4 from TomDeeterink1/main
Daan645 May 14, 2024
6e0d4fa
personal page V1
Daan645 May 14, 2024
e0bb8ea
louding page update and loading animation
Daan645 May 14, 2024
9f96ce0
V3
Daan645 May 14, 2024
7d93307
push
Daan645 May 14, 2024
8f6c7e8
profile-page
Daan645 May 15, 2024
e556406
Merge branch 'Jesse' of https://github.com/TomDeeterink1/pleasurable-…
J3SS3HVA May 15, 2024
8e382ce
favorite en empty state setup
J3SS3HVA May 15, 2024
724f2a8
Merge pull request #6 from TomDeeterink1/Daan
TomDeeterink1 May 15, 2024
a6f7b9b
added basic styling
J3SS3HVA May 15, 2024
f04784a
Merge branch 'staging-main' into Jesse
TomDeeterink1 May 15, 2024
592ab4b
Merge pull request #7 from TomDeeterink1/Jesse
TomDeeterink1 May 15, 2024
6c9f436
basic html and css
Daan645 May 16, 2024
a1fa9d8
Carousel timeline & Reverse function
Daan645 May 16, 2024
7afbdbb
content wrapper & detailsActive function
Daan645 May 16, 2024
84b4fdd
Werkende detail functie
Daan645 May 16, 2024
c5d8602
Titel veranderd naar de titel van de details
Daan645 May 16, 2024
262f79f
HTML geschreven om de detail knoppen van favorieten en geleende boeke…
Daan645 May 16, 2024
04ad3f4
CSS Klaargezet voor de details functie van favorites en borrowed books
Daan645 May 16, 2024
72b2c72
Details functie werkend gemaakt op geleende boeken en favorieten
Daan645 May 16, 2024
efd2ca5
onnodige html weggehaald
Daan645 May 16, 2024
6c9de84
Buttons aangemaakt voor het sluiten van de details
Daan645 May 16, 2024
40fbeeb
Opmaak details buttons goed gezet
Daan645 May 16, 2024
f13b409
Details sluiten opmaak
Daan645 May 16, 2024
1b22d31
Details sluiten werkt
Daan645 May 16, 2024
b32c164
User-overview page
rutgerkock May 17, 2024
d20ab52
afbeelding oba naar svg veranderd
Daan645 May 27, 2024
a2b2ce4
Update main.css
Daan645 May 27, 2024
ffc3406
Update main.css
Daan645 May 27, 2024
b1c4e08
Merge branch 'main' into Details-feature
Daan645 May 28, 2024
86361fb
Merge pull request #22 from TomDeeterink1/Details-feature
Daan645 May 28, 2024
f9828f0
updates
rutgerkock May 29, 2024
90b7e24
Merge branch 'main' into Rutger
TomDeeterink1 May 29, 2024
ca330c1
updates 2
rutgerkock May 29, 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
7 changes: 7 additions & 0 deletions .idea/discord.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 19 additions & 0 deletions .idea/php.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/pleasurable-ui-team-oba.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

99 changes: 99 additions & 0 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{
}
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