phanpy/src/pages/welcome.jsx

142 lines
3.9 KiB
React
Raw Normal View History

2022-12-10 09:14:48 +00:00
import './welcome.css';
2023-04-24 14:58:14 +00:00
import boostsCarouselUrl from '../assets/features/boosts-carousel.jpg';
import groupedNotificationsUrl from '../assets/features/grouped-notifications.jpg';
import multiColumnUrl from '../assets/features/multi-column.jpg';
import multiHashtagTimelineUrl from '../assets/features/multi-hashtag-timeline.jpg';
import nestedCommentsThreadUrl from '../assets/features/nested-comments-thread.jpg';
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>
2023-04-24 14:58:14 +00:00
<details id="why-container">
<summary>Why Phanpy?</summary>
<div class="sections">
<section>
<h4>Boosts Carousel</h4>
<p>
Visually separate original posts and re-shared posts (boosted
posts).
</p>
<img
src={boostsCarouselUrl}
alt="Screenshot of Boosts Carousel"
loading="lazy"
/>
</section>
<section>
<h4>Nested comments thread</h4>
<p>Effortlessly follow conversations. Semi-collapsible replies.</p>
<img
src={nestedCommentsThreadUrl}
alt="Screenshot of nested comments thread"
loading="lazy"
/>
</section>
<section>
<h4>Grouped notifications</h4>
<p>
Similar notifications are grouped and collapsed to reduce clutter.
</p>
<img
src={groupedNotificationsUrl}
alt="Screenshot of grouped notifications"
loading="lazy"
/>
</section>
<section>
<h4>Single or multi-column</h4>
<p>
By default, single column for zen-mode seekers. Configurable
multi-column for power users.
</p>
<img
src={multiColumnUrl}
alt="Screenshot of multi-column UI"
loading="lazy"
/>
</section>
<section>
<h4>Multi-hashtag timeline</h4>
<p>Up to 5 hashtags combined into a single timeline.</p>
<img
src={multiHashtagTimelineUrl}
alt="Screenshot of multi-hashtag timeline with a form to add more hashtags"
loading="lazy"
/>
</section>
<p>Convinced yet?</p>
<p>
<big>
<b>
<Link to="/login" class="button">
Log in
</Link>
</b>
</big>
</p>
</div>
</details>
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;