feat: compressor

This commit is contained in:
tresabhi committed 2025-04-03 12:48:17 -05:00
1 parent 6283ddc57a
commit e946dfdb69
4 files changed
+7 -10

No files matched your search

+3 -8
View File
@@ -10,21 +10,16 @@ import {
Box,
Code,
Flex,
Grid,
IconButton,
Link,
ScrollArea,
Separator,
Text,
Link
} from '@radix-ui/themes';
import { TOOLS } from '../constants/tools';
import { resolveBranchName } from '../core/blitzkit/branches';
import { homeTool, TOOLS } from '../constants/tools';
import { LinkI18n } from './LinkI18n';
import { getStrings } from '../core/i18n/getStrings';
import { Var } from '../core/radix/var';
import { LinkI18n } from './LinkI18n';
const toolsFiltered = TOOLS.filter((tool) => !('href' in tool));
const tools = [homeTool, ...toolsFiltered];
const { locale } = Astro.params;
const branchName = resolveBranchName(locale);
const isBranchNamed = branchName !== undefined;