diff --git a/packages/studiocms_dashboard/src/components/DashboardPageHeader.astro b/packages/studiocms_dashboard/src/components/DashboardPageHeader.astro index 6778278a6..b1adec9da 100644 --- a/packages/studiocms_dashboard/src/components/DashboardPageHeader.astro +++ b/packages/studiocms_dashboard/src/components/DashboardPageHeader.astro @@ -10,21 +10,21 @@ const t = useTranslations(lang, '@studiocms/dashboard:index'); --- - \ No newline at end of file + diff --git a/packages/studiocms_dashboard/src/components/Layout.astro b/packages/studiocms_dashboard/src/components/Layout.astro index a7c04ff39..eee0425e7 100644 --- a/packages/studiocms_dashboard/src/components/Layout.astro +++ b/packages/studiocms_dashboard/src/components/Layout.astro @@ -1,5 +1,6 @@ --- -import Config from 'virtual:studiocms/config'; +import { ViewTransitions } from 'astro:transitions'; +// import Config from 'virtual:studiocms/config'; import { Button } from '@studiocms/ui/components'; import Icon from '@studiocms/ui/utils/Icon.astro'; import { BaseHead } from '../components'; @@ -9,11 +10,11 @@ import '@studiocms/ui/css/global.css'; import '@fontsource-variable/onest/index.css'; import '../styles/layout.css'; -const { - dashboardConfig: { - developerConfig: { viewTransitionAPI }, - }, -} = Config; +// const { +// dashboardConfig: { +// developerConfig: { viewTransitionAPI }, +// }, +// } = Config; type Props = { title: string; @@ -29,16 +30,17 @@ const { title, description } = Astro.props; - {viewTransitionAPI && ( + + - +