2019-10-01 23:19:04 +02:00
|
|
|
import Layout from '../components/layout'
|
|
|
|
import { useFetchUser } from '../lib/user'
|
|
|
|
|
2022-06-29 13:00:13 +02:00
|
|
|
const About = () => {
|
2019-10-01 23:19:04 +02:00
|
|
|
const { user, loading } = useFetchUser()
|
|
|
|
|
|
|
|
return (
|
|
|
|
<Layout user={user} loading={loading}>
|
|
|
|
<h1>About</h1>
|
|
|
|
<p>
|
|
|
|
This is the about page, navigating between this page and <i>Home</i> is
|
|
|
|
always pretty fast. However, when you navigate to the <i>Profile</i>{' '}
|
|
|
|
page it takes more time because it uses SSR to fetch the user first;
|
|
|
|
</p>
|
|
|
|
</Layout>
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
export default About
|