feat: country filter in job list

This commit is contained in:
Jannat Patel
2025-04-24 18:22:00 +05:30
parent 097d541391
commit 26a278c5f4
8 changed files with 122 additions and 58 deletions

View File

@@ -1,6 +1,6 @@
<template>
<div
class="flex flex-col border-2 hover:bg-surface-gray-2 rounded-md p-4 h-full"
class="flex flex-col border hover:border-outline-gray-4 rounded-md p-4 h-full"
style="min-height: 150px"
>
<div class="text-lg leading-5 font-semibold mb-2 text-ink-gray-9">

View File

@@ -1,19 +1,19 @@
<template>
<div
class="flex flex-col shadow-sm border rounded-md p-3 h-full hover:bg-surface-gray-2"
class="flex flex-col border rounded-md p-3 h-full hover:border-outline-gray-4"
>
<div class="flex space-x-4 mb-2">
<div class="flex space-x-4 mb-4">
<div class="flex flex-col space-y-2 flex-1">
<div class="text-lg font-semibold text-ink-gray-9">
{{ job.company_name }}
</div>
<span class="font-medium text-ink-gray-7">
<span class="font-medium text-ink-gray-7 leading-5">
{{ job.job_title }}
</span>
<div class="flex items-center space-x-1 text-sm text-ink-gray-7">
<MapPin class="size-3" />
<span>
{{ job.location }}
{{ job.location }}{{ job.country ? `, ${job.country}` : '' }}
</span>
</div>
<div
@@ -27,9 +27,9 @@
</span>
</div>
</div>
<!-- <img :src="job.company_logo" alt="Company Logo" class="h-8 object-contain bg-white" /> -->
<!-- <img :src="job.company_logo" alt="Company Logo" class="size-8 rounded-full object-contain bg-white" /> -->
</div>
<div class="space-x-4 mt-2 mb-4">
<div class="space-x-2 mt-auto">
<Badge>
{{ job.type }}
</Badge>
@@ -37,10 +37,10 @@
{{ dayjs(job.creation).fromNow() }}
</Badge>
</div>
<div
<!-- <div
class="description text-ink-gray-9 text-sm"
v-html="job.description"
></div>
></div> -->
</div>
</template>
<script setup>