b08x commited on
Commit
7a9f41a
·
verified ·
1 Parent(s): 8996b36

Upload pages/podcasts.js with huggingface_hub

Browse files
Files changed (1) hide show
  1. pages/podcasts.js +143 -0
pages/podcasts.js ADDED
@@ -0,0 +1,143 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Layout from '../components/Layout';
2
+ import PodcastCard from '../components/PodcastCard';
3
+
4
+ const podcasts = [
5
+ {
6
+ id: 1,
7
+ title: 'The Future of AI Development Tools',
8
+ description: 'Discussing how AI coding assistants are transforming software development workflows and what the next generation of developer tools looks like.',
9
+ category: 'Technology',
10
+ duration: '45 min',
11
+ date: 'Dec 8, 2024',
12
+ host: 'Sarah Chen',
13
+ hostAvatar: 'https://picsum.photos/seed/host1/100/100',
14
+ image: 'https://picsum.photos/seed/podcast1/800/450',
15
+ },
16
+ {
17
+ id: 2,
18
+ title: 'Building Open Source AI Infrastructure',
19
+ description: 'A deep conversation about the challenges and rewards of building open source tools for the AI/ML community.',
20
+ category: 'Open Source',
21
+ duration: '52 min',
22
+ date: 'Dec 1, 2024',
23
+ host: 'Marcus Johnson',
24
+ hostAvatar: 'https://picsum.photos/seed/host2/100/100',
25
+ image: 'https://picsum.photos/seed/podcast2/800/450',
26
+ },
27
+ {
28
+ id: 3,
29
+ title: 'LLMs in Production: Lessons Learned',
30
+ description: 'Real-world experiences deploying large language models at scale, including optimization strategies and failure modes.',
31
+ category: 'Engineering',
32
+ duration: '38 min',
33
+ date: 'Nov 24, 2024',
34
+ host: 'Elena Rodriguez',
35
+ hostAvatar: 'https://picsum.photos/seed/host3/100/100',
36
+ image: 'https://picsum.photos/seed/podcast3/800/450',
37
+ },
38
+ {
39
+ id: 4,
40
+ title: 'The Rise of AI Agents',
41
+ description: 'Exploring the emergence of autonomous AI agents and their potential to revolutionize automation across industries.',
42
+ category: 'AI Trends',
43
+ duration: '48 min',
44
+ date: 'Nov 17, 2024',
45
+ host: 'David Kim',
46
+ hostAvatar: 'https://picsum.photos/seed/host4/100/100',
47
+ image: 'https://picsum.photos/seed/podcast4/800/450',
48
+ },
49
+ {
50
+ id: 5,
51
+ title: 'Prompt Engineering Masterclass',
52
+ description: 'Advanced techniques for crafting effective prompts, from chain-of-thought to few-shot learning strategies.',
53
+ category: 'Tutorial',
54
+ duration: '55 min',
55
+ date: 'Nov 10, 2024',
56
+ host: 'Sarah Chen',
57
+ hostAvatar: 'https://picsum.photos/seed/host1/100/100',
58
+ image: 'https://picsum.photos/seed/podcast5/800/450',
59
+ },
60
+ {
61
+ id: 6,
62
+ title: 'Vector Databases Explained',
63
+ description: 'Understanding vector databases, embeddings, and their critical role in modern AI applications.',
64
+ category: 'Technology',
65
+ duration: '42 min',
66
+ date: 'Nov 3, 2024',
67
+ host: 'Marcus Johnson',
68
+ hostAvatar: 'https://picsum.photos/seed/host2/100/100',
69
+ image: 'https://picsum.photos/seed/podcast6/800/450',
70
+ },
71
+ ];
72
+
73
+ const categories = ['All', 'Technology', 'Open Source', 'Engineering', 'AI Trends', 'Tutorial'];
74
+
75
+ export default function Podcasts() {
76
+ return (
77
+ <Layout title="Podcasts" subtitle="Audio & Video Shows">
78
+ {/* Featured Episode */}
79
+ <div className="mb-12 brutal-card bg-brutal-black text-brutal-white">
80
+ <div className="grid md:grid-cols-2 gap-8 items-center">
81
+ <div className="order-2 md:order-1">
82
+ <span className="font-mono text-xs bg-brutal-accent text-brutal-white px-2 py-1 mb-4 inline-block">
83
+ Featured Episode
84
+ </span>
85
+ <h2 className="text-2xl md:text-3xl font-bold mb-4">
86
+ The Future of AI Development Tools
87
+ </h2>
88
+ <p className="text-brutal-gray mb-6">
89
+ Discussing how AI coding assistants are transforming software development
90
+ workflows and what the next generation of developer tools looks like.
91
+ </p>
92
+ <div className="flex items-center gap-4 mb-6">
93
+ <img
94
+ src="https://picsum.photos/seed/host1/100/100"
95
+ alt="Sarah Chen"
96
+ className="w-12 h-12 border-2 border-brutal-white"
97
+ />
98
+ <div>
99
+ <p className="font-semibold">Sarah Chen</p>
100
+ <p className="font-mono text-xs text-brutal-gray">Host</p>
101
+ </div>
102
+ </div>
103
+ <button className="brutal-btn bg-brutal-white text-brutal-black">
104
+ Play Episode
105
+ </button>
106
+ </div>
107
+ <div className="order-1 md:order-2">
108
+ <img
109
+ src="https://picsum.photos/seed/podcast1/800/450"
110
+ alt="Featured"
111
+ className="w-full border-2 border-brutal-white"
112
+ />
113
+ </div>
114
+ </div>
115
+ </div>
116
+
117
+ {/* Categories */}
118
+ <div className="mb-8 flex flex-wrap gap-2">
119
+ {categories.map((category) => (
120
+ <button
121
+ key={category}
122
+ className={`
123
+ font-mono text-sm px-4 py-2 border-2 transition-all
124
+ ${category === 'All'
125
+ ? 'bg-brutal-black text-brutal-white border-brutal-black'
126
+ : 'border-brutal-black hover:bg-brutal-black hover:text-brutal-white'
127
+ }
128
+ `}
129
+ >
130
+ {category}
131
+ </button>
132
+ ))}
133
+ </div>
134
+
135
+ {/* Podcast Grid */}
136
+ <div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
137
+ {podcasts.map((podcast) => (
138
+ <PodcastCard key={podcast.id} podcast={podcast} />
139
+ ))}
140
+ </div>
141
+ </Layout>
142
+ );
143
+ }