Skip to content

Commit

Permalink
feat: add strava
Browse files Browse the repository at this point in the history
  • Loading branch information
bmacher committed May 2, 2024
1 parent 5bd7dcf commit 5af1df6
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
Binary file added src/assets/strava.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/assets/strava.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 10 additions & 6 deletions src/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<v-col
cols="7"
class="d-none d-md-flex"
></v-col>
/>

<v-col
cols="12"
Expand All @@ -32,8 +32,7 @@
</p>

<p class="mb-0 text-h6">
You can message me on
<a href="https://twitter.com/MacherBenjamin">Twitter</a>.
I love road cycling as a balance to my work.
</p>
</v-card-text>

Expand Down Expand Up @@ -67,10 +66,15 @@
icon
x-large
class="ma-auto icon"
href="https://bmacher.medium.com"
data-testid="link-blog"
href="https://www.strava.com/athletes/101045713"
data-testid="link-strava"
>
<v-icon x-large>mdi-alpha-b-box-outline</v-icon>
<v-img
src="../assets/strava.svg"
height="30"
width="20"
style="max-width: 57.7%;"
></v-img>
</v-btn>
</v-col>
</v-row>
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/views/Home.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ describe('Home', () => {

expect(queryByTestId('link-github')).toBeInTheDocument();
expect(queryByTestId('link-linkedin')).toBeInTheDocument();
expect(queryByTestId('link-blog')).toBeInTheDocument();
expect(queryByTestId('link-strava')).toBeInTheDocument();
});

it('should have a link to the disclaimer', async () => {
Expand Down

0 comments on commit 5af1df6

Please sign in to comment.