forked from koshikraj/ottopus
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpage.tsx
More file actions
27 lines (25 loc) · 1.01 KB
/
Copy pathpage.tsx
File metadata and controls
27 lines (25 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import { Suspense } from 'react'
import { SkeletonShelf } from '@/components/motion/loaders'
import { PortfolioView } from './portfolio-view'
export const metadata = { title: 'Portfolio · Ottopus' }
/**
* The frame, with the numbers still to come from #8 and #9.
*
* A shell around a client view: the arm list is behind a Privy session held in
* the browser, so there is nothing for a server render to read. This file
* exists to keep the metadata export, which a client component cannot have.
*
* The Suspense boundary is what the tab query parameter needs — reading the
* query string opts a route out of static prerendering, and the boundary keeps
* that contained rather than letting it take the whole route dynamic.
*
* This is one of the three places water is allowed, and the only one where the
* gradient, the bubbles and an animated Otto appear together.
*/
export default function Portfolio() {
return (
<Suspense fallback={<SkeletonShelf rows={3} />}>
<PortfolioView />
</Suspense>
)
}