Mirrored from https://github.com/Camo67/OCIU-npo.git
Synced Nov 21, 07:15 UTC
fix/ociu-hero-navigation-20261109
| 1 | import React, { useState } from 'react'; |
| 2 | import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"; |
| 3 | import { Badge } from "@/components/ui/badge"; |
| 4 | import { Button } from "@/components/ui/button"; |
| 5 | import { Input } from "@/components/ui/input"; |
| 6 | import { Briefcase, MapPin, Sparkles } from "lucide-react"; |
| 7 | |
| 8 | export const JobBoard = () => { |
| 9 | const jobs = [ |
| 10 | { title: "Junior Frontend Developer", company: "TechFlow", type: "Remote", skills: ["React", "Tailwind"] }, |
| 11 | { title: "UI/UX Design Intern", company: "Creative Co", type: "Cape Town", skills: ["Figma", "Design Systems"] }, |
| 12 | ]; |
| 13 | |
| 14 | return ( |
| 15 | <Card> |
| 16 | <CardHeader> |
| 17 | <CardTitle className="flex items-center gap-2"> |
| 18 | <Briefcase className="text-primary" /> |
| 19 | Real Opportunities |
| 20 | </CardTitle> |
| 21 | </CardHeader> |
| 22 | <CardContent className="space-y-4"> |
| 23 | {jobs.map((job) => ( |
| 24 | <div key={job.title} className="p-4 bg-muted/30 rounded-xl border border-border group hover:border-primary/50 transition-all"> |
| 25 | <div className="flex justify-between items-start mb-2"> |
| 26 | <div> |
| 27 | <h4 className="font-bold text-lg">{job.title}</h4> |
| 28 | <p className="text-sm text-muted-foreground flex items-center gap-1"> |
| 29 | {job.company} • <MapPin size={12} /> {job.type} |
| 30 | </p> |
| 31 | </div> |
| 32 | <Badge variant="energy">New</Badge> |
| 33 | </div> |
| 34 | <div className="flex gap-2 mb-4"> |
| 35 | {job.skills.map(s => <Badge key={s} variant="secondary" className="text-[10px]">{s}</Badge>)} |
| 36 | </div> |
| 37 | <div className="flex gap-2"> |
| 38 | <Button size="sm" className="w-full">Apply Now</Button> |
| 39 | <Button size="sm" variant="growth" className="w-full"> |
| 40 | <Sparkles className="mr-2 h-4 w-4" /> Prepare Me |
| 41 | </Button> |
| 42 | </div> |
| 43 | </div> |
| 44 | ))} |
| 45 | </CardContent> |
| 46 | </Card> |
| 47 | ); |
| 48 | }; |