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

Add MIXUP page #625

Merged
merged 45 commits into from
Dec 18, 2024
Merged
Show file tree
Hide file tree
Changes from 41 commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
c5cd03f
basic setup mixup site
thomcsmits Nov 13, 2024
9e6b9c2
add images for mixup
thomcsmits Nov 13, 2024
aa1290f
add importing system for upcoming events
thomcsmits Nov 13, 2024
b5edcd0
styling top of mixup page
thomcsmits Nov 13, 2024
b7fefd3
add bulletpoints and background image for mixup
thomcsmits Nov 13, 2024
787abdc
add highlights for mixup
thomcsmits Nov 14, 2024
bf737c3
rename icons mixup
thomcsmits Nov 14, 2024
e3f3c72
fix header and images mixup
thomcsmits Nov 18, 2024
4340c75
fix timing for same day and incorrect slicing mixup
thomcsmits Nov 18, 2024
0c90f41
adjust sizing of highlights to grid container with middle mixup
thomcsmits Nov 19, 2024
d043d84
update pictures, add dutch descriptions mixup
thomcsmits Nov 19, 2024
55a5258
cleanup
thomcsmits Nov 19, 2024
b8bbbe7
add mixup brand colors
thomcsmits Nov 20, 2024
5920231
update mixup brand
thomcsmits Nov 20, 2024
d48224d
update brand and add barbuddy
thomcsmits Nov 20, 2024
de7155c
add mixup to header/footer and change link for recurringevents
thomcsmits Nov 20, 2024
990fd1f
run lint
thomcsmits Nov 20, 2024
ca57235
move months to shared/lang
thomcsmits Nov 22, 2024
e0ed046
move LinkedEvents to separate component file
thomcsmits Nov 27, 2024
0581f9c
change mixup png for svg
thomcsmits Nov 28, 2024
eab7163
add padding
thomcsmits Dec 3, 2024
cbf2e3f
add barvisual to outsite for build
thomcsmits Dec 3, 2024
51e54ce
change mixup-colors to div instead of in set-up
thomcsmits Dec 3, 2024
8bd25b1
fixing opening hours element
thomcsmits Dec 3, 2024
83dc116
various fixes
thomcsmits Dec 3, 2024
3698448
add elementscontainers
thomcsmits Dec 3, 2024
98109a4
cleanup
thomcsmits Dec 3, 2024
f97077b
change string parsing to google sheets api
thomcsmits Dec 10, 2024
2115509
styling
thomcsmits Dec 10, 2024
9232d0f
Fix linked events async data issues
casperboone Dec 10, 2024
99b6792
Merge pull request #633 from dwh-outsite/linked-events-fix
thomcsmits Dec 11, 2024
ce779e1
change bg-image to scoped style for barvisual
thomcsmits Dec 11, 2024
1c7819c
change top triangle to gray-800
thomcsmits Dec 11, 2024
dacd842
move up classes to sections
thomcsmits Dec 11, 2024
dabb7bb
add mixup logo, move barnight to elementscontainer
thomcsmits Dec 11, 2024
5180707
png for text, jpg for non-text
thomcsmits Dec 11, 2024
c6ff344
fixes
thomcsmits Dec 11, 2024
95c6a66
fond bolt on events
thomcsmits Dec 11, 2024
30a14bc
replace bad svgs by pngs
thomcsmits Dec 17, 2024
d9c076c
add more icons mixup
thomcsmits Dec 17, 2024
05d0099
set icon height rather than width
thomcsmits Dec 17, 2024
dbaca84
Update dwhdelft.nl/components/pages/mixup/LinkedEvents.vue
thomcsmits Dec 17, 2024
a29c239
fixes
thomcsmits Dec 17, 2024
f80d7e3
build out BulletPoints into separate component
thomcsmits Dec 17, 2024
e4c5641
move first image higher so the text is wrapped
thomcsmits Dec 18, 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think a photo of the actual drag folks would be better

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree! I believe Colin & Musy were working on creating some new pictures that he will send at a certain point. I'll update it for v2!

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as with the drag, a photo would fit better

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't a great picture for a highlight, it looks like werklicht and pre-Owen-cleaning-floors

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A highlight also shouldn't be a poster I think

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
thomcsmits marked this conversation as resolved.
Show resolved Hide resolved
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions dwhdelft.nl/assets/images/photos/mixup/icons/tasting.svg
thomcsmits marked this conversation as resolved.
Show resolved Hide resolved
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions dwhdelft.nl/components/layout/Header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ en:
url: /education
- title: Jong&Out
url: /jongenout
- title: MIXUP
url: /mixup
- title: Andersblad
url: andersblad
- title: Contact
Expand All @@ -23,6 +25,8 @@ nl:
url: /education
- title: Jong&Out
url: /jongenout
- title: MIXUP
url: /mixup
- title: Andersblad
url: andersblad
- title: Contact
Expand Down
68 changes: 68 additions & 0 deletions dwhdelft.nl/components/pages/mixup/LinkedEvents.vue
thomcsmits marked this conversation as resolved.
Show resolved Hide resolved
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it might be nice to have this use the format of the dance nights | parties | drag shows | events segment instead of the icons... and maybe have one or the other depending on whether the sheet is filled? With upcoming events, the general overview, the highlights and the Instagram we have a lot of event-like boxes summing up what we do.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see what you mean. I think it will a bit more tricky to import new images for new events every time, but I'll take a look to see what I can do. I also agree that it might be a bit much, though there isn't a whole lot of other content, so I'll discuss with MIXUP what they might want!

Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
<i18n lang="yaml">
en:
events: Our UPcoming events
nl:
events: Onze UPkomende evenementen
</i18n>

<script setup>
const { t } = useT()
import GSheetReader from 'g-sheets-api'

const { image: imageIcons } = useDynamicImages(
import.meta.glob('~/assets/images/photos/mixup/icons/*', { eager: true })
)

const events = ref(null)

const sheetOptions = {
apiKey: useRuntimeConfig().public.googleKey,
sheetId: '1_FqJ8RZHJr7duOvQpWudBiRUVjcE6DFSxjY-qAUypss',
sheetName: 'Public',
}

onMounted(() => {
GSheetReader(sheetOptions, (results) => {
const filteredResults = results.filter((r) => r['Event name'])
if (filteredResults.length === 0) {
console.error('No events')
}

events.value = filteredResults
.map((row) => ({
date: new Date(`${row[`Date`].split('-').reverse().join('/')} 23:59`),
eventName: row[`Event name`],
icon: imageIcons(row[`Icon`]) || imageIcons('bar'),
}))
.filter((event) => !isNaN(event.date) && event.date.getTime() > new Date().getTime())
.slice(0, 5)
})
})
</script>

<template>
<div v-if="events && events.length > 0" class="bg-gray-800 text-white">
<ElementsContainer>
<h1 class="text-center font-medium text-5xl">
{{ t('events') }}
</h1>
<div class="flex flex-wrap justify-center text-center">
<div
v-for="(event, index) in events"
:key="index"
class="w-48 p-4 m-4 bg-brand-900 rounded-lg shadow-lg space-y-2"
>
<div>
{{ ''.concat(event.date.getDate(), ' ', $t(`month.${event.date.getMonth()}`)) }}
thomcsmits marked this conversation as resolved.
Show resolved Hide resolved
</div>
<div class="text-xl font-bold">
{{ event.eventName }}
</div>
<div class="flex justify-center">
<img :src="event.icon" alt="Event Icon" class="h-12" />
</div>
</div>
</div>
</ElementsContainer>
</div>
</template>
4 changes: 4 additions & 0 deletions dwhdelft.nl/content/footer_links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ categories:
nl: Fillum Programma
en: Fillum Programme
url: "http://homodelft.nl/films/"
- name:
nl: MIXUP
en: MIXUP
url: /mixup
- name:
nl: Kennismaken
en: Join DWH
Expand Down
Loading
Loading