Skip to content

Commit 5a20000

Browse files
feat(website): add ohlab.dev credit to footer (#62)
Add "Built by ohlab.dev" with link below the copyright line, with i18n support for EN, VI, and JA locales.
1 parent 8a1dcd5 commit 5a20000

3 files changed

Lines changed: 8 additions & 1 deletion

File tree

website/src/components/Footer.astro

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
import { useTranslations, type Locale } from '../i18n';
3-
import { CHROME_STORE_URL, FIREFOX_ADDONS_URL, GITHUB_URL, OTHER_PROJECTS } from '../constants';
3+
import { CHROME_STORE_URL, FIREFOX_ADDONS_URL, GITHUB_URL, OHLAB_URL, OTHER_PROJECTS } from '../constants';
44
55
interface Props {
66
locale: Locale;
@@ -101,6 +101,9 @@ const t = useTranslations(locale);
101101
<p class="text-sm text-text-muted dark:text-text-muted-dark">
102102
{t.footer.copyright}
103103
</p>
104+
<p class="text-sm text-text-muted dark:text-text-muted-dark mt-1">
105+
{t.footer.builtBy} <a href={OHLAB_URL} target="_blank" rel="noopener noreferrer" class="hover:text-primary dark:hover:text-primary-light transition-colors font-medium">ohlab.dev</a>
106+
</p>
104107
</div>
105108
</div>
106109
</div>

website/src/constants.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
export const CHROME_STORE_URL = 'https://chromewebstore.google.com/detail/github-flex/iechckkdnjmdnpbdohhnmojofcbfnemc';
44
export const FIREFOX_ADDONS_URL = 'https://addons.mozilla.org/en-US/firefox/addon/github-flex/';
55
export const GITHUB_URL = 'https://github.com/lamngockhuong/github-flex';
6+
export const OHLAB_URL = 'https://ohlab.dev';
67

78
export const OTHER_PROJECTS = [
89
{

website/src/i18n/translations.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ export const translations = {
9090
termote: 'Remote control CLI tools from mobile/desktop via PWA',
9191
},
9292
copyright: '© 2026 GitHub Flex. Open source under MIT License.',
93+
builtBy: 'Built by',
9394
},
9495
},
9596
vi: {
@@ -173,6 +174,7 @@ export const translations = {
173174
termote: 'Điều khiển CLI từ xa từ di động/máy tính qua PWA',
174175
},
175176
copyright: '© 2026 GitHub Flex. Mã nguồn mở theo giấy phép MIT.',
177+
builtBy: 'Xây dựng bởi',
176178
},
177179
},
178180
ja: {
@@ -256,6 +258,7 @@ export const translations = {
256258
termote: 'モバイル/デスクトップからPWAでCLIツールをリモート操作',
257259
},
258260
copyright: '© 2026 GitHub Flex. MITライセンスのオープンソース。',
261+
builtBy: '開発:',
259262
},
260263
},
261264
} as const;

0 commit comments

Comments
 (0)