add env var SITE_NAME + npm update + add env checker

This commit is contained in:
Sonny
2022-09-14 14:22:33 +02:00
parent db1867e819
commit ca7f8a5d9d
11 changed files with 2416 additions and 2708 deletions

View File

@@ -5,6 +5,8 @@ import MessageManager from './MessageManager';
import styles from '../styles/create.module.scss';
import { config } from '../config';
interface FormProps {
title: string;
errorMessage?: string;
@@ -32,7 +34,7 @@ export default function Form({
}: FormProps) {
return (<>
<Head>
<title>Superpipo {title}</title>
<title>{config.siteName} {title}</title>
</Head>
<div className={`App ${styles['create-app']}`}>
<h2>{title}</h2>