tangled
alpha
login
or
join now
leaflet.pub
/
leaflet
289
fork
atom
a tool for shared writing and social publishing
289
fork
atom
overview
issues
28
pulls
pipelines
fixed type errors
cozylittle.house
4 months ago
7685f1a9
c76952a5
+8
-5
6 changed files
expand all
collapse all
unified
split
app
(home-pages)
notifications
MentionNotification.tsx
ReplyNotification.tsx
lish
[did]
[publication]
dashboard
Actions.tsx
createPub
UpdatePubForm.tsx
components
Blocks
Block.tsx
ThemeManager
PubThemeSetter.tsx
+2
app/(home-pages)/notifications/MentionNotification.tsx
···
6
6
}) => {
7
7
return (
8
8
<Notification
9
9
+
href="/"
9
10
icon={<MentionTiny />}
10
11
cardBorderHidden={props.cardBorderHidden}
11
12
actionText={<>celine mentioned your post</>}
···
34
35
}) => {
35
36
return (
36
37
<Notification
38
38
+
href="/"
37
39
icon={<MentionTiny />}
38
40
actionText={<>celine mentioned you</>}
39
41
content={
+1
app/(home-pages)/notifications/ReplyNotification.tsx
···
12
12
}) => {
13
13
return (
14
14
<Notification
15
15
+
href="/"
15
16
icon={<ReplyTiny />}
16
17
actionText={<>jared replied to your comment</>}
17
18
cardBorderHidden={props.cardBorderHidden}
+2
-2
app/lish/[did]/[publication]/dashboard/Actions.tsx
···
185
185
186
186
export const PubSettingsHeader = (props: {
187
187
state: "menu" | "general" | "theme";
188
188
-
backToMenu?: () => void;
188
188
+
backToMenuAction?: () => void;
189
189
loading: boolean;
190
190
setLoadingAction: (l: boolean) => void;
191
191
}) => {
···
203
203
<button
204
204
type="button"
205
205
onClick={() => {
206
206
-
props.backToMenu && props.backToMenu();
206
206
+
props.backToMenuAction && props.backToMenuAction();
207
207
}}
208
208
>
209
209
<GoBackSmall className="text-accent-contrast" />
+1
-1
app/lish/createPub/UpdatePubForm.tsx
···
85
85
<PubSettingsHeader
86
86
loading={props.loading}
87
87
setLoadingAction={props.setLoading}
88
88
-
backToMenu={props.backToMenu}
88
88
+
backToMenuAction={props.backToMenu}
89
89
state={"theme"}
90
90
/>
91
91
<div className="flex flex-col gap-3 w-[1000px] max-w-full pb-2">
+1
-1
components/Blocks/Block.tsx
···
430
430
className={`listMarker group/list-marker p-2 ${children.length > 0 ? "cursor-pointer" : "cursor-default"}`}
431
431
>
432
432
<div
433
433
-
className={`h-[5px] w-[5px] rounded-full bg-secondary shrink-0 right-0 outline outline-1 outline-offset-1
433
433
+
className={`h-[5px] w-[5px] rounded-full bg-secondary shrink-0 right-0 outline outline-offset-1
434
434
${
435
435
folded
436
436
? "outline-secondary"
+1
-1
components/ThemeManager/PubThemeSetter.tsx
···
95
95
<PubSettingsHeader
96
96
loading={props.loading}
97
97
setLoadingAction={props.setLoading}
98
98
-
backToMenu={props.backToMenu}
98
98
+
backToMenuAction={props.backToMenu}
99
99
state={"theme"}
100
100
/>
101
101
</form>