feat: add contact section and home footer with Ataturk quote widget

This commit is contained in:
Poyraz Avsever
2026-04-16 10:06:06 +03:00
parent 0609170073
commit 2744059281
3 changed files with 22 additions and 3 deletions
+3 -1
View File
@@ -1,16 +1,18 @@
import { HomeHero } from "@/components/home-hero"; import { HomeHero } from "@/components/home-hero";
import { HomeVideosSection } from "@/components/home-videos-section"; import { HomeVideosSection } from "@/components/home-videos-section";
import { ReferencesSection } from "@/components/references-section"; import { ReferencesSection } from "@/components/references-section";
import { HomeFooterSection } from "@/components/home-footer-section";
import { getHomeBlogNews } from "@/data/blog"; import { getHomeBlogNews } from "@/data/blog";
export default async function Home() { export default async function Home() {
const homeNews = await getHomeBlogNews(3); const homeNews = await getHomeBlogNews(3);
return ( return (
<section className="flex h-full flex-col gap-4 overflow-hidden"> <section className="flex h-full flex-col gap-4 overflow-y-auto overflow-x-hidden">
<HomeHero news={homeNews} /> <HomeHero news={homeNews} />
<ReferencesSection /> <ReferencesSection />
<HomeVideosSection /> <HomeVideosSection />
<HomeFooterSection />
</section> </section>
); );
} }
+2 -2
View File
@@ -1,8 +1,8 @@
import Link from "next/link"; import Link from "next/link";
import { Icon } from "@iconify/react"; import { Icon } from "@iconify/react";
import { Card, Typography } from "poyraz-ui/atoms"; import { Card, Typography } from "poyraz-ui/atoms";
const CONTACT_LINKS = [ export const CONTACT_LINKS = [
{ {
id: "email", id: "email",
label: "E-posta", label: "E-posta",
+17
View File
@@ -0,0 +1,17 @@
"use client";
import Script from "next/script";
export function HomeFooterSection() {
return (
<div className="mt-auto flex w-full flex-col items-center justify-center pt-4">
<div data-ataturk-quote-widget data-language="tr" data-theme="light"></div>
<Script
src="https://ataturk-kronolojisi.org/widget/quote.js"
strategy="lazyOnload"
data-language="tr"
data-theme="light"
/>
</div>
);
}