Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

web: remove "Notebook" & "Topic" indication from notebook & topic

Abdullah Atta0f5786d7d7d3
diff --git a/apps/web/src/components/notebook/index.js b/apps/web/src/components/notebook/index.js
index a2ed94695..ec072fb99 100644
--- a/apps/web/src/components/notebook/index.js
+++ b/apps/web/src/components/notebook/index.js
@@ -58,7 +58,7 @@ function Notebook(props) {
) : (
<>
{notebook?.topics && (
- <Flex mb={1}>
+ <Flex mb={1} sx={{ gap: 1 }}>
{notebook?.topics.slice(0, 3).map((topic) => (
<IconTag
key={topic.id}
@@ -81,12 +81,7 @@ function Notebook(props) {
{notebook.pinned && (
<Icon.PinFilled color="primary" size={13} sx={{ mr: 1 }} />
)}
- <Text variant="subBody" sx={{ color: "primary" }}>
- Notebook
- </Text>
- <Text as="span" mx={1} sx={{ color: "inherit" }}>
- •
- </Text>
+
{new Date(date).toLocaleDateString("en", {
dateStyle: "medium"
})}
diff --git a/apps/web/src/components/topic/index.js b/apps/web/src/components/topic/index.js
index 290b9755f..31bddfd9f 100644
--- a/apps/web/src/components/topic/index.js
+++ b/apps/web/src/components/topic/index.js
@@ -48,12 +48,6 @@ function Topic({ item, index, onClick }) {
alignItems: "center"
}}
>
- <Text variant="subBody" sx={{ color: "primary" }}>
- Topic
- </Text>
- <Text as="span" mx={1}>
- •
- </Text>
<Text variant="subBody">
{pluralize(totalNotes || 0, "note", "notes")}
</Text>