Compare commits

..

4 Commits

Author SHA1 Message Date
tim
9d5fda2540 tagline touchup 2025-02-17 11:42:28 -04:00
tim
49284d188d default dark mode 2025-02-17 11:39:04 -04:00
tim
6cede6c696 corp build fix 2025-02-17 11:19:16 -04:00
tim
7d8dc550ba corp build fix 2025-02-17 11:02:48 -04:00
11 changed files with 38 additions and 35 deletions

1
.gitignore vendored
View File

@@ -1 +1,2 @@
/src/.vitepress/cache /src/.vitepress/cache
/src/.vitepress/dist

View File

@@ -11,7 +11,7 @@ export default defineConfig({
[ 'link', { rel: 'preconnect', href: 'https://fonts.gstatic.com', crossorigin: '' }], [ 'link', { rel: 'preconnect', href: 'https://fonts.gstatic.com', crossorigin: '' }],
[ 'link', { rel: 'stylesheet', href: 'https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&family=Victor+Mono:ital,wght@0,100..700;1,100..700&display=swap' }], [ 'link', { rel: 'stylesheet', href: 'https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&family=Victor+Mono:ital,wght@0,100..700;1,100..700&display=swap' }],
], ],
transformHead() { transformHead({assets}) {
// put the path of local assets into the <head> // put the path of local assets into the <head>
let fontFile = assets.find(file => /forgotten_futurist\.\w+\.ttf/.test(file)) let fontFile = assets.find(file => /forgotten_futurist\.\w+\.ttf/.test(file))
// adjust the regex accordingly for new fonts // adjust the regex accordingly for new fonts
@@ -31,6 +31,7 @@ export default defineConfig({
] ]
} }
}, },
appearance: 'force-dark',
themeConfig: { themeConfig: {
// https://vitepress.dev/reference/default-theme-config // https://vitepress.dev/reference/default-theme-config
logo: { logo: {
@@ -81,6 +82,7 @@ export default defineConfig({
}, },
}, },
// FFS I cannot stop markdown-it from rendering (c) as ©
markdown: { markdown: {
config: (md) => { config: (md) => {
md.disable(['replacements'], false) md.disable(['replacements'], false)

View File

@@ -5,7 +5,7 @@ layout: home
hero: hero:
name: "dexorder" name: "dexorder"
# text: Pro DeFi # text: Pro DeFi
tagline: Power up your Uniswap trading with limits, stoplosses, DCA's, breakout orders, and more. 100% noncustodial and EVM-native. tagline: Power up your Uniswap trading with limit orders, stoplosses, DCA's, breakout orders, and more. 100% noncustodial and EVM-native.
actions: actions:
- theme: brand - theme: brand
text: Launch App text: Launch App

View File

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 31 KiB

View File

Before

Width:  |  Height:  |  Size: 68 KiB

After

Width:  |  Height:  |  Size: 68 KiB