更新链接

This commit is contained in:
speakeloudest 2025-11-14 21:53:08 -08:00
parent 29408ee979
commit 018f33a39e
5 changed files with 8 additions and 15 deletions

View File

@ -4,7 +4,7 @@
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" /> <link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>My Trae Project</title> <title>HiFast VPN</title>
<script type="module"> <script type="module">
if (import.meta.hot?.on) { if (import.meta.hot?.on) {
import.meta.hot.on('vite:error', (error) => { import.meta.hot.on('vite:error', (error) => {

View File

@ -1,4 +1,5 @@
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"> <svg width="429" height="360" viewBox="0 0 429 360" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<rect width="32" height="32" fill="#0A0B0D"/> <path d="M126.397 143.749H206.991L234.774 0H319.122L250.041 360H165.443L192.975 216.502H112.381L84.5986 360H0L59.3191 52.6829L33.0385 0H153.929L126.397 143.749Z" fill="currentColor" style="mix-blend-mode:plus-lighter"/>
<path d="M26.6677 23.7149H8.38057V20.6496H5.33301V8.38159H26.6677V23.7149ZM8.38057 20.6496H23.6201V11.4482H8.38057V20.6496ZM16.0011 16.0021L13.8461 18.1705L11.6913 16.0021L13.8461 13.8337L16.0011 16.0021ZM22.0963 16.0008L19.9414 18.1691L17.7865 16.0008L19.9414 13.8324L22.0963 16.0008Z" fill="#32F08C"/> <path d="M359.669 360H275.321L324.649 103.108H409.175L359.669 360Z" fill="currentColor" style="mix-blend-mode:plus-lighter"/>
<path d="M413.305 81.7003H328.758L344.401 0.250871H429L413.305 81.7003Z" fill="currentColor" style="mix-blend-mode:plus-lighter"/>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 453 B

After

Width:  |  Height:  |  Size: 604 B

View File

@ -27,6 +27,7 @@ export const LanguageProvider: React.FC<LanguageProviderProps> = ({ children })
const translations = { const translations = {
en: { en: {
'company.name': 'TAW TRADERS SDN. BHD.',
// Navigation // Navigation
'nav.home': 'Home', 'nav.home': 'Home',
'nav.about': 'About Us', 'nav.about': 'About Us',
@ -341,6 +342,7 @@ export const LanguageProvider: React.FC<LanguageProviderProps> = ({ children })
'common.switchLanguage': 'Switch Language' 'common.switchLanguage': 'Switch Language'
}, },
zh: { zh: {
'company.name': 'TAW TRADERS SDN. BHD.',
// Navigation // Navigation
'nav.home': '首页', 'nav.home': '首页',
'nav.about': '关于我们', 'nav.about': '关于我们',

View File

@ -187,4 +187,4 @@ export default function About() {
</div> </div>
</div> </div>
); );
} }

View File

@ -1,7 +1,6 @@
import { defineConfig } from 'vite' import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react' import react from '@vitejs/plugin-react'
import tsconfigPaths from "vite-tsconfig-paths"; import tsconfigPaths from "vite-tsconfig-paths";
import { traeBadgePlugin } from 'vite-plugin-trae-solo-badge';
import svgr from 'vite-plugin-svgr'; import svgr from 'vite-plugin-svgr';
// https://vite.dev/config/ // https://vite.dev/config/
@ -18,15 +17,6 @@ export default defineConfig({
}, },
}), }),
svgr(), svgr(),
traeBadgePlugin({
variant: 'dark',
position: 'bottom-right',
prodOnly: true,
clickable: true,
clickUrl: 'https://www.trae.ai/solo?showJoin=1',
autoTheme: true,
autoThemeTarget: '#root'
}),
tsconfigPaths() tsconfigPaths()
], ],
}) })