Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add featured whitepapers page #462

Merged
merged 1 commit into from
Nov 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
100 changes: 100 additions & 0 deletions src/app/(pages)/whitepapers/page.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
"use client"
import React from 'react';

const whitepapers = [
{
category: "Featured Whitepapers",
items: [
{ title: "Boston Consulting Group: Any company can become a resilient data champion", description: "Insights from 700 global business leaders reveal the secrets to data maturity." },
{ title: "Deliver software securely", description: "Learn industry standards and best practices to secure every stage in your software supply chain." },
{ title: "Evaluate your cloud migration options", description: "Devise your migration strategy that empowers both the business and IT." },
{ title: "Understand the principles of cost optimization", description: "Discover five ways to reduce overall cloud spend with a cost optimization strategy." },
{ title: "Designing Cloud Teams", description: "How to Build a Better Cloud Center of Excellence." },
],
},
{
category: "AI and ML",
items: [
{ title: "A Platform Approach to Scaling Generative AI in the Enterprise", description: "Explore why AI platforms, not just models, are important for scaling generative AI for enterprises." },
{ title: "Enabling Generative AI Value: Creating An Evaluation Framework for Your Organization", description: "Explore how to develop a framework to evaluate generative AI beyond basic task metrics." },
{ title: "Selecting the right model Customization and Augmentation techniques", description: "Use RAG, fine-tuning, prompt engineering, and other techniques to improve performance." },
],
},
{
category: "Cloud Basics",
items: [
{ title: "Google’s guide to innovation", description: "Learn how Google developed a work culture that fosters creative thinking." },
{ title: "Increasing business value with better IT operations: A guide to SRE", description: "Learn what SRE is and how it can improve IT operations." },
{ title: "SAP on Google Cloud: High availability", description: "Architect SAP systems in Google Cloud for high availability." },
],
},
];

const WhitepapersPage = () => {
return (
<div className="bg-gray-50 min-h-screen p-6">
{/* Header Section */}
<header className="flex justify-between items-center p-6 bg-gradient-to-r from-blue-500 to-indigo-600 text-white shadow-md rounded-lg">
<div>
<h1 className="text-3xl font-bold">Google Cloud Whitepapers</h1>
<p className="mt-2">Written by Googlers, independent analysts, customers, and partners, these whitepapers explain the technology underlying our products and services or examine topics such as security, architecture, and data governance.</p>
</div>
<button className="bg-white text-blue-600 px-4 py-2 rounded-md font-semibold">Contact us</button>
</header>

{/* Sidebar and Content */}
<div className="flex flex-wrap lg:flex-nowrap mt-8 gap-6">
{/* Sidebar */}
<aside className="w-full lg:w-1/4 bg-white p-4 shadow-md rounded-lg">
<h2 className="text-lg font-semibold mb-4">More from Google Cloud</h2>
<ul className="space-y-2 text-blue-600">
<li><a href="#" className="hover:underline">Analyst Reports</a></li>
<li><a href="#" className="hover:underline">Solutions</a></li>
<li><a href="#" className="hover:underline">Blog</a></li>
</ul>
<h2 className="text-lg font-semibold mt-6 mb-4">Filter by</h2>
<div className="space-y-2">
<div className="flex items-center space-x-2">
<input type="checkbox" id="featured" className="w-4 h-4" />
<label htmlFor="featured" className="text-gray-700">Featured Whitepapers</label>
</div>
<div className="flex items-center space-x-2">
<input type="checkbox" id="ai" className="w-4 h-4" />
<label htmlFor="ai" className="text-gray-700">AI and ML</label>
</div>
<div className="flex items-center space-x-2">
<input type="checkbox" id="cloud-basics" className="w-4 h-4" />
<label htmlFor="cloud-basics" className="text-gray-700">Cloud Basics</label>
</div>
{/* Add more filters as needed */}
</div>
</aside>

{/* Main Content */}
<section className="w-full lg:w-3/4">
<div className="flex items-center space-x-4 mb-6">
<input type="text" placeholder="Search" className="w-full px-4 py-2 border rounded-lg shadow-sm focus:outline-none" />
<button className="bg-blue-600 text-white px-4 py-2 rounded-md font-semibold">Search</button>
</div>

{whitepapers.map((section, index) => (
<div key={index} className="mb-8">
<h2 className="text-2xl font-bold mb-4">{section.category}</h2>
<div className="grid md:grid-cols-2 lg:grid-cols-3 gap-6">
{section.items.map((item, idx) => (
<div key={idx} className="bg-white p-4 shadow-md rounded-lg hover:shadow-lg transition-shadow duration-200">
<h3 className="font-semibold text-lg mb-2">{item.title}</h3>
<p className="text-gray-700 mb-4">{item.description}</p>
<button className="text-blue-600 underline font-semibold">Read more</button>
</div>
))}
</div>
</div>
))}
</section>
</div>
</div>
);
};

export default WhitepapersPage;
Loading