Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Commit

Permalink
Remove landing page and customize fonts (#29)
Browse files Browse the repository at this point in the history
* Remove landing page and customize fonts

Signed-off-by: Frank Hinek <[email protected]>

* Switch font to Fira Code

Signed-off-by: Frank Hinek <[email protected]>

---------

Signed-off-by: Frank Hinek <[email protected]>
  • Loading branch information
frankhinek authored Jun 27, 2024
1 parent d73e8dc commit 6afd87e
Show file tree
Hide file tree
Showing 7 changed files with 38 additions and 65 deletions.
4 changes: 3 additions & 1 deletion docs/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default defineConfig({
sidebar: [
{
label: 'Introduction',
link: '/introduction/',
link: '/',
translations: {
es: 'Introducción',
},
Expand Down Expand Up @@ -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({
Expand Down
2 changes: 2 additions & 0 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
16 changes: 16 additions & 0 deletions docs/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 4 additions & 25 deletions docs/src/content/docs/es/index.mdx
Original file line number Diff line number Diff line change
@@ -1,27 +1,6 @@
---
title: Decentralized<br/>Agnostic</br>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";

<LandingSection title="@you/example.com">
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.
</LandingSection>
28 changes: 4 additions & 24 deletions docs/src/content/docs/index.mdx
Original file line number Diff line number Diff line change
@@ -1,26 +1,6 @@
---
title: Decentralized<br/>Agnostic</br>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";

<LandingSection title="@you/example.com">
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.
</LandingSection>
6 changes: 0 additions & 6 deletions docs/src/content/docs/introduction.mdx

This file was deleted.

18 changes: 9 additions & 9 deletions docs/tailwind.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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()],
};
};

0 comments on commit 6afd87e

Please sign in to comment.