-
-
Save Akhigbe-E/054435ab5874f56282e1a2c0e0f95cae to your computer and use it in GitHub Desktop.
Refactored JobCardList component
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div | |
class="grid gap-x-12 gap-y-12 grid-cols-1 sm:grid-cols-3 container mx-auto px-5 sm:gap-y-20" | |
style="max-width: 1100px" | |
> | |
<job-card-list-item | |
v-for="job in jobs" | |
:key="job.id" | |
:name="job.companyName" | |
:title="job.title" | |
:jobType="job.jobType" | |
:location="job.location" | |
:logo="job.companyLogo" | |
/> | |
</div> | |
</template> | |
<script> | |
export default { | |
props: { | |
jobs: { | |
type: Array, | |
required: true, | |
}, | |
}, | |
} | |
</script> | |
<style></style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment