Refine SEO, uploads, and deploy handling
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import React, { useEffect, useState } from 'react'
|
||||
import { Link, usePage } from '@inertiajs/react'
|
||||
import SeoHead from '../components/seo/SeoHead'
|
||||
import NovaSelect from '../components/ui/NovaSelect'
|
||||
import { studioModule, studioSurface, trackStudioEvent } from '../utils/studioEvents'
|
||||
|
||||
@@ -268,6 +269,13 @@ export default function StudioLayout({ children, title, subtitle, actions }) {
|
||||
const [mobileOpen, setMobileOpen] = useState(false)
|
||||
const [createOpen, setCreateOpen] = useState(false)
|
||||
const pathname = url.split('?')[0]
|
||||
const pageTitle = title ? `${title} — Creator Studio` : 'Creator Studio'
|
||||
const pageDescription = subtitle || 'Manage your creator workspace from one shared Creator Studio surface.'
|
||||
const pageSeo = {
|
||||
title: pageTitle,
|
||||
description: pageDescription,
|
||||
robots: 'noindex,nofollow',
|
||||
}
|
||||
const studioGroups = Array.isArray(props.studio_groups) ? props.studio_groups : []
|
||||
const currentGroup = props.studioGroup || null
|
||||
const userLabel = props.auth?.user?.name || props.auth?.user?.username || 'Your creator workspace'
|
||||
@@ -391,6 +399,7 @@ export default function StudioLayout({ children, title, subtitle, actions }) {
|
||||
|
||||
return (
|
||||
<div className="min-h-screen bg-[radial-gradient(circle_at_top,_rgba(14,165,233,0.12),_transparent_30%),radial-gradient(circle_at_bottom_right,_rgba(34,197,94,0.12),_transparent_35%),linear-gradient(180deg,_#06101d_0%,_#020617_45%,_#02040a_100%)]">
|
||||
<SeoHead seo={pageSeo} />
|
||||
<div className="sticky top-16 z-30 border-b border-white/10 bg-slate-950/80 backdrop-blur-xl lg:hidden">
|
||||
<div className="flex items-center justify-between px-4 py-3">
|
||||
<div>
|
||||
|
||||
Reference in New Issue
Block a user