tooot/src/screens/Public.tsx

24 lines
510 B
TypeScript
Raw Normal View History

2021-01-07 22:18:14 +01:00
import Timelines from '@components/Timelines'
import React from 'react'
import { useTranslation } from 'react-i18next'
2020-11-21 13:19:05 +01:00
const ScreenPublic: React.FC = () => {
const { t } = useTranslation()
return (
2020-11-21 13:19:05 +01:00
<Timelines
2021-01-10 02:12:14 +01:00
name='Public'
2020-10-24 19:15:05 +02:00
content={[
2020-11-30 00:24:53 +01:00
{ title: t('public:heading.segments.left'), page: 'LocalPublic' },
2021-01-10 02:12:14 +01:00
{
title: t('public:heading.segments.right'),
page: 'RemotePublic',
remote: true
}
2020-10-24 16:44:32 +02:00
]}
/>
)
}
2020-10-31 21:04:46 +01:00
2020-11-21 13:19:05 +01:00
export default ScreenPublic