mirror of
https://github.com/chaoticbackup/chaoticbackup.github.io.git
synced 2026-03-22 01:34:20 -05:00
28 lines
640 B
JavaScript
28 lines
640 B
JavaScript
import React from 'react';
|
|
import Interactive from 'react-interactive';
|
|
import { Link } from 'react-router';
|
|
import s from '../styles/home.style';
|
|
|
|
function Home() {
|
|
return (
|
|
<div>
|
|
<div style={s.pageLinkContainer}>
|
|
<Interactive
|
|
as={Link}
|
|
{...s.link}
|
|
to="/example"
|
|
>Example page</Interactive>
|
|
</div>
|
|
<div style={s.pageLinkContainer}>
|
|
<Interactive
|
|
as={Link}
|
|
{...s.link}
|
|
to="/example/two-deep?field1=foo&field2=bar#boom!"
|
|
>Example two deep with query and hash</Interactive>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|
|
|
|
export default Home;
|