From 2db61f66dcb86678bec8431d411625263f1255e7 Mon Sep 17 00:00:00 2001 From: dogukanoksuz Date: Mon, 11 Dec 2023 12:43:26 +0300 Subject: [PATCH] feature: Latest revisions v2 --- app/contact/page.tsx | 4 +- app/extensions/device-manager/page.tsx | 2 + app/extensions/domain-manager/page.tsx | 2 + app/extensions/network-explorer/page.tsx | 2 + app/extensions/network-monitor/page.tsx | 2 + components/contact.tsx | 21 +++ components/footer.tsx | 53 +++++- components/home/contact.tsx | 24 +-- components/home/hero.tsx | 2 +- components/main-nav.tsx | 207 +---------------------- components/navigation.tsx | 164 ++++++++++++++++++ 11 files changed, 261 insertions(+), 222 deletions(-) create mode 100644 components/contact.tsx create mode 100644 components/navigation.tsx diff --git a/app/contact/page.tsx b/app/contact/page.tsx index 21ea5c5..ad9a0ec 100644 --- a/app/contact/page.tsx +++ b/app/contact/page.tsx @@ -1,6 +1,6 @@ import { Metadata } from "next" -import ContactSection from "@/components/home/contact" +import Contact from "@/components/contact" export const metadata: Metadata = { title: "İletişim", @@ -11,7 +11,7 @@ export const metadata: Metadata = { export default function ContactPage() { return (
- +
) } diff --git a/app/extensions/device-manager/page.tsx b/app/extensions/device-manager/page.tsx index c17c658..3e0cb3d 100644 --- a/app/extensions/device-manager/page.tsx +++ b/app/extensions/device-manager/page.tsx @@ -16,6 +16,7 @@ import { import { fontHeading } from "@/lib/fonts" import { cn } from "@/lib/utils" import AppWindow from "@/components/ui/window" +import Contact from "@/components/contact" import SpotlightStack from "@/components/spotlight-stack" export const metadata: Metadata = { @@ -125,6 +126,7 @@ export default function DeviceManagerPage() { /> + ) } diff --git a/app/extensions/domain-manager/page.tsx b/app/extensions/domain-manager/page.tsx index 035d0ce..a7ab618 100644 --- a/app/extensions/domain-manager/page.tsx +++ b/app/extensions/domain-manager/page.tsx @@ -14,6 +14,7 @@ import { import { fontHeading } from "@/lib/fonts" import { cn } from "@/lib/utils" import AppWindow from "@/components/ui/window" +import Contact from "@/components/contact" import SpotlightStack from "@/components/spotlight-stack" export const metadata: Metadata = { @@ -104,6 +105,7 @@ export default function DomainManagerPage() { /> + ) } diff --git a/app/extensions/network-explorer/page.tsx b/app/extensions/network-explorer/page.tsx index 3b2e550..a02aae6 100644 --- a/app/extensions/network-explorer/page.tsx +++ b/app/extensions/network-explorer/page.tsx @@ -7,6 +7,7 @@ import { Bug, Eye, List, MonitorCheck, Scan, ShieldAlert } from "lucide-react" import { fontHeading } from "@/lib/fonts" import { cn } from "@/lib/utils" import AppWindow from "@/components/ui/window" +import Contact from "@/components/contact" import SpotlightStack from "@/components/spotlight-stack" export const metadata: Metadata = { @@ -98,6 +99,7 @@ export default function NetworkExplorerPage() { /> + ) } diff --git a/app/extensions/network-monitor/page.tsx b/app/extensions/network-monitor/page.tsx index 510820d..55772e9 100644 --- a/app/extensions/network-monitor/page.tsx +++ b/app/extensions/network-monitor/page.tsx @@ -14,6 +14,7 @@ import { import { fontHeading } from "@/lib/fonts" import { cn } from "@/lib/utils" import AppWindow from "@/components/ui/window" +import Contact from "@/components/contact" import SpotlightStack from "@/components/spotlight-stack" export const metadata: Metadata = { @@ -104,6 +105,7 @@ export default function NetworkMonitorPage() { /> + ) } diff --git a/components/contact.tsx b/components/contact.tsx new file mode 100644 index 0000000..308447c --- /dev/null +++ b/components/contact.tsx @@ -0,0 +1,21 @@ +"use client" + +import { GoogleReCaptchaProvider } from "react-google-recaptcha-v3" + +import ContactSection from "./home/contact" + +export default function Contact() { + return ( + + + + ) +} diff --git a/components/footer.tsx b/components/footer.tsx index 687f780..0a641f0 100644 --- a/components/footer.tsx +++ b/components/footer.tsx @@ -1,9 +1,18 @@ +"use client" + import * as React from "react" import Link from "next/link" import { cn } from "@/lib/utils" import { Aciklab } from "./logos/aciklab" +import { + NavigationMenu, + NavigationMenuItem, + NavigationMenuLink, + NavigationMenuList, + navigationMenuTriggerStyle, +} from "./ui/navigation-menu" export function SiteFooter({ className }: React.HTMLAttributes) { return ( @@ -16,16 +25,48 @@ export function SiteFooter({ className }: React.HTMLAttributes) { target="_blank" > - -

{new Date().getFullYear()} © HAVELSAN A.Ş.

+ + + + + + Eklentiler + + + + + + + Dokümantasyon + + + + + + + Teknik Doküman + + + + + + + İletişim + + + + + diff --git a/components/home/contact.tsx b/components/home/contact.tsx index a78ad40..ed81099 100644 --- a/components/home/contact.tsx +++ b/components/home/contact.tsx @@ -14,7 +14,18 @@ export default function ContactSection({ className }: { className?: string }) {
-
+
+ Liman Merkezi Yönetim Sistemi +
- Liman Merkezi Yönetim Sistemi +
diff --git a/components/home/hero.tsx b/components/home/hero.tsx index 862e7a3..d67038f 100644 --- a/components/home/hero.tsx +++ b/components/home/hero.tsx @@ -44,7 +44,7 @@ export default function Hero() { height={100} priority={true} loading="eager" - className="pointer-events-none absolute bottom-[-6vh] left-[-3vw] z-10 hidden md:block" + className="pointer-events-none absolute bottom-[0vh] left-[-3vw] z-10 hidden md:block" /> - {theme === "dark" ? ( - + {theme === "light" ? ( + ) : ( - + )} - - - - Eklentiler - - - - - - Dokümantasyon - -
    - - Tüm Liman dokümantasyonuna erişebilirsiniz. - - - Liman kullanımı için hazırlanan kullanım kılavuzu. - - - Liman kurulumu için gerekli adımları takip edin. - - - Liman için yayınlanmış güvenlik yama notları. - - - Liman için eklenti geliştirme kılavuzu. Sistemlerle entegre - olun. - - - Kavram ispat çalışması için gerekli kurulum dokümanları ve - yönergeler. - -
-
-
- - - - Datasheet - - - - - - - İletişim - - - -
-
+