Skip to content

Commit a9e37f9

Browse files
committed
fix: correct formatting of social links in VitePress config
- Adjusted the structure of the social links configuration for consistency - Ensured proper formatting of the GitHub icon SVG and added missing comma for clarity - Enhanced accessibility with aria-label for the main site link
1 parent 0757b73 commit a9e37f9

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

docs/.vitepress/config.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,12 +146,12 @@ export default defineConfig({
146146

147147
socialLinks: [
148148
{ icon: 'github', link: 'https://github.com/altus4/core' },
149-
{
149+
{
150150
icon: {
151-
svg: '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m3 9 9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/><polyline points="9,22 9,12 15,12 15,22"/></svg>'
152-
},
151+
svg: '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m3 9 9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/><polyline points="9,22 9,12 15,12 15,22"/></svg>',
152+
},
153153
link: 'https://altus4.thavarshan.com',
154-
ariaLabel: 'Back to Main Site'
154+
ariaLabel: 'Back to Main Site',
155155
},
156156
],
157157
},

0 commit comments

Comments
 (0)