-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Konstantinos Paparas <kelsos86@gmail.com>
- Loading branch information
1 parent
66362b4
commit 7cfb1d1
Showing
30 changed files
with
416 additions
and
220 deletions.
There are no files selected for viewing
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<template> | ||
<div class="text-h5 my-6"> | ||
<slot /> | ||
</div> | ||
</template> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<template> | ||
<div class="text-h6 my-4 font-medium"> | ||
<slot /> | ||
</div> | ||
</template> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<template> | ||
<div class="border-t border-black/[0.12] my-6" /> | ||
</template> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<script setup lang="ts"> | ||
import { RuiIcon } from '@rotki/ui-library'; | ||
</script> | ||
|
||
<template> | ||
<li class="py-1 inline-flex w-full"> | ||
<RuiIcon | ||
name="arrow-drop-right-line" | ||
class="mr-2 text-rui-text-secondary min-w-[1.5rem]" | ||
size="24" | ||
/> | ||
<span class="py-0.5"> | ||
<slot /> | ||
</span> | ||
</li> | ||
</template> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,5 @@ | ||
<script setup lang="ts"> | ||
withDefaults( | ||
defineProps<{ | ||
small?: boolean; | ||
}>(), | ||
{ | ||
small: false, | ||
}, | ||
); | ||
const css = useCssModule(); | ||
</script> | ||
|
||
<template> | ||
<p | ||
:class="[ | ||
css.text, | ||
{ | ||
[css.small]: small, | ||
}, | ||
]" | ||
> | ||
<p class="text-rui-text-secondary text-body-1 mb-4"> | ||
<slot /> | ||
</p> | ||
</template> | ||
|
||
<style lang="scss" module> | ||
.text { | ||
@apply text-rui-grey-800 text-justify mt-4; | ||
@apply text-[0.7875rem] sm:text-[0.9rem] md:text-[1.0125rem] 2xl:text-[1.2375rem]; | ||
@apply leading-[1.1375rem] sm:leading-[1.3rem] md:leading-[1.4625rem] 2xl:leading-[1.7875rem]; | ||
} | ||
.small { | ||
@apply text-[0.6125rem] sm:text-[0.7rem] md:text-[0.7875rem] 2xl:text-[0.9625rem]; | ||
@apply leading-[0.875rem] sm:leading-4 md:leading-[1.125rem] 2xl:leading-[1.375rem]; | ||
} | ||
</style> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,5 @@ | ||
<script setup lang="ts"> | ||
withDefaults( | ||
defineProps<{ | ||
small?: boolean; | ||
}>(), | ||
{ | ||
small: false, | ||
}, | ||
); | ||
const css = useCssModule(); | ||
</script> | ||
|
||
<template> | ||
<ul | ||
:class="[ | ||
css.list, | ||
{ | ||
[css.small]: small, | ||
}, | ||
]" | ||
> | ||
<ul class="leading-5 text-body-2"> | ||
<slot /> | ||
</ul> | ||
</template> | ||
|
||
<style lang="scss" module> | ||
.list { | ||
@apply pl-8 list-disc mt-4; | ||
@apply text-[0.7875rem] sm:text-[0.9rem] md:text-[1.0125rem] 2xl:text-[1.2375rem]; | ||
@apply leading-[1.1375rem] sm:leading-[1.3rem] md:leading-[1.4625rem] 2xl:leading-[1.7875rem]; | ||
} | ||
.small { | ||
@apply text-[0.6125rem] sm:text-[0.7rem] md:text-[0.7875rem] 2xl:text-[0.9625rem]; | ||
@apply leading-[0.875rem] sm:leading-4 md:leading-[1.125rem] 2xl:leading-[1.375rem]; | ||
} | ||
</style> |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<script setup lang="ts"> | ||
defineProps<{ | ||
job: { | ||
title?: string; | ||
description?: string; | ||
tags?: string[]; | ||
}; | ||
}>(); | ||
</script> | ||
|
||
<template> | ||
<div | ||
class="p-4 rounded border border-rui-grey-300 space-y-4 hover:bg-rui-grey-100" | ||
> | ||
<div class="text-body-1"> | ||
{{ job.title }} | ||
</div> | ||
<div class="text-body-2 text-rui-text-secondary"> | ||
{{ job.description }} | ||
</div> | ||
<div v-if="job.tags && job.tags.length > 0" class="space-x-2.5"> | ||
<JobTag v-for="tag in job.tags" :key="tag" :tag="tag" /> | ||
</div> | ||
</div> | ||
</template> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<script setup lang="ts"> | ||
import { get } from '@vueuse/core'; | ||
const props = defineProps<{ | ||
tag: string; | ||
}>(); | ||
const { tag } = toRefs(props); | ||
const icon: ComputedRef<string> = computed(() => { | ||
const value = get(tag); | ||
return ( | ||
{ | ||
'full-time': 'timer-2-line', | ||
'part-time': 'timer-2-line', | ||
remote: 'user-location-line', | ||
}[value] ?? '' | ||
); | ||
}); | ||
</script> | ||
|
||
<template> | ||
<RuiChip | ||
class="capitalize hover:!bg-transparent py-1 !min-h-0" | ||
:label="tag" | ||
variant="outlined" | ||
> | ||
<template v-if="icon" #prepend> | ||
<RuiIcon :name="icon" class="p-0.5" /> | ||
</template> | ||
</RuiChip> | ||
</template> |
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
Oops, something went wrong.