File tree 3 files changed +17
-1
lines changed
3 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ import SearchIcon from '@mui/icons-material/Search';
14
14
import { NavbarTopItems } from './NavbarTopItems' ;
15
15
import { Search , SearchIconWrapper , StyledInputBase } from './WrapperSearchBar' ;
16
16
import { SideMenu } from './SideMenu' ;
17
+ import { version } from '../../package.json' ;
17
18
18
19
interface Props {
19
20
onChange ?: ( value : ChangeEvent < HTMLInputElement > ) => void ;
@@ -57,6 +58,12 @@ export const Navbar = ({ onChange }: Props) => {
57
58
</ Link >
58
59
</ NextLink >
59
60
61
+ < Box sx = { { display : { xs : 'none' , sm : 'inline' } } } ml = { 2 } >
62
+ < Typography variant = 'caption' color = 'gray' >
63
+ Version: { version }
64
+ </ Typography >
65
+ </ Box >
66
+
60
67
< Box flex = { 1 } />
61
68
62
69
< NavbarTopItems />
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ import {
17
17
} from 'react-icons/ai' ;
18
18
import * as externalLinks from '../../utils' ;
19
19
import Typography from '@mui/material/Typography' ;
20
+ import { version } from '../../package.json' ;
20
21
21
22
interface Props {
22
23
open : boolean ;
@@ -73,6 +74,14 @@ export const SideMenu = ({ open, onClose }: Props) => {
73
74
</ ListItemIcon >
74
75
< ListItemText primary = { 'Personal Website' } />
75
76
</ ListItem >
77
+
78
+ < Divider variant = 'middle' sx = { { mt : 1 } } />
79
+
80
+ < ListItem >
81
+ < Typography variant = 'caption' color = 'gray' >
82
+ Version: { version }
83
+ </ Typography >
84
+ </ ListItem >
76
85
</ List >
77
86
</ Box >
78
87
</ Drawer >
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " directory" ,
3
- "version" : " 0.1 .0" ,
3
+ "version" : " 2.0 .0" ,
4
4
"private" : true ,
5
5
"scripts" : {
6
6
"dev" : " next dev" ,
You can’t perform that action at this time.
0 commit comments