phanpy/src/pages/welcome.jsx

69 lines
1.4 KiB
React
Raw Normal View History

2022-12-10 12:14:48 +03:00
import './welcome.css';
2022-12-10 12:38:20 +03:00
import logo from '../assets/logo.svg';
import Link from '../components/link';
2023-02-06 14:55:04 +03:00
import states from '../utils/states';
2022-12-10 12:14:48 +03:00
import useTitle from '../utils/useTitle';
2022-12-16 08:27:04 +03:00
function Welcome() {
2022-12-10 12:14:48 +03:00
useTitle();
return (
2022-12-19 19:16:45 +03: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 12:14:48 +03:00
<p>
<big>
<b>
<Link to="/login" class="button">
2022-12-10 12:14:48 +03:00
Log in
</Link>
2022-12-10 12:14:48 +03:00
</b>
</big>
</p>
2022-12-10 15:47:34 +03:00
<hr />
<p>
<a href="https://github.com/cheeaun/phanpy" target="_blank">
Built
</a>{' '}
by{' '}
2023-02-06 14:55:04 +03:00
<a
href="https://mastodon.social/@cheeaun"
target="_blank"
onClick={(e) => {
e.preventDefault();
states.showAccount = 'cheeaun@mastodon.social';
}}
>
2022-12-10 15:47:34 +03:00
@cheeaun
</a>
2023-01-30 18:16:00 +03:00
.{' '}
<a
href="https://github.com/cheeaun/phanpy/blob/main/PRIVACY.MD"
target="_blank"
>
Privacy Policy
</a>
2022-12-10 15:47:34 +03:00
.
</p>
2022-12-10 12:14:48 +03:00
</main>
);
2022-12-16 08:27:04 +03:00
}
export default Welcome;