1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 04:46:40 +07:00

fix eslint

This commit is contained in:
Fedor Katurov 2023-10-30 21:49:10 +06:00
parent e4b158dada
commit a26e4168fd
80 changed files with 199 additions and 205 deletions

View file

@ -22,8 +22,8 @@ export const API = {
GET_SOCIALS: '/oauth',
DROP_SOCIAL: (provider, id) => `/oauth/${provider}/${id}`,
ATTACH_SOCIAL: `/oauth`,
LOGIN_WITH_SOCIAL: `/oauth`,
ATTACH_SOCIAL: '/oauth',
LOGIN_WITH_SOCIAL: '/oauth',
ATTACH_TELEGRAM: '/oauth/telegram/attach',
},
NODES: {
@ -55,11 +55,11 @@ export const API = {
GITHUB_ISSUES: 'https://api.github.com/repos/muerwre/vault-frontend/issues',
},
TAG: {
NODES: `/tags/nodes`,
AUTOCOMPLETE: `/tags/autocomplete`,
NODES: '/tags/nodes',
AUTOCOMPLETE: '/tags/autocomplete',
},
LAB: {
NODES: `/nodes/lab`,
NODES: '/nodes/lab',
STATS: '/nodes/lab/stats',
UPDATES: '/nodes/lab/updates',
},

View file

@ -1,4 +1,3 @@
import { SettingsSidebar } from '~/containers/sidebars/ProfileSidebar';
export enum SidebarName {
Settings = 'settings',

View file

@ -17,7 +17,7 @@ export const themeColors: Record<Theme, ThemeColors> = {
'linear-gradient(165deg, #ff7549 -50%, #ff3344 150%)',
'linear-gradient(170deg, #582cd0, #592071)',
],
background: `url('/images/noise_top.png') 0% 0% #23201f`,
background: 'url(\'/images/noise_top.png\') 0% 0% #23201f',
},
[Theme.Horizon]: {
name: 'Веспера',
@ -26,6 +26,6 @@ export const themeColors: Record<Theme, ThemeColors> = {
'linear-gradient(165deg, #fab795 -50%, #fab795 150%)',
'linear-gradient(170deg, #25b0bc, #7693d6)',
],
background: `url("/images/horizon_bg.svg") 50% 50% / cover rgb(28, 30, 38)`,
background: 'url("/images/horizon_bg.svg") 50% 50% / cover rgb(28, 30, 38)',
},
};