mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: remove language beta badge
This commit is contained in:
@ -127,7 +127,6 @@ const ResourcesDialog: React.FC<Props> = (props: Props) => {
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div className="dialog-content-container">
|
<div className="dialog-content-container">
|
||||||
<div className="tip-text-container">(👨💻WIP) {t("resources.description")}</div>
|
|
||||||
<div className="upload-resource-container" onClick={() => handleUploadFileBtnClick()}>
|
<div className="upload-resource-container" onClick={() => handleUploadFileBtnClick()}>
|
||||||
<div className="upload-resource-btn">
|
<div className="upload-resource-btn">
|
||||||
<Icon.File className="icon-img" />
|
<Icon.File className="icon-img" />
|
||||||
|
@ -3,7 +3,6 @@ import { useAppSelector } from "../../store";
|
|||||||
import { VISIBILITY_SELECTOR_ITEMS } from "../../helpers/consts";
|
import { VISIBILITY_SELECTOR_ITEMS } from "../../helpers/consts";
|
||||||
import useI18n from "../../hooks/useI18n";
|
import useI18n from "../../hooks/useI18n";
|
||||||
import Selector from "../common/Selector";
|
import Selector from "../common/Selector";
|
||||||
import BetaBadge from "../BetaBadge";
|
|
||||||
import "../../less/settings/preferences-section.less";
|
import "../../less/settings/preferences-section.less";
|
||||||
|
|
||||||
const localeSelectorItems = [
|
const localeSelectorItems = [
|
||||||
@ -53,10 +52,7 @@ const PreferencesSection = () => {
|
|||||||
<div className="section-container preferences-section-container">
|
<div className="section-container preferences-section-container">
|
||||||
<p className="title-text">{t("common.basic")}</p>
|
<p className="title-text">{t("common.basic")}</p>
|
||||||
<label className="form-label selector">
|
<label className="form-label selector">
|
||||||
<span className="normal-text">
|
<span className="normal-text">{t("common.language")}</span>
|
||||||
{t("common.language")}
|
|
||||||
<BetaBadge className="ml-2" />
|
|
||||||
</span>
|
|
||||||
<Selector className="ml-2 w-32" value={setting.locale} dataSource={localeSelectorItems} handleValueChanged={handleLocaleChanged} />
|
<Selector className="ml-2 w-32" value={setting.locale} dataSource={localeSelectorItems} handleValueChanged={handleLocaleChanged} />
|
||||||
</label>
|
</label>
|
||||||
<p className="title-text">{t("setting.preference")}</p>
|
<p className="title-text">{t("setting.preference")}</p>
|
||||||
|
@ -9,10 +9,6 @@
|
|||||||
> .dialog-content-container {
|
> .dialog-content-container {
|
||||||
@apply flex flex-col justify-start items-start w-full;
|
@apply flex flex-col justify-start items-start w-full;
|
||||||
|
|
||||||
> .tip-text-container {
|
|
||||||
@apply w-full flex flex-row justify-start items-start border border-yellow-600 rounded px-2 py-1 mb-2 text-yellow-600 bg-yellow-50 text-sm;
|
|
||||||
}
|
|
||||||
|
|
||||||
> .upload-resource-container {
|
> .upload-resource-container {
|
||||||
@apply mt-2 mb-4 py-8 cursor-pointer w-full rounded flex flex-row justify-center items-center bg-blue-50 border border-blue-600 hover:opacity-80;
|
@apply mt-2 mb-4 py-8 cursor-pointer w-full rounded flex flex-row justify-center items-center bg-blue-50 border border-blue-600 hover:opacity-80;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user