Skip to content

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.

850 B
Raw Blame
import { Metadata } from "next";

import InterviewsContainer from "@/components/interviews/InterviewsContainer";
import { getInterviewFilterOptions } from "@/actions/interview.actions";
import { getAllJobStageTypes } from "@/actions/jobStageType.actions";
import { getStatusList } from "@/actions/job.actions";

export const metadata: Metadata = {
  title: "Interviews | JobSync",
};

async function Interviews() {
  const [filters, stageTypes, statuses] = await Promise.all([
    getInterviewFilterOptions(),
    getAllJobStageTypes(),
    getStatusList(),
  ]);

  return (
    <div className="col-span-3">
      <InterviewsContainer
        rounds={filters?.rounds ?? []}
        companies={filters?.companies ?? []}
        stageTypes={stageTypes ?? []}
        jobStatuses={statuses ?? []}
      />
    </div>
  );
}

export default Interviews;