aboutsummaryrefslogtreecommitdiff
path: root/apps/web/src/app
diff options
context:
space:
mode:
authorYash <[email protected]>2024-04-06 12:59:01 +0000
committerYash <[email protected]>2024-04-06 12:59:01 +0000
commit162cc43ed331f31e0f39660123e726a37832d15d (patch)
tree6c46ff711a63efd9e882b168219fe783b3910830 /apps/web/src/app
parentfix memory modal closing (diff)
downloadsupermemory-162cc43ed331f31e0f39660123e726a37832d15d.tar.xz
supermemory-162cc43ed331f31e0f39660123e726a37832d15d.zip
better phone ui
Diffstat (limited to 'apps/web/src/app')
-rw-r--r--apps/web/src/app/globals.css10
-rw-r--r--apps/web/src/app/page.tsx17
2 files changed, 27 insertions, 0 deletions
diff --git a/apps/web/src/app/globals.css b/apps/web/src/app/globals.css
index ea526495..307c4d10 100644
--- a/apps/web/src/app/globals.css
+++ b/apps/web/src/app/globals.css
@@ -45,4 +45,14 @@ body {
height: 100dvh;
max-height: 100vh;
max-height: 100dvh;
+}
+
+.DrawerContent {
+ padding-top: 5vh;
+ padding-top: 5dvh;
+}
+
+.main-hidden {
+ padding-bottom: 20vh;
+ padding-bottom: 15dvh;
} \ No newline at end of file
diff --git a/apps/web/src/app/page.tsx b/apps/web/src/app/page.tsx
index 52dff4fa..7f125abd 100644
--- a/apps/web/src/app/page.tsx
+++ b/apps/web/src/app/page.tsx
@@ -59,6 +59,23 @@ export default async function Home() {
const collectedSpaces =
contents.length > 0 ? await transformContent(contents) : [];
+ collectedSpaces.push({
+ id: 1,
+ title: "Test",
+ content: [
+ {
+ id: 1,
+ content: "Test",
+ title: "Vscode",
+ description: "Test",
+ url: "https://vscode-remake.vercel.app/",
+ savedAt: new Date(),
+ baseUrl: "https://vscode-remake.vercel.app/",
+ image: "https://vscode-remake.vercel.app/favicon.svg",
+ },
+ ],
+ });
+
return (
<MemoryProvider spaces={collectedSpaces}>
<Content />