diff options
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/About.svelte | 84 | ||||
| -rw-r--r-- | src/components/LocaleSelector.svelte | 14 | ||||
| -rw-r--r-- | src/components/LocationsMap.svelte | 10 | ||||
| -rw-r--r-- | src/components/RegisterOrLogin.svelte | 7 |
4 files changed, 60 insertions, 55 deletions
diff --git a/src/components/About.svelte b/src/components/About.svelte index 704e425a..7af1e896 100644 --- a/src/components/About.svelte +++ b/src/components/About.svelte @@ -10,10 +10,10 @@ { type: 'github', url: 'https://github.com/asoltys', color: 'bg-gray-800' } ] }, - { name: 'cole', socials: [] }, + { name: 'cole', socials: [] }, { name: 'john', - socials: [ ] + socials: [] }, { name: 'secondl1ght', @@ -26,11 +26,13 @@ name: 'shauna', socials: [ { type: 'twitter', url: 'https://twitter.com/ShaunaCollister', color: 'bg-[#1D9BF0]' }, - { type: 'linkedin', url: 'https://www.linkedin.com/in/shauna-collister-32905214', color: 'bg-[#0a66c2]' } + { + type: 'linkedin', + url: 'https://www.linkedin.com/in/shauna-collister-32905214', + color: 'bg-[#0a66c2]' + } ] - }, - - + } ]; </script> @@ -52,45 +54,45 @@ <Image image="swoosh" style="w-32 absolute -bottom-20 lg:bottom-0 right-0 md:right-10" /> </div> -<div class='flex justify-center'> -<div class="container mt-40 lg:mt-20"> - <h3 class="text-5xl font-medium mb-10 text-center"> - {$t('about.team.header')} - </h3> -<div class='space-y-10 2xl:space-y-0 2xl:grid gap-y-10 grid-cols-2'> - {#each team as member} -<div class='md:flex justify-center items-center 2xl:items-start md:space-x-10'> - <div> - <Image image={member.name} style="rounded-full mx-auto w-40 h-40 mb-5 object-cover" /> +<div class="flex justify-center"> + <div class="container mt-40 lg:mt-20"> + <h3 class="text-5xl font-medium mb-10 text-center"> + {$t('about.team.header')} + </h3> + <div class="space-y-10 2xl:space-y-0 2xl:grid gap-y-10 grid-cols-2"> + {#each team as member} + <div class="md:flex justify-center items-center 2xl:items-start md:space-x-10"> + <div> + <Image image={member.name} style="rounded-full mx-auto w-40 h-40 mb-5 object-cover" /> - <div class="space-y-2"> - <span class="text-2xl text-center font-semibold block" - >{$t(`about.team.${member.name}.name`)}</span - > - <span class="text-xl text-center text-secondary block" - >{$t(`about.team.${member.name}.position`)}</span - > - </div> + <div class="space-y-2"> + <span class="text-2xl text-center font-semibold block" + >{$t(`about.team.${member.name}.name`)}</span + > + <span class="text-xl text-center text-secondary block" + >{$t(`about.team.${member.name}.position`)}</span + > + </div> - <div class="mt-2 flex justify-center items-center space-x-5"> - {#each member.socials as social} - <a - href={social.url} - target="_blank" - rel="noreferrer" - class={`rounded-full p-2 ${social.color}`}><Icon icon={social.type} style="w-6" /></a - > - {/each} + <div class="mt-2 flex justify-center items-center space-x-5"> + {#each member.socials as social} + <a + href={social.url} + target="_blank" + rel="noreferrer" + class={`rounded-full p-2 ${social.color}`} + ><Icon icon={social.type} style="w-6" /></a + > + {/each} + </div> + </div> + <div class="mt-5 md:mt-0 text-secondary text-xl w-full md:w-[450px]"> + {$t(`about.team.${member.name}.bio`)} + </div> </div> - + {/each} </div> - <div class="mt-5 md:mt-0 text-secondary text-xl w-full md:w-[450px]"> - {$t(`about.team.${member.name}.bio`)} - </div> -</div> - {/each} -</div> -</div> + </div> </div> <div class="mt-20"> diff --git a/src/components/LocaleSelector.svelte b/src/components/LocaleSelector.svelte index 9f4a1428..a4a139f2 100644 --- a/src/components/LocaleSelector.svelte +++ b/src/components/LocaleSelector.svelte @@ -10,10 +10,10 @@ </select> <style> -select { - -webkit-appearance: none; - -moz-appearance: none; - appearance: none; - border: none; -} - </style> + select { + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + border: none; + } +</style> diff --git a/src/components/LocationsMap.svelte b/src/components/LocationsMap.svelte index 063b4681..bf2e4339 100644 --- a/src/components/LocationsMap.svelte +++ b/src/components/LocationsMap.svelte @@ -37,26 +37,26 @@ .tileLayer('http://{s}tile.stamen.com/toner/{z}/{x}/{y}.png', { // leaflet.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { maxZoom: 19, - subdomains: ['', 'a.', 'b.', 'c.', 'd.'], + subdomains: ['', 'a.', 'b.', 'c.', 'd.'] }) .addTo(map); // let tonerLayer = new L.StamenTileLayer("toner"); // map.addLayer(tonerLayer); - - leaflet .marker([49.27034, -123.141373]) .addTo(map) .bindPopup( 'Rolf Vancouver <br> 1628 W 1st Ave #231, Vancouver <br> <a href="https://www.rolfbodywork.com" target="_blank" rel="noreferrer">www.rolfbodywork.com</a>' - )._icon.classList.add("huechange"); + ) + ._icon.classList.add('huechange'); leaflet .marker([49.26419, -123.15702]) .addTo(map) - .bindPopup('Tacos Jorge <br> 2287 W Broadway, Vancouver')._icon.classList.add("huechange"); + .bindPopup('Tacos Jorge <br> 2287 W Broadway, Vancouver') + ._icon.classList.add('huechange'); } }); diff --git a/src/components/RegisterOrLogin.svelte b/src/components/RegisterOrLogin.svelte index 5b1b9a95..6e19c7d5 100644 --- a/src/components/RegisterOrLogin.svelte +++ b/src/components/RegisterOrLogin.svelte @@ -86,7 +86,10 @@ {#if pageID === 'signIn'} <div> - <label for="token" class="font-semibold">{$t('login.token')} <span class="text-secondary">({$t('login.optional')})</span></label> + <label for="token" class="font-semibold" + >{$t('login.token')} + <span class="text-secondary">({$t('login.optional')})</span></label + > <!-- svelte-ignore a11y-autofocus --> <input name="token" @@ -103,7 +106,7 @@ {$t('login.passwordRecommendation')} </p> {:else} - <!-- TODO --> + <!-- TODO --> <!-- <div class="flex justify-end items-center"> --> <!-- <a href="/forgot" class="underline underline-offset-4 text-black text-sm" --> <!-- >{$t('login.forgotUserOrPassword')}</a --> |
