Skip to content

Commit f9645c4

Browse files
authored
Add vibedoctor.dev link to blog footers (#3)
Co-authored-by: Suman Saurabh <sumansaurabh@users.noreply.github.com>
1 parent 767f928 commit f9645c4

2 files changed

Lines changed: 28 additions & 1 deletion

File tree

.vitepress/theme/Layout.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@
66
<Analytics />
77
</template>
88
<template #doc-footer-before>
9+
<VibeDoctorLink />
910
<AuthorInfo />
10-
<Comments />
11+
<Comments />
1112
</template>
1213

1314
</Layout>
@@ -20,6 +21,7 @@ import AuthorInfo from './AuthorInfo.vue'
2021
import EmailSignup from './EmailSignup.vue'
2122
import Comments from './Comments.vue'
2223
import Analytics from './Analytics.vue'
24+
import VibeDoctorLink from './VibeDoctorLink.vue'
2325
2426
const { Layout } = DefaultTheme
2527
</script>
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<template>
2+
<div class="vibedoctor-container">
3+
<p>
4+
Visit <a href="https://vibedoctor.dev" target="_blank" rel="noopener">vibedoctor.dev</a>
5+
</p>
6+
</div>
7+
</template>
8+
9+
<style scoped>
10+
.vibedoctor-container {
11+
margin-top: 24px;
12+
text-align: center;
13+
font-size: 1rem;
14+
}
15+
16+
.vibedoctor-container a {
17+
color: var(--vp-c-brand);
18+
font-weight: 600;
19+
text-decoration: none;
20+
}
21+
22+
.vibedoctor-container a:hover {
23+
text-decoration: underline;
24+
}
25+
</style>

0 commit comments

Comments
 (0)