From 6d31e5d92a163a4d7d9837562c35f07dbfb78dc5 Mon Sep 17 00:00:00 2001 From: MIGHTY1o1 Date: Sun, 27 Oct 2024 23:35:18 +0530 Subject: [PATCH] add fix color --- src/app/(pages)/devprod/page.jsx | 61 +++++++++++++++++++------------- 1 file changed, 36 insertions(+), 25 deletions(-) diff --git a/src/app/(pages)/devprod/page.jsx b/src/app/(pages)/devprod/page.jsx index bcbfd68..2e4317d 100644 --- a/src/app/(pages)/devprod/page.jsx +++ b/src/app/(pages)/devprod/page.jsx @@ -1,13 +1,14 @@ -"use client" +"use client"; import React, { useState } from 'react'; -import { Filter, Search } from 'lucide-react'; +import { Search } from 'lucide-react'; +// Header Section with Search Bar const Header = () => { return ( -
+

Developer Products

-

- Explore our suite of developer products designed to fuel innovation, streamline development, and unlock new growth for your projects. +

+ Discover powerful tools and platforms designed to accelerate your development journey with Google.

{ placeholder="Search for a product..." className="flex-grow py-3 px-4 text-gray-800 focus:outline-none" /> -
@@ -23,13 +24,9 @@ const Header = () => { ); }; +// Filter Section with Category and Development Focus Buttons const Filters = ({ selectedCategory, setSelectedCategory, selectedFocus, setSelectedFocus }) => { - const categories = [ - "Platforms and Operating Systems", - "Frameworks, IDEs and SDKs", - "Services and Integrations", - "Growth and Monetization", - ]; + const categories = ["Platforms", "Frameworks", "Services", "Growth"]; const focusAreas = ["AI", "Mobile", "Web", "Cloud"]; return ( @@ -42,7 +39,10 @@ const Filters = ({ selectedCategory, setSelectedCategory, selectedFocus, setSele @@ -56,7 +56,10 @@ const Filters = ({ selectedCategory, setSelectedCategory, selectedFocus, setSele @@ -68,19 +71,28 @@ const Filters = ({ selectedCategory, setSelectedCategory, selectedFocus, setSele ); }; +// Product Card Component with Classy Hover Effect const ProductCard = ({ product }) => { return ( -
- {product.title} -

{product.title}

+
+ {product.title} +

{product.title}

{product.description}

- + Explore
); }; +// Product Grid Section const ProductGrid = ({ products }) => { return (
@@ -103,40 +115,39 @@ const DeveloperProductsPage = () => { { title: "Android", description: "Modern tools to help you build experiences that people love across every Android device.", - image: "/devprod1.jpeg", // Replace with actual path + image: "/devprod1.jpeg", link: "#", }, { title: "Google Cloud", description: "New customers get $300 in free credits to deploy dynamic websites and launch VMs.", - image: "/devprod2.png", // Replace with actual path + image: "/devprod2.png", link: "#", }, { title: "Google AI Studio", description: "Build generative AI applications quickly with Gemini in Google AI Studio.", - image: "/devprod3.jpeg", // Replace with actual path + image: "/devprod3.jpeg", link: "#", }, { title: "ChromeOS", description: "Modern tools and features to help you build high-quality web experiences.", - image: "/devprod4.png",// Replace with actual path + image: "/devprod4.png", link: "#", }, { title: "Android Studio", description: "An integrated development environment (IDE) optimized for Android apps.", - image: "/devprod5.jpeg", // Replace with actual path + image: "/devprod5.jpeg", link: "#", }, { title: "Firebase Cloud Messaging", description: "A cross-platform messaging solution to reliably send messages at no cost.", - image: "/devprod6.jpeg", // Replace with actual path + image: "/devprod6.jpeg", link: "#", }, - // Add more products as needed ]; return (