refactor: use Next public environment variables

This commit is contained in:
Riccardo
2023-12-18 20:17:27 +01:00
parent 6040d8acc1
commit c639f55067
2 changed files with 9 additions and 6 deletions

View File

@@ -29,5 +29,6 @@ RESEND_FROM=""
SECRET_HASH=""
HOME_URL=""
MAINTENANCE_MODE=0
BRAND_NAME=""
BRAND_EMAIL=""
NEXT_PUBLIC_BRAND_NAME=""
NEXT_PUBLIC_BRAND_EMAIL=""
NEXT_PUBLIC_BRAND_COUNTRY=""

View File

@@ -54,20 +54,22 @@ export default function Privacy() {
</li>
<li>
<p>
<strong>Application</strong> refers to FromPixels, the software
program provided by the Company.
<strong>Application</strong> refers to{' '}
{process.env.NEXT_PUBLIC_BRAND_NAME}, the software program provided
by the Company.
</p>
</li>
<li>
<p>
<strong>Company</strong> (referred to as either &quot;the
Company&quot;, &quot;We&quot;, &quot;Us&quot; or &quot;Our&quot; in
this Agreement) refers to FromPixels.
this Agreement) refers to {process.env.NEXT_PUBLIC_BRAND_NAME}.
</p>
</li>
<li>
<p>
<strong>Country</strong> refers to: Italy
<strong>Country</strong> refers to:{' '}
{process.env.NEXT_PUBLIC_BRAND_COUNTRY}
</p>
</li>
<li>