🌟 Display TDrive version (#209)
This commit is contained in:
@@ -10,6 +10,8 @@
|
|||||||
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"
|
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"
|
||||||
/>
|
/>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
|
<meta http-equiv="Pragma" content="no-cache" />
|
||||||
|
<meta http-equiv="Expires" content="0" />
|
||||||
<link rel="shortcut icon" href="/favicon.ico" />
|
<link rel="shortcut icon" href="/favicon.ico" />
|
||||||
<style>
|
<style>
|
||||||
#app,
|
#app,
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
export default {
|
export default {
|
||||||
version: /* @VERSION */ '2023.Q1',
|
version: /* @VERSION */ '2023.Q3.011',
|
||||||
version_detail: /* @VERSION_DETAIL */ '2023.Q1.1223',
|
version_detail: /* @VERSION_DETAIL */ '2023.Q3.011',
|
||||||
version_name: /* @VERSION_NAME */ 'Albatros',
|
version_name: /* @VERSION_NAME */ 'Ghost-Dog',
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -2,21 +2,30 @@ import { MenuIcon } from '@heroicons/react/outline';
|
|||||||
import Account from '../common/account';
|
import Account from '../common/account';
|
||||||
import AppGrid from '../common/app-grid';
|
import AppGrid from '../common/app-grid';
|
||||||
import Search from '../common/search';
|
import Search from '../common/search';
|
||||||
|
import { Info } from "@atoms/text";
|
||||||
|
import version from '../../../environment/version';
|
||||||
|
|
||||||
export default ({ openSideMenu }: { openSideMenu: () => void }) => {
|
export default ({ openSideMenu }: { openSideMenu: () => void }) => {
|
||||||
return (
|
return (
|
||||||
<div className="bg-white dark:bg-zinc-900 h-16 sm:h-20 p-4 sm:p-6 flex space-between items-center">
|
<div className="bg-white dark:bg-zinc-900 h-16 sm:h-20 p-4 sm:p-6 flex space-between items-center">
|
||||||
<div className="sm:block hidden shrink-0 w-1/6 max-w-xs" style={{ minWidth: 100 }}>
|
<div className="sm:block hidden shrink-0 w-1/6 max-w-xs" style={{ minWidth: 100 }}>
|
||||||
<img
|
<div className="sm:inline-grid">
|
||||||
src="/public/img/logo/logo-text-black.png"
|
<img
|
||||||
className="h-6 ml-1 dark:hidden block"
|
src="/public/img/logo/logo-text-black.png"
|
||||||
alt="Tdrive"
|
className="h-6 ml-1 dark:hidden block"
|
||||||
/>
|
alt="Tdrive"
|
||||||
<img
|
/>
|
||||||
src="/public/img/logo/logo-text-white.png"
|
<img
|
||||||
className="h-6 ml-1 dark:block hidden"
|
src="/public/img/logo/logo-text-white.png"
|
||||||
alt="Tdrive"
|
className="h-6 ml-1 dark:block hidden"
|
||||||
/>
|
alt="Tdrive"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<div className="sm:inline-grid">
|
||||||
|
<Info className="font-bold overflow-hidden text-ellipsis whitespace-nowrap w-full block -mb-1">
|
||||||
|
v{version.version}
|
||||||
|
</Info>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
onClick={() => openSideMenu()}
|
onClick={() => openSideMenu()}
|
||||||
|
|||||||
Reference in New Issue
Block a user