mirror of
https://github.com/Radiquum/AniX.git
synced 2025-04-28 00:49:40 +05:00
feat: add telegram channel
This commit is contained in:
parent
36e131a868
commit
4a0a7e0043
5 changed files with 444 additions and 479 deletions
|
@ -13,4 +13,8 @@
|
|||
list-style-type: disc;
|
||||
-webkit-padding-start: 20px;
|
||||
padding-inline-start: 20px;
|
||||
}
|
||||
|
||||
.markdown a {
|
||||
text-decoration: underline;
|
||||
}
|
|
@ -1,12 +1,8 @@
|
|||
"use client";
|
||||
|
||||
import { usePreferencesStore } from "#/store/preferences";
|
||||
import {
|
||||
Modal,
|
||||
Button,
|
||||
useThemeMode,
|
||||
ToggleSwitch,
|
||||
} from "flowbite-react";
|
||||
import { Modal, Button, useThemeMode, ToggleSwitch, HR } from "flowbite-react";
|
||||
import Link from "next/link";
|
||||
|
||||
export const SettingsModal = (props: { isOpen: boolean; setIsOpen: any }) => {
|
||||
const preferenceStore = usePreferencesStore();
|
||||
|
@ -65,7 +61,7 @@ export const SettingsModal = (props: { isOpen: boolean; setIsOpen: any }) => {
|
|||
<div className="flex items-center justify-between">
|
||||
<div>
|
||||
<p className="font-bold dark:text-white">Отправка аналитики</p>
|
||||
<p className="text-gray-500 dark:text-gray-400">
|
||||
<p className="text-gray-500 dark:text-gray-300">
|
||||
Требуется перезагрузка для применения
|
||||
</p>
|
||||
</div>
|
||||
|
@ -89,6 +85,23 @@ export const SettingsModal = (props: { isOpen: boolean; setIsOpen: any }) => {
|
|||
/>
|
||||
</div>
|
||||
</div>
|
||||
<HR className="my-4 dark:bg-slate-400" />
|
||||
<div>
|
||||
<Link href={"https://t.me/anix_web"} className="flex items-center gap-2 p-2 text-left rounded-md hover:bg-gray-100 dark:hover:bg-gray-900">
|
||||
<span className="w-8 h-8 iconify fa6-brands--telegram"></span>
|
||||
<div>
|
||||
<p>Телеграм канал</p>
|
||||
<p className="text-sm text-gray-400 dark:text-gray-200">@anix_web</p>
|
||||
</div>
|
||||
</Link>
|
||||
<Link href={"https://wah.su/radiquum"} className="flex items-center gap-2 p-2 text-left rounded-md hover:bg-gray-100 dark:hover:bg-gray-900">
|
||||
<span className="w-8 h-8 iconify mdi--code"></span>
|
||||
<div>
|
||||
<p>Разработчик</p>
|
||||
<p className="text-sm text-gray-400 dark:text-gray-200">Radiquum</p>
|
||||
</div>
|
||||
</Link>
|
||||
</div>
|
||||
</Modal.Body>
|
||||
</Modal>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue