use defaults for pages, keep it simple
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import clsx from "clsx"
|
||||
import { AppLink } from "../components/app-link"
|
||||
import { MainNavigation } from "../components/main-navigation"
|
||||
import { guideLinks } from "../data/guide-links"
|
||||
import { guideLinks } from "../data/guide-links.preval"
|
||||
import { useScrolled } from "../hooks/dom/use-scrolled"
|
||||
import {
|
||||
docsProseClass,
|
||||
@@ -9,9 +9,7 @@ import {
|
||||
maxWidthContainer,
|
||||
} from "../styles/components"
|
||||
|
||||
export { DocsPage as Page }
|
||||
|
||||
function DocsPage() {
|
||||
export default function DocsPage() {
|
||||
return (
|
||||
<>
|
||||
<HeaderPanel>
|
||||
|
||||
@@ -3,9 +3,7 @@ import LandingExample from "../components/landing-example.md"
|
||||
import { MainNavigation } from "../components/main-navigation"
|
||||
import { maxWidthContainer } from "../styles/components"
|
||||
|
||||
export { LandingPage as Page }
|
||||
|
||||
function LandingPage() {
|
||||
export default function LandingPage() {
|
||||
return (
|
||||
<div className="flex flex-col min-w-0 min-h-screen text-center">
|
||||
<header className={maxWidthContainer}>
|
||||
|
||||
Reference in New Issue
Block a user