Split name env variable

This commit is contained in:
Ahmed Al-Taiar
2024-09-27 22:57:30 -04:00
parent 5c41588249
commit c9227cf9b9
7 changed files with 12 additions and 10 deletions

View File

@@ -56,7 +56,7 @@ const ContactCard = ({ portraitUrl }: ContactCardProps) => {
<img
className="contact-me-image aspect-portrait object-cover"
src={portraitUrl}
alt={`${process.env.NAME}`}
alt={`${process.env.FIRST_NAME} ${process.env.LAST_NAME}`}
/>
</figure>
<div

View File

@@ -110,7 +110,7 @@ const PortraitForm = (props: PortraitFormProps) => {
<img
className="aspect-portrait max-w-2xl rounded-xl object-cover"
src={props.portrait?.fileId}
alt={`${process.env.NAME} Portrait`}
alt={`${process.env.FIRST_NAME} Portrait`}
/>
<div className="flex justify-center">
<button
@@ -150,7 +150,7 @@ const PortraitForm = (props: PortraitFormProps) => {
<img
className="aspect-portrait max-w-2xl rounded-xl object-cover"
src={fileId}
alt={`${process.env.NAME} Portrait`}
alt={`${process.env.FIRST_NAME} Portrait`}
/>
)}
{fileId && (

View File

@@ -110,7 +110,7 @@ const NavbarLayout = ({ children }: NavbarLayoutProps) => {
to={routes.home()}
className="btn btn-ghost hidden font-syne text-xl sm:flex"
>
{process.env.NAME}
{process.env.FIRST_NAME + ' ' + process.env.LAST_NAME}
</Link>
</div>
<div className="navbar-center">
@@ -118,7 +118,7 @@ const NavbarLayout = ({ children }: NavbarLayoutProps) => {
to={routes.home()}
className="btn btn-ghost font-syne text-xl sm:hidden"
>
{process.env.NAME}
{process.env.FIRST_NAME + ' ' + process.env.LAST_NAME}
</Link>
</div>
<div className="navbar-center hidden lg:flex">