diff --git a/docs/astro.config.mjs b/docs/astro.config.mjs index eff4be2..345dbe8 100644 --- a/docs/astro.config.mjs +++ b/docs/astro.config.mjs @@ -24,7 +24,7 @@ export default defineConfig({ sidebar: [ { label: 'Introduction', - link: '/introduction/', + link: '/', translations: { es: 'Introducción', }, @@ -177,6 +177,8 @@ export default defineConfig({ customCss: [ // Path to daps.dev Tailwind base styles: './src/tailwind.css', + '@fontsource/source-sans-pro', + '@fontsource/fira-code', ], }), tailwind({ diff --git a/docs/package.json b/docs/package.json index 9381d47..90c7068 100644 --- a/docs/package.json +++ b/docs/package.json @@ -15,6 +15,8 @@ "@astrojs/starlight": "0.23.2", "@astrojs/starlight-tailwind": "2.0.3", "@astrojs/tailwind": "5.1.0", + "@fontsource/fira-code": "5.0.18", + "@fontsource/source-sans-pro": "5.0.8", "astro": "4.9.2", "sharp": "0.32.6", "tailwindcss": "3.4.3", diff --git a/docs/pnpm-lock.yaml b/docs/pnpm-lock.yaml index a02aff6..3ae864c 100644 --- a/docs/pnpm-lock.yaml +++ b/docs/pnpm-lock.yaml @@ -20,6 +20,12 @@ importers: '@astrojs/tailwind': specifier: 5.1.0 version: 5.1.0(astro@4.9.2(typescript@5.4.5))(tailwindcss@3.4.3) + '@fontsource/fira-code': + specifier: 5.0.18 + version: 5.0.18 + '@fontsource/source-sans-pro': + specifier: 5.0.8 + version: 5.0.8 astro: specifier: 4.9.2 version: 4.9.2(typescript@5.4.5) @@ -528,6 +534,12 @@ packages: '@expressive-code/plugin-text-markers@0.35.3': resolution: {integrity: sha512-gDdnQrfDRXw5Y+PKHJDkpAUdf2pthYOthGcgy3JB8GOTQ3EL1h+755Ct/bGc4MR6jn+dgnQP47uHMWQaccvN6Q==} + '@fontsource/fira-code@5.0.18': + resolution: {integrity: sha512-DuH/ewp/2sSYoJw7PxB1VuCyrxo7OCEWeML7sN5yNfP8gTleIktZl/dTopcPOHv1WwDUcqRG1veRoEgfEeYfqQ==} + + '@fontsource/source-sans-pro@5.0.8': + resolution: {integrity: sha512-5U2UvIYRkCMozZ388gCE73PEpa2MFgN/0t9O4a1FF7bGT/MIneQWSL1XpWZ8iMVYdh6ntxRf3iFA6slCIuFgkg==} + '@img/sharp-darwin-arm64@0.33.4': resolution: {integrity: sha512-p0suNqXufJs9t3RqLBO6vvrgr5OhgbWp76s5gTRvdmxmuv9E1rcaqGUsl3l4mKVmXPkTkTErXediAui4x+8PSA==} engines: {glibc: '>=2.26', node: ^18.17.0 || ^20.3.0 || >=21.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'} @@ -3214,6 +3226,10 @@ snapshots: dependencies: '@expressive-code/core': 0.35.3 + '@fontsource/fira-code@5.0.18': {} + + '@fontsource/source-sans-pro@5.0.8': {} + '@img/sharp-darwin-arm64@0.33.4': optionalDependencies: '@img/sharp-libvips-darwin-arm64': 1.0.2 diff --git a/docs/src/content/docs/es/index.mdx b/docs/src/content/docs/es/index.mdx index b4d7c09..72b4253 100644 --- a/docs/src/content/docs/es/index.mdx +++ b/docs/src/content/docs/es/index.mdx @@ -1,27 +1,6 @@ --- -title: Decentralized
Agnostic
Paytags -head: - - tag: title - content: Decentralized Agnostic Paytag (DAP) -template: splash -hero: - tagline: Simplifica los pagos entre aplicaciones y monedas - image: - file: ~/assets/app-mockups.svg - actions: - - text: Comienza - link: /es/getting-started/ - icon: right-arrow - variant: primary - - text: Ver en GitHub - link: https://github.com/TBD54566975/dap - icon: external +title: Decentralized Agnostic Paytag (DAP) +description: Introducción a los DAPs +prev: false +next: false --- - -import LandingSection from "~/components/LandingSection.astro"; - - - Esto es un Decentralized Agnostic Paytag (DAP). Un DAP es un identificador único que te permite - recibir pagos desde cualquier aplicación o moneda. Es como un nombre de usuario universal para - pagos. - \ No newline at end of file diff --git a/docs/src/content/docs/index.mdx b/docs/src/content/docs/index.mdx index 9e0fbd3..acf1b37 100644 --- a/docs/src/content/docs/index.mdx +++ b/docs/src/content/docs/index.mdx @@ -1,26 +1,6 @@ --- -title: Decentralized
Agnostic
Paytags -head: - - tag: title - content: Decentralized Agnostic Paytag (DAP) -template: splash -hero: - tagline: Simplify payments across apps and currencies - image: - file: ~/assets/app-mockups.svg - actions: - - text: Get Started - link: /getting-started/ - icon: right-arrow - variant: primary - - text: View on GitHub - link: https://github.com/TBD54566975/dap - icon: external +title: Decentralized Agnostic Paytag (DAP) +description: Introduction to DAPs +prev: false +next: false --- - -import LandingSection from "~/components/LandingSection.astro"; - - - This is a Decentralized Agnostic Paytag (DAP). A DAP is a unique identifier that allows you to - receive payments from any app or currency. It's like a universal username for payments. - \ No newline at end of file diff --git a/docs/src/content/docs/introduction.mdx b/docs/src/content/docs/introduction.mdx deleted file mode 100644 index 0f618d4..0000000 --- a/docs/src/content/docs/introduction.mdx +++ /dev/null @@ -1,6 +0,0 @@ ---- -title: Introduction -description: Introduction to Decentralized Agnostic Paytags -prev: false -next: false ---- diff --git a/docs/tailwind.config.mjs b/docs/tailwind.config.mjs index eede732..b13fefd 100644 --- a/docs/tailwind.config.mjs +++ b/docs/tailwind.config.mjs @@ -7,18 +7,18 @@ export default { theme: { extend: { colors: { - // Your preferred accent color. Indigo is closest to Starlight’s defaults. + // Accent color. Indigo is closest to Starlight’s defaults. accent: colors.indigo, - // Your preferred gray scale. Zinc is closest to Starlight’s defaults. + // Gray scale. Zinc is closest to Starlight’s defaults. gray: colors.zinc, }, }, - // fontFamily: { - // // Your preferred text font. Starlight uses a system font stack by default. - // sans: ['"Atkinson Hyperlegible"'], - // // Your preferred code font. Starlight uses system monospace fonts by default. - // mono: ['"IBM Plex Mono"'], - // }, + fontFamily: { + // Text font. + sans: ['"Source Sans Pro"'], + // Code font. + mono: ['"Fira Code"'], + }, }, plugins: [starlightPlugin()], -}; +}; \ No newline at end of file