Skip to content

Commit 64d540b

Browse files
committed
Add voyage oage
1 parent dcd5bcd commit 64d540b

File tree

4 files changed

+97
-0
lines changed

4 files changed

+97
-0
lines changed

public/voy1.png

9.95 KB
Loading

public/voy2.jpeg

8.56 KB
Loading

public/voy3.png

6.48 KB
Loading

src/app/(pages)/Voyages/page.jsx

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
"use client"
2+
import React from 'react';
3+
import { BarChart2, Globe } from 'lucide-react';
4+
5+
const datasets = [
6+
{
7+
id: 1,
8+
title: "Tech Trends Over Time",
9+
description: "Explore the rise and fall of different technologies over the last 20 years. This animated infographic lets you visualize how certain programming languages and tech stacks gained popularity.",
10+
mediaUrl: "/voy1.png",
11+
type: "Infographic",
12+
},
13+
{
14+
id: 2,
15+
title: "Global Internet Usage",
16+
description: "Discover the journey of internet adoption across different continents. This animated visualization highlights internet penetration rates by year.",
17+
mediaUrl: "/voy2.png",
18+
type: "Infographic",
19+
},
20+
{
21+
id: 3,
22+
title: "Community Engagement Stats",
23+
description: "This infographic shows how community engagement activities, including workshops and hackathons, have increased over time in GDG chapters globally.",
24+
mediaUrl: "/images/community_engagement.gif",
25+
type: "Infographic",
26+
}
27+
];
28+
29+
const DataVoyages = () => {
30+
return (
31+
<div className="min-h-screen bg-gradient-to-b from-gray-900 via-gray-800 to-black text-gray-100 p-8 sm:p-16">
32+
<header className="flex flex-col md:flex-row justify-between items-center mb-16">
33+
<div className="mb-8 md:mb-0">
34+
<h1 className="text-4xl sm:text-6xl font-bold leading-tight text-teal-400">Data Voyages</h1>
35+
<p className="text-lg sm:text-xl mt-4">Visualize fascinating datasets related to tech trends, social impact, and community engagement through creative, animated infographics.</p>
36+
</div>
37+
<Globe size={64} className="text-teal-400 animate-spin-slow" />
38+
</header>
39+
40+
{/* Dataset Visualization Section */}
41+
<div className="max-w-6xl mx-auto grid grid-cols-1 md:grid-cols-2 gap-12 mb-16">
42+
{datasets.map((dataset) => (
43+
<div key={dataset.id} className="bg-gray-800 rounded-md shadow-lg p-8 border-l-4 border-teal-500 transition-transform transform hover:-translate-y-2 hover:shadow-2xl">
44+
<div className="flex items-start gap-4 mb-4">
45+
<BarChart2 size={32} className="text-teal-300" />
46+
<h3 className="text-3xl font-bold">{dataset.title}</h3>
47+
</div>
48+
<p className="text-lg text-gray-300 mb-4">{dataset.description}</p>
49+
<img src={dataset.mediaUrl} alt={dataset.title} className="w-full rounded-md shadow-md" />
50+
</div>
51+
))}
52+
</div>
53+
54+
{/* Why Data Visualization Matters Section */}
55+
<section className="max-w-6xl mx-auto mb-16 bg-gray-800 p-10 rounded-md shadow-lg">
56+
<h2 className="text-3xl font-bold mb-6 text-teal-400">Why Data Visualization Matters</h2>
57+
<p className="text-lg text-gray-300 mb-6">
58+
Data visualization helps us make sense of large volumes of data by presenting information in an engaging and accessible format. It allows us to see patterns, trends, and insights that might otherwise be hidden in raw numbers.
59+
</p>
60+
<ul className="list-disc list-inside space-y-4 text-gray-300">
61+
<li>Visual storytelling makes complex data easier to understand and interpret.</li>
62+
<li>Animated infographics capture attention and help convey information in a dynamic way.</li>
63+
<li>Understanding data trends empowers communities and drives informed decision-making.</li>
64+
</ul>
65+
</section>
66+
67+
{/* Tools and Resources for Visualization Section */}
68+
<section className="max-w-6xl mx-auto mb-16 p-10 bg-gradient-to-b from-gray-800 to-black rounded-md shadow-md">
69+
<h2 className="text-3xl font-bold mb-4 text-teal-400">Tools and Resources for Visualization</h2>
70+
<div className="flex flex-wrap gap-6">
71+
<div className="bg-gray-900 p-6 rounded-md shadow-sm flex-1 min-w-[250px]">
72+
<h3 className="text-xl font-bold mb-2 text-teal-300">D3.js</h3>
73+
<p className="text-sm text-gray-400">A powerful JavaScript library for producing dynamic, interactive data visualizations in web browsers.</p>
74+
</div>
75+
<div className="bg-gray-900 p-6 rounded-md shadow-sm flex-1 min-w-[250px]">
76+
<h3 className="text-xl font-bold mb-2 text-teal-300">Tableau</h3>
77+
<p className="text-sm text-gray-400">A leading platform for data visualization that helps users convert data into dashboards and visual insights.</p>
78+
</div>
79+
<div className="bg-gray-900 p-6 rounded-md shadow-sm flex-1 min-w-[250px]">
80+
<h3 className="text-xl font-bold mb-2 text-teal-300">Chart.js</h3>
81+
<p className="text-sm text-gray-400">A simple yet flexible JavaScript charting library that allows you to create engaging data visualizations.</p>
82+
</div>
83+
</div>
84+
</section>
85+
86+
{/* Footer Section */}
87+
<footer className="text-center pt-12 pb-6 border-t border-gray-700">
88+
<p className="text-lg text-gray-400">Thanks for exploring Data Voyages. Dive into our visualizations and see what insights you can discover!</p>
89+
<button className="mt-4 bg-teal-600 text-white px-6 py-3 rounded-md shadow-md hover:bg-teal-700 transition-all">
90+
Explore More Data
91+
</button>
92+
</footer>
93+
</div>
94+
);
95+
};
96+
97+
export default DataVoyages;

0 commit comments

Comments
 (0)