add build number (for page footer)
This commit is contained in:
		@@ -1,7 +1,7 @@
 | 
			
		||||
---
 | 
			
		||||
import { metaData, API_URL } from "../config";
 | 
			
		||||
import RandomMsg from "../components/RandomMsg";
 | 
			
		||||
import { buildTime } from '../utils/buildTime.js';
 | 
			
		||||
import { buildTime, buildNumber } from '../utils/buildTime.js';
 | 
			
		||||
 | 
			
		||||
const YEAR = new Date().getFullYear();
 | 
			
		||||
var ENVIRONMENT = (Astro.url.hostname === "localhost") ? "Dev": "Prod";
 | 
			
		||||
@@ -16,7 +16,9 @@ var ENVIRONMENT = (Astro.url.hostname === "localhost") ? "Dev": "Prod";
 | 
			
		||||
  </small>
 | 
			
		||||
  <RandomMsg client:only="react" />
 | 
			
		||||
  <div style="margin-top: 15px; bottom: 0%">
 | 
			
		||||
    <small>Built: {buildTime} UTC</small>
 | 
			
		||||
    <small>Build# {buildNumber}
 | 
			
		||||
      <br>
 | 
			
		||||
      Built: {buildTime} UTC</small>
 | 
			
		||||
  </div>
 | 
			
		||||
  <span style="font-size: 0.75rem; font-style: italic; margin-left: 100%">{ENVIRONMENT}</span>
 | 
			
		||||
</div>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user