Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
199 commits
Select commit Hold shift + click to select a range
9b6f193
Delete graphql/aboutPage.js
therealJonSnow Jan 26, 2024
d706df7
Delete graphql/allCities.js
therealJonSnow Jan 26, 2024
e94989e
Delete graphql/beginnerPage.js
therealJonSnow Jan 26, 2024
7311685
Delete graphql/citiesByCountry.js
therealJonSnow Jan 26, 2024
b42167a
Delete graphql/city.js
therealJonSnow Jan 26, 2024
4db496f
Delete graphql/footer.js
therealJonSnow Jan 26, 2024
31eacf7
Delete graphql/homepage.js
therealJonSnow Jan 26, 2024
0b4233c
Delete graphql/merchantPage.js
therealJonSnow Jan 26, 2024
8b691f7
Delete graphql/networkPage.js
therealJonSnow Jan 26, 2024
f143fed
Test push for vercel
therealJonSnow Jan 26, 2024
2e5230f
More routing issues
therealJonSnow Jan 26, 2024
ec52f53
Add cookies, data protection and impressum connections
therealJonSnow Jan 26, 2024
99f17bd
Add mobiel menu
therealJonSnow Jan 26, 2024
f545a0e
Update footer styling
therealJonSnow Jan 29, 2024
7ec73a7
Footer and navigation styling
therealJonSnow Jan 29, 2024
a33cda4
Add cities carousel and fallbacks
therealJonSnow Jan 29, 2024
77daaea
add partner hero to city page
therealJonSnow Jan 29, 2024
8a19395
Refactor network partners data
therealJonSnow Jan 29, 2024
c1b596b
Refactor partner grid
therealJonSnow Jan 29, 2024
e298ef3
Events carousel
therealJonSnow Jan 29, 2024
15d010f
Add iframe component
therealJonSnow Jan 29, 2024
2fe0821
Iframe fullscreen toggle
therealJonSnow Jan 29, 2024
dad19ea
Fixes for carousels
therealJonSnow Jan 29, 2024
e527f9c
Fix local city issue
therealJonSnow Jan 30, 2024
589288c
Fix for language routing
therealJonSnow Jan 30, 2024
8a7137b
Remove page transition
therealJonSnow Jan 30, 2024
aa1dce8
Add homepage for global url
therealJonSnow Jan 30, 2024
9ceb738
cleanup queries
therealJonSnow Jan 30, 2024
94ffd99
Update request
therealJonSnow Jan 30, 2024
797b080
Experimental fix, add $fetch
therealJonSnow Jan 30, 2024
131a375
Attempt cache clearing
therealJonSnow Jan 30, 2024
972da36
remove prerender routes
therealJonSnow Jan 30, 2024
c17e3f4
Add city carousel
therealJonSnow Jan 30, 2024
7f80280
Fix string error
therealJonSnow Jan 30, 2024
2d357f6
Add navigation dynamic logo
therealJonSnow Jan 30, 2024
807b2f9
Nav logo ammends
therealJonSnow Jan 30, 2024
1447793
Add dynamic logs and add grid component
therealJonSnow Jan 31, 2024
5bfdddc
Update global grid
therealJonSnow Jan 31, 2024
1c847a9
Ammend Partner Model
therealJonSnow Jan 31, 2024
a1bee57
Update Half Image Hero
therealJonSnow Jan 31, 2024
efd735e
Update locaisation dropdown with local text
therealJonSnow Jan 31, 2024
cf0f5bb
Team review fixes
therealJonSnow Jan 31, 2024
70adefa
Run global page based on published
therealJonSnow Jan 31, 2024
21b9884
Navigation highlighting and other fixes
therealJonSnow Feb 1, 2024
885e060
Change all references to Country->Region
therealJonSnow Feb 1, 2024
6ca3098
Fix linting errors
therealJonSnow Feb 1, 2024
0fa6891
Clean up files
therealJonSnow Feb 1, 2024
4e2d42a
Remove region carousel from global
therealJonSnow Feb 1, 2024
2f7af1e
Footer styling fixes
therealJonSnow Feb 1, 2024
4da5e5e
Add Haftungsausschluss!
therealJonSnow Feb 1, 2024
a260e2d
Remove localisation from nav bar
therealJonSnow Feb 1, 2024
1e63044
Add localisation and loading state
therealJonSnow Feb 1, 2024
8a18fe8
Add headline component
therealJonSnow Feb 2, 2024
76c8a97
Update Favicons and titles
therealJonSnow Feb 2, 2024
790fc64
Consolidate page head tilte code
therealJonSnow Feb 2, 2024
c84774c
Remove need for static pages to be referenced in cms
therealJonSnow Feb 2, 2024
908ddce
Update for cms
therealJonSnow Feb 2, 2024
1455e8d
Quick text color fixes
therealJonSnow Feb 2, 2024
0a3a80d
Footer fixes
therealJonSnow Feb 2, 2024
1528720
Iframe error state
therealJonSnow Feb 2, 2024
631b051
Fix event carousel alignment
therealJonSnow Feb 2, 2024
eb7c29b
New Starting Grid Compoennt
therealJonSnow Feb 2, 2024
bb83a16
Update contact routes
therealJonSnow Feb 2, 2024
8ba033c
Mobile responsiveness fixes
therealJonSnow Feb 5, 2024
5dee8b6
Update background color model
therealJonSnow Feb 5, 2024
88bcc96
Fixes for extra cities/regions
therealJonSnow Feb 5, 2024
3732c0e
Kwadwo highlighted bugs
therealJonSnow Feb 6, 2024
d88ff80
Update live sites
therealJonSnow Feb 6, 2024
6538e99
Firefox bug fixes
therealJonSnow Feb 6, 2024
d703a68
Implement brand name
therealJonSnow Feb 6, 2024
2c78356
Add contact form page
therealJonSnow Feb 6, 2024
195b082
Update
therealJonSnow Feb 7, 2024
a415fb9
Updates for merchant page
therealJonSnow Feb 7, 2024
36af8af
Network and Beginner page content upload
therealJonSnow Feb 7, 2024
9ff6a35
Update Carousels and Zig Zag component
therealJonSnow Feb 7, 2024
457cd46
Update queries to account for status
therealJonSnow Feb 7, 2024
78275a0
Add preliminary cookies banner to site
therealJonSnow Feb 8, 2024
54f3f54
Partner logos to full colour
therealJonSnow Feb 8, 2024
b3f8c6f
Footer padding ammends
therealJonSnow Feb 9, 2024
fe8acd8
Card hover distance adjustments
therealJonSnow Feb 9, 2024
4191afe
Block padding ammendments
therealJonSnow Feb 9, 2024
44314ea
Partner grid and hero padding ammends
therealJonSnow Feb 9, 2024
9735af5
Map Buisnesses update
therealJonSnow Feb 9, 2024
4b5678e
Add title to starting grid
therealJonSnow Feb 9, 2024
12c4f3f
Remove events for upcoming cities
therealJonSnow Feb 9, 2024
cb1d8c3
Update mobile nav
therealJonSnow Feb 12, 2024
74f2ebe
Padding fixes
therealJonSnow Feb 12, 2024
3f86249
City carousel ammends and hero padding
therealJonSnow Feb 13, 2024
af7cbb1
Add 'coming soon' on small screens
therealJonSnow Feb 13, 2024
b112c33
Hide mobile menu when link clicked
therealJonSnow Feb 13, 2024
cc87814
Fix logo widths on iOS
therealJonSnow Feb 13, 2024
298b9b0
Fixes
therealJonSnow Feb 14, 2024
65505b3
Update meta title
therealJonSnow Feb 14, 2024
d1853f1
Fix typo
therealJonSnow Feb 14, 2024
ac3032a
Page transitions / media carousel
therealJonSnow Feb 14, 2024
692a864
Update favicons
therealJonSnow Feb 15, 2024
3c4941f
Center homepage contact cta
therealJonSnow Feb 15, 2024
86d5f33
Update region card with city names
therealJonSnow Feb 15, 2024
3ff5e5a
Add app versions of link
therealJonSnow Feb 15, 2024
fe87b61
Clean up repo
therealJonSnow Feb 15, 2024
4dabe4e
Routes cleanup
therealJonSnow Feb 15, 2024
dd7fd90
Add unknown url redirect
therealJonSnow Feb 15, 2024
415ee22
Remove region text
therealJonSnow Feb 15, 2024
79457e0
Remove language selector on global page
therealJonSnow Feb 15, 2024
5afaa90
Add teleport to map fullscreen
therealJonSnow Feb 15, 2024
9be86c1
fix class declaration error
therealJonSnow Feb 15, 2024
3c4a6b1
Update overlay z-index
therealJonSnow Feb 15, 2024
dba60aa
Iframe rounding, video padding
therealJonSnow Feb 15, 2024
22a22b4
Update initial redirection
therealJonSnow Feb 15, 2024
8d44ff1
Update readme
therealJonSnow Feb 15, 2024
a0c4ffd
Update README.md
therealJonSnow Feb 15, 2024
660ccf1
Update env naming
therealJonSnow Feb 15, 2024
4657ff5
Merge branch 'main' of https://github.com/overnice/cryptocity-nuxt
therealJonSnow Feb 15, 2024
3931fc1
add error page
therealJonSnow Feb 15, 2024
0286d96
Update error page
therealJonSnow Feb 15, 2024
5a1c267
Feature: Add navigation logo animation
therealJonSnow Feb 16, 2024
b96923d
fix: stop nav logo showing static route name
therealJonSnow Feb 16, 2024
4202834
Fix: iframe fullscreen button moved + loading state added
therealJonSnow Feb 16, 2024
a03ae58
Fix: Page data error handling
therealJonSnow Feb 16, 2024
c70b59b
Fix: Update spinner animation for safari
therealJonSnow Feb 16, 2024
241982e
update env naming
therealJonSnow Feb 16, 2024
738c42b
Fix: Massive typescript refactor
therealJonSnow Feb 16, 2024
98b268c
Fix: update linting
therealJonSnow Feb 16, 2024
41a00de
Clean up typescript files and remove comments
therealJonSnow Feb 16, 2024
19192c1
Feat: add preview env variable
therealJonSnow Feb 16, 2024
5de1b53
Add preview functionality
therealJonSnow Feb 18, 2024
f525839
Allow draft pages to be viewed and fix error message
therealJonSnow Feb 18, 2024
43ab704
Add state to regions
therealJonSnow Feb 19, 2024
9146830
Update Readme
therealJonSnow Feb 19, 2024
09a706e
Update Readme
therealJonSnow Feb 19, 2024
5c72fd6
Enable SSR
therealJonSnow Feb 19, 2024
30407f4
fix: update h1
therealJonSnow Feb 20, 2024
89d298b
fix: accessibility improvements
therealJonSnow Feb 20, 2024
2abbb2b
fix: add registered trademark to logos
therealJonSnow Feb 20, 2024
333bf74
fix: media carousel sizing
therealJonSnow Feb 20, 2024
4c8bdd6
SEO Updates
therealJonSnow Feb 20, 2024
a5e7d08
fix: add twitter card
therealJonSnow Feb 20, 2024
195044a
Merge branch 'main' into feature/enable-ssr
therealJonSnow Feb 20, 2024
c278194
update index meta
therealJonSnow Feb 20, 2024
a00b829
Merge pull request #2 from overnice/feature/enable-ssr
therealJonSnow Feb 20, 2024
ef78012
Spacing updates
therealJonSnow Feb 20, 2024
a169710
Merge branch 'main' of https://github.com/overnice/cryptocity-nuxt
therealJonSnow Feb 20, 2024
d1d3561
SSR rerouting fix
therealJonSnow Feb 20, 2024
8b19aff
Reinstantiate key
therealJonSnow Feb 20, 2024
5762978
fix: add checks for locales
therealJonSnow Feb 20, 2024
c2c4e29
Tweaking padding and error checking
therealJonSnow Feb 20, 2024
99d8d8d
fix: stop flash on locale change
therealJonSnow Feb 20, 2024
a0f997c
Fix global page name
therealJonSnow Feb 20, 2024
a1ffe93
Re add alt
therealJonSnow Feb 20, 2024
82bbc67
Update image rendering
therealJonSnow Feb 21, 2024
c1f8965
Increase hero fetch priorities
therealJonSnow Feb 21, 2024
3f618d5
Lazy load contact form
therealJonSnow Feb 21, 2024
5793635
Remove unused css and defer iubenda
therealJonSnow Feb 21, 2024
c0f4ae9
Lazy load iframes
therealJonSnow Feb 21, 2024
2203c22
Add locations to grid card
therealJonSnow Feb 28, 2024
ddb674d
Add new carousel and star component
therealJonSnow Feb 28, 2024
1e056a9
Event card images and adress added
therealJonSnow Feb 29, 2024
c8acf5a
Add individual news pages
therealJonSnow Mar 14, 2024
2c8cb97
add all news page
therealJonSnow Mar 14, 2024
58b66aa
Remove footer on global page
therealJonSnow Mar 14, 2024
dc32b1f
Split footer into Germany/Rest of world
therealJonSnow Mar 18, 2024
7478e54
Create display logic for news articles
therealJonSnow Mar 18, 2024
90cbda0
news page rerouting with localisation
therealJonSnow Mar 19, 2024
10af6ca
Add featured article to news page
therealJonSnow Mar 19, 2024
703ef5f
Localisation flag fix
therealJonSnow Mar 19, 2024
50f4e9b
Fix event carousel overflow
therealJonSnow Mar 20, 2024
0d79f4a
Merge pull request #4 from overnice/feature/nimiq-locations
therealJonSnow Mar 20, 2024
58fec1e
Update env settings
therealJonSnow Mar 20, 2024
e3e02d2
Fix env variables
therealJonSnow Mar 20, 2024
a7d38f0
Add i18n location based translations
therealJonSnow Mar 25, 2024
8aef567
Merge branch 'feature/add-news-page'
therealJonSnow Mar 25, 2024
8de6bd2
Fix public key issue
therealJonSnow Mar 25, 2024
5a9b3ea
Update news page styling
therealJonSnow Apr 2, 2024
2928d67
update
therealJonSnow Apr 2, 2024
928d247
Update gmaps
therealJonSnow Apr 2, 2024
11f034c
Update registered logo position for FF
therealJonSnow Apr 4, 2024
cb3cc33
Update impressum padding
therealJonSnow Apr 8, 2024
5f8e672
Update sizes
therealJonSnow Apr 8, 2024
5a5bb7e
Add link to haftung
therealJonSnow Apr 9, 2024
7a27018
Update PartnerLogo.vue
therealJonSnow Apr 11, 2024
be93759
update structured text linking
therealJonSnow Apr 15, 2024
0019855
Update to structured
therealJonSnow Apr 15, 2024
080a6a5
Update or case state
therealJonSnow Apr 16, 2024
9354861
MAJOR REFACTOR
therealJonSnow Apr 17, 2024
e9b6cb0
Global page updates & video covers
therealJonSnow Apr 18, 2024
8ea162c
redirect /home on region sites
therealJonSnow Apr 18, 2024
e765e1a
Add GA
therealJonSnow Apr 19, 2024
3829e57
Update news and rossman
therealJonSnow Apr 22, 2024
e049b31
Update buisness
therealJonSnow Apr 22, 2024
80ee5e9
Update Map text
therealJonSnow Apr 23, 2024
e31123a
Update global page
therealJonSnow May 7, 2024
f3db1e9
mobile height adjustment
therealJonSnow May 7, 2024
4f567e3
Update all
therealJonSnow May 8, 2024
05bab06
Update about us carousel to show regions
therealJonSnow May 10, 2024
66ebae8
Filter enabled field on map locations
therealJonSnow May 15, 2024
cfad753
Add @mux/mux-player dependency, as it is needed by vue-datocms when b…
sisou May 23, 2024
6f6e99b
Remove iframe teleport
therealJonSnow Jun 18, 2024
52226b0
Remove iframe teleport
therealJonSnow Jun 18, 2024
0aa0eec
Merge branch 'bug/remove-iframe-teleport' of https://github.com/crypt…
therealJonSnow Jun 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
1 change: 0 additions & 1 deletion app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
:on-global-page="convertToBoolean(useRuntimeConfig().public.IS_GLOBAL_SITE)"
:background-color="onGlobalPage ? 'white' : 'gray'"
/>
<div id="overlay" class="z-[100]" />
<!-- <PreviewModeControls /> -->
</div>
</transition>
Expand Down
108 changes: 53 additions & 55 deletions components/block/Iframe.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,14 @@
class="!pt-96"
>
<div class="iframe-wrapper aspect-[3/3.5] w-full sm:aspect-video">
<Teleport :disabled="!fullscreen" to="#overlay">
<div
class="iframe-container relative size-full overflow-hidden bg-white shadow"
:class="{
'size-screen fixed left-0 top-0': fullscreen,
'relative rounded-6': !fullscreen
}"
>
<!-- <div v-if="!loaded" class="absolute left-0 top-0 flex size-full flex-col items-center justify-center rounded-6 border-2 border-gray/60 bg-white">
<div
class="iframe-container size-full overflow-hidden bg-white shadow"
:class="{
'size-screen fixed left-0 top-0 z-[200]': fullscreen,
'relative rounded-6': !fullscreen
}"
>
<!-- <div v-if="!loaded" class="absolute left-0 top-0 flex size-full flex-col items-center justify-center rounded-6 border-2 border-gray/60 bg-white">
<h4 class="mb-4">
Looks like something went wrong
</h4>
Expand All @@ -30,55 +29,54 @@
text="View Map"
/>
</div> -->
<LoadingState v-if="!loaded" class="absolute-center scale-75" />
<iframe
v-if="data.iframe"
class="absolute left-0 top-0 z-50 size-full"
:class="{ 'rounded-6': !fullscreen }"
:src="data.iframe"
loading="lazy"
@load="triggerLoad"
/>
<Transition name="fade" mode="out-in">
<div
v-if="mapOverlayVisible"
class="group absolute left-0 top-0 z-[60] flex size-full cursor-pointer flex-col items-center justify-center bg-blue/90 text-white transition-colors hover:bg-blue/80"
@click="mapOverlayVisible = false"
>
<div class="size-fit transition-transform group-hover:scale-105">
<h3 class="text-white">
{{ $t('View locations in') }} <span class="capitalize">{{ useRoute().params.city }}</span>
</h3>
<TheLink variant="info" :text="$t('Open Map')" hide-arrow class="mx-auto mt-16" />
</div>
<LoadingState v-if="!loaded" class="absolute-center scale-75" />
<iframe
v-if="data.iframe"
class="absolute left-0 top-0 z-50 size-full"
:class="{ 'rounded-6': !fullscreen }"
:src="data.iframe"
loading="lazy"
@load="triggerLoad"
/>
<Transition name="fade" mode="out-in">
<div
v-if="mapOverlayVisible"
class="group absolute left-0 top-0 z-[60] flex size-full cursor-pointer flex-col items-center justify-center bg-blue/90 text-white transition-colors hover:bg-blue/80"
@click="mapOverlayVisible = false"
>
<div class="size-fit transition-transform group-hover:scale-105">
<h3 class="text-white">
{{ $t('View locations in') }} <span class="capitalize">{{ useRoute().params.city }}</span>
</h3>
<TheLink variant="info" :text="$t('Open Map')" hide-arrow class="mx-auto mt-16" />
</div>
</Transition>
<transition name="fade" mode="out-in">
<button
v-if="loaded"
class="iframe-button grid-row-2 right-24 z-50 grid size-32 cursor-pointer grid-cols-2 rounded-full border-1 border-gray bg-white p-4 shadow-banner"
</div>
</Transition>
<transition name="fade" mode="out-in">
<button
v-if="loaded"
class="iframe-button grid-row-2 right-24 z-50 grid size-32 cursor-pointer grid-cols-2 rounded-full border-1 border-gray bg-white p-4 shadow-banner"
:class="{
'absolute top-24': !fullscreen,
'fixed !top-104 z-[999] md:!top-24': fullscreen
}"
@click="fullscreen = !fullscreen"
>
<ArrowExternal
class="col-start-2 m-1 w-6 self-end "
:class="{
'absolute top-24': !fullscreen,
'fixed !top-104 z-[999] md:!top-24': fullscreen
'rotate-180': fullscreen
}"
@click="fullscreen = !fullscreen"
>
<ArrowExternal
class="col-start-2 m-1 w-6 self-end "
:class="{
'rotate-180': fullscreen
}"
/>
<ArrowExternal
class=" m-1 w-6 self-start justify-self-end"
:class="{
'rotate-180': !fullscreen
}"
/>
</button>
</transition>
</div>
</Teleport>
/>
<ArrowExternal
class=" m-1 w-6 self-start justify-self-end"
:class="{
'rotate-180': !fullscreen
}"
/>
</button>
</transition>
</div>
</div>
</BlockWrapper>
</template>
Expand Down