-
-
Notifications
You must be signed in to change notification settings - Fork 411
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #246 from yamadashy/feat/website-demo
feat(website): Add online demo functionality
- Loading branch information
Showing
37 changed files
with
4,113 additions
and
182 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
.vitepress/cache/ | ||
.vitepress/dist/ | ||
node_modules/ | ||
.vitepress/cache | ||
.vitepress/dist | ||
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,49 @@ | ||
import { defineConfig } from 'vitepress' | ||
import { defineConfig } from 'vitepress'; | ||
|
||
const googleAnalyticsTag = 'G-7PTT4PLC69'; | ||
|
||
export default defineConfig({ | ||
title: "Repomix", | ||
description: "Packs your entire repository into AI-friendly formats", | ||
title: 'Repomix', | ||
description: 'Packs your entire repository into AI-friendly formats', | ||
lastUpdated: true, | ||
metaChunk: true, | ||
sitemap: { | ||
hostname: 'http://repomix.com/' | ||
hostname: 'http://repomix.com/', | ||
}, | ||
themeConfig: { | ||
logo: { src: '/repomix-logo.svg', width: 24, height: 24 }, | ||
nav: [ | ||
{ text: 'GitHub', link: 'https://github.com/yamadashy/repomix' } | ||
], | ||
logo: { src: '/images/repomix-logo.svg', width: 24, height: 24 }, | ||
nav: [{ text: 'GitHub', link: 'https://github.com/yamadashy/repomix' }], | ||
socialLinks: [{ icon: 'discord', link: 'https://discord.gg/wNYzTwZFku' }], | ||
footer: { | ||
message: 'Released under the MIT License.', | ||
copyright: 'Copyright © 2024 Kazuki Yamada' | ||
} | ||
copyright: 'Copyright © 2024 Kazuki Yamada', | ||
}, | ||
}, | ||
head: [ | ||
['link', { rel: 'icon', href: '/repomix-logo.svg' }], | ||
['link', { rel: 'icon', href: '/images/repomix-logo.svg' }], | ||
['meta', { property: 'og:type', content: 'website' }], | ||
['meta', { property: 'og:locale', content: 'en' }], | ||
['meta', { property: 'og:title', content: 'Repomix' }], | ||
['meta', { property: 'og:site_name', content: 'Repomix' }], | ||
['meta', { property: 'og:image', content: 'http://repomix.com/og-image.png' }], | ||
['meta', { property: 'og:image', content: 'http://repomix.com/images/og-image.png' }], | ||
['meta', { property: 'og:url', content: 'http://repomix.com/' }], | ||
['meta', { property: 'og:description', content: 'Packs your entire repository into AI-friendly formats' }], | ||
['link', { rel: 'icon', type: 'image/png', href: '/favicon/favicon-96x96.png', sizes: '96x96' }], | ||
['meta', { name: 'theme-color', content: '#f97316' }], | ||
[ | ||
'script', | ||
{ | ||
async: true, | ||
src: `https://www.googletagmanager.com/gtag/js?id=${googleAnalyticsTag}`, | ||
}, | ||
], | ||
[ | ||
'script', | ||
{}, | ||
`window.dataLayer = window.dataLayer || []; | ||
function gtag(){dataLayer.push(arguments);} | ||
gtag('js', new Date()); | ||
gtag('config', '${googleAnalyticsTag}');`, | ||
], | ||
], | ||
}) | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
declare module '*.vue' { | ||
import type { DefineComponent } from 'vue'; | ||
// biome-ignore lint lint/suspicious/noExplicitAny: Vue component | ||
const component: DefineComponent<{}, {}, any>; | ||
export default component; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.