Skip to content

Commit

Permalink
Fix cards
Browse files Browse the repository at this point in the history
  • Loading branch information
smenendez19 committed Jan 11, 2024
1 parent 057d1c0 commit 2df6535
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 15 deletions.
2 changes: 1 addition & 1 deletion src/components/About.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</v-row>
<v-row justify="center">
<v-card
class="pa-5 rounded-xl"
class="pa-5 rounded-xl elevation-24"
width="90%"
height="100%"
>
Expand Down
2 changes: 1 addition & 1 deletion src/components/AvatarLinks.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
justify="center"
>
<v-card
elevation="20"
elevation="24"
>
<v-row
class="mx-5 my-5"
Expand Down
1 change: 1 addition & 0 deletions src/components/Courses.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
dense
multi-sort
no-data-text="No data"
class="elevation-24"
>
<template #[`item.url`]="{ item }">
<v-btn
Expand Down
2 changes: 1 addition & 1 deletion src/components/Education.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</v-row>
<v-row justify="center">
<v-card
class="pa-5 rounded-xl"
class="pa-5 rounded-xl elevation-24"
width="90%"
height="100%"
>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Experience.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</v-row>
<v-row justify="center">
<v-card
class="pa-5 rounded-xl"
class="pa-5 rounded-xl elevation-24"
width="90%"
height="100%"
>
Expand Down
35 changes: 24 additions & 11 deletions src/components/Skills.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,14 @@
class="ma-auto"
>
<v-col>
<div class="text-start">
<h3>
{{ $t("skills.title") }}
</h3>
</div>
<h2 class="text-start">
{{ $t("skills.title") }}
</h2>
</v-col>
</v-row>
<v-row justify="center">
<v-card
class="pa-5 rounded-xl"
class="pa-5 rounded-xl elevation-24"
>
<v-row class="ma-5">
<h4>
Expand All @@ -28,9 +26,10 @@
<v-card
v-for="skill in skills.programming_languages"
:key="skill"
class="px-5 mx-1 my-2"
class="px-5 mx-1 my-2 elevation-24"
outlined
tile
:color="getThemeColor() === 'dark' ? '#FFFFFF' : '#363636'"
>
<p class="text-center">
<v-icon
Expand All @@ -52,9 +51,10 @@
<v-card
v-for="skill in skills.web"
:key="skill"
class="px-5 mx-1 my-2"
class="px-5 mx-1 my-2 elevation-24"
outlined
tile
:color="getThemeColor() === 'dark' ? '#FFFFFF' : '#363636'"
>
<p class="text-center">
<v-icon
Expand All @@ -78,9 +78,10 @@
<v-card
v-for="skill in skills.databases"
:key="skill"
class="px-5 mx-1 my-2"
class="px-5 mx-1 my-2 elevation-24"
outlined
tile
:color="getThemeColor() === 'dark' ? '#FFFFFF' : '#363636'"
>
<p class="text-center">
<v-icon
Expand All @@ -105,9 +106,10 @@
<v-card
v-for="skill in skills.tech"
:key="skill"
class="px-5 mx-1 my-2"
class="px-5 mx-1 my-2 elevation-24"
outlined
tile
:color="getThemeColor() === 'dark' ? '#FFFFFF' : '#363636'"
>
<p class="text-center">
<v-icon
Expand Down Expand Up @@ -179,7 +181,18 @@ export default {
}
}
return {
getIcon
getIcon,
getThemeColor: () => {
const themeValue = localStorage.getItem('theme')
if (themeValue) {
if (themeValue === 'dark') {
return 'light'
}
else {
return 'dark'
}
}
}
}
},
data: () => ({
Expand Down

0 comments on commit 2df6535

Please sign in to comment.