diff --git a/packages/web/components/templates/article/HighlightNoteModal.tsx b/packages/web/components/templates/article/HighlightNoteModal.tsx
index a39209a0c..9ec29b043 100644
--- a/packages/web/components/templates/article/HighlightNoteModal.tsx
+++ b/packages/web/components/templates/article/HighlightNoteModal.tsx
@@ -3,21 +3,19 @@ import {
ModalContent,
ModalOverlay,
} from './../../elements/ModalPrimitives'
-import { Box, HStack, VStack } from '../../elements/LayoutPrimitives'
+import { Box, HStack, SpanBox, VStack } from '../../elements/LayoutPrimitives'
import { Button } from '../../elements/Button'
import { StyledText } from '../../elements/StyledText'
import { CommentIcon } from '../../elements/images/CommentIcon'
import { theme } from '../../tokens/stitches.config'
import { Highlight } from '../../../lib/networking/fragments/highlightFragment'
-import { HighlightView } from '../../patterns/HighlightView'
import { useCallback, useState } from 'react'
import { StyledTextArea } from '../../elements/StyledTextArea'
import { updateHighlightMutation } from '../../../lib/networking/mutations/updateHighlightMutation'
import { readableUpdatedAtMessage } from './../../../lib/dateFormatting'
import { useConfirmListener } from '../../../lib/keyboardShortcuts/useKeyboardShortcuts'
-import { createHighlight } from '../../../lib/highlights/createHighlight'
-import { createHighlightMutation } from '../../../lib/networking/mutations/createHighlightMutation'
import { showErrorToast } from '../../../lib/toastHelpers'
+import { CrossIcon } from '../../elements/images/CrossIcon'
type HighlightNoteModalProps = {
author: string
@@ -82,27 +80,36 @@ export function HighlightNoteModal(
event.preventDefault()
}}
>
-
- {props.highlight && (
-
-
-
- )}
+
+
+
+ Notes
+
+
+
+
- {updatedAtMessage ? (
- {updatedAtMessage}
- ) : null}
+
+
+
+
+
)
}
-
-type HighlightNoteModalHeaderProps = {
- headlineText: string
- saveNoteChanges: () => void
- onOpenChange: (open: boolean) => void
-}
-
-function HighlightNoteModalHeader(
- props: HighlightNoteModalHeaderProps
-): JSX.Element {
- return (
-
-
-
-
- {props.headlineText}
-
-
-
- )
-}
diff --git a/packages/web/components/templates/homeFeed/AddLinkModal.tsx b/packages/web/components/templates/homeFeed/AddLinkModal.tsx
index baff29452..02b4105ef 100644
--- a/packages/web/components/templates/homeFeed/AddLinkModal.tsx
+++ b/packages/web/components/templates/homeFeed/AddLinkModal.tsx
@@ -3,7 +3,7 @@ import {
ModalContent,
ModalOverlay,
} from '../../elements/ModalPrimitives'
-import { VStack, HStack, Box } from '../../elements/LayoutPrimitives'
+import { VStack, HStack, Box, SpanBox } from '../../elements/LayoutPrimitives'
import { Button } from '../../elements/Button'
import { StyledText } from '../../elements/StyledText'
import { CrossIcon } from '../../elements/images/CrossIcon'
@@ -69,15 +69,15 @@ export function AddLinkModal(props: AddLinkModalProps): JSX.Element {
;(document.activeElement as HTMLElement).blur()
}}
>
-
+
Add a Link
- Link
-
+
+