diff --git a/ui/src/components/layouts/PublicLayout.tsx b/ui/src/components/layouts/PublicLayout.tsx index 24ff9f4..5162fb9 100644 --- a/ui/src/components/layouts/PublicLayout.tsx +++ b/ui/src/components/layouts/PublicLayout.tsx @@ -10,7 +10,6 @@ import { LuBriefcase, LuPackage, LuBookOpen, - LuMonitorPlay, LuPhone, LuMapPin, LuMail, @@ -93,12 +92,6 @@ const PublicLayout = () => { path: ROUTES_ENUM.public.blog, icon: LuBookOpen, }, - { - resourceKey: 'App.Demos', - name: translate('::App.Demos'), - action: () => setIsDemoOpen(true), - icon: LuMonitorPlay, - }, { resourceKey: 'Public.nav.contact', name: translate('::App.Contact'), @@ -114,21 +107,36 @@ const PublicLayout = () => { const isLoginLink = (resourceKey?: string) => resourceKey === 'Public.nav.giris' + const demoButton = (className = '', onClick?: () => void) => ( + + ) + const themeToggle = ( -
+
) @@ -221,7 +228,11 @@ const PublicLayout = () => { {/* Right side: Language + Login */}
- +
+ {demoButton('h-9 px-3 rounded-lg')} +
+ +
{themeToggle}
{navLinks @@ -252,8 +263,10 @@ const PublicLayout = () => { {/* Mobile Navigation */}
@@ -314,12 +327,13 @@ const PublicLayout = () => {
-
- -
-
- {themeToggle} +
+ {demoButton('h-10 px-3 rounded-lg', toggleMenu)} +
+ +
+
{themeToggle}
{navLinks .filter((l) => isLoginLink(l.resourceKey)) .map((link) => diff --git a/ui/src/components/template/LanguageSelector.tsx b/ui/src/components/template/LanguageSelector.tsx index d3f1e2f..ec464ec 100644 --- a/ui/src/components/template/LanguageSelector.tsx +++ b/ui/src/components/template/LanguageSelector.tsx @@ -61,7 +61,7 @@ const _LanguageSelector = ({ className }: CommonProps) => { } return ( - + {languageList?.map((lang) => (