Skip to content

Commit

Permalink
index page
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Sep 2, 2024
1 parent eb92449 commit 7eee4ea
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 15 deletions.
25 changes: 24 additions & 1 deletion content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,27 @@ description = "Scalable & confidential smart contracts for Bitcoin & Lightning"

# RGB FAQ {#title}

<div class="subtitle">Post-blockchain smart contracts</div>
Post-blockchain smart contracts frequently asked questions

- # Glossary

Definitions with detailed explanations of main RGB terms.

- [RGB user terms](glossary/user)
- [Developer terms](glossary/dev)
- [Legal terms](glossary/legal)
- [System-level terms](glossary/sys)

- # Q & A

More than a hundred of most frequently asked questions by RGB users, developers and early adopters, answered by the
people behind RGB design and development.

<a href="qna" class="button">Read questions & answers</a>

- # Cookbook

A detailed step-by-step walk-throughs for main RGB use cases for users, contract issuers and developers, teaching how
to use RGB assets, issue contracts and write RGB apps.

<a href="cookbook" class="button">Read cookbook</a>
File renamed without changes.
6 changes: 5 additions & 1 deletion sass/front.sass
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,16 @@ $footer-gray: $gray
width: 66px
height: 66px

article h1
margin: 0

#title
font-size: 8rem
margin-bottom: 0
margin-top: 0
line-height: 1.2
font-weight: 300
+ p
font-size: 2rem !important

.button
display: inline-block
Expand Down
16 changes: 3 additions & 13 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,7 @@
{% endblock social_media %}

{% block content %}
<header>
{{ section.content | safe }}
</header>
{%- for page in section.pages %}
{% set idx = loop.index % 4 %}
<section>
<header>
<h2>{{ page.title }}</h2>
</header>

{{ page.content | safe }}
</section>
{% endfor -%}
<article class="contents">
{{ section.content | safe }}
</article>
{% endblock content %}

0 comments on commit 7eee4ea

Please sign in to comment.