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="" SECRET_HASH=""
HOME_URL="" HOME_URL=""
MAINTENANCE_MODE=0 MAINTENANCE_MODE=0
BRAND_NAME="" NEXT_PUBLIC_BRAND_NAME=""
BRAND_EMAIL="" NEXT_PUBLIC_BRAND_EMAIL=""
NEXT_PUBLIC_BRAND_COUNTRY=""

View File

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