|
|
@ -282,11 +282,11 @@ export default function ResumeHomePage() {
|
|
|
|
leaveTo="translate-x-full">
|
|
|
|
leaveTo="translate-x-full">
|
|
|
|
<Dialog.Panel className="relative ml-auto flex h-full w-full max-w-xs flex-col overflow-y-scroll bg-white py-4 pb-12 shadow-xl">
|
|
|
|
<Dialog.Panel className="relative ml-auto flex h-full w-full max-w-xs flex-col overflow-y-scroll bg-white py-4 pb-12 shadow-xl">
|
|
|
|
<div className="flex items-center justify-between px-4">
|
|
|
|
<div className="flex items-center justify-between px-4">
|
|
|
|
<h2 className="text-lg font-medium text-gray-900">
|
|
|
|
<h2 className="text-lg font-medium text-slate-900">
|
|
|
|
Shortcuts
|
|
|
|
Shortcuts
|
|
|
|
</h2>
|
|
|
|
</h2>
|
|
|
|
<button
|
|
|
|
<button
|
|
|
|
className="-mr-2 flex h-10 w-10 items-center justify-center rounded-md bg-white p-2 text-gray-400"
|
|
|
|
className="-mr-2 flex h-10 w-10 items-center justify-center rounded-md bg-white p-2 text-slate-400"
|
|
|
|
type="button"
|
|
|
|
type="button"
|
|
|
|
onClick={() => setMobileFiltersOpen(false)}>
|
|
|
|
onClick={() => setMobileFiltersOpen(false)}>
|
|
|
|
<span className="sr-only">Close menu</span>
|
|
|
|
<span className="sr-only">Close menu</span>
|
|
|
@ -294,9 +294,9 @@ export default function ResumeHomePage() {
|
|
|
|
</button>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<form className="mt-4 border-t border-gray-200">
|
|
|
|
<form className="mt-4 border-t border-slate-200">
|
|
|
|
<ul
|
|
|
|
<ul
|
|
|
|
className="flex flex-wrap justify-start gap-4 px-4 py-3 font-medium text-gray-900"
|
|
|
|
className="flex flex-wrap justify-start gap-4 px-4 py-3 font-medium text-slate-900"
|
|
|
|
role="list">
|
|
|
|
role="list">
|
|
|
|
{SHORTCUTS.map((shortcut) => (
|
|
|
|
{SHORTCUTS.map((shortcut) => (
|
|
|
|
<li key={shortcut.name}>
|
|
|
|
<li key={shortcut.name}>
|
|
|
@ -313,12 +313,12 @@ export default function ResumeHomePage() {
|
|
|
|
<Disclosure
|
|
|
|
<Disclosure
|
|
|
|
key={filter.id}
|
|
|
|
key={filter.id}
|
|
|
|
as="div"
|
|
|
|
as="div"
|
|
|
|
className="border-t border-gray-200 px-4 py-6">
|
|
|
|
className="border-t border-slate-200 px-4 py-6">
|
|
|
|
{({ open }) => (
|
|
|
|
{({ open }) => (
|
|
|
|
<>
|
|
|
|
<>
|
|
|
|
<h3 className="-mx-2 -my-3 flow-root">
|
|
|
|
<h3 className="-mx-2 -my-3 flow-root">
|
|
|
|
<Disclosure.Button className="flex w-full items-center justify-between bg-white px-2 py-3 text-gray-400 hover:text-gray-500">
|
|
|
|
<Disclosure.Button className="flex w-full items-center justify-between bg-white px-2 py-3 text-slate-400 hover:text-slate-500">
|
|
|
|
<span className="font-medium text-gray-900">
|
|
|
|
<span className="font-medium text-slate-900">
|
|
|
|
{filter.label}
|
|
|
|
{filter.label}
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
<span className="ml-6 flex items-center">
|
|
|
|
<span className="ml-6 flex items-center">
|
|
|
@ -341,7 +341,7 @@ export default function ResumeHomePage() {
|
|
|
|
{filter.options.map((option) => (
|
|
|
|
{filter.options.map((option) => (
|
|
|
|
<div
|
|
|
|
<div
|
|
|
|
key={option.value}
|
|
|
|
key={option.value}
|
|
|
|
className="[&>div>div:nth-child(2)>label]:font-normal [&>div>div:nth-child(1)>input]:text-indigo-600 [&>div>div:nth-child(1)>input]:ring-indigo-500">
|
|
|
|
className="[&>div>div:nth-child(1)>input]:text-primary-600 [&>div>div:nth-child(1)>input]:ring-primary-500 [&>div>div:nth-child(2)>label]:font-normal">
|
|
|
|
<CheckboxInput
|
|
|
|
<CheckboxInput
|
|
|
|
label={option.label}
|
|
|
|
label={option.label}
|
|
|
|
value={userFilters[filter.id].includes(
|
|
|
|
value={userFilters[filter.id].includes(
|
|
|
@ -374,13 +374,13 @@ export default function ResumeHomePage() {
|
|
|
|
<main className="h-[calc(100vh-4rem)] flex-auto overflow-y-scroll px-8 pt-6 pb-4">
|
|
|
|
<main className="h-[calc(100vh-4rem)] flex-auto overflow-y-scroll px-8 pt-6 pb-4">
|
|
|
|
<div className="flex justify-start">
|
|
|
|
<div className="flex justify-start">
|
|
|
|
<div className="hidden w-1/6 pt-2 lg:block">
|
|
|
|
<div className="hidden w-1/6 pt-2 lg:block">
|
|
|
|
<h3 className="text-md font-medium tracking-tight text-gray-900">
|
|
|
|
<h3 className="text-md font-medium tracking-tight text-slate-900">
|
|
|
|
Shortcuts
|
|
|
|
Shortcuts
|
|
|
|
</h3>
|
|
|
|
</h3>
|
|
|
|
<div className="w-100 pt-4 sm:pr-0 md:pr-4">
|
|
|
|
<div className="w-100 pt-4 sm:pr-0 md:pr-4">
|
|
|
|
<form>
|
|
|
|
<form>
|
|
|
|
<ul
|
|
|
|
<ul
|
|
|
|
className="flex w-11/12 flex-wrap justify-start gap-2 pb-6 text-sm font-medium text-gray-900"
|
|
|
|
className="flex w-11/12 flex-wrap justify-start gap-2 pb-6 text-sm font-medium text-slate-900"
|
|
|
|
role="list">
|
|
|
|
role="list">
|
|
|
|
{SHORTCUTS.map((shortcut) => (
|
|
|
|
{SHORTCUTS.map((shortcut) => (
|
|
|
|
<li key={shortcut.name}>
|
|
|
|
<li key={shortcut.name}>
|
|
|
@ -392,19 +392,19 @@ export default function ResumeHomePage() {
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
|
))}
|
|
|
|
))}
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
<h3 className="text-md font-medium tracking-tight text-gray-900">
|
|
|
|
<h3 className="text-md font-medium tracking-tight text-slate-900">
|
|
|
|
Explore these filters
|
|
|
|
Explore these filters
|
|
|
|
</h3>
|
|
|
|
</h3>
|
|
|
|
{filters.map((filter) => (
|
|
|
|
{filters.map((filter) => (
|
|
|
|
<Disclosure
|
|
|
|
<Disclosure
|
|
|
|
key={filter.id}
|
|
|
|
key={filter.id}
|
|
|
|
as="div"
|
|
|
|
as="div"
|
|
|
|
className="border-b border-gray-200 py-6">
|
|
|
|
className="border-b border-slate-200 py-6">
|
|
|
|
{({ open }) => (
|
|
|
|
{({ open }) => (
|
|
|
|
<>
|
|
|
|
<>
|
|
|
|
<h3 className="-my-3 flow-root">
|
|
|
|
<h3 className="-my-3 flow-root">
|
|
|
|
<Disclosure.Button className="flex w-full items-center justify-between py-3 text-sm text-gray-400 hover:text-gray-500">
|
|
|
|
<Disclosure.Button className="flex w-full items-center justify-between py-3 text-sm text-slate-400 hover:text-slate-500">
|
|
|
|
<span className="font-medium text-gray-900">
|
|
|
|
<span className="font-medium text-slate-900">
|
|
|
|
{filter.label}
|
|
|
|
{filter.label}
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
<span className="ml-6 flex items-center">
|
|
|
|
<span className="ml-6 flex items-center">
|
|
|
@ -431,7 +431,7 @@ export default function ResumeHomePage() {
|
|
|
|
{filter.options.map((option) => (
|
|
|
|
{filter.options.map((option) => (
|
|
|
|
<div
|
|
|
|
<div
|
|
|
|
key={option.value}
|
|
|
|
key={option.value}
|
|
|
|
className="[&>div>div:nth-child(2)>label]:font-normal [&>div>div:nth-child(1)>input]:text-indigo-600 [&>div>div:nth-child(1)>input]:ring-indigo-500">
|
|
|
|
className="[&>div>div:nth-child(1)>input]:text-primary-600 [&>div>div:nth-child(1)>input]:ring-primary-500 [&>div>div:nth-child(2)>label]:font-normal">
|
|
|
|
<CheckboxInput
|
|
|
|
<CheckboxInput
|
|
|
|
label={option.label}
|
|
|
|
label={option.label}
|
|
|
|
value={userFilters[filter.id].includes(
|
|
|
|
value={userFilters[filter.id].includes(
|
|
|
@ -483,7 +483,7 @@ export default function ResumeHomePage() {
|
|
|
|
|
|
|
|
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<button
|
|
|
|
<button
|
|
|
|
className="ml-4 rounded-md bg-indigo-500 py-2 px-3 text-sm font-medium text-white lg:hidden"
|
|
|
|
className="bg-primary-500 ml-4 rounded-md py-2 px-3 text-sm font-medium text-white lg:hidden"
|
|
|
|
type="button"
|
|
|
|
type="button"
|
|
|
|
onClick={onSubmitResume}>
|
|
|
|
onClick={onSubmitResume}>
|
|
|
|
Submit Resume
|
|
|
|
Submit Resume
|
|
|
@ -515,7 +515,7 @@ export default function ResumeHomePage() {
|
|
|
|
</DropdownMenu>
|
|
|
|
</DropdownMenu>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<button
|
|
|
|
<button
|
|
|
|
className="-m-2 text-gray-400 hover:text-gray-500 lg:hidden"
|
|
|
|
className="-m-2 text-slate-400 hover:text-slate-500 lg:hidden"
|
|
|
|
type="button"
|
|
|
|
type="button"
|
|
|
|
onClick={() => setMobileFiltersOpen(true)}>
|
|
|
|
onClick={() => setMobileFiltersOpen(true)}>
|
|
|
|
<span className="sr-only">Filters</span>
|
|
|
|
<span className="sr-only">Filters</span>
|
|
|
@ -524,7 +524,7 @@ export default function ResumeHomePage() {
|
|
|
|
|
|
|
|
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<button
|
|
|
|
<button
|
|
|
|
className="hidden w-36 rounded-md bg-indigo-500 py-2 px-3 text-sm font-medium text-white lg:block"
|
|
|
|
className="bg-primary-500 hidden w-36 rounded-md py-2 px-3 text-sm font-medium text-white lg:block"
|
|
|
|
type="button"
|
|
|
|
type="button"
|
|
|
|
onClick={onSubmitResume}>
|
|
|
|
onClick={onSubmitResume}>
|
|
|
|
Submit Resume
|
|
|
|
Submit Resume
|
|
|
|