File tree Expand file tree Collapse file tree 1 file changed +56
-0
lines changed
Expand file tree Collapse file tree 1 file changed +56
-0
lines changed Original file line number Diff line number Diff line change 1+ <template >
2+ <div >
3+ <select
4+ @change =" $emit('change', $event.target.value)"
5+ :name =" select"
6+ :id =" select"
7+ class ="
8+ px-4
9+ sm:px-6
10+ py-2
11+ border-1 border-gray-200
12+ dark:border-secondary-dark
13+ rounded-lg
14+ text-sm
15+ sm:text-md
16+ dark:font-medium
17+ bg-secondary-light
18+ dark:bg-ternary-dark
19+ text-primary-dark
20+ dark:text-ternary-light
21+ "
22+ >
23+ <option value class =" text-sm sm:text-md" >All Projects</option >
24+ <option
25+ v-for =" option in selectOptions"
26+ :key =" option"
27+ :value =" option"
28+ class =" text-normal sm:text-md"
29+ >
30+ {{ option }}
31+ </option >
32+ </select >
33+ </div >
34+ </template >
35+
36+ <script >
37+ export default {
38+ props: {
39+ select: {
40+ type: String ,
41+ default: ' projects' ,
42+ },
43+ selectOptions: {
44+ type: Array ,
45+ default : () => [
46+ ' Web Application' ,
47+ ' Mobile Application' ,
48+ ' UI/UX Design' ,
49+ ' Branding' ,
50+ ],
51+ },
52+ },
53+ };
54+ </script >
55+
56+ <style lang="scss" scoped></style >
You can’t perform that action at this time.
0 commit comments