person page cleanup
This commit is contained in:
1 parent
b8d0c7aa91
commit
cdeece2b0b
1 file changed
+1
-17
@@ -5,25 +5,9 @@ import { Meta } from 'src/components/Meta'
|
|||||||
import { MetaBuilder } from 'src/lib/meta'
|
import { MetaBuilder } from 'src/lib/meta'
|
||||||
import { createApiUrl, requestGet, IResponseItems } from 'src/next-lib'
|
import { createApiUrl, requestGet, IResponseItems } from 'src/next-lib'
|
||||||
import { NextPage } from 'next'
|
import { NextPage } from 'next'
|
||||||
import { IMeta, ImageArtifact, ImageDefinition } from 'src/types'
|
import { IMeta, Person } from 'src/types'
|
||||||
import { Html } from 'src/components/Html'
|
import { Html } from 'src/components/Html'
|
||||||
|
|
||||||
type Person = {
|
|
||||||
id: string
|
|
||||||
position: string
|
|
||||||
name: [string, string, string]
|
|
||||||
post: string
|
|
||||||
diploma: string
|
|
||||||
edu: string
|
|
||||||
file: string
|
|
||||||
hash: string
|
|
||||||
shortName: string
|
|
||||||
status: string
|
|
||||||
url: string
|
|
||||||
picture: ImageArtifact
|
|
||||||
preview: ImageDefinition
|
|
||||||
}
|
|
||||||
|
|
||||||
interface IProps {
|
interface IProps {
|
||||||
title: string
|
title: string
|
||||||
meta: IMeta
|
meta: IMeta
|
||||||
|
|||||||
Reference in new issue
Block a user