Initial commit
This commit is contained in:
commit
7628b18255
94 changed files with 6386 additions and 0 deletions
12
@dasig/components/Copyright.tsx
Normal file
12
@dasig/components/Copyright.tsx
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
import * as toml from 'toml'
|
||||
import * as fs from 'fs'
|
||||
|
||||
const config = toml.parse(fs.readFileSync('configs/config.site.toml', 'utf8'))
|
||||
|
||||
export default () => {
|
||||
return (
|
||||
<span>
|
||||
Copyright © {config.copyright.year} {config.copyright.name} All Rights Reserved.
|
||||
</span>
|
||||
)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue