Skip to content

Commit 0bb487a

Browse files
authored
feat: update CV component with dynamic build number and reorganize im… (#83)
…ports
1 parent a92c6e9 commit 0bb487a

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

apps/app/content/cv/cv.mdx

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ date: 2023-09-15
55

66
{/* * @jsx jsx */}
77
import { jsx } from "theme-ui";
8-
import Avatar from "./images/avatar.png";
9-
import Cover from "./images/cover.png";
108
import Box from "@mui/material/Box";
119
import Stack from '@mui/material/Stack';
1210
import Divider from '@mui/material/Divider';
@@ -17,7 +15,10 @@ import { Connect } from "@n8v/app/components/elements/shields-io/variants/connec
1715
import { CvSectionDivider } from "@n8v/app/components/fragments/cv-section-divider";
1816
import Grid from '@mui/material/Unstable_Grid2';
1917
import Link from '@mui/material/Link';
18+
import { envs } from "@n8v/app/utils/envs";
2019

20+
import Avatar from "./images/avatar.png";
21+
import Cover from "./images/cover.png";
2122
import PermIdentity from "./images/perm_identity.svg";
2223
import Gender from "./images/gender.svg";
2324
import Github from "./images/github.svg";
@@ -286,6 +287,12 @@ _Ton Duc Thang University, Ho Chi Minh - 2018_
286287
width: "100%",
287288
}}
288289
>
289-
Latest at{" "}
290-
<Link href="https://ndthanhdev.github.io/cv">ndthanhdev.github.io/cv</Link>
290+
<Typography variant="caption" color="text.secondary">
291+
<>
292+
{`Build ${envs.buildNumber}, latest version at `}
293+
<Link href="https://ndthanhdev.github.io/cv" color="primary">
294+
{"ndthanhdev.github.io/cv"}
295+
</Link>
296+
</>
297+
</Typography>
291298
</Stack>

0 commit comments

Comments
 (0)