aboutsummaryrefslogtreecommitdiff
path: root/apps/web/src/app
diff options
context:
space:
mode:
authoryxshv <[email protected]>2024-04-14 14:29:23 +0530
committeryxshv <[email protected]>2024-04-14 14:29:23 +0530
commitfa39265142a7aa452a273e4290d58757af2786bb (patch)
tree52e2e07d2a20009d650ed0b3ebe60aaab87d81ff /apps/web/src/app
parentfixed notes vectorize (diff)
downloadsupermemory-fa39265142a7aa452a273e4290d58757af2786bb.tar.xz
supermemory-fa39265142a7aa452a273e4290d58757af2786bb.zip
new modals
Diffstat (limited to 'apps/web/src/app')
-rw-r--r--apps/web/src/app/globals.css12
-rw-r--r--apps/web/src/app/page.tsx4
2 files changed, 9 insertions, 7 deletions
diff --git a/apps/web/src/app/globals.css b/apps/web/src/app/globals.css
index b09627ba..895b87e4 100644
--- a/apps/web/src/app/globals.css
+++ b/apps/web/src/app/globals.css
@@ -57,18 +57,22 @@ body {
padding-bottom: 15dvh;
}
-.chat-answer pre {
- @apply bg-rgray-3 rounded-md border border-rgray-5 p-3 text-sm my-5;
+.chat-answer code {
+ @apply bg-rgray-3 rounded-md border border-rgray-5 p-1 text-sm text-rgray-11;
}
.novel-editor pre {
- @apply bg-rgray-3 rounded-md border border-rgray-5 p-4 text-sm text-rgray-11;
+ @apply bg-rgray-3 rounded-md border border-rgray-5 p-4 my-5 text-sm text-rgray-11;
}
.chat-answer h1 {
@apply text-rgray-11 my-5 text-xl font-medium;
}
+.chat-answer a {
+ @apply underline underline-offset-1 opacity-90 hover:opacity-100;
+}
+
.chat-answer img {
@apply rounded-md font-medium my-5;
}
@@ -122,4 +126,4 @@ body {
.novel-editor .drag-handle {
@apply hidden;
-} \ No newline at end of file
+}
diff --git a/apps/web/src/app/page.tsx b/apps/web/src/app/page.tsx
index 1cc21adf..8df5dad3 100644
--- a/apps/web/src/app/page.tsx
+++ b/apps/web/src/app/page.tsx
@@ -64,8 +64,6 @@ export default async function Home() {
// Fetch only first 3 content of each spaces
let contents: ChachedSpaceContent[] = [];
- //console.log(await db.select().from(storedContent).)
-
await Promise.all([
collectedSpaces.forEach(async (space) => {
console.log("fetching ");
@@ -82,7 +80,7 @@ export default async function Home() {
}),
]);
- console.log(contents);
+ console.log('contents', contents);
// freeMemories
const freeMemories = await fetchFreeMemories(userData.id);