diff --git a/frontend/src/lib/version.ts b/frontend/src/lib/version.ts new file mode 100644 index 0000000..734967c --- /dev/null +++ b/frontend/src/lib/version.ts @@ -0,0 +1,14 @@ +/** + * Application Version + * + * Semantic Versioning: MAJOR.MINOR.PATCH + * - MAJOR: Incompatible API changes + * - MINOR: New functionality (backward compatible) + * - PATCH: Bug fixes (backward compatible) + */ +export const APP_VERSION = "0.8.0"; + +/** + * Build date - set at build time + */ +export const BUILD_DATE = new Date().toISOString().split('T')[0]; diff --git a/frontend/src/pages/HomePage.tsx b/frontend/src/pages/HomePage.tsx index 262f0ba..8e62114 100644 --- a/frontend/src/pages/HomePage.tsx +++ b/frontend/src/pages/HomePage.tsx @@ -1,6 +1,7 @@ import { FormEvent, useEffect, useState } from "react"; import { useNavigate } from "react-router-dom"; import { apiGet } from "../lib/api"; +import { APP_VERSION } from "../lib/version"; import type { DashboardOverview, LookupResult } from "../lib/types"; function formatDate(value: string) { @@ -174,6 +175,11 @@ export default function HomePage() {