From 0063cecf5dbdeecf1505d381adb6eda441727a5a Mon Sep 17 00:00:00 2001 From: Hikmet Date: Mon, 1 Apr 2024 16:01:20 +0300 Subject: [PATCH] Move themes section header to environment variables. Add target=_blank option to navigation items in header. --- src/features/app_bar/index.tsx | 13 ++++++++++++- .../themes_section/themes_section.tsx | 2 +- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/src/features/app_bar/index.tsx b/src/features/app_bar/index.tsx index c29feb0..eb9de4d 100644 --- a/src/features/app_bar/index.tsx +++ b/src/features/app_bar/index.tsx @@ -20,7 +20,18 @@ export function AppBar({ home }: { home: "/admin" | "/" }) { {JSON.parse(process.env.NEXT_PUBLIC_NAVIGATION_ITEMS!).map( (item: any) => { return ( - + {item.title} ); diff --git a/src/features/landing_page_view/themes_section/themes_section.tsx b/src/features/landing_page_view/themes_section/themes_section.tsx index b08a3dd..4ed9321 100644 --- a/src/features/landing_page_view/themes_section/themes_section.tsx +++ b/src/features/landing_page_view/themes_section/themes_section.tsx @@ -15,7 +15,7 @@ export function ThemesSection({ return (
-

Temel Lazca

+

{process.env.NEXT_PUBLIC_THEMES_HEADLINE}

    {themePreviews.map((preview) => {