A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
feat: change icon pack to mdi
thecodrreae28d823b88
diff --git a/apps/web/src/app.js b/apps/web/src/app.jsindex 339f4b9a0..dbede7425 100644--- a/apps/web/src/app.js+++ b/apps/web/src/app.js@@ -15,25 +15,14 @@ import { useStore } from "./stores/app-store";import { useStore as useNotesStore } from "./stores/note-store";import { COLORS } from "./common";import { toTitleCase } from "./utils/string";-import * as Icon from "react-feather";+import * as Icon from "./components/icons";import { useStore as useAppStore } from "./stores/app-store";import Animated from "./components/animated";const NavMenuItem = props => {- const [fill, setFill] = useState();- const [toggle, setToggle] = useState(- props.item.isToggled && props.item.isToggled()- );- const theme = useTheme();- useEffect(() => {- setFill(toggle ? theme.colors.text : props.item.color || "transparent");- }, [props.item, toggle, theme.colors]);return (<Button- onClick={() => {- props.onSelected();- setToggle(props.item.isToggled && props.item.isToggled());- }}+ onClick={() => props.onSelected()}variant="nav"sx={{width: "full",@@ -56,9 +45,8 @@ const NavMenuItem = props => {><props.item.iconsize={18}- strokeWidth={props.selected ? 2 : 1.3}- style={{ marginRight: 2 }}- fill={fill}+ sx={{ marginRight: "2px" }}+ color={props.selected ? "primary" : props.item.color || "icon"}/><Textsx={{diff --git a/apps/web/src/components/dialogs/add-notebook-dialog.js b/apps/web/src/components/dialogs/add-notebook-dialog.jsindex 5b3197c89..969a6bc34 100644--- a/apps/web/src/components/dialogs/add-notebook-dialog.js+++ b/apps/web/src/components/dialogs/add-notebook-dialog.js@@ -1,10 +1,11 @@import React from "react";import { Flex, Box, Text, Button as RebassButton } from "rebass";import { Input, Checkbox, Label } from "@rebass/forms";-import * as Icon from "react-feather";+import * as Icon from "../icons";import Dialog, { showDialog } from "./dialog";import { showSnack } from "../snackbar";import { store } from "../../stores/notebook-store";+import { useTheme } from "emotion-theming";export default class AddNotebookDialog extends React.Component {MAX_AVAILABLE_HEIGHT = window.innerHeight * 0.3;@@ -83,7 +84,7 @@ export default class AddNotebookDialog extends React.Component {<DialogisOpen={props.isOpen}title="Notebook"- icon={Icon.BookOpen}+ icon={Icon.Notebook}content={<Box my={1}><Input@@ -100,10 +101,6 @@ export default class AddNotebookDialog extends React.Component {placeholder="Enter description (optional)"defaultValue={this.description}/>- <Label alignItems="center" my={1}>- <Checkbox variant="checkbox" />- Locked?- </Label><Text variant="body" fontWeight="bold" my={1}>Topics (optional):</Text>@@ -157,9 +154,9 @@ export default class AddNotebookDialog extends React.Component {><Box height={20}>{this.state.focusedInputIndex === index ? (- <Icon.Plus size={20} />+ <Icon.Plus size={22} />) : (- <Icon.Minus size={20} />+ <Icon.Minus size={22} />)}</Box></RebassButton>diff --git a/apps/web/src/components/dialogs/dialog.js b/apps/web/src/components/dialogs/dialog.jsindex 65bfc9cf8..b45bc45ba 100644--- a/apps/web/src/components/dialogs/dialog.js+++ b/apps/web/src/components/dialogs/dialog.js@@ -47,14 +47,12 @@ export default class Dialog extends React.Component {color="primary"sx={{ paddingBottom: 2 }}>- <Box height={props.iconSize || 32}>- <props.icon size={props.iconSize || 32} />- </Box>+ <props.icon size={props.iconSize || 38} color="primary" /><Text- mx={2}+ mx={1}as="span"variant="title"- fontSize={22}+ fontSize={"heading"}textAlign="center">{props.title}diff --git a/apps/web/src/components/dialogs/move-note-dialog.js b/apps/web/src/components/dialogs/move-note-dialog.jsindex a218a56c9..d9c68853e 100644--- a/apps/web/src/components/dialogs/move-note-dialog.js+++ b/apps/web/src/components/dialogs/move-note-dialog.js@@ -1,7 +1,7 @@import React from "react";import { Flex, Box, Text } from "rebass";import { Input } from "@rebass/forms";-import * as Icon from "react-feather";+import * as Icon from "../icons";import { db } from "../../common";import Dialog, { showDialog } from "./dialog";import { toTitleCase } from "../../utils/string";@@ -29,7 +29,13 @@ export default class MoveDialog extends React.Component {? "Move Note": "Select " + toTitleCase(type.substring(0, type.length - 1))}- icon={Icon.Move}+ icon={+ type === "notes"+ ? Icon.Move+ : type === "topics"+ ? Icon.Topic+ : Icon.Notebook+ }content={<Box><Flex alignContent="center" justifyContent="space-between" my={1}>diff --git a/apps/web/src/components/dialogs/password-dialog.js b/apps/web/src/components/dialogs/password-dialog.jsindex 26755a4f4..1577ea193 100644--- a/apps/web/src/components/dialogs/password-dialog.js+++ b/apps/web/src/components/dialogs/password-dialog.js@@ -2,7 +2,7 @@ import React, { useState, useRef, useCallback } from "react";import { Box, Text, Flex } from "rebass";import { Input } from "@rebass/forms";import Dialog, { showDialog } from "./dialog";-import * as Icon from "react-feather";+import * as Icon from "../icons";function PasswordDialog(props) {const [isWrong, setIsWrong] = useState(false);@@ -38,8 +38,8 @@ function PasswordDialog(props) {}}/>{isWrong && (- <Flex alignItems="center" color="red" mt={2}>- <Icon.AlertTriangle size={16} />+ <Flex alignItems="center" color="error" mt={2}>+ <Icon.Alert size={16} color="error" /><Text ml={1} fontSize={"subBody"}>Wrong password</Text>@@ -61,7 +61,7 @@ function getDialogData(type) {case "create_vault":return {title: "Set Up Your Vault",- icon: Icon.Shield,+ icon: Icon.Vault,positiveButtonText: "Done"};case "unlock_vault":diff --git a/apps/web/src/components/editor/index.js b/apps/web/src/components/editor/index.jsindex 21ae4b71f..a9955d0aa 100644--- a/apps/web/src/components/editor/index.js+++ b/apps/web/src/components/editor/index.js@@ -3,21 +3,18 @@ import "./editor.css";import ReactQuill from "./react-quill";import { Flex, Box, Text } from "rebass";import TitleBox from "./title-box";-import * as Icon from "react-feather";+import * as Icon from "../icons";import Properties from "../properties";import { useStore, SESSION_STATES } from "../../stores/editor-store";import { timeConverter } from "../../utils/time";import { countWords } from "../../utils/string";-import { useTheme } from "emotion-theming";import { useStore as useAppStore } from "../../stores/app-store";import Animated from "../animated";-import { Input } from "@rebass/forms";const TextSeperator = () => {- const theme = useTheme();return (<Text as="span" mx={1}>- <Icon.Circle size={6} fill={theme.colors.fontTertiary} />+ <Icon.Circle size={6} color={"fontTertiary"} /></Text>);};diff --git a/apps/web/src/components/icons/index.js b/apps/web/src/components/icons/index.jsindex 8d65a7152..8eaf208df 100644--- a/apps/web/src/components/icons/index.js+++ b/apps/web/src/components/icons/index.js@@ -1,17 +1,64 @@import React from "react";+import MDIIcon from "@mdi/react";+import * as Icons from "@mdi/js";+import { motion } from "framer-motion";+import { useTheme } from "emotion-theming";+import Animated from "../animated";-export const PinIcon = ({ size }) => (- <svg- xmlns="http://www.w3.org/2000/svg"- width={size}- height={size}- viewBox={`0 0 24 24`}- fill="none"- stroke="currentColor"- strokeWidth="2"- strokeLinecap="round"- strokeLinejoin="round"- >- <path d="M17.85 10.2l-4.24 5.65m4.24-5.66L13.6 5.95m4.24 4.24a2 2 0 0 0 2.83 0l.7-.7-7.07-7.08-.7.71a2 2 0 0 0 0 2.83m0 9.9l-5.66-5.66m5.66 5.66s1.76 2.47-.71 4.95L3 10.9c2.47-2.48 4.95-.7 4.95-.7m0 0l5.66-4.25M7.95 15.85l-4.24 4.24" />- </svg>-);+const Icon = ({ name, size = 24, color = "text" }) => {+ const theme = useTheme();+ return (+ <MDIIcon+ path={name}+ size={size + "px"}+ color={theme.colors[color] || color}+ />+ );+};++const createIcon = name => {+ return props => (+ <Animated.Box+ sx={props.sx}+ whileHover={{ scale: 1.1 }}+ transition={{ duration: 0.3, ease: "easeOut" }}+ >+ <Icon name={name} {...props} />+ </Animated.Box>+ );+};++export const Plus = createIcon(Icons.mdiPlus);+export const Minus = createIcon(Icons.mdiMinus);+export const Notebook = createIcon(Icons.mdiBookOutline);+export const ArrowLeft = createIcon(Icons.mdiArrowLeft);+export const Move = createIcon(Icons.mdiArrowAll);+export const Topic = createIcon(Icons.mdiFormatTitle);+export const Alert = createIcon(Icons.mdiAlert);+export const Vault = createIcon(Icons.mdiShieldOutline);+export const Unlock = createIcon(Icons.mdiLockOpenOutline);+export const Lock = createIcon(Icons.mdiLock);+export const Star = createIcon(Icons.mdiStar);+export const StarOutline = createIcon(Icons.mdiStarOutline);+export const Circle = createIcon(Icons.mdiCircle);+export const CircleEmpty = createIcon(Icons.mdiCircleOutline);+export const Check = createIcon(Icons.mdiCheckCircleOutline);+export const MoreVertical = createIcon(Icons.mdiDotsVertical);+export const Trash = createIcon(Icons.mdiTrashCanOutline);+export const Search = createIcon(Icons.mdiMagnify);+export const Menu = createIcon(Icons.mdiHamburger);+export const Login = createIcon(Icons.mdiLogin);+export const Settings = createIcon(Icons.mdiCogOutline);+export const Home = createIcon(Icons.mdiHomeOutline);++/** Properties Icons */+export const ChevronLeft = createIcon(Icons.mdiChevronLeft);+export const Close = createIcon(Icons.mdiClose);+export const Tag = createIcon(Icons.mdiTagOutline);+export const Color = createIcon(Icons.mdiSelectColor);+export const Pin = createIcon(Icons.mdiPinOutline);++/** Settings Icons */+export const User = createIcon(Icons.mdiAccountOutline);+export const Theme = createIcon(Icons.mdiThemeLightDark);+export const Checkmark = createIcon(Icons.mdiCheck);diff --git a/apps/web/src/components/list-item/index.js b/apps/web/src/components/list-item/index.jsindex 56be6ed48..dada2a2cd 100644--- a/apps/web/src/components/list-item/index.js+++ b/apps/web/src/components/list-item/index.js@@ -1,6 +1,6 @@import React, { useEffect, useState, useCallback } from "react";import { Flex, Box, Text } from "rebass";-import * as Icon from "react-feather";+import * as Icon from "../icons";import Dropdown, { DropdownTrigger, DropdownContent } from "../dropdown";import Menu from "../menu";import {@@ -8,7 +8,6 @@ import {useStore as useAppStore} from "../../stores/app-store";import useContextMenu from "../../utils/useContextMenu";-import { useTheme } from "emotion-theming";const ActionsMenu = props => (<Menu@@ -47,7 +46,7 @@ const ItemSelector = ({ isSelected, toggleSelection }) => {}}onClick={() => toggleSelection()}>- {isSelected ? <Icon.CheckCircle /> : <Icon.Circle />}+ {isSelected ? <Icon.Check /> : <Icon.Circle />}</Box>);};@@ -62,7 +61,6 @@ const ListItem = props => {selectedItems.findIndex(item => props.item.id === item.id) > -1;const selectItem = useAppStore(store => store.selectItem);const [menuItems, setMenuItems] = useState(props.menuItems);- const theme = useTheme();const toggleSelection = useCallback(function toggleSelection() {@@ -204,7 +202,7 @@ const ListItem = props => {<Icon.MoreVerticalsize={22}strokeWidth={2}- color={theme.colors.icon}+ color="icon"style={{ marginRight: -5 }}/></Text>diff --git a/apps/web/src/components/note/index.js b/apps/web/src/components/note/index.jsindex d9c66e551..ed0d50c32 100644--- a/apps/web/src/components/note/index.js+++ b/apps/web/src/components/note/index.js@@ -1,6 +1,6 @@import React from "react";import { Flex, Box } from "rebass";-import * as Icon from "react-feather";+import * as Icon from "../icons";import TimeAgo from "timeago-react";import { showSnack } from "../snackbar";import ListItem from "../list-item";@@ -10,6 +10,7 @@ import { store, useStore } from "../../stores/note-store";import { store as editorStore } from "../../stores/editor-store";import { showPasswordDialog } from "../dialogs/passworddialog";import { db } from "../../common";+import { useTheme } from "emotion-theming";const dropdownRefs = [];const menuItems = (note, index, context) => [@@ -74,7 +75,7 @@ const menuItems = (note, index, context) => [if (!res) return;}confirm(- Icon.Trash2,+ Icon.Trash,"Delete","Are you sure you want to delete this note?").then(async res => {@@ -91,6 +92,7 @@ function Note(props) {const note = item;const selectedNote = useStore(store => store.selectedNote);const isOpened = selectedNote === note.id;+ const theme = useTheme();return (<ListItemselectable@@ -111,23 +113,24 @@ function Note(props) {style={{width: 13,marginLeft: index ? -8 : 0,+ marginRight: index === note.colors.length - 1 ? 5 : 0,height: 13,backgroundColor: item,borderRadius: 100}}/>))}-- <TimeAgo style={{ marginLeft: 5 }} datetime={note.dateCreated} />- {note.locked && <Icon.Lock size={13} style={{ marginLeft: 5 }} />}- {note.favorite && (- <Icon.Star- stroke={0}- fill="#ffd700"+ <TimeAgo datetime={note.dateCreated} />+ {note.locked && (+ <Icon.Locksize={13}- style={{ marginLeft: 5 }}+ color={theme.colors.fontTertiary}+ sx={{ ml: 1 }}/>)}+ {note.favorite && (+ <Icon.Star color={theme.colors.favorite} size={13} sx={{ ml: 1 }} />+ )}</Flex>}pinned={props.pinnable && note.pinned}diff --git a/apps/web/src/components/notebook/index.js b/apps/web/src/components/notebook/index.jsindex 137270c1c..c3b133a4b 100644--- a/apps/web/src/components/notebook/index.js+++ b/apps/web/src/components/notebook/index.js@@ -1,6 +1,5 @@import React from "react";import { Flex, Text } from "rebass";-import * as Icon from "react-feather";import ListItem from "../list-item";import { store } from "../../stores/notebook-store";import { showEditNoteDialog } from "../dialogs/addnotebookdialog";@@ -77,9 +76,6 @@ export default class Notebook extends React.Component {•</Text><Text>{notebook.totalNotes} Notes</Text>- {notebook.favorite && (- <Icon.Star size={16} style={{ marginLeft: 5 }} />- )}</Flex>}pinned={notebook.pinned}diff --git a/apps/web/src/components/placeholders/favorites-placeholder.js b/apps/web/src/components/placeholders/favorites-placeholder.jsindex 5c5bdf84a..1ddda162a 100644--- a/apps/web/src/components/placeholders/favorites-placeholder.js+++ b/apps/web/src/components/placeholders/favorites-placeholder.js@@ -1,6 +1,6 @@import { motion } from "framer-motion";import React from "react";-import * as Icon from "react-feather";+import * as Icon from "../icons";import { Flex, Text } from "rebass";const FavoritesPlaceholder = props => {@@ -42,7 +42,7 @@ const FavoritesPlaceholder = props => {loop: Infinity}}>- <Icon.Star fill="orange" size={item.size} stroke={0} />+ <Icon.Star color="favorite" size={item.size} /></motion.div>))}</Flex>diff --git a/apps/web/src/components/properties/index.js b/apps/web/src/components/properties/index.jsindex 1c33bc21b..2fe6454f3 100644--- a/apps/web/src/components/properties/index.js+++ b/apps/web/src/components/properties/index.js@@ -1,14 +1,14 @@import React from "react";-import * as Icon from "react-feather";+import * as Icon from "../icons";import { Box, Flex, Text } from "rebass";import { Input } from "@rebass/forms";import CheckBox from "../checkbox";-import { PinIcon } from "../icons";import { useStore } from "../../stores/editor-store";import { COLORS } from "../../common";import { objectMap } from "../../utils/object";import { useStore as useAppStore } from "../../stores/app-store";import { motion } from "framer-motion";+const Properties = props => {const pinned = useStore(store => store.session.pinned);const favorite = useStore(store => store.session.favorite);@@ -104,12 +104,12 @@ const Properties = props => {":active": { color: "darkRed" }}}>- <Icon.X />+ <Icon.Close /></Text></Text><CheckBoxchecked={pinned}- icon={PinIcon}+ icon={Icon.Pin}label="Pin"onChecked={state => changeState("pinned", state)}/>@@ -126,7 +126,7 @@ const Properties = props => {onClick={toggleLocked}/><Flex fontSize="body" sx={{ marginBottom: 3 }} alignItems="center">- <Icon.Book size={18} />+ <Icon.Notebook size={18} /><Text sx={{ marginLeft: 1 }}>Move to notebook</Text></Flex><Flex fontSize="body" sx={{ marginBottom: 2 }} alignItems="center">@@ -181,7 +181,7 @@ const Properties = props => {))}</Flex><Flex fontSize="body" sx={{ marginBottom: 2 }} alignItems="center">- <Icon.Octagon size={18} />+ <Icon.Color size={18} /><Text sx={{ marginLeft: 1 }}>Colors:</Text></Flex><Flex flexWrap="wrap" sx={{ marginBottom: 2 }}>diff --git a/apps/web/src/components/search/index.js b/apps/web/src/components/search/index.jsindex acff0dcd7..b4b37f3c9 100644--- a/apps/web/src/components/search/index.js+++ b/apps/web/src/components/search/index.js@@ -1,10 +1,11 @@import React from "react";import { Flex, Box } from "rebass";import { Input } from "@rebass/forms";-import * as Icon from "react-feather";+import * as Icon from "../icons";import { useStore } from "../../stores/searchstore";import "./search.css";import RootNavigator from "../../navigation/navigators/rootnavigator";+var query = "";const Search = props => {const search = useStore(store => store.search);@@ -46,7 +47,7 @@ const Search = props => {height: 24}}>- <Icon.Search />+ <Icon.Search size={28} /></Box></Flex>);diff --git a/apps/web/src/index.css b/apps/web/src/index.cssindex b655ed966..d3e5a865f 100644--- a/apps/web/src/index.css+++ b/apps/web/src/index.css@@ -33,3 +33,7 @@ body,opacity: 1;}}++svg {+ width: 1.5rem;+}diff --git a/apps/web/src/navigation/index.js b/apps/web/src/navigation/index.jsindex 5ef524101..275e8b175 100644--- a/apps/web/src/navigation/index.js+++ b/apps/web/src/navigation/index.js@@ -3,7 +3,7 @@ import ReactDOM from "react-dom";import { Box, Flex, Heading, Text } from "rebass";import Animated from "../components/animated";import { AnimatePresence } from "framer-motion";-import * as Icon from "react-feather";+import * as Icon from "../components/icons";import { ThemeProvider } from "../utils/theme";import { useStore, store } from "../stores/app-store";@@ -114,20 +114,18 @@ const NavigationContainer = props => {{props.canGoBack && (<BoxonClick={props.backAction}+ ml={-5}height={38}- color="fontPrimary"- sx={{ marginLeft: -2 /*correction */, marginRight: 2 }}+ width={38}>- <Icon.ChevronLeft size={38} />+ <Icon.ChevronLeft size={38} color="fontPrimary" /></Box>)}<BoxonClick={openSideMenu}height={38}- color="fontPrimary"+ ml={-5}sx={{- marginLeft: -5 /*correction */,- marginRight: 1,display: ["block", "none", "none"]}}>diff --git a/apps/web/src/navigation/navigators/rootnavigator.js b/apps/web/src/navigation/navigators/rootnavigator.jsindex 01bbf3f94..c8b199357 100644--- a/apps/web/src/navigation/navigators/rootnavigator.js+++ b/apps/web/src/navigation/navigators/rootnavigator.js@@ -6,7 +6,7 @@ import {TagsContainer,Notes} from "../../views";-import * as Icon from "react-feather";+import * as Icon from "../../components/icons";import { createRoute, createNormalRoute, createDeadRoute } from "../routes";import Navigator from "../index";import { showLogInDialog } from "../../components/dialogs/logindialog";@@ -16,12 +16,12 @@ import Search from "../../views/Search";import { store } from "../../stores/note-store";export const bottomRoutes = {- ...createDeadRoute("nightmode", Icon.Moon, {+ ...createDeadRoute("nightmode", Icon.Theme, {onClick: () => changeTheme(),bottom: true,isToggled: () => isDarkTheme()}),- ...createDeadRoute("signin", Icon.LogIn, {+ ...createDeadRoute("signin", Icon.Login, {onClick: () => showLogInDialog(),bottom: true}),@@ -37,9 +37,9 @@ export const routes = {options: SelectionModeOptions.NotesOptions}),...createRoute("notebooks", NotebooksContainer, {- icon: Icon.Book+ icon: Icon.Notebook}),- ...createNormalRoute("favorites", Notes, Icon.Star, {+ ...createNormalRoute("favorites", Notes, Icon.StarOutline, {title: "Favorites",options: SelectionModeOptions.FavoritesOptions,onClick: () => {diff --git a/apps/web/src/utils/theme.js b/apps/web/src/utils/theme.jsindex 1fe1a8333..b15ce1e8a 100644--- a/apps/web/src/utils/theme.js+++ b/apps/web/src/utils/theme.js@@ -15,7 +15,7 @@ const colorsLight = primary =>text: "#000000",overlay: "rgba(0, 0, 0, 0.1)",secondary: "white",- icon: "#909090"+ icon: "#3b3b3b"});const colorsDark = primary =>makeTheme({@@ -29,7 +29,7 @@ const colorsDark = primary =>text: "#ffffff",overlay: "rgba(255, 255, 255, 0.5)",secondary: "black",- icon: "#909090"+ icon: "#dbdbdb"});const shadowsDark = {@@ -236,7 +236,9 @@ function makeTheme({overlay,static: "white",secondary,- icon+ icon,+ error: "red",+ favorite: "#ffd700"};}diff --git a/apps/web/src/views/Settings.js b/apps/web/src/views/Settings.jsindex f2228facc..5e3b66e3b 100644--- a/apps/web/src/views/Settings.js+++ b/apps/web/src/views/Settings.js@@ -1,6 +1,6 @@import React, { useState, useEffect } from "react";import { Box, Button, Flex, Text, Image } from "rebass";-import * as Icon from "react-feather";+import * as Icon from "../components/icons";import { Switch } from "@rebass/forms";import "../app.css";import { changeTheme, isDarkTheme, changeAccent } from "../utils/theme";@@ -27,11 +27,10 @@ const Settings = props => {sx={{width: 40,height: 40,- borderRadius: 80,- color: "static"+ borderRadius: 80}}>- <Icon.User style={{ margin: 2 }} size={20} />+ <Icon.User color="static" /></Flex><Flex flexDirection="column" justifyContent="center"><Flex fontSize="subBody" color="gray">@@ -92,20 +91,19 @@ const Settings = props => {}}>{color.code === theme.colors.primary && (- <Icon.Check- style={{+ <Icon.Checkmark+ sx={{position: "absolute",- cursor: "pointer",- color: "white"+ cursor: "pointer"}}+ color="static"size={20}/>)}<Icon.Circlesize={40}- style={{ cursor: "pointer" }}- fill={color.code}- strokeWidth={0}+ sx={{ cursor: "pointer" }}+ color={color.code}/></Flex>))}@@ -120,8 +118,8 @@ const Settings = props => {changeTheme();}}>- <Text fontSize="body">{check ? "Light Mode" : "Dark Mode"}</Text>- {check ? <Icon.Sun /> : <Icon.Moon />}+ <Text fontSize="body">Dark Mode</Text>+ {check ? <Icon.Check /> : <Icon.CircleEmpty />}</Flex></Box><Box