mirror of
https://github.com/oceanprotocol/market.git
synced 2024-06-30 13:51:42 +02:00
Matthias Kretschmann
3729c63581
* migrate to Next.js * migrate scripts * generate markdown pages * make all the markdown work * fix profile, fix image loading * git+ssh → git+https, again * bump packages * maybe windows build fix * add public to gitignore Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro> * Next.js v12! Webpack 5! No build hacks anymore * json import fixes * fixes Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
20 lines
401 B
TypeScript
20 lines
401 B
TypeScript
import privacyContent from '../../content/pages/privacy/policies.json'
|
|
|
|
export interface UsePrivacyMetadata {
|
|
policies: {
|
|
policy: string
|
|
language: string
|
|
date: string
|
|
params: {
|
|
languageLabel: string
|
|
tocHeader: string
|
|
updated: string
|
|
dateFormat: string
|
|
}
|
|
}[]
|
|
}
|
|
|
|
export function usePrivacyMetadata(): UsePrivacyMetadata {
|
|
return { ...privacyContent }
|
|
}
|