import { FeedItem } from "@/components/ExpandableItem"; import { Category } from "@/components/CollapsibleCategory"; // random generated data to check the UI before I connect to the server and fetch data // ── 1st Year Subjects ─────────────────────────────────────────────────────── const YEAR_1_SUBJECTS = [ { id: "y1-maths", title: "Mathematics I", author: "Prof. John Doe", timestamp: "2 hours ago", tag: "Mathematics", paragraphs: [ "Introduction to Calculus, Linear Algebra, and Differential Equations.", "Topics include Limits, Continuity, and Integration techniques." ] }, { id: "y1-physics", title: "Physics I", author: "Prof. Jane Smith", timestamp: "5 hours ago", tag: "Physics", paragraphs: [ "Fundamentals of Mechanics, Thermodynamics, and Waves.", "Topics include Newton’s Laws, Energy, and Thermodynamics." ] }, ]; // ── 2nd Year Subjects ─────────────────────────────────────────────────────── const YEAR_2_SUBJECTS = [ { id: "y2-maths", title: "Mathematics II", author: "Prof. Alan Walker", timestamp: "1 day ago", tag: "Mathematics", paragraphs: [ "Advanced Calculus, Linear Algebra, and Complex Analysis.", "Topics include Eigenvalues, Eigenvectors, and Fourier Series." ] }, { id: "y2-electronics", title: "Basic Electronics", author: "Prof. Emma Stone", timestamp: "Yesterday", tag: "Electronics", paragraphs: [ "Introduction to basic electrical circuits, components, and semiconductor devices.", "Topics include Resistors, Capacitors, Diodes, and Transistors." ] }, ]; // ── 3rd Year Subjects ─────────────────────────────────────────────────────── const YEAR_3_SUBJECTS = [ { id: "y3-maths", title: "Mathematics III", author: "Prof. Robert Brown", timestamp: "3 days ago", tag: "Mathematics", paragraphs: [ "Partial Differential Equations, Laplace Transforms, and Numerical Methods.", "Topics include PDEs, Laplace Transforms, and Optimization Techniques." ] }, { id: "y3-physics", title: "Physics III", author: "Prof. Alice White", timestamp: "Yesterday", tag: "Physics", paragraphs: [ "Quantum Mechanics, Relativity, and Solid-State Physics.", "Topics include Schrödinger’s Equation, Quantum States, and Relativity." ] }, ]; // ── 4th Year Subjects ─────────────────────────────────────────────────────── const YEAR_4_SUBJECTS = [ { id: "y4-electronics", title: "Electronics Engineering Design", author: "Prof. Kate Johnson", timestamp: "1 week ago", tag: "Electronics", paragraphs: [ "Project-based learning and design of electronic systems.", "Topics include Embedded Systems, PCB Design, and Signal Processing." ] }, { id: "y4-physics", title: "Physics IV", author: "Prof. Michael Harris", timestamp: "5 days ago", tag: "Physics", paragraphs: [ "Advanced topics in Particle Physics, Astrophysics, and Nuclear Physics.", "Topics include Quantum Field Theory, Astrophysics, and Particle Accelerators." ] }, ]; // ── Subscribed Feed ────────────────────────────────────────────────────────── export const SUBSCRIBED_ITEMS: FeedItem[] = [ { id: "s1", title: "Mathematics I", author: "Prof. John Doe", timestamp: "2 hours ago", tag: "Mathematics", paragraphs: YEAR_1_SUBJECTS[0].paragraphs, }, { id: "s2", title: "Physics I", author: "Prof. Jane Smith", timestamp: "5 hours ago", tag: "Physics", paragraphs: YEAR_1_SUBJECTS[1].paragraphs, }, { id: "s3", title: "Mathematics II", author: "Prof. Alan Walker", timestamp: "1 day ago", tag: "Mathematics", paragraphs: YEAR_2_SUBJECTS[0].paragraphs, }, { id: "s4", title: "Basic Electronics", author: "Prof. Emma Stone", timestamp: "Yesterday", tag: "Electronics", paragraphs: YEAR_2_SUBJECTS[1].paragraphs, }, { id: "s5", title: "Mathematics III", author: "Prof. Robert Brown", timestamp: "3 days ago", tag: "Mathematics", paragraphs: YEAR_3_SUBJECTS[0].paragraphs, }, ]; // ── All Feed: Years & Subjects ────────────────────────────────────────────── export const ALL_CATEGORIES: Category[] = [ { id: "cat-year-1", label: "1st Year", icon: "book-outline", color: "#3B7DD8", darkColor: "#5E9EF4", items: YEAR_1_SUBJECTS, }, { id: "cat-year-2", label: "2nd Year", icon: "book-outline", color: "#2E9E6B", darkColor: "#4EC992", items: YEAR_2_SUBJECTS, }, { id: "cat-year-3", label: "3rd Year", icon: "book-outline", color: "#9B4FB8", darkColor: "#C47CE0", items: YEAR_3_SUBJECTS, }, { id: "cat-year-4", label: "4th Year", icon: "book-outline", color: "#C4622D", darkColor: "#E07B45", items: YEAR_4_SUBJECTS, }, ];