Skip to content

Commit dfdc15f

Browse files
committed
docs(docs): 📝 Updated PayPal docs
1 parent 2c06628 commit dfdc15f

File tree

3 files changed

+23
-7
lines changed

3 files changed

+23
-7
lines changed

docs/app/components/content/contentImage.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ withDefaults(defineProps<Props>(), {
1919
:src="src"
2020
:preset="preset || null"
2121
fit="fill"
22-
class="mb-2 rounded-lg dark:brightness-75 shadow-lg"
22+
class="mb-2 rounded-lg transition-[filter] dark:brightness-75 dark:hover:brightness-100 shadow-lg mx-auto max-h-[500px]"
2323
>
2424
<p v-if="alt || title" class="text-center mt-0 opacity-70">
2525
{{ title || alt }}

docs/app/pages/index.vue

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ const browserStyle = computed(() => ({
3636
}))
3737
const logoStyle = computed(() => ({
3838
transition: '.3s ease-out all',
39-
transform: `translateX(${parallax.tilt * 6}px) translateY(${
40-
parallax.roll * 6
39+
transform: `translateX(${parallax.tilt * 4}px) translateY(${
40+
parallax.roll * 4
4141
}px)`,
4242
}))
4343
@@ -58,8 +58,23 @@ const ready = useTimeout(300)
5858
</template>
5959

6060
<template #description>
61-
Nuxt OIDC Auth provides seamless OpenID Connect compatible authentication for your SSR Nuxt Apps.
62-
It supports refresh tokens, encrypted sessions, PKCE and a lot more.
61+
<p class="tracking-normal">
62+
Nuxt OIDC Auth provides seamless OpenID Connect compatible authentication for your SSR Nuxt Apps.
63+
It supports
64+
<NuxtLink to="/composable#refresh" class="text-[#00dc82] inline-block hover:scale-[103%] transition-transform">
65+
refresh tokens
66+
</NuxtLink>
67+
,
68+
<NuxtLink to="/getting-started/security#session-encryption" class="text-[#00dc82] inline-block hover:scale-[103%] transition-transform">
69+
encrypted sessions
70+
</NuxtLink>
71+
, <NuxtLink to="/getting-started/security" class="text-[#00dc82] inline-block hover:scale-[103%] transition-transform">
72+
PKCE
73+
</NuxtLink>, tested
74+
<NuxtLink to="/provider" class="text-[#00dc82] inline-block hover:scale-[103%] transition-transform">
75+
preconfigured providers
76+
</NuxtLink> and a lot more.
77+
</p>
6378
</template>
6479

6580
<div>
@@ -69,7 +84,7 @@ const ready = useTimeout(300)
6984
<img :class="unlocked ? 'opacity-0' : 'opacity-100'" class="absolute left-0 h-32 top-8 w-full" src="~/assets/nuxt-oidc-auth.svg" :style="logoStyle">
7085
<button class="absolute w-full h-full" @click="unlocked = !unlocked" />
7186
</div>
72-
<div :class="ready ? 'transition-all' : 'transition-transform'" class="duration-300 ease-out h-2 absolute group-hover:shadow-[0px_70px_32px_4px_rgba(0,220,130,0.75)] shadow-[0px_70px_33px_3px_rgba(0,220,130,0.75)] bottom-0 lg:left-[25%] left-[25%] w-[50%] lg:w-[50%] bg-slate-700" :style="shadowStyle" />
87+
<div :class="ready ? 'transition-all' : 'transition-transform'" class="duration-300 ease-out h-2 absolute group-hover:shadow-[0px_70px_32px_4px_rgba(0,220,130,0.75)] shadow-[0px_70px_33px_3px_rgba(0,220,130,0.75)] bottom-0 lg:left-[27.5%] left-[35%] w-[30%] lg:w-[45%] bg-slate-700" :style="shadowStyle" />
7388
</div>
7489
<MDC
7590
:value="page.hero.code"

docs/content/2.provider/paypal.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ icon: i-simple-icons-paypal
1414

1515
## Introduction
1616

17-
PayPal's documentation is pretty poor and the developer center is also confusing and slow. PayPal also doesn't support modern security standards like PKCE and is lacking many OIDC features like logout redirect functionality.
17+
PayPal doesn't support modern security standards like PKCE and is lacking OIDC features like logout redirect functionality.
18+
The developer center can be confusing sometimes, make sure to use the correct users for testing and the right credentials.
1819

1920
You have to enable the "Login with PayPal" functionality first before being able to use PayPal for login:
2021

0 commit comments

Comments
 (0)