mirror of
https://github.com/iib0011/omni-tools.git
synced 2025-11-20 03:54:04 +01:00
chore: Replace "Buy me a coffee" with "Hire me" (main)
This commit replaces the "Buy me a coffee" button with a "Hire me" button in the navbar. It also updates the corresponding translation in the `en/translation.json` file. The icon has been changed to a job search icon, and the link points to a Google Drive document.
This commit is contained in:
6
.idea/workspace.xml
generated
6
.idea/workspace.xml
generated
@@ -6,8 +6,8 @@
|
|||||||
<component name="ChangeListManager">
|
<component name="ChangeListManager">
|
||||||
<list default="true" id="b30e2810-c4c1-4aad-b134-794e52cc1c7d" name="Changes" comment="feat: Upgrade onnxruntime-web and onnxruntime-common (main) Upgrades onnxruntime-web and onnxruntime-common to versions 1.23.0. This includes updates to dependencies and related packages.">
|
<list default="true" id="b30e2810-c4c1-4aad-b134-794e52cc1c7d" name="Changes" comment="feat: Upgrade onnxruntime-web and onnxruntime-common (main) Upgrades onnxruntime-web and onnxruntime-common to versions 1.23.0. This includes updates to dependencies and related packages.">
|
||||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/package-lock.json" beforeDir="false" />
|
<change beforePath="$PROJECT_DIR$/public/locales/en/translation.json" beforeDir="false" afterPath="$PROJECT_DIR$/public/locales/en/translation.json" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/package.json" beforeDir="false" afterPath="$PROJECT_DIR$/package.json" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/src/components/Navbar/index.tsx" beforeDir="false" afterPath="$PROJECT_DIR$/src/components/Navbar/index.tsx" afterDir="false" />
|
||||||
</list>
|
</list>
|
||||||
<option name="SHOW_DIALOG" value="false" />
|
<option name="SHOW_DIALOG" value="false" />
|
||||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||||
@@ -659,6 +659,8 @@
|
|||||||
<workItem from="1753201599796" duration="4449000" />
|
<workItem from="1753201599796" duration="4449000" />
|
||||||
<workItem from="1753206561770" duration="119000" />
|
<workItem from="1753206561770" duration="119000" />
|
||||||
<workItem from="1753206717510" duration="3599000" />
|
<workItem from="1753206717510" duration="3599000" />
|
||||||
|
<workItem from="1759497758761" duration="1012000" />
|
||||||
|
<workItem from="1759502144651" duration="196000" />
|
||||||
</task>
|
</task>
|
||||||
<task id="LOCAL-00206" summary="chore: new logo and font">
|
<task id="LOCAL-00206" summary="chore: new logo and font">
|
||||||
<option name="closed" value="true" />
|
<option name="closed" value="true" />
|
||||||
|
|||||||
@@ -122,7 +122,8 @@
|
|||||||
"navbar": {
|
"navbar": {
|
||||||
"buyMeACoffee": "Buy me a coffee",
|
"buyMeACoffee": "Buy me a coffee",
|
||||||
"home": "Home",
|
"home": "Home",
|
||||||
"tools": "Tools"
|
"tools": "Tools",
|
||||||
|
"hireMe": "Hire me"
|
||||||
},
|
},
|
||||||
"number": {
|
"number": {
|
||||||
"generate": {
|
"generate": {
|
||||||
|
|||||||
@@ -127,7 +127,10 @@ const Navbar: React.FC<NavbarProps> = ({
|
|||||||
></iframe>,
|
></iframe>,
|
||||||
<Button
|
<Button
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
window.open('https://buymeacoffee.com/iib0011', '_blank');
|
window.open(
|
||||||
|
'https://drive.google.com/file/d/1-r9-rDYnDJic9dnDywKTAsueehIAVp5F/view?usp=sharing',
|
||||||
|
'_blank'
|
||||||
|
);
|
||||||
}}
|
}}
|
||||||
sx={{ borderRadius: '100px' }}
|
sx={{ borderRadius: '100px' }}
|
||||||
variant={'contained'}
|
variant={'contained'}
|
||||||
@@ -135,11 +138,11 @@ const Navbar: React.FC<NavbarProps> = ({
|
|||||||
<Icon
|
<Icon
|
||||||
style={{ cursor: 'pointer' }}
|
style={{ cursor: 'pointer' }}
|
||||||
fontSize={25}
|
fontSize={25}
|
||||||
icon={'mdi:heart-outline'}
|
icon={'hugeicons:job-search'}
|
||||||
/>
|
/>
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
{t('navbar.buyMeACoffee')}
|
{t('navbar.hireMe')}
|
||||||
</Button>
|
</Button>
|
||||||
];
|
];
|
||||||
const drawerList = (
|
const drawerList = (
|
||||||
|
|||||||
Reference in New Issue
Block a user