phanpy/src/pages/welcome.jsx

69 lines
1.4 KiB
React
Raw Normal View History

2022-12-10 09:14:48 +00:00
import './welcome.css';
2022-12-10 09:38:20 +00:00
import logo from '../assets/logo.svg';
import Link from '../components/link';
2023-02-06 11:55:04 +00:00
import states from '../utils/states';
2022-12-10 09:14:48 +00:00
import useTitle from '../utils/useTitle';
2022-12-16 05:27:04 +00:00
function Welcome() {
useTitle(null, ['/', '/welcome']);
2022-12-10 09:14:48 +00:00
return (
2022-12-19 16:16:45 +00:00
<main id="welcome">
<h1>
<img
src={logo}
alt=""
width="24"
height="24"
style={{
aspectRatio: '1/1',
}}
/>{' '}
Phanpy
</h1>
<h2>
Trunk-tastic
<br />
Mastodon Experience
</h2>
<p>A minimalistic opinionated Mastodon web client.</p>
2022-12-10 09:14:48 +00:00
<p>
<big>
<b>
<Link to="/login" class="button">
2022-12-10 09:14:48 +00:00
Log in
</Link>
2022-12-10 09:14:48 +00:00
</b>
</big>
</p>
2022-12-10 12:47:34 +00:00
<hr />
<p>
<a href="https://github.com/cheeaun/phanpy" target="_blank">
Built
</a>{' '}
by{' '}
2023-02-06 11:55:04 +00:00
<a
href="https://mastodon.social/@cheeaun"
target="_blank"
onClick={(e) => {
e.preventDefault();
states.showAccount = 'cheeaun@mastodon.social';
}}
>
2022-12-10 12:47:34 +00:00
@cheeaun
</a>
2023-01-30 15:16:00 +00:00
.{' '}
<a
href="https://github.com/cheeaun/phanpy/blob/main/PRIVACY.MD"
target="_blank"
>
Privacy Policy
</a>
2022-12-10 12:47:34 +00:00
.
</p>
2022-12-10 09:14:48 +00:00
</main>
);
2022-12-16 05:27:04 +00:00
}
export default Welcome;