Job application tracker and AI-powered job search assistant. Helps job seekers manage their search journey with AI resume review, job matching, task logging, and application analytics, all while keeping your data private.
TypeScript ai-agentai-resume-analyzerapplication-trackerapplication-tracking-systematscareerjob-applicationjob-automationjob-huntingjob-searchjob-seeker-toolsjob-trackerjob-trackingjobsearchjobseekersmcpollamaresumeresume-reviewself-hosted
add myjobs page
Khuram Niaz38b703f3229c
diff --git a/public/icons/amazon-logo.svg b/public/icons/amazon-logo.svgnew file mode 100644index 0000000..4333025--- /dev/null+++ b/public/icons/amazon-logo.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" width="100" height="100" viewBox="0 0 100 100">+<path fill="#fbb97f" d="M10.707,73.5c-0.092,0-0.16,0.038-0.188,0.077c-0.054,0.074,0.014,0.227,0.167,0.38 C21.331,83.537,34.285,88.5,48,88.5c10.46,0,22.055-3.717,30.079-9.64l0.006-0.005c0.196-0.14,0.405-0.349,0.405-0.812 c0-0.305-0.341-0.54-0.686-0.54c-0.459,0-1.372,0.41-1.819,0.589C67.549,81.469,57.49,83.5,48,83.5 c-13.048,0-25.714-3.409-37.117-9.956C10.819,73.513,10.759,73.5,10.707,73.5z M78.5,73.5c2.5,0,3.594,0.368,4.145,1.135l0,0 C82.77,74.811,83,75.132,83,76c0,1.263-0.49,3.685-2.5,8.5c0.051-0.022,5-4,5-11c0-0.5-0.074-0.823-0.192-1 c-0.069-0.102-1.308-1-5.308-1c-5,0-7.464,1.937-7.5,2C72.534,73.5,75.542,73.5,78.5,73.5z"></path><path fill="#1f212b" d="M48,89c-13.965,0-26.983-5.073-37.648-14.671c-0.431-0.43-0.402-0.818-0.238-1.045 c0.2-0.276,0.631-0.367,0.99-0.188C22.401,79.58,35.149,83,48,83c9.139,0,19.271-1.959,27.8-5.373l0.224-0.092 c0.681-0.281,1.329-0.533,1.781-0.533c0.643,0,1.186,0.477,1.186,1.04c0,0.782-0.463,1.111-0.615,1.22 C70.238,85.269,58.599,89,48,89z M13.018,75.29C23.132,83.63,35.16,88,48,88c10.396,0,21.808-3.656,29.782-9.543 c0.127-0.091,0.208-0.168,0.208-0.415c-0.006,0.016-0.082-0.04-0.186-0.04c-0.291,0-1.04,0.309-1.399,0.457l-0.234,0.096 C67.401,82.066,57.396,84,48,84C35.874,84,23.837,80.996,13.018,75.29z M80.5,85c-0.128,0-0.255-0.049-0.35-0.143 c-0.146-0.144-0.19-0.361-0.111-0.55C82.073,79.433,82.5,77.1,82.5,76c0-0.709-0.164-0.938-0.262-1.074 C81.909,74.469,81.208,74,78.5,74h-6c-0.179,0-0.344-0.096-0.433-0.25c-0.09-0.155-0.09-0.346,0-0.5C72.199,73.021,74.812,71,80,71 c4.021,0,5.494,0.881,5.723,1.221C85.909,72.501,86,72.919,86,73.5c0,7.429-5.245,11.434-5.298,11.457 C80.638,84.986,80.568,85,80.5,85z M74.426,73H78.5c2.58,0,3.856,0.377,4.551,1.343C83.196,74.547,83.5,74.97,83.5,76 c0,1.363-0.529,3.466-1.576,6.268C83.299,80.503,85,77.509,85,73.5c0-0.526-0.091-0.694-0.106-0.72C84.889,72.823,83.811,72,80,72 C77.448,72,75.603,72.514,74.426,73z"></path><path fill="#4e6e91" d="M63.953,69.877c0.183,0.077,0.372,0.118,0.547,0.123c0.246,0.008,0.462-0.054,0.592-0.184 c3.684-3.317,5.99-5.671,7.602-6.99c0.573-0.459,0.235-1.124-0.147-1.602l-0.423-0.546C70.257,58.278,69,55.797,69,50.8V34.2 c0-6.854-0.2-12.774-4.893-17.278C60.288,13.294,53.799,12,49,12c-8.633,0-19.795,2.709-21.986,15.99 C27.014,27.993,27,28.037,27,28.208c0,0.257,0.108,0.62,0.785,0.807L37.988,30c0.395,0,0.52-0.421,0.631-0.995 C39.484,24.563,42.961,22,47.8,22c2.56,0,7.2,1.463,7.2,7v7h-0.8c-6.389,0-13.195,0-18.606,2.319C28.761,41.218,25,46.999,25,54.6 C25,64.243,30.858,70,40,70c11.7,0,17.57-8,17.57-8l1.302,1.852C60.249,66.029,61.165,67.4,63.953,69.877z M44,60 c-5.537,0-7-4.579-7-7c0-11,11.913-11,17-11h1v3.2C55,55.021,51.299,60,44,60z"></path><path fill="#1f212b" d="M64.542,71.001c-0.024,0-0.049-0.001-0.074-0.002c-0.3-0.01-0.61-0.078-0.899-0.199 c-0.103-0.043-0.196-0.102-0.279-0.175c-2.866-2.546-3.821-3.96-5.263-6.239l-0.53-0.754C55.403,65.89,49.606,71,40,71 c-9.869,0-16-6.284-16-16.4c0-8.027,3.979-14.137,11.203-17.201C40.743,35.024,47.475,35,54,35v-6c0-5.932-5.947-6-6.2-6 c-4.443,0-7.433,2.259-8.199,6.196C39.505,29.688,39.251,31,37.987,31l-10.298-0.99c-0.058-0.005-0.114-0.016-0.17-0.031 C26.148,29.602,26,28.614,26,28.208c0-0.163,0.009-0.285,0.029-0.393C27.823,16.972,35.98,11,49,11 c4.991,0,11.763,1.365,15.796,5.197C69.627,20.834,70,26.583,70,34.2v16.6c0,4.616,1.068,6.893,2.912,9.265l0.425,0.548 c0.322,0.402,0.534,0.814,0.619,1.211c0.147,0.69-0.085,1.341-0.638,1.783c-0.819,0.671-1.865,1.658-3.19,2.908 c-1.171,1.104-2.628,2.479-4.367,4.045C65.488,70.834,65.046,71.001,64.542,71.001z M54.2,37c-6.387,0-12.99,0-18.213,2.238 C29.546,41.971,26,47.426,26,54.6C26,63.616,31.233,69,40,69c11.065,0,16.708-7.516,16.764-7.592C56.952,61.151,57.252,61,57.57,61 c0.003,0,0.007,0,0.01,0c0.322,0.003,0.623,0.161,0.809,0.425l1.302,1.852c1.383,2.186,2.224,3.433,4.773,5.716 c0.015,0.003,0.029,0.005,0.043,0.007c1.704-1.539,3.112-2.867,4.248-3.939c1.303-1.228,2.341-2.208,3.203-2.923 c-0.033-0.065-0.091-0.16-0.192-0.287l-0.434-0.559C69.275,58.646,68,55.967,68,50.8V34.2c0-7.118-0.329-12.472-4.585-16.557 C59.812,14.221,53.605,13,49,13c-8.412,0-18.865,2.613-20.979,15.033l9.588,0.926c0.009-0.042,0.019-0.09,0.029-0.145 C38.591,23.921,42.39,21,47.8,21c2.836,0,8.2,1.672,8.2,8v7c0,0.553-0.447,1-1,1H54.2z M44,61c-6.328,0-8-5.233-8-8 c0-12,13.077-12,18-12h1c0.553,0,1,0.447,1,1v3.2C56,58.259,49.475,61,44,61z M54,43c-7.912,0-16,1.188-16,10c0,0.245,0.068,6,6,6 c6.729,0,10-4.514,10-13.8V43z"></path><path fill="#1f212b" d="M65.728,59c-0.203,0-0.394-0.124-0.469-0.325c-0.344-0.923-0.625-1.959-0.837-3.082 c-0.052-0.271,0.127-0.533,0.398-0.584c0.268-0.05,0.533,0.126,0.584,0.398c0.201,1.067,0.468,2.049,0.792,2.918 c0.097,0.259-0.035,0.547-0.294,0.644C65.845,58.99,65.785,59,65.728,59z"></path><path fill="#1f212b" d="M64.521,52c-0.271,0-0.493-0.216-0.5-0.487l-0.009-0.26C64.006,51.105,64,50.958,64,50.8V34.2 c0-0.945-0.007-1.838-0.024-2.689c-0.006-0.276,0.214-0.505,0.489-0.511c0.004,0,0.008,0,0.011,0c0.271,0,0.494,0.217,0.5,0.489 C64.993,32.349,65,33.247,65,34.2v16.6c0,0.144,0.006,0.277,0.012,0.411l0.01,0.276c0.007,0.276-0.212,0.506-0.487,0.513 C64.529,52,64.525,52,64.521,52z"></path><path fill="#1f212b" d="M67.209,62c-0.167,0-0.33-0.084-0.425-0.236c-0.204-0.329-0.402-0.672-0.592-1.029 c-0.13-0.244-0.037-0.547,0.207-0.676c0.242-0.131,0.546-0.036,0.676,0.207c0.18,0.338,0.366,0.661,0.559,0.971 c0.146,0.234,0.073,0.543-0.161,0.688C67.391,61.976,67.3,62,67.209,62z"></path>+</svg>\ No newline at end of filediff --git a/public/icons/apple-logo.svg b/public/icons/apple-logo.svgnew file mode 100644index 0000000..041dd01--- /dev/null+++ b/public/icons/apple-logo.svg@@ -0,0 +1,2 @@+<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->+<svg width="800px" height="800px" viewBox="-56.24 0 608.728 608.728" xmlns="http://www.w3.org/2000/svg"><path d="M273.81 52.973C313.806.257 369.41 0 369.41 0s8.271 49.562-31.463 97.306c-42.426 50.98-90.649 42.638-90.649 42.638s-9.055-40.094 26.512-86.971zM252.385 174.662c20.576 0 58.764-28.284 108.471-28.284 85.562 0 119.222 60.883 119.222 60.883s-65.833 33.659-65.833 115.331c0 92.133 82.01 123.885 82.01 123.885s-57.328 161.357-134.762 161.357c-35.565 0-63.215-23.967-100.688-23.967-38.188 0-76.084 24.861-100.766 24.861C89.33 608.73 0 455.666 0 332.628c0-121.052 75.612-184.554 146.533-184.554 46.105 0 81.883 26.588 105.852 26.588z" fill="#999"/></svg>\ No newline at end of filediff --git a/public/icons/facebook-logo.svg b/public/icons/facebook-logo.svgnew file mode 100644index 0000000..6ee0d1a--- /dev/null+++ b/public/icons/facebook-logo.svg@@ -0,0 +1,2 @@+<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->+<svg width="800px" height="800px" viewBox="0 0 266.895 266.895" xmlns="http://www.w3.org/2000/svg"><path d="M252.164 266.895c8.134 0 14.729-6.596 14.729-14.73V14.73c0-8.137-6.596-14.73-14.729-14.73H14.73C6.593 0 0 6.594 0 14.73v237.434c0 8.135 6.593 14.73 14.73 14.73h237.434z" fill="#485a96"/><path d="M184.152 266.895V163.539h34.692l5.194-40.28h-39.887V97.542c0-11.662 3.238-19.609 19.962-19.609l21.329-.01V41.897c-3.689-.49-16.351-1.587-31.08-1.587-30.753 0-51.807 18.771-51.807 53.244v29.705h-34.781v40.28h34.781v103.355h41.597z" fill="#ffffff"/></svg>\ No newline at end of filediff --git a/public/icons/google-logo.svg b/public/icons/google-logo.svgnew file mode 100644index 0000000..3ffa2aa--- /dev/null+++ b/public/icons/google-logo.svg@@ -0,0 +1,2 @@+<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->+<svg width="800px" height="800px" viewBox="-3 0 262 262" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid"><path d="M255.878 133.451c0-10.734-.871-18.567-2.756-26.69H130.55v48.448h71.947c-1.45 12.04-9.283 30.172-26.69 42.356l-.244 1.622 38.755 30.023 2.685.268c24.659-22.774 38.875-56.282 38.875-96.027" fill="#4285F4"/><path d="M130.55 261.1c35.248 0 64.839-11.605 86.453-31.622l-41.196-31.913c-11.024 7.688-25.82 13.055-45.257 13.055-34.523 0-63.824-22.773-74.269-54.25l-1.531.13-40.298 31.187-.527 1.465C35.393 231.798 79.49 261.1 130.55 261.1" fill="#34A853"/><path d="M56.281 156.37c-2.756-8.123-4.351-16.827-4.351-25.82 0-8.994 1.595-17.697 4.206-25.82l-.073-1.73L15.26 71.312l-1.335.635C5.077 89.644 0 109.517 0 130.55s5.077 40.905 13.925 58.602l42.356-32.782" fill="#FBBC05"/><path d="M130.55 50.479c24.514 0 41.05 10.589 50.479 19.438l36.844-35.974C195.245 12.91 165.798 0 130.55 0 79.49 0 35.393 29.301 13.925 71.947l42.211 32.783c10.59-31.477 39.891-54.251 74.414-54.251" fill="#EB4335"/></svg>\ No newline at end of filediff --git a/public/icons/microsoft-logo.svg b/public/icons/microsoft-logo.svgnew file mode 100644index 0000000..ab03b5b--- /dev/null+++ b/public/icons/microsoft-logo.svg@@ -0,0 +1,2 @@+<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->+<svg width="800px" height="800px" viewBox="-0.5 0 257 257" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid"><path d="M0 36.357L104.62 22.11l.045 100.914-104.57.595L0 36.358zm104.57 98.293l.08 101.002L.081 221.275l-.006-87.302 104.494.677zm12.682-114.405L255.968 0v121.74l-138.716 1.1V20.246zM256 135.6l-.033 121.191-138.716-19.578-.194-101.84L256 135.6z" fill="#00ADEF"/></svg>\ No newline at end of filediff --git a/public/icons/netflix-logo.svg b/public/icons/netflix-logo.svgnew file mode 100644index 0000000..9207203--- /dev/null+++ b/public/icons/netflix-logo.svg@@ -0,0 +1,21 @@+<?xml version="1.0" encoding="utf-8"?>+ <!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->+<svg width="800px" height="800px" viewBox="-49.6 0 222 222" id="svg2" xmlns="http://www.w3.org/2000/svg">+ <style>.st0{fill:#b1060f;stroke:#000}.st1{fill:url(#path5719_1_)}.st2{fill:#e50914}</style>+ <g id="layer1" transform="translate(12.495 6.756)">+ <g id="g4182">+ <g id="g5747" transform="translate(81.631 113.771) scale(.29074)">+ <path id="path4155" class="st0" d="M-52.5-412.3l-.3 168-.3 168-13.8-39v-.1l-17.9 374c17.6 49.6 27 76.1 27.1 76.2.1.1 10.1.7 22.2 1.3 36.6 1.8 82 5.7 116.5 10 8 1 14.8 1.5 15.3 1.1s.6-171.4.5-380.1l-.3-379.4h-149z"/>+ <path id="path4157" class="st0" d="M-322-412.8V-33c0 208.9.2 380 .5 380.3.3.3 13.2-1 28.8-2.7 15.6-1.7 37.1-3.9 47.8-4.8 16.4-1.4 65.6-4.5 71.2-4.6 1.7 0 1.8-8.5 2-160.9l.3-160.9 11.9 33.6c1.8 5.2 2.4 6.8 4.2 11.9l17.9-373.9c-3.8-10.7-1.8-5.1-6.1-17.3-14.6-41.3-27-76.2-27.5-77.8l-1-2.8h-150z"/>+ <path id="path5715" class="st0" d="M-52.5-412.3l-.3 168-.3 168-13.8-39v-.1l-17.9 374c17.6 49.6 27 76.1 27.1 76.2.1.1 10.1.7 22.2 1.3 36.6 1.8 82 5.7 116.5 10 8 1 14.8 1.5 15.3 1.1s.6-171.4.5-380.1l-.3-379.4h-149z"/>+ <path id="path5717" class="st0" d="M-322-412.8V-33c0 208.9.2 380 .5 380.3.3.3 13.2-1 28.8-2.7 15.6-1.7 37.1-3.9 47.8-4.8 16.4-1.4 65.6-4.5 71.2-4.6 1.7 0 1.8-8.5 2-160.9l.3-160.9 11.9 33.6c1.8 5.2 2.4 6.8 4.2 11.9l17.9-373.9c-3.8-10.7-1.8-5.1-6.1-17.3-14.6-41.3-27-76.2-27.5-77.8l-1-2.8h-150z"/>+ <radialGradient id="path5719_1_" cx="18038.016" cy="-146.44" r="368.717" gradientTransform="matrix(.07072 -.02449 -.897 -2.5906 -1526.665 25.194)" gradientUnits="userSpaceOnUse">+ <stop offset="0"/>+ <stop offset="1" stop-opacity="0"/>+ </radialGradient>+ <path id="path5719" class="st1" d="M-322-412.8v213.2l150.2 398.4c0-9.1 0-14.1.1-24.5l.3-160.9 11.9 33.6C-93.5 234.2-58 334.6-57.8 334.8c.1.1 10.1.7 22.2 1.3 36.6 1.8 82 5.7 116.5 10 8 1 14.8 1.5 15.3 1.1.3-.3.5-84.1.5-202.4L-52.7-285l-.1 40.7-.3 168-13.8-39c-13.5-38.1-22.5-63.6-76.8-217-14.6-41.3-27-76.2-27.5-77.8l-1-2.8H-322v.1z"/>+ <path id="path5721" class="st2" d="M-322-412.8l150.5 426.5v-.2l11.9 33.6C-93.5 234.2-58 334.6-57.8 334.8c.1.1 10.1.7 22.2 1.3 36.6 1.8 82 5.7 116.5 10 7.9 1 14.8 1.5 15.2 1.1L-53.1-76.4v.1l-13.8-39c-13.5-38.1-22.5-63.6-76.8-217-14.6-41.3-27-76.2-27.5-77.8l-1-2.8h-74.9l-74.9.1z"/>+ </g>+ </g>+ </g>+ </svg>\ No newline at end of filediff --git a/src/app/(dashboard)/myjobs/page.tsx b/src/app/(dashboard)/myjobs/page.tsxindex ea29285..1ff45d3 100644--- a/src/app/(dashboard)/myjobs/page.tsx+++ b/src/app/(dashboard)/myjobs/page.tsx@@ -1,7 +1,158 @@-import React from "react";+import Image from "next/image";+import { File, ListFilter, MoreHorizontal, PlusCircle } from "lucide-react";++import { Badge } from "@/components/ui/badge";+import { Button } from "@/components/ui/button";+import {+ Card,+ CardContent,+ CardFooter,+ CardHeader,+ CardTitle,+} from "@/components/ui/card";+import {+ DropdownMenu,+ DropdownMenuCheckboxItem,+ DropdownMenuContent,+ DropdownMenuItem,+ DropdownMenuLabel,+ DropdownMenuSeparator,+ DropdownMenuTrigger,+} from "@/components/ui/dropdown-menu";+import {+ Table,+ TableBody,+ TableCell,+ TableHead,+ TableHeader,+ TableRow,+} from "@/components/ui/table";+import { MY_JOBS_DATA } from "@/lib/myJobsData";function MyJobs() {- return <div>MyJobs</div>;+ return (+ <div className="col-span-3">+ <Card x-chunk="dashboard-06-chunk-0">+ <CardHeader className="flex-row justify-between items-center">+ <CardTitle>My Jobs</CardTitle>+ <div className="flex items-center">+ <div className="ml-auto flex items-center gap-2">+ <DropdownMenu>+ <DropdownMenuTrigger asChild>+ <Button variant="outline" size="sm" className="h-8 gap-1">+ <ListFilter className="h-3.5 w-3.5" />+ <span className="sr-only sm:not-sr-only sm:whitespace-nowrap">+ Filter+ </span>+ </Button>+ </DropdownMenuTrigger>+ <DropdownMenuContent align="end">+ <DropdownMenuLabel>Filter by</DropdownMenuLabel>+ <DropdownMenuSeparator />+ <DropdownMenuCheckboxItem checked>+ Applied+ </DropdownMenuCheckboxItem>+ <DropdownMenuCheckboxItem>Draft</DropdownMenuCheckboxItem>+ <DropdownMenuCheckboxItem>Interview</DropdownMenuCheckboxItem>+ <DropdownMenuCheckboxItem>Archived</DropdownMenuCheckboxItem>+ </DropdownMenuContent>+ </DropdownMenu>+ <Button size="sm" variant="outline" className="h-8 gap-1">+ <File className="h-3.5 w-3.5" />+ <span className="sr-only sm:not-sr-only sm:whitespace-nowrap">+ Export+ </span>+ </Button>+ <Button size="sm" className="h-8 gap-1">+ <PlusCircle className="h-3.5 w-3.5" />+ <span className="sr-only sm:not-sr-only sm:whitespace-nowrap">+ Add Job+ </span>+ </Button>+ </div>+ </div>+ </CardHeader>+ <CardContent>+ <Table>+ <TableHeader>+ <TableRow>+ <TableHead className="hidden w-[100px] sm:table-cell">+ <span className="sr-only">Company</span>+ </TableHead>+ <TableHead>Title</TableHead>+ <TableHead>Status</TableHead>+ <TableHead className="hidden md:table-cell">Source</TableHead>+ <TableHead className="hidden md:table-cell">Location</TableHead>+ <TableHead className="hidden md:table-cell">+ Date Applied+ </TableHead>+ <TableHead>+ <span className="sr-only">Actions</span>+ </TableHead>+ </TableRow>+ </TableHeader>+ <TableBody>+ {MY_JOBS_DATA.data.map((job) => {+ return (+ <TableRow key={job.id}>+ <TableCell className="hidden sm:table-cell">+ <Image+ alt="Company logo"+ className="aspect-square rounded-md object-cover"+ height="32"+ src={job.companyLogo}+ width="32"+ />+ </TableCell>+ <TableCell className="font-medium">{job.company}</TableCell>+ <TableCell className="font-medium">+ {job.jobTitle}+ </TableCell>+ <TableCell>+ <Badge>{job.status}</Badge>+ </TableCell>+ <TableCell className="hidden md:table-cell">+ {job.jobSource}+ </TableCell>+ <TableCell className="hidden md:table-cell">+ {job.location}+ </TableCell>+ <TableCell className="hidden md:table-cell">+ {job.dateApplied}+ </TableCell>+ <TableCell>+ <DropdownMenu>+ <DropdownMenuTrigger asChild>+ <Button+ aria-haspopup="true"+ size="icon"+ variant="ghost"+ >+ <MoreHorizontal className="h-4 w-4" />+ <span className="sr-only">Toggle menu</span>+ </Button>+ </DropdownMenuTrigger>+ <DropdownMenuContent align="end">+ <DropdownMenuLabel>Actions</DropdownMenuLabel>+ <DropdownMenuItem>Edit</DropdownMenuItem>+ <DropdownMenuItem>Delete</DropdownMenuItem>+ </DropdownMenuContent>+ </DropdownMenu>+ </TableCell>+ </TableRow>+ );+ })}+ </TableBody>+ </Table>+ </CardContent>+ <CardFooter>+ <div className="text-xs text-muted-foreground">+ Showing <strong>1-10</strong> of <strong>32</strong> products+ </div>+ </CardFooter>+ </Card>+ </div>+ );}export default MyJobs;diff --git a/src/components/ui/badge.tsx b/src/components/ui/badge.tsxnew file mode 100644index 0000000..f000e3e--- /dev/null+++ b/src/components/ui/badge.tsx@@ -0,0 +1,36 @@+import * as React from "react"+import { cva, type VariantProps } from "class-variance-authority"++import { cn } from "@/lib/utils"++const badgeVariants = cva(+ "inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",+ {+ variants: {+ variant: {+ default:+ "border-transparent bg-primary text-primary-foreground hover:bg-primary/80",+ secondary:+ "border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",+ destructive:+ "border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",+ outline: "text-foreground",+ },+ },+ defaultVariants: {+ variant: "default",+ },+ }+)++export interface BadgeProps+ extends React.HTMLAttributes<HTMLDivElement>,+ VariantProps<typeof badgeVariants> {}++function Badge({ className, variant, ...props }: BadgeProps) {+ return (+ <div className={cn(badgeVariants({ variant }), className)} {...props} />+ )+}++export { Badge, badgeVariants }diff --git a/src/components/ui/table.tsx b/src/components/ui/table.tsxnew file mode 100644index 0000000..7f3502f--- /dev/null+++ b/src/components/ui/table.tsx@@ -0,0 +1,117 @@+import * as React from "react"++import { cn } from "@/lib/utils"++const Table = React.forwardRef<+ HTMLTableElement,+ React.HTMLAttributes<HTMLTableElement>+>(({ className, ...props }, ref) => (+ <div className="relative w-full overflow-auto">+ <table+ ref={ref}+ className={cn("w-full caption-bottom text-sm", className)}+ {...props}+ />+ </div>+))+Table.displayName = "Table"++const TableHeader = React.forwardRef<+ HTMLTableSectionElement,+ React.HTMLAttributes<HTMLTableSectionElement>+>(({ className, ...props }, ref) => (+ <thead ref={ref} className={cn("[&_tr]:border-b", className)} {...props} />+))+TableHeader.displayName = "TableHeader"++const TableBody = React.forwardRef<+ HTMLTableSectionElement,+ React.HTMLAttributes<HTMLTableSectionElement>+>(({ className, ...props }, ref) => (+ <tbody+ ref={ref}+ className={cn("[&_tr:last-child]:border-0", className)}+ {...props}+ />+))+TableBody.displayName = "TableBody"++const TableFooter = React.forwardRef<+ HTMLTableSectionElement,+ React.HTMLAttributes<HTMLTableSectionElement>+>(({ className, ...props }, ref) => (+ <tfoot+ ref={ref}+ className={cn(+ "border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",+ className+ )}+ {...props}+ />+))+TableFooter.displayName = "TableFooter"++const TableRow = React.forwardRef<+ HTMLTableRowElement,+ React.HTMLAttributes<HTMLTableRowElement>+>(({ className, ...props }, ref) => (+ <tr+ ref={ref}+ className={cn(+ "border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",+ className+ )}+ {...props}+ />+))+TableRow.displayName = "TableRow"++const TableHead = React.forwardRef<+ HTMLTableCellElement,+ React.ThHTMLAttributes<HTMLTableCellElement>+>(({ className, ...props }, ref) => (+ <th+ ref={ref}+ className={cn(+ "h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",+ className+ )}+ {...props}+ />+))+TableHead.displayName = "TableHead"++const TableCell = React.forwardRef<+ HTMLTableCellElement,+ React.TdHTMLAttributes<HTMLTableCellElement>+>(({ className, ...props }, ref) => (+ <td+ ref={ref}+ className={cn("p-4 align-middle [&:has([role=checkbox])]:pr-0", className)}+ {...props}+ />+))+TableCell.displayName = "TableCell"++const TableCaption = React.forwardRef<+ HTMLTableCaptionElement,+ React.HTMLAttributes<HTMLTableCaptionElement>+>(({ className, ...props }, ref) => (+ <caption+ ref={ref}+ className={cn("mt-4 text-sm text-muted-foreground", className)}+ {...props}+ />+))+TableCaption.displayName = "TableCaption"++export {+ Table,+ TableHeader,+ TableBody,+ TableFooter,+ TableHead,+ TableRow,+ TableCell,+ TableCaption,+}diff --git a/src/lib/myJobsData.ts b/src/lib/myJobsData.tsnew file mode 100644index 0000000..232a01d--- /dev/null+++ b/src/lib/myJobsData.ts@@ -0,0 +1,114 @@+export interface MyJobs {+ id: number;+ company: string;+ companyLogo: string;+ jobTitle: string;+ location: string;+ status: string;+ jobSource: string;+ dateApplied: string;+}+export const MY_JOBS_DATA: { data: MyJobs[] } = {+ data: [+ {+ id: 1,+ company: "Microsoft",+ companyLogo: "/icons/microsoft-logo.svg",+ jobTitle: "Full Stack Developer",+ location: "Remote",+ status: "Applied",+ jobSource: "Indeed",+ dateApplied: "2024-04-19",+ },+ {+ id: 2,+ company: "Amazon",+ companyLogo: "/icons/amazon-logo.svg",+ jobTitle: "Full Stack Developer",+ location: "Remote",+ status: "Applied",+ jobSource: "Indeed",+ dateApplied: "2024-04-19",+ },+ {+ id: 3,+ company: "Google",+ companyLogo: "/icons/google-logo.svg",+ jobTitle: "Full Stack Developer",+ location: "Remote",+ status: "Applied",+ jobSource: "Indeed",+ dateApplied: "2024-04-19",+ },+ {+ id: 4,+ company: "Facebook",+ companyLogo: "/icons/facebook-logo.svg",+ jobTitle: "Full Stack Developer",+ location: "Remote",+ status: "Applied",+ jobSource: "Indeed",+ dateApplied: "2024-04-19",+ },+ {+ id: 5,+ company: "Netflix",+ companyLogo: "/icons/netflix-logo.svg",+ jobTitle: "Full Stack Developer",+ location: "Remote",+ status: "Applied",+ jobSource: "Linkedin",+ dateApplied: "2024-04-19",+ },+ {+ id: 6,+ company: "Apple",+ companyLogo: "/icons/apple-logo.svg",+ jobTitle: "Frontend Developer",+ location: "San Francisco",+ status: "Applied",+ jobSource: "Indeed",+ dateApplied: "2024-04-19",+ },+ {+ id: 7,+ company: "Amazon",+ companyLogo: "/icons/amazon-logo.svg",+ jobTitle: "DevOps Engineer",+ location: "Remote",+ status: "Applied",+ jobSource: "Indeed",+ dateApplied: "2024-04-19",+ },+ {+ id: 8,+ company: "Microsoft",+ companyLogo: "/icons/microsoft-logo.svg",+ jobTitle: "Software Architect",+ location: "Remote",+ status: "Applied",+ jobSource: "Indeed",+ dateApplied: "2024-04-19",+ },+ {+ id: 9,+ company: "Netflix",+ companyLogo: "/icons/netflix-logo.svg",+ jobTitle: "Frontend Developer",+ location: "Los Angeles",+ status: "Applied",+ jobSource: "Indeed",+ dateApplied: "2024-04-19",+ },+ {+ id: 10,+ company: "Apple",+ companyLogo: "/icons/apple-logo.svg",+ jobTitle: "Backend Developer",+ location: "Remote",+ status: "Applied",+ jobSource: "Linkedin",+ dateApplied: "2024-04-19",+ },+ ],+};