Skip to content

Commit ac42e33

Browse files
committed
feat: add new fonts
1 parent 5a3035c commit ac42e33

File tree

4 files changed

+20
-6
lines changed

4 files changed

+20
-6
lines changed

index.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,16 @@
143143
rel="stylesheet"
144144
/>
145145

146+
<link
147+
href="https://fonts.googleapis.com/css2?family=Vazirmatn:wght@100..900&display=swap"
148+
rel="stylesheet"
149+
/>
150+
151+
<link
152+
href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@100..900&display=swap"
153+
rel="stylesheet"
154+
/>
155+
146156
<script src="/wasm_exec.js"></script>
147157

148158
<meta name="color-scheme" content="dark only" />

public/locales/en/remnawave.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,11 @@
141141
"last-ua": "Last UA",
142142
"lifetime-used": "Lifetime Usage",
143143
"sub-link-revoked-at": "Sub-link revoked at",
144-
"created-at": "Created at"
144+
"created-at": "Created at",
145+
"internal-squads": "Internal Squads",
146+
"first-connected-at": "First connected at",
147+
"sub-last-opened-at": "Sub last opened at",
148+
"tag": "Tag"
145149
},
146150
"header-buttons": {
147151
"feature": {}

src/features/dashboard/users/users-table/model/use-table-columns.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ export const useUserTableColumns = (
144144

145145
{
146146
accessorKey: 'tag',
147-
header: 'Tag',
147+
header: t('use-table-columns.tag'),
148148
Cell: ({ cell }) => (
149149
<Text ff="monospace" fw={500} size="md">
150150
{cell.row.original.tag || '–'}
@@ -157,7 +157,7 @@ export const useUserTableColumns = (
157157

158158
{
159159
accessorKey: 'activeInternalSquads',
160-
header: 'Internal Squads',
160+
header: t('use-table-columns.internal-squads'),
161161
filterVariant: 'select',
162162
enableColumnFilterModes: false,
163163
enableSorting: false,
@@ -225,7 +225,7 @@ export const useUserTableColumns = (
225225

226226
{
227227
accessorKey: 'firstConnectedAt',
228-
header: 'First connected at',
228+
header: t('use-table-columns.first-connected-at'),
229229
accessorFn: (originalRow) =>
230230
originalRow.firstConnectedAt
231231
? dayjs(originalRow.firstConnectedAt).format('DD/MM/YYYY, HH:mm')
@@ -288,7 +288,7 @@ export const useUserTableColumns = (
288288

289289
{
290290
accessorKey: 'subLastOpenedAt',
291-
header: 'Sub last opened at',
291+
header: t('use-table-columns.sub-last-opened-at'),
292292
accessorFn: (originalRow) =>
293293
originalRow.subLastOpenedAt
294294
? dayjs(originalRow.subLastOpenedAt).format('DD/MM/YYYY, HH:mm')

src/shared/constants/theme/theme.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import components from './overrides'
55
export const theme = createTheme({
66
components,
77
cursorType: 'pointer',
8-
fontFamily: 'Montserrat, Twemoji Country Flags, sans-serif',
8+
fontFamily: 'Montserrat, Vazirmatn, Noto Sans SC, Twemoji Country Flags, sans-serif',
99
fontFamilyMonospace: 'Fira Mono, monospace',
1010
breakpoints: {
1111
xs: '30em',

0 commit comments

Comments
 (0)