[1/2] Move docs to brivate (#1640)

This PR moves the docs site to the private repo while keeping the docs
content on the public repo.

### Change Type

- [x] `documentation`
This commit is contained in:
Steve Ruiz 2023-06-23 15:23:14 +01:00 committed by GitHub
parent 245f74010c
commit 096df3209b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
638 changed files with 64004 additions and 2983 deletions

View file

@ -1,27 +0,0 @@
import { Article } from '@/types/content-types'
import { Icon } from './Icon'
type ArticleDetailsProps = {
article: Article
}
export function ArticleDetails({ article: { sourceUrl, date } }: ArticleDetailsProps) {
return (
<div className="article__details">
<a className="article__details__edit" href={sourceUrl}>
<Icon icon="edit" />
<span>Edit this page</span>
</a>
{date && (
<div className="article__details__timestamp">
Last edited on{' '}
{Intl.DateTimeFormat('en-gb', {
year: 'numeric',
month: 'long',
day: 'numeric',
}).format(new Date(date))}
</div>
)}
</div>
)
}