Skip to content

Commit

Permalink
feat: fixed various vuetify components, add new wordings wherever req…
Browse files Browse the repository at this point in the history
…uired
  • Loading branch information
tks18 committed Feb 22, 2022
1 parent 1de55c1 commit 175fb86
Show file tree
Hide file tree
Showing 7 changed files with 46 additions and 47 deletions.
2 changes: 1 addition & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<v-app id="app has-navbar-fixed-top">
<navDrawer />
<navbar />
<navbar :ismobile="ismobile" />
<sysBar />
<Notification group="main" position="top right" />
<Notification group="worker" position="bottom right" />
Expand Down
5 changes: 2 additions & 3 deletions src/components/footer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ export default {
link: 'mailto:[email protected]',
},
{
icon: 'mdi-google-photos',
icon: 'mdi-camera',
title: 'Photography',
link: 'https://unsplash.com/@shantk18',
},
Expand Down Expand Up @@ -250,8 +250,7 @@ export default {
type: 'error',
duration: -100,
title: 'Backend Error',
text:
'Error While Connecting to Backend Server. Click the button to check my backup Servers',
text: 'Error While Connecting to Backend Server. Click the button to check my backup Servers',
data: {
loading: false,
dark: true,
Expand Down
8 changes: 7 additions & 1 deletion src/components/nav-bar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
v-on="on"
@click="routerPush('/')"
>
Shan.tk ✌
Shan.tk ✌{{ ismobile ? '' : ' | Chartered Accountant' }}
</v-toolbar-title>
</template>
<span>Sudharshan TK</span>
Expand All @@ -38,6 +38,12 @@
<script>
export default {
name: 'NavBar',
props: {
ismobile: {
type: Boolean,
default: () => {},
},
},
data: () => ({
github: {
link: 'https://github.com/tks18',
Expand Down
6 changes: 3 additions & 3 deletions src/components/nav-drawer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
(aka Shan.tk)
</v-list-item-subtitle>
<v-list-item-subtitle class="text-center non-touch font-weight-light">
Web Developer/Aspiring Chartered Accountant
Chartered Accountant / Web Developer
</v-list-item-subtitle>
</v-list-item-content>
</v-list-item>
Expand Down Expand Up @@ -116,7 +116,7 @@ export default {
link: '/about-this-project',
},
{
icon: 'mdi-blogger',
icon: 'mdi-post',
title: 'Blog',
subtitle: 'My Personal Blog',
link: '/blog',
Expand All @@ -134,7 +134,7 @@ export default {
link: '/careers',
},
{
icon: 'mdi-google-photos',
icon: 'mdi-camera',
title: 'Gallery',
subtitle: 'My Photography Skills',
link: '/gallery',
Expand Down
4 changes: 4 additions & 0 deletions src/components/youtube-player.vue
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@ export default {
type: Boolean,
default: false,
},
ismobile: {
type: Function,
default: () => {},
},
video: {
type: Object,
default: () => {},
Expand Down
63 changes: 27 additions & 36 deletions src/views/home/components/hero-component.vue
Original file line number Diff line number Diff line change
Expand Up @@ -70,37 +70,33 @@
"
>
<v-row v-if="!ismobile" align="center">
<v-col
v-for="(button, index) in heroButtons"
:key="index"
:cols="
index == heroButtons.length - 1
? index % 2 == 0
? 12
: 6
: 6
"
:align="
index == heroButtons.length - 1
? index % 2 == 0
? 'center'
: 'left'
: index % 2 == 0
? 'right'
: 'left'
"
>
<v-btn
large
elevation="24"
text
raised
outlined
@click="$vuetify.goTo('#' + button.id)"
>
<v-icon> {{ button.icon }} </v-icon>
{{ button.name }}
</v-btn>
<v-col cols="8" align="center">
<v-row align="center">
<v-col
v-for="(button, index) in heroButtons"
:key="index"
:cols="
index == heroButtons.length - 1
? index % 2 == 0
? 12
: 6
: 6
"
align="center"
>
<v-btn
large
elevation="24"
text
raised
outlined
@click="$vuetify.goTo('#' + button.id)"
>
<v-icon> {{ button.icon }} </v-icon>
{{ button.name }}
</v-btn>
</v-col>
</v-row>
</v-col>
</v-row>
<v-row v-if="ismobile" align="center">
Expand Down Expand Up @@ -177,11 +173,6 @@ export default {
icon: 'mdi-post-outline',
id: 'home-blogtitle',
},
{
name: 'Some Extras',
icon: 'mdi-one-up',
id: 'home-astroPicTitle',
},
{
name: 'Projects',
icon: 'mdi-projector-screen',
Expand Down
5 changes: 2 additions & 3 deletions src/views/home/components/stories-component.vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
}"
:width="ismobile ? 225 : 250"
:height="ismobile ? 300 : 325"
@click="gotoUrl(site.site + story.link)"
@click="gotoUrl(`${site}${story.link}`)"
>
<v-card-text class="inherit-height-responsive">
<v-row align="start" justify="start" class="back-blur-no-inherit">
Expand Down Expand Up @@ -126,8 +126,7 @@ export default {
type: 'error',
duration: 5000,
title: 'Stories Error',
text:
'Error While Getting Stories from the Server. Please Reload the Website to Get the Data',
text: 'Error While Getting Stories from the Server. Please Reload the Website to Get the Data',
data: {
loading: false,
dark: true,
Expand Down

0 comments on commit 175fb86

Please sign in to comment.