- {Object.entries(values).map(([key, value], index) => (
-
-
-
-
(rowRefs.current[index] = el)}>
-
-
-
+ )}
+
-
-
-
(valueRefs.current[index] = el)}>
-
-
-
-
+
+ {Object.entries(values).map(([key, value], idx) => (
+
+
+
-
-
(lineRefs.current[index] = el)}
- className="h-[1px] w-full bg-white"
- />
-
+
(valueRefs.current[idx] = el)}
+ >
+
- ))}
-
+
+
+
+ ))}
- )
+ );
}
-export default Speaker
+export default Speaker;
diff --git a/src/components/Speakers.jsx b/src/components/Speakers.jsx
index da1e9eb..aaf875f 100644
--- a/src/components/Speakers.jsx
+++ b/src/components/Speakers.jsx
@@ -1,87 +1,70 @@
-import React from 'react'
-import Speaker from './Speaker.jsx'
-import AnimatedText from './text.jsx'
+import React from "react";
+import Speaker from "./Speaker.jsx";
+import AnimatedText from "./text.jsx";
function Speakers() {
+ const speakersData = [
+ {
+ name: "Yeyati Prasher",
+ image: "/cool-peeps/yeyati.jpg",
+ subname: "Linux Basics",
+ values: {
+ "Introduction to Linux": "Understanding the basics",
+ "Command Line Tools": "Essential CLI utilities",
+ "File System": "Navigating and managing files",
+ "Networking": "Linux network fundamentals",
+ },
+ },
+ {
+ name: "Sid Karnam",
+ image: "/cool-peeps/sid.jpg",
+ subname: "Binary Exploitation",
+ values: {
+ "OSINT Basics": "What is Open Source Intelligence?",
+ "Finding Information": "Techniques and tools",
+ "Data Analysis": "Extracting insights",
+ "Social Engineering": "How OSINT aids in cybersecurity",
+ },
+ },
+ {
+ name: "Goutham Rajeev",
+ image: "/cool-peeps/goutham.jpg",
+ subname: "Web Security",
+ values: {
+ "Web Vulnerabilities": "XSS, CSRF, SQL Injection",
+ "Penetration Testing": "Tools and techniques",
+ "Exploiting Web Apps": "Fixing security loopholes",
+ },
+ },
+ {
+ name: "Preetham Pemmasani",
+ image: "/cool-peeps/preetham.jpg",
+ subname: "OSINT",
+ values: {
+ "OSINT Basics": "What is Open Source Intelligence?",
+ "Finding Information": "Techniques and tools",
+ "Data Analysis": "Extracting insights",
+ "Social Engineering": "How OSINT aids in cybersecurity",
+ },
+ },
+ ];
+
return (
- <>
-
-
+
+
+
+
+ {speakersData.map((speaker, index) => (
+
+ ))}
-
-
-
-
- >
- )
+
+ );
}
-export default Speakers
+export default Speakers;