Skip to content

Commit 3daa352

Browse files
committed
Add mobile app news
1 parent c8c4b5e commit 3daa352

File tree

2 files changed

+170
-0
lines changed

2 files changed

+170
-0
lines changed

package-lock.json

+120
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/news-button.tsx

+50
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ import {
2121
PopoverTrigger,
2222
} from '@/components/ui/popover'
2323
import { useLocalStorageState, useMediaQuery } from '@/lib/hooks'
24+
import { GitHubLogoIcon } from '@radix-ui/react-icons'
2425
import {
2526
BarChart,
2627
ExternalLink,
@@ -29,6 +30,7 @@ import {
2930
LucideIcon,
3031
Newspaper,
3132
Receipt,
33+
Smartphone,
3234
Sparkles,
3335
Speaker,
3436
Twitter,
@@ -47,6 +49,54 @@ type News = {
4749
}
4850

4951
const news: News[] = [
52+
{
53+
id: 'mobile-app',
54+
title: <>The iOS app is here!</>,
55+
summary: (
56+
<>
57+
You can now download the beta version of Spliit Mobile on your iPhone!
58+
</>
59+
),
60+
icon: Smartphone,
61+
content: (
62+
<>
63+
<p>
64+
Spliit started as a web-only app, but a mobile app always has been the
65+
#1 feature asked by users!
66+
</p>
67+
<p>
68+
It's a very early version, and only the most basic features are here,
69+
but it should be enough for what you need everyday.
70+
</p>
71+
<p>
72+
Download the app from the App Store, test it and let us know what you
73+
think of it 😊
74+
</p>
75+
<p className="flex items-center gap-2">
76+
<Button asChild>
77+
<a
78+
target="_blank"
79+
href="https://apps.apple.com/us/app/spliit-shares-expenses/id6737742507"
80+
className="no-underline"
81+
>
82+
<ExternalLink className="mr-2 w-4" />
83+
Download on App Store
84+
</a>
85+
</Button>
86+
<Button variant="secondary" asChild>
87+
<a
88+
target="_blank"
89+
href="https://github.com/spliit-app/spliit-mobile"
90+
className="no-underline"
91+
>
92+
<GitHubLogoIcon className="mr-2 w-4" />
93+
More on GitHub
94+
</a>
95+
</Button>
96+
</p>
97+
</>
98+
),
99+
},
50100
{
51101
id: 'transparency-post',
52102
title: <>How much does Spliit cost?</>,

0 commit comments

Comments
 (0)