diff --git a/src/components/appHeader/index.tsx b/src/components/appHeader/index.tsx index 7655c8dd..9eeb3ab9 100644 --- a/src/components/appHeader/index.tsx +++ b/src/components/appHeader/index.tsx @@ -15,7 +15,7 @@ export default function AppHeader() { return (
{/* macos traffic lights */}
-
+
+ +

Messages

diff --git a/src/components/columns/navigator/newsfeed/index.tsx b/src/components/columns/navigator/newsfeed/index.tsx index f0742cf3..7cb204b4 100644 --- a/src/components/columns/navigator/newsfeed/index.tsx +++ b/src/components/columns/navigator/newsfeed/index.tsx @@ -1,7 +1,7 @@ import ActiveLink from '@components/activeLink'; import * as Collapsible from '@radix-ui/react-collapsible'; -import { ChevronUpIcon } from '@radix-ui/react-icons'; +import { TriangleUpIcon } from '@radix-ui/react-icons'; import { useState } from 'react'; export default function Newsfeed() { @@ -11,14 +11,13 @@ export default function Newsfeed() {
- + +

Newsfeed

@@ -27,7 +26,7 @@ export default function Newsfeed() {
diff --git a/src/components/note/content/index.tsx b/src/components/note/content/index.tsx index f4674e3e..d583ff71 100644 --- a/src/components/note/content/index.tsx +++ b/src/components/note/content/index.tsx @@ -1,8 +1,6 @@ -import Reaction from '@components/note/atoms/reaction'; -import Reply from '@components/note/atoms/reply'; -import { User } from '@components/note/atoms/user'; import { ImageCard } from '@components/note/content/preview/imageCard'; import { Video } from '@components/note/content/preview/video'; +import { UserExtend } from '@components/user/extend'; import dynamic from 'next/dynamic'; import { memo, useCallback, useEffect, useMemo, useRef, useState } from 'react'; @@ -63,7 +61,7 @@ export const Content = memo(function Content({ data }: { data: any }) { return (
- +
@@ -87,10 +85,12 @@ export const Content = memo(function Content({ data }: { data: any }) {
<>{previewAttachment()}
+ {/*
+ */}
diff --git a/src/components/columns/navigator/createPost.tsx b/src/components/note/form.tsx similarity index 58% rename from src/components/columns/navigator/createPost.tsx rename to src/components/note/form.tsx index 52feb6d0..aa9083bb 100644 --- a/src/components/columns/navigator/createPost.tsx +++ b/src/components/note/form.tsx @@ -3,6 +3,7 @@ import { RelayContext } from '@components/contexts/relay'; import { dateToUnix } from '@utils/getDate'; import * as Dialog from '@radix-ui/react-dialog'; +import { ImageIcon, SizeIcon } from '@radix-ui/react-icons'; import { useLocalStorage } from '@rehooks/local-storage'; import * as commands from '@uiw/react-md-editor/lib/commands'; import dynamic from 'next/dynamic'; @@ -13,7 +14,7 @@ const MDEditor = dynamic(() => import('@uiw/react-md-editor').then((mod) => mod. ssr: false, }); -export default function CreatePost() { +export default function NoteForm() { const relayPool: any = useContext(RelayContext); const [relays]: any = useLocalStorage('relays'); @@ -57,20 +58,56 @@ export default function CreatePost() { return ( - -
-
+
+
+