a tool for shared writing and social publishing

changed some labels in the settings menu

+8 -24
+4 -12
app/(home-pages)/home/Actions/AccountSettings.tsx
··· 56 props.setState("general"); 57 }} 58 > 59 - Settings 60 <ArrowRightTiny /> 61 </button> 62 <button ··· 64 type="button" 65 onClick={() => props.setState("theme")} 66 > 67 - Theme 68 <ArrowRightTiny /> 69 </button> 70 - <SpeedyLink 71 - className={menuItemClassName} 72 - href="https://about.leaflet.pub/ 73 - " 74 - > 75 - About Leaflet 76 - <ArrowRightTiny /> 77 - </SpeedyLink> 78 </div> 79 ); 80 }; ··· 119 backToMenuAction?: () => void; 120 }) => { 121 return ( 122 - <div className="flex justify-between font-bold text-secondary bg-border-light -mx-3 -mt-2 px-3 pt-2 pb-1 mb-1"> 123 {props.state === "menu" 124 ? "Settings" 125 : props.state === "general" 126 ? "General" 127 : props.state === "theme" 128 - ? "Publication Theme" 129 : ""} 130 {props.backToMenuAction && ( 131 <button
··· 56 props.setState("general"); 57 }} 58 > 59 + General 60 <ArrowRightTiny /> 61 </button> 62 <button ··· 64 type="button" 65 onClick={() => props.setState("theme")} 66 > 67 + Account Theme 68 <ArrowRightTiny /> 69 </button> 70 </div> 71 ); 72 }; ··· 111 backToMenuAction?: () => void; 112 }) => { 113 return ( 114 + <div className="flex justify-between font-bold text-secondary bg-border-light -mx-3 -mt-2 px-3 py-1 mb-1"> 115 {props.state === "menu" 116 ? "Settings" 117 : props.state === "general" 118 ? "General" 119 : props.state === "theme" 120 + ? "Account Theme" 121 : ""} 122 {props.backToMenuAction && ( 123 <button
+4 -12
app/lish/[did]/[publication]/dashboard/Actions.tsx
··· 126 setLoading={setLoading} 127 /> 128 ) : ( 129 - <SettingsMenu 130 state={state} 131 setState={setState} 132 loading={loading} ··· 137 ); 138 } 139 140 - const SettingsMenu = (props: { 141 state: "menu" | "general" | "theme"; 142 setState: (s: typeof props.state) => void; 143 loading: boolean; ··· 160 props.setState("general"); 161 }} 162 > 163 - Settings 164 <ArrowRightTiny /> 165 </button> 166 <button ··· 171 Publication Theme 172 <ArrowRightTiny /> 173 </button> 174 - <SpeedyLink 175 - className={menuItemClassName} 176 - href="https://about.leaflet.pub/ 177 - " 178 - > 179 - About Leaflet 180 - <ArrowRightTiny /> 181 - </SpeedyLink> 182 </div> 183 ); 184 }; ··· 190 setLoadingAction: (l: boolean) => void; 191 }) => { 192 return ( 193 - <div className="flex justify-between font-bold text-secondary bg-border-light -mx-3 -mt-2 px-3 pt-2 pb-1 mb-1"> 194 {props.state === "menu" 195 ? "Settings" 196 : props.state === "general"
··· 126 setLoading={setLoading} 127 /> 128 ) : ( 129 + <PubSettingsMenu 130 state={state} 131 setState={setState} 132 loading={loading} ··· 137 ); 138 } 139 140 + const PubSettingsMenu = (props: { 141 state: "menu" | "general" | "theme"; 142 setState: (s: typeof props.state) => void; 143 loading: boolean; ··· 160 props.setState("general"); 161 }} 162 > 163 + Publication Settings 164 <ArrowRightTiny /> 165 </button> 166 <button ··· 171 Publication Theme 172 <ArrowRightTiny /> 173 </button> 174 </div> 175 ); 176 }; ··· 182 setLoadingAction: (l: boolean) => void; 183 }) => { 184 return ( 185 + <div className="flex justify-between font-bold text-secondary bg-border-light -mx-3 -mt-2 px-3 py-2 mb-1"> 186 {props.state === "menu" 187 ? "Settings" 188 : props.state === "general"