Skip to content

Commit

Permalink
feat: assets name replace
Browse files Browse the repository at this point in the history
  • Loading branch information
icai committed Nov 2, 2024
1 parent 5003bb1 commit 91513a8
Show file tree
Hide file tree
Showing 9 changed files with 28 additions and 10 deletions.
35 changes: 27 additions & 8 deletions docs/.vitepress/config/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,20 +37,39 @@ export const shared = defineConfig({

/* prettier-ignore */
head: [
['link', { rel: 'icon', type: 'image/svg+xml', href: '/vitepress-logo-mini.svg' }],
['link', { rel: 'icon', type: 'image/png', href: '/vitepress-logo-mini.png' }],
['link', { rel: 'icon', type: 'image/svg+xml', href: '/nueui-logo-mini.svg' }],
['link', { rel: 'icon', type: 'image/png', href: '/nueui-logo-mini.png' }],
['meta', { name: 'theme-color', content: '#5f67ee' }],
['meta', { property: 'og:type', content: 'website' }],
['meta', { property: 'og:locale', content: 'en' }],
['meta', { property: 'og:title', content: 'VitePress | Vite & Vue Powered Static Site Generator' }],
['meta', { property: 'og:site_name', content: 'VitePress' }],
['meta', { property: 'og:image', content: 'https://vitepress.dev/vitepress-og.jpg' }],
['meta', { property: 'og:url', content: 'https://vitepress.dev/' }],
['script', { src: 'https://cdn.usefathom.com/script.js', 'data-site': 'AZBRSFGG', 'data-spa': 'auto', defer: '' }]
['meta', { property: 'og:title', content: 'NueUI | A Nuxt UI library' }],
['meta', { property: 'og:site_name', content: 'NueUI' }],
['meta', { property: 'og:image', content: 'https://ui.nuecms.com/nueui-og.jpg' }],
['meta', { property: 'og:url', content: 'https://ui.nuecms.com/' }],
[
'script',
{
async: 'true',
src: 'https://www.googletagmanager.com/gtag/js?id=G-01N8HFE4NE',
},
],
[
'script',
{},
`
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-01N8HFE4NE');
`,
],

// ['script', { src: 'https://cdn.usefathom.com/script.js', 'data-site': 'AZBRSFGG', 'data-spa': 'auto', defer: '' }]
],

themeConfig: {
logo: { src: '/vitepress-logo-mini.svg', width: 24, height: 24 },
logo: { src: '/nueui-logo-mini.svg', width: 24, height: 24 },

socialLinks: [
{ icon: 'github', link: 'https://github.com/nuecms/nueui' }
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion docs/en/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ hero:
text: GitHub
link: https://github.com/nuecms/nueui
image:
src: /vitepress-logo-large.webp
src: /nueui-logo-large.webp
alt: VitePress

features:
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
1 change: 0 additions & 1 deletion pnpm-workspace.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
packages:
- packages/*
- docs

0 comments on commit 91513a8

Please sign in to comment.