Skip to content

Commit

Permalink
docs: feedback from #7
Browse files Browse the repository at this point in the history
  • Loading branch information
onmax committed May 2, 2024
1 parent b884b18 commit 5273734
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .vitepress/theme/components/Card.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const hasLink = computed(() => props.item.href)
'p-20 md:p-40': isIcon,
'items-center': centered,
'flex flex-col': !isIconSmall,
'grid grid-cols-[24px_1fr] grid-rows-[auto_1fr] gap-x-16 gap-y-4 items-center': isIconSmall,
'grid grid-cols-[24px_1fr] grid-rows-[max-content_1fr] gap-x-16 gap-y-4 items-center': isIconSmall,
'transition hocus:translate-y--6 hocus:shadow cursor-pointer': hasLink
}"
>
Expand All @@ -53,6 +53,7 @@ const hasLink = computed(() => props.item.href)
'mb-12': !item.icon,
'text-white group-hocus:text-white': item.bgColor,
'text-darkblue dark:text-white dark:group-hocus:text-darkblue': !item.bgColor,
'lh-[1.2]': isIconSmall
}"
z-1 inverted:max-w-256
>
Expand Down
4 changes: 3 additions & 1 deletion build/web-client/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ The protocol is based on the [Albatross consensus algorithm](/learn/), a proof-o

## The Nimiq Web Client

The Nimiq Web Client is a JavaScript library that allows you to interact with the Nimiq PoS blockchain directly in your browser. It provides a simple interface to create wallets, send transactions and interact with the blockchain.
The Nimiq Web Client is a JavaScript library that allows you to be part of the Nimiq PoS blockchain directly in your browser. No intermediaries, no servers.

The Web Client provides a simple interface to build consensus with other nodes, create wallets, send transactions and interact with the blockchain.

Reaching consensus with the network is easy:

Expand Down
9 changes: 6 additions & 3 deletions build/web-client/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
prose: false
layout: home
aside: false
footer: false
webClientFeatures:
- title: No Servers
icon: i-nimiq:icons-lg-network
Expand Down Expand Up @@ -45,9 +46,11 @@ webClientFeatures:

# Nimiq Web Client

Interact with Albatross without servers.<br/>Directly in the browser.{.subline .mt-16}
Connect to the blockchain directly from your browser {.subline .mt-0}

<div flex="~ gap-16" mt-64 class="raw">
The Nimiq Web Client is a Javascript library that allows you to manage and transact on the Nimiq blockchain directly from your browser. {.mt-32}

<div flex="~ gap-16" mt-36 class="raw">
<a href="./getting-started" pill-blue arrow>Getting Started</a>
<!-- <a href="./getting-started" pill-tertiary>Tutorials</a> -->
<a href="../rpc-docs/" pill-tertiary>Use RPC instead</a>
Expand Down

0 comments on commit 5273734

Please sign in to comment.