Skip to content

Commit fb187dd

Browse files
authored
Merge pull request supabase-community#49 from supabase-community/chore/mobile-warning
Add mobile message
2 parents ec934bc + dc40897 commit fb187dd

File tree

1 file changed

+31
-2
lines changed

1 file changed

+31
-2
lines changed

apps/postgres-new/components/workspace.tsx

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,37 @@ export default function Workspace({
125125
</div>
126126
)}
127127
</div>
128-
<div className="w-full h-full flex lg:hidden justify-center items-center p-6 text-center">
129-
Please connect from a laptop or desktop to use postgres.new.
128+
<div className="w-full lg:hidden justify-center items-center p-6 ">
129+
<div className="grid gap-6 mt-4">
130+
<h2 className="text-lg font-bold">Mobile Support Coming Soon</h2>
131+
<p>
132+
<a className="underline" href="https://postgres.new">
133+
postgres.new
134+
</a>{' '}
135+
is in early Alpha and is{' '}
136+
<a className="underline" href="https://supabase.com/blog/postgres-new">
137+
actively being developed
138+
</a>
139+
. We are working on mobile support for{' '}
140+
<a className="underline" href="https://github.com/electric-sql/pglite">
141+
PGlite
142+
</a>{' '}
143+
right now.
144+
</p>
145+
<p>
146+
In the meantime, please check out the video below or visit from a laptop or desktop.
147+
</p>
148+
<div className="video-container">
149+
<iframe
150+
className="w-full min-h-[300px]"
151+
src="https://www.youtube-nocookie.com/embed/ooWaPVvljlU"
152+
title="I gave AI full control over my database (postgres.new)"
153+
allow="accelerometer; autoplay; clipboard-write; encrypted-media; fullscreen; gyroscope; picture-in-picture; web-share"
154+
allowFullScreen
155+
/>
156+
</div>
157+
<p>We appreciate your patience and interest! Stay tuned for updates!</p>
158+
</div>
130159
</div>
131160
</WorkspaceContext.Provider>
132161
)

0 commit comments

Comments
 (0)