Skip to content

Commit

Permalink
Merge pull request #128 from barrel/bugfix/vite-branding
Browse files Browse the repository at this point in the history
Bugfix/vite branding
  • Loading branch information
barrel-dev committed Apr 25, 2024
2 parents a101567 + c77e005 commit 8e2fa41
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ export default defineConfig({
['link', { rel: 'icon', type: 'image/svg+xml', href: '/favicon.svg' }],
['meta', { property: 'og:type', content: 'website' }],
['meta', { property: 'og:title', content: 'Shopify Vite Plugin' }],
['meta', { property: 'og:image', content: 'https://shopify-vite.netlify.app/og-image.png' }],
['meta', { property: 'og:image', content: 'https://shopify-vite.netlify.app/og-image.jpg' }],
['meta', { property: 'og:url', content: 'https://shopify-vite.netlify.app/' }],
['meta', { property: 'og:description', content: 'Vite integration for Shopify themes by Barrel' }],
['meta', { name: 'twitter:card', content: 'summary_large_image' }],
['meta', { name: 'twitter:site', content: '@barrelny' }],
['meta', { name: 'theme-color', content: '#646cff' }]
['meta', { name: 'theme-color', content: '#000000' }]
],

themeConfig: {
Expand Down
1 change: 1 addition & 0 deletions docs/.vitepress/theme/components/AboutBarrel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
.about-barrel__content a {
text-decoration: underline;
text-underline-offset: 2px;
transition: color 0.2s;
}
.about-barrel__content a:hover {
Expand Down
4 changes: 3 additions & 1 deletion docs/.vitepress/theme/components/Footer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const socialLinks = data.site.value?.themeConfig?.socialLinks || [];
<ul class="footer-social__list">
<template v-for="item in socialLinks">
<li class="footer-social__item">
<a href="{{ item.link }}" target="_blank">
<a :href="item.link" target="_blank">
<img :src="`/${item.icon}.svg`" :alt="item.icon" />
</a>
</li>
Expand Down Expand Up @@ -71,6 +71,7 @@ const socialLinks = data.site.value?.themeConfig?.socialLinks || [];
font-size: 27px;
line-height: 1.45;
letter-spacing: -0.04em;
transition: color 0.2s;
}
.footer-nav__link:hover {
Expand All @@ -84,6 +85,7 @@ const socialLinks = data.site.value?.themeConfig?.socialLinks || [];
.footer__copyright a {
text-decoration: underline;
transition: color 0.2s;
}
.footer__copyright a:hover {
Expand Down
10 changes: 9 additions & 1 deletion docs/public/favicon.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/public/og-image.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/public/og-image.png
Binary file not shown.

0 comments on commit 8e2fa41

Please sign in to comment.