Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jekuer committed Apr 4, 2024
1 parent 9287f7a commit df643c1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 25 deletions.
2 changes: 1 addition & 1 deletion demo/components/integration/integrationGuidesOverview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const localePath = useLocalePath();
<NextJS class="self-center p-4 group-hover:drop-shadow-light-xl" />
<div class="self-center p-4 pt-0">Next.js</div>
</NuxtLink>
<NuxtLink class="tech-stack-button hover:border-nuxt hover:from-nuxt hover:to-nuxt dark:hover:border-nuxt dark:hover:from-nuxt dark:hover:to-nuxt group h-32 w-32 hover:text-white dark:hover:text-white xs:h-36 xs:w-40" :to="localePath('use-with-nuxt')">
<NuxtLink class="tech-stack-button group h-32 w-32 hover:border-nuxt hover:from-nuxt hover:to-nuxt hover:text-white dark:hover:border-nuxt dark:hover:from-nuxt dark:hover:to-nuxt dark:hover:text-white xs:h-36 xs:w-40" :to="localePath('use-with-nuxt')">
<Nuxt class="self-center p-4" />
<div class="self-center p-4 pt-0">Nuxt 3</div>
</NuxtLink>
Expand Down
2 changes: 1 addition & 1 deletion demo/components/playground/attrs/layoutAttrs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ function onHideTextOptionsUpdate(options: string[]) {
<div class="grid">
<Select v-model="internalValue[LayoutAttrsKey.OPTIONS]" multiselect :label="t(`labels.inputs.${[LayoutAttrsKey.OPTIONS]}`.toLocaleLowerCase())" :options="Object.values(Option)" class="mb-3 border-b border-zinc-400 pb-4 dark:border-zinc-600" />

<div class="mb-3 flex items-center justify-between z-0">
<div class="z-0 mb-3 flex items-center justify-between">
<Select v-model="internalValue[LayoutAttrsKey.BUTTON_STYLE]" :label="t(`labels.inputs.${[LayoutAttrsKey.BUTTON_STYLE]}`.toLocaleLowerCase())" :options="Object.values(ButtonStyle)" class="mr-5 flex-1" />
<Switch v-model="internalValue[LayoutAttrsKey.IS_BUTTONS_LIST]" :label="t(`labels.inputs.${[LayoutAttrsKey.IS_BUTTONS_LIST]}`.toLocaleLowerCase())" class="pb-0 pt-6" />
</div>
Expand Down
1 change: 0 additions & 1 deletion demo/pages/use-with-nextjs.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<script setup lang="ts">
import GuideSidebar from "@/components/integration/guideSidebar.vue";
import { ArrowTopRightOnSquareIcon } from '@heroicons/vue/24/outline';
const LazyCodeBlock = defineAsyncComponent(() => import('@/components/codeBlock.vue'));
const { locale } = useI18n();
Expand Down
24 changes: 2 additions & 22 deletions demo/pages/use-with-wix.vue
Original file line number Diff line number Diff line change
@@ -1,31 +1,11 @@
<script setup lang="ts">
import { ArrowTopRightOnSquareIcon } from '@heroicons/vue/24/solid';
import GuideSidebar from "@/components/integration/guideSidebar.vue";
const LazyCodeBlock = defineAsyncComponent(() => import('@/components/codeBlock.vue'));
const { locale } = useI18n();
definePageMeta({
title: 'navigation.use-with-svelte',
description: 'meta.use-with-svelte.description',
});
const today = new Date();
const nextDay = new Date();
nextDay.setDate(today.getDate() + 3);
const defaultDate = nextDay.getFullYear() + '-' + ('0' + (nextDay.getMonth() + 1)).slice(-2) + '-' + ('0' + nextDay.getDate()).slice(-2);
let defaultLang = (function () {
if (locale.value != 'en') {
return '\n language="' + locale.value + '"';
}
return '';
})();
watch(locale, value => {
if (value != 'en') {
defaultLang = '\n language="' + locale.value + '"';
} else {
defaultLang = '';
}
});
</script>

<template>
Expand All @@ -37,9 +17,9 @@ watch(locale, value => {
<p class="font-semibold">{{ $t('content.guide.wix.intro_2') }}</p>
<p>{{ $t('content.guide.wix.intro_3') }}</p>
<p>{{ $t('content.guide.wix.intro_4') }}</p>
<a class="button-primary mt-10 mb-16 !flex w-fit mx-auto md:mx-0" href="https://www.wix.com/app-market/add-to-calendar-button" target="_blank">
<a class="button-primary mx-auto mb-16 mt-10 !flex w-fit md:mx-0" href="https://www.wix.com/app-market/add-to-calendar-button" target="_blank">
<span>{{ $t('content.guide.wix.link') }}</span>
<ArrowTopRightOnSquareIcon class="w-4 h-4 ml-2" />
<ArrowTopRightOnSquareIcon class="ml-2 h-4 w-4" />
</a>
</div>
</div>
Expand Down

0 comments on commit df643c1

Please sign in to comment.