chore: add docs link in settings

This commit is contained in:
Steven
2023-10-28 14:56:08 +08:00
parent f532ccdf94
commit 7058f0c8c2
3 changed files with 44 additions and 2 deletions

View File

@ -1,6 +1,7 @@
import { Divider, IconButton, Radio, RadioGroup } from "@mui/joy";
import { Divider, IconButton, List, ListItem, Radio, RadioGroup } from "@mui/joy";
import { useEffect, useState } from "react";
import { toast } from "react-hot-toast";
import { Link } from "react-router-dom";
import * as api from "@/helpers/api";
import { useGlobalStore } from "@/store/module";
import { useTranslate } from "@/utils/i18n";
@ -122,6 +123,24 @@ const StorageSection = () => {
</div>
))}
</div>
<div className="w-full mt-4">
<p className="text-sm">{t("common.learn-more")}</p>
<List component="ul" marker="disc" size="sm">
<ListItem>
<Link className="text-sm hover:underline hover:text-blue-600" to="https://www.usememos.com/docs/get-started/local-storage">
Docs - Local storage
</Link>
</ListItem>
<ListItem>
<Link
className="text-sm hover:underline hover:text-blue-600"
to="https://www.usememos.com/blog/choosing-a-storage-for-your-resource"
>
Choosing a Storage for Your Resource: Database, S3 or Local Storage?
</Link>
</ListItem>
</List>
</div>
</div>
);
};