diff --git a/data/blog.ts b/data/blog.ts index 7561909..cb5f537 100644 --- a/data/blog.ts +++ b/data/blog.ts @@ -52,6 +52,7 @@ export type BlogPageData = { const DEFAULT_IMAGE = "/news/design.svg"; const DEFAULT_READ_TIME = "5 min"; +const BLOG_CATEGORIES = ["All", "Frontend", "UX", "Yazilim", "TypeScript", "Testing", "General"]; function toTimestamp(value: string) { const timestamp = Date.parse(value); @@ -126,14 +127,7 @@ export async function getBlogPageData( selectedCategoryParam?: string, ): Promise { const articles = await getAllBlogArticles(); - const categories = [ - "All", - ...new Set( - articles - .map((item) => item.category.trim()) - .filter(Boolean), - ), - ]; + const categories = BLOG_CATEGORIES; const categoryByNormalized = new Map( categories.map((category) => [normalizeCategory(category), category]), ); @@ -152,7 +146,7 @@ export async function getBlogPageData( const podcastCollections = await getPodcastCollections(); return { - news: filteredArticles.slice(0, 4).map((item) => ({ + news: articles.slice(0, 4).map((item) => ({ id: `blog-news-${item.slug}`, title: item.title, category: item.category, diff --git a/data/projects.ts b/data/projects.ts index 5907f5f..c969076 100644 --- a/data/projects.ts +++ b/data/projects.ts @@ -11,97 +11,47 @@ export const MOBILE_APPS: ProjectItem[] = [ { id: "targiz-app", title: "Targiz App", - description: - "Ottoqua ekibiyle birlikte geliştirdiğimiz, küçük ölçekli üreticilere sahada destek veren yapay zeka destekli tarım uygulaması.", - image: "/images/hero1.png", badge: "Agritech", - href: "https://ottoqua.com", - }, - { - id: "pixel-sinav", - title: "Pixel Sınav", - description: - "Pixel art odaklı arayüzüyle zamanlı deneme ve soru çözümü sunan oyunlaştırılmış sınav hazırlık platformu.", - image: "/news/design.svg", - badge: "Education", - href: "https://github.com/poyrazavsever/PixelSinav-Frontend", - }, - { - id: "movie-app", - title: "Movie Discovery App", - description: - "TMDb API kullanan, izleme listesi ve ruh haline göre filtreleme özellikleriyle film keşfini kolaylaştıran yan proje.", - image: "/images/hero2.png", - badge: "TMDb", - href: "https://movie-app-v2-zcp7.vercel.app", - }, + image: "/news/performance.svg", + href: "https://targiz.com", + description: "Ottoqua ekibiyle birlikte geliştirdiğimiz, küçük ölçekli üreticilere sahada destek veren yapay zeka destekli tarım uygulaması." + } ]; export const WEB_APPS: ProjectItem[] = [ { id: "arc-foreign-trade", title: "ARC Foreign Trade", - description: - "Ankara merkezli ihracat odaklı bir üretici firma için kurumsal web sitesi yenileme projesi.", + description: "Ankara merkezli ihracat odaklı bir üretici firma için kurumsal web sitesi yenileme projesi.", image: "/news/performance.svg", badge: "Freelance", - href: "https://arcforeigntrade.com", + href: "https://arcforeigntrade.com" }, { id: "ataturk-chronology", title: "Atatürk Kronolojisi", - description: - "Atatürk’ün hayatındaki önemli olayları, konuşmaları ve reformları etkileşimli bir zaman çizelgesiyle sunan web deneyimi.", + description: "Atatürk’ün hayatındaki önemli olayları, konuşmaları ve reformları etkileşimli bir zaman çizelgesiyle sunan web deneyimi.", image: "/news/design.svg", badge: "Timeline", - href: "https://ataturk-kronolojisi.org", - }, - { - id: "urun-uncu", - title: "Ürün Üncü", - description: - "Dijital ürün, isteğe bağlı video ve bire bir danışmanlık satışı yapılan tam kapsamlı e-ticaret platformu.", - image: "/images/hero1.png", - badge: "Commerce", - href: "https://urununcu.com", + href: "https://ataturk-kronolojisi.org" }, { id: "mockup-factory", title: "Mockup Factory", - description: - "Görsellerin cihaz mockup’larına saniyeler içinde dönüştürüldüğü, tamamen tarayıcı üzerinde çalışan açık kaynak araç.", + description: "Görsellerin cihaz mockup’larına saniyeler içinde dönüştürüldüğü, tamamen tarayıcı üzerinde çalışan açık kaynak araç.", image: "/news/performance.svg", badge: "Open Source", - href: "https://mockup-factory-mu.vercel.app/", - }, + href: "https://mockup-factory-mu.vercel.app/" + } ]; export const FIGMA_TEMPLATES: ProjectItem[] = [ { - id: "reactive-switcher", - title: "Reactive Switcher", - description: - "React ve Tailwind v4 için type-safe, zero-runtime tema geçişi sağlayan açık kaynak paket.", - image: "/news/design.svg", - badge: "npm", - href: "https://reactive-switcher-j9qb.vercel.app/", - }, - { - id: "reactive-image", - title: "Reactive Image", - description: - "Statik görselleri animasyonlu ve tema uyumlu hale getiren, hero alanları için geliştirilmiş React bileşeni.", - image: "/news/performance.svg", - badge: "React", - href: "https://reactive-image.vercel.app", - }, - { - id: "readme-maker", - title: "README Maker", - description: - "Canlı önizleme ve dışa aktarma özellikleri sunan, GitHub profil README üretimini kolaylaştıran araç.", - image: "/images/hero2.png", - badge: "Tooling", - href: "https://readme-maker-eight.vercel.app", - }, + id: "hsd-website", + title: "HSD Community Web Site", + badge: "figma", + image: "/projects/hsd.png", + href: "https://www.figma.com/community/file/1613511833232376739", + description: "HSD Community için Web Site tasarımı. Component, dashboard, landing page, profile sayfaları" + } ]; diff --git a/public/projects/hsd.png b/public/projects/hsd.png new file mode 100644 index 0000000..e74a198 Binary files /dev/null and b/public/projects/hsd.png differ diff --git a/public/projects/targiz.png b/public/projects/targiz.png new file mode 100644 index 0000000..8b9e626 Binary files /dev/null and b/public/projects/targiz.png differ