Use CMS redirects for support tutorials
This commit is contained in:
@@ -1118,6 +1118,31 @@ html[data-theme] .eversolo-login-logo {
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
html[data-theme] .eversolo-admin-logo,
|
||||
html[data-theme] .eversolo-admin-icon {
|
||||
display: inline-grid;
|
||||
place-items: center;
|
||||
border-radius: 10px;
|
||||
background: linear-gradient(135deg, #2f241b, #54402f);
|
||||
color: #fff9f1;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
html[data-theme] .eversolo-admin-logo {
|
||||
min-width: 150px;
|
||||
padding: 13px 18px;
|
||||
font-size: 16px;
|
||||
letter-spacing: 0.24em;
|
||||
}
|
||||
|
||||
html[data-theme] .eversolo-admin-icon {
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
font-size: 13px;
|
||||
letter-spacing: 0.08em;
|
||||
}
|
||||
|
||||
html[data-theme] .eversolo-login-card .login__brand {
|
||||
display: grid;
|
||||
justify-items: center;
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
export function EversoloAdminLogo() {
|
||||
return <span className="eversolo-admin-logo">Eversolo</span>
|
||||
}
|
||||
|
||||
export function EversoloAdminIcon() {
|
||||
return <span className="eversolo-admin-icon">E</span>
|
||||
}
|
||||
@@ -26,6 +26,8 @@ import { BoldFeatureClient as BoldFeatureClient_e70f5e05f09f93e00b997edb1ef0c864
|
||||
import { ItalicFeatureClient as ItalicFeatureClient_e70f5e05f09f93e00b997edb1ef0c864 } from '@payloadcms/richtext-lexical/client'
|
||||
import { HtmlPreviewTextareaField as HtmlPreviewTextareaField_753f6c383200cc3519583a44e0773d61 } from '@/payload/admin/HtmlPreviewTextareaField'
|
||||
import { AdminAvatarMenu as AdminAvatarMenu_709e36c272d83f8e640d7dc687c3a445 } from '@/app/(payload)/admin/_components/admin-avatar-menu'
|
||||
import { EversoloAdminIcon as EversoloAdminIcon_315d959d7586c3df8f4dadece8f5e53b } from '@/app/(payload)/admin/_components/eversolo-admin-logo'
|
||||
import { EversoloAdminLogo as EversoloAdminLogo_315d959d7586c3df8f4dadece8f5e53b } from '@/app/(payload)/admin/_components/eversolo-admin-logo'
|
||||
import { EversoloPasteURLFetchProvider as EversoloPasteURLFetchProvider_a0494b42366ba3cb335226070f16d4b1 } from '@/app/(payload)/admin/_components/eversolo-paste-url-fetch-provider'
|
||||
import { CollectionCards as CollectionCards_f9c02e79a4aed9a3924487c0cd4cafb1 } from '@payloadcms/next/rsc'
|
||||
|
||||
@@ -59,6 +61,8 @@ export const importMap = {
|
||||
"@payloadcms/richtext-lexical/client#ItalicFeatureClient": ItalicFeatureClient_e70f5e05f09f93e00b997edb1ef0c864,
|
||||
"@/payload/admin/HtmlPreviewTextareaField#HtmlPreviewTextareaField": HtmlPreviewTextareaField_753f6c383200cc3519583a44e0773d61,
|
||||
"@/app/(payload)/admin/_components/admin-avatar-menu#AdminAvatarMenu": AdminAvatarMenu_709e36c272d83f8e640d7dc687c3a445,
|
||||
"@/app/(payload)/admin/_components/eversolo-admin-logo#EversoloAdminIcon": EversoloAdminIcon_315d959d7586c3df8f4dadece8f5e53b,
|
||||
"@/app/(payload)/admin/_components/eversolo-admin-logo#EversoloAdminLogo": EversoloAdminLogo_315d959d7586c3df8f4dadece8f5e53b,
|
||||
"@/app/(payload)/admin/_components/eversolo-paste-url-fetch-provider#EversoloPasteURLFetchProvider": EversoloPasteURLFetchProvider_a0494b42366ba3cb335226070f16d4b1,
|
||||
"@payloadcms/next/rsc#CollectionCards": CollectionCards_f9c02e79a4aed9a3924487c0cd4cafb1
|
||||
}
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
import type { NextRequest } from 'next/server'
|
||||
import { resolveCmsRedirect } from '@/lib/cms-redirect'
|
||||
|
||||
export const dynamic = 'force-dynamic'
|
||||
export const revalidate = 0
|
||||
|
||||
export async function GET(request: NextRequest) {
|
||||
return resolveCmsRedirect({ request })
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
import type { NextRequest } from 'next/server'
|
||||
import { resolveCmsRedirect } from '@/lib/cms-redirect'
|
||||
|
||||
export const dynamic = 'force-dynamic'
|
||||
export const revalidate = 0
|
||||
|
||||
export async function GET(request: NextRequest) {
|
||||
return resolveCmsRedirect({ request })
|
||||
}
|
||||
Reference in New Issue
Block a user