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

docs: update ui-pro ui props #2585

Merged
merged 1 commit into from
Mar 21, 2024
Merged
Changes from all commits
Commits
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 docs/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@
</div>

<template #title>
<span v-html="page.hero?.title" />

Check warning on line 63 in docs/pages/index.vue

View workflow job for this annotation

GitHub Actions / ubuntu

'v-html' directive can lead to XSS attack
</template>
<template #description>
<span v-html="page.hero?.description" />

Check warning on line 66 in docs/pages/index.vue

View workflow job for this annotation

GitHub Actions / ubuntu

'v-html' directive can lead to XSS attack
</template>
<template #links>
<UButton
Expand Down Expand Up @@ -98,11 +98,11 @@

<ULandingSection v-for="(section, index) of page.sections" :key="index" v-bind="section">
<template v-if="section.title" #title>
<span v-html="section?.title" />

Check warning on line 101 in docs/pages/index.vue

View workflow job for this annotation

GitHub Actions / ubuntu

'v-html' directive can lead to XSS attack
</template>

<template v-if="section.description" #description>
<span v-html="section.description" />

Check warning on line 105 in docs/pages/index.vue

View workflow job for this annotation

GitHub Actions / ubuntu

'v-html' directive can lead to XSS attack
</template>

<template #features>
Expand All @@ -125,11 +125,11 @@
:ui="{ links: 'mt-8 flex flex-wrap justify-center lg:justify-start gap-x-3 gap-y-1.5', base: 'text-center lg:text-left flex flex-col items-center lg:items-start' }"
>
<template v-if="section.subTitle" #title>
<span v-html="section?.subTitle" />

Check warning on line 128 in docs/pages/index.vue

View workflow job for this annotation

GitHub Actions / ubuntu

'v-html' directive can lead to XSS attack
</template>

<template v-if="section.subDescription" #description>
<span v-html="section.subDescription" />

Check warning on line 132 in docs/pages/index.vue

View workflow job for this annotation

GitHub Actions / ubuntu

'v-html' directive can lead to XSS attack
</template>

<template #links>
Expand Down Expand Up @@ -189,19 +189,18 @@
card
:ui="{
background: 'bg-gradient-to-b from-gray-900 to-gray-950',
body: { background: 'bg-gradient-to-b from-gray-900 to-gray-950' },
links: 'mt-10 flex flex-col space-y-4 items-center justify-center lg:justify-start gap-x-6',
title: 'text-2xl font-medium tracking-tight text-white sm:text-3xl text-center lg:text-left',
}"
>
<template #title>
<span v-html="section.subTitle" />

Check warning on line 197 in docs/pages/index.vue

View workflow job for this annotation

GitHub Actions / ubuntu

'v-html' directive can lead to XSS attack
</template>

<template #links>
<UAvatarGroup :max="13" size="md" class="flex-wrap lg:self-start [&_span:first-child]:text-xs">
<UTooltip
v-for="(contributor, index) of module.contributors"

Check warning on line 203 in docs/pages/index.vue

View workflow job for this annotation

GitHub Actions / ubuntu

Variable 'index' is already declared in the upper scope
:key="index"
:text="contributor.username"
class="rounded-full"
Expand Down Expand Up @@ -255,7 +254,7 @@

<template #meet-studio>
<ul class="flex flex-wrap space-x-4 lg:px-28 xl:px-40 items-center justify-center sm:-mt-16">
<li v-for="(item, index) in section.list" :key="index" class="my-2">

Check warning on line 257 in docs/pages/index.vue

View workflow job for this annotation

GitHub Actions / ubuntu

Variable 'index' is already declared in the upper scope
<UIcon name="i-ph-check" class="w-4 h-4 text-green-400 mr-2" />
<span class="text-gray-200 text-lg">{{ item }}</span>
</li>
Expand Down
Loading