mirror of
https://github.com/sergeyyarkov/yarkov.tech.git
synced 2026-10-11 10:29:21 +03:00
env types
This commit is contained in:
parent
a8cf3f94b9
commit
db15679316
@ -1,7 +1,7 @@
|
||||
export const DEFAULT_LANGUAGE: LanguageKeys = "ru";
|
||||
|
||||
/* Show banner about website development */
|
||||
export const IS_SITE_UNDER_CONSTRUCTION = import.meta.env.IS_SITE_UNDER_CONSTRUCTION || true;
|
||||
export const IS_SITE_UNDER_CONSTRUCTION = import.meta.env.IS_SITE_UNDER_CONSTRUCTION === "true" ? true : false;
|
||||
|
||||
export const SITE_METADATA: SiteMetadataType = {
|
||||
title: "Sergey Yarkov",
|
||||
|
||||
3
src/env.d.ts
vendored
Normal file
3
src/env.d.ts
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
interface ImportMetaEnv {
|
||||
readonly IS_SITE_UNDER_CONSTRUCTION: string;
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user