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
Changes from 1 commit
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
Prev Previous commit
Next Next commit
move up classes to sections
thomcsmits committed Dec 11, 2024
commit dacd8428e621047135c507cb66a0a4d482ccc247
142 changes: 68 additions & 74 deletions dwhdelft.nl/pages/mixup.vue
Original file line number Diff line number Diff line change
@@ -109,92 +109,86 @@ const instagramChannelsMixup = [
<PagesMixupLinkedEvents />
</section>

<section>
<div class="bg-brand-900 text-white text-lg mx-auto pt-12 pb-24 md:flex">
<ElementsContainer>
<div class="flex-1 px-4 lg:pr-32">
<div class="space-y-12">
<ElementsParagraphedText :paragraphs="t('intro')" class="md:text-xl md:leading-relaxed space-y-4" />
<p
v-if="barOpeningHours.announcement"
class="mt-3 mb-4 text-brand-500"
v-text="tt(barOpeningHours.announcement)"
/>
<PagesHomeInvite
class="my-8 md:my-4"
:announcement="t('invite.announcement')"
:time="t('invite.time', [barOpeningHours.start_time])"
/>
<div class="flex flex-1 space-x-4">
<div>
<a href="https://my.dwhdelft.nl/signup">
<ElementsSecondaryButton class="!text-brand-450" arrow>
{{ t('membership_button') }}
</ElementsSecondaryButton>
</a>
</div>
<div>
<nuxt-link :to="localePath('barbuddy')">
<ElementsPrimaryButton class="!text-brand-50" arrow>
{{ t('barbuddy_button') }}
</ElementsPrimaryButton>
</nuxt-link>
</div>
<section class="bg-brand-900 text-white text-lg mx-auto pt-12 pb-24 md:flex">
<ElementsContainer>
<div class="flex-1 px-4 lg:pr-32">
<div class="space-y-12">
<ElementsParagraphedText :paragraphs="t('intro')" class="md:text-xl md:leading-relaxed space-y-4" />
<p
v-if="barOpeningHours.announcement"
class="mt-3 mb-4 text-brand-500"
v-text="tt(barOpeningHours.announcement)"
/>
<PagesHomeInvite
class="my-8 md:my-4"
:announcement="t('invite.announcement')"
:time="t('invite.time', [barOpeningHours.start_time])"
/>
<div class="flex flex-1 space-x-4">
<div>
<a href="https://my.dwhdelft.nl/signup">
<ElementsSecondaryButton class="!text-brand-450" arrow>
{{ t('membership_button') }}
</ElementsSecondaryButton>
</a>
</div>
<div>
<nuxt-link :to="localePath('barbuddy')">
<ElementsPrimaryButton class="!text-brand-50" arrow>
{{ t('barbuddy_button') }}
</ElementsPrimaryButton>
</nuxt-link>
</div>
</div>
</div>
</ElementsContainer>
<div class="hidden lg:block">
<div>
<img src="~/assets/images/photos/mixup/barnight.png" class="w-96" />
</div>
</div>
</ElementsContainer>
<div class="hidden lg:block">
<div>
<img src="~/assets/images/photos/mixup/barnight.png" class="w-96" />
</div>
</div>
</section>

<section>
<div class="bg-highlights bg-cover bg-center py-10">
<ElementsContainer>
<div class="grid md:grid-cols-2 lg:grid-cols-4 gap-3">
<ElementsActionCard v-for="point in t('bulletPoints')" :key="point.title" :title="point.title">
<template #header>
<div class="w-full h-40 overflow-hidden mx-auto">
<img :src="imageOverviews(point.image)" class="object-cover w-full h-full" />
</div>
</template>
<p class="-mt-3 text-brand-900 text-lg leading-snug" v-text="point.description" />
</ElementsActionCard>
</div>
</ElementsContainer>
</div>
<section class="bg-highlights bg-cover bg-center py-10">
<ElementsContainer>
<div class="grid md:grid-cols-2 lg:grid-cols-4 gap-3">
<ElementsActionCard v-for="point in t('bulletPoints')" :key="point.title" :title="point.title">
<template #header>
<div class="w-full h-40 overflow-hidden mx-auto">
<img :src="imageOverviews(point.image)" class="object-cover w-full h-full" />
</div>
</template>
<p class="-mt-3 text-brand-900 text-lg leading-snug" v-text="point.description" />
</ElementsActionCard>
</div>
</ElementsContainer>
</section>

<section>
<div class="bg-brand-900 pb-12">
<ElementsContainer>
<div class="mx-auto pt-12 pb-8">
<h1 class="text-center text-white font-medium text-5xl mb-6 leading-tight" v-html="t('highlights.title')" />
</div>
<div class="grid grid-cols-[1fr_minmax(0,1280px)_1fr]">
<div
v-for="(event, index) in t('highlights.events')"
:key="event.name"
class="rounded-2xl md:rounded-full mb-6 bg-white p-4 md:flex items-center space-y-2 md:space-y-0 md:space-x-4 shadow-xl space-y-6 max-w-5xl col-start-2"
:class="index % 2 !== 0 ? 'ml-auto' : ''"
>
<div class="rounded-full h-32 w-32 bg-white overflow-hidden">
<img :src="imageOverviews(event.image)" class="object-cover h-full" />
</div>
<div class="flex-1 md:pr-8">
<div class="flex space-x-2 items-baseline">
<h3 class="text-xl text-brand-450 font-semibold" v-text="event.title" />
</div>
<p class="text-brand-900 text-lg" v-html="event.description" />
<section class="bg-brand-900 pb-12">
<ElementsContainer>
<div class="mx-auto pt-12 pb-8">
<h1 class="text-center text-white font-medium text-5xl mb-6 leading-tight" v-html="t('highlights.title')" />
</div>
<div class="grid grid-cols-[1fr_minmax(0,1280px)_1fr]">
<div
v-for="(event, index) in t('highlights.events')"
:key="event.name"
class="rounded-2xl md:rounded-full mb-6 bg-white p-4 md:flex items-center space-y-2 md:space-y-0 md:space-x-4 shadow-xl space-y-6 max-w-5xl col-start-2"
:class="index % 2 !== 0 ? 'ml-auto' : ''"
>
<div class="rounded-full h-32 w-32 bg-white overflow-hidden">
<img :src="imageOverviews(event.image)" class="object-cover h-full" />
</div>
<div class="flex-1 md:pr-8">
<div class="flex space-x-2 items-baseline">
<h3 class="text-xl text-brand-450 font-semibold" v-text="event.title" />
</div>
<p class="text-brand-900 text-lg" v-html="event.description" />
</div>
</div>
</ElementsContainer>
</div>
</div>
</ElementsContainer>
</section>

<LayoutStraightSection contentBackgroundClass="!bg-brand-450" contentClass="md:py-12">