Skip to content

Commit

Permalink
feat(views/about/me): add a new button for downloading resume pdf
Browse files Browse the repository at this point in the history
  • Loading branch information
tks18 committed Jul 24, 2022
1 parent 347410b commit 14efba0
Showing 1 changed file with 22 additions and 15 deletions.
37 changes: 22 additions & 15 deletions src/views/about/me/components/profile-card-component.vue
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,7 @@
:ismobile="ismobile"
/>
<v-col :cols="ismobile ? 12 : 8">
<v-card
outlined
elevation="6"
@click="gotoUrl('http:https://fordrhodesparks.com')"
>
<v-card outlined elevation="6" @click="gotoUrl(workProfile.link)">
<v-card-title class="back-blur-no-inherit">
Work Profile
</v-card-title>
Expand All @@ -127,23 +123,22 @@
</v-col>
</v-row>
<v-row>
<v-col align="center" cols="12">
<v-card
:height="ismobile ? null : null"
:class="$vuetify.theme.dark ? 'grad-back-dark' : 'grad-back-light'"
outlined
elevation="6"
@click="gotoUrl('https://resume.sudharshan.dev')"
>
<v-col
v-for="(resume, index) in resumes"
:key="index"
align="center"
cols="6"
>
<v-card outlined elevation="6" @click="gotoUrl(resume.link)">
<v-row
class="inherit-height center-align-div"
align="center"
justify="space-around"
>
<v-col align="center">
<v-icon>mdi-file-document-multiple</v-icon>
<v-icon>{{ resume.icon }}</v-icon>
<div class="text-overline font-weight-bold">
View my e-resume
{{ resume.text }}
</div>
</v-col>
</v-row>
Expand Down Expand Up @@ -235,6 +230,18 @@ export default {
dailyLabels: [],
dailyGradients: ['#f72047', '#ffd200', '#1feaea'],
consolMinutes: 0,
resumes: [
{
link: 'https://resume.sudharshan.dev',
icon: 'mdi-file-document-multiple',
text: 'View E-Resume',
},
{
link: '/assets/downloads/resume/sudharshantk_cv.pdf',
icon: 'mdi-file-pdf-box',
text: 'Download PDF Resume',
},
],
}),
mounted() {
this.getLabels();
Expand Down

0 comments on commit 14efba0

Please sign in to comment.