Skip to content

Commit 90cf675

Browse files
authored
iroha2-branding (#511)
Signed-off-by: tarmovannas <tarmo@tarmovannas.com>
1 parent bc65d77 commit 90cf675

File tree

12 files changed

+83
-9
lines changed

12 files changed

+83
-9
lines changed

.vitepress/config.mts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ export default defineConfig({
394394
base: BASE,
395395
srcDir: 'src',
396396
srcExclude: ['snippets/*.md'],
397-
title: 'Hyperledger Iroha 2 Tutorial',
397+
title: "Hyperledger Iroha 2 Docs | World's Most Advanced Blockchain Framework",
398398
description:
399399
'Documentation for Hyperledger Iroha 2 offering step-by-step guides for SDKs and outlining the main differences between Iroha versions.',
400400
lang: 'en-US',
@@ -439,7 +439,7 @@ export default defineConfig({
439439
},
440440

441441
themeConfig: {
442-
// logo: '/icon.svg',
442+
logo: '/icon.svg',
443443
siteTitle: 'Iroha 2',
444444

445445
socialLinks: [

.vitepress/theme/components/ShareFeedback.vue

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,9 @@ function doSubmit() {
225225
color: var(--vp-custom-block-tip-text);
226226
}
227227
}
228+
.overflow-y-scroll {
229+
overflow-y: auto;
230+
}
228231
229232
textarea,
230233
input {
@@ -251,4 +254,7 @@ input {
251254
display: block;
252255
margin-bottom: 8px;
253256
}
257+
fieldset {
258+
border: none;
259+
}
254260
</style>

.vitepress/theme/style/index.scss

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
1+
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@100..800&display=swap');
2+
13
:root {
24
--vp-font-family-mono: 'JetBrains Mono', 'Fira Code', Menlo, Monaco, Consolas, 'Courier New', monospace;
5+
--vp-font-family-base: 'Sora', 'Inter', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
6+
7+
--vp-c-brand-1: var(--vp-c-red-1);
8+
--vp-c-brand-2: var(--vp-c-red-2);
9+
--vp-c-brand-3: var(--vp-c-red-3);
10+
--vp-c-brand-soft: var(--vp-c-red-soft);
11+
}
12+
13+
.VPSidebarItem.level-0 .text {
14+
font-weight: 500 !important;
15+
color: var(--vp-c-text-1);
16+
}
17+
18+
.VPSidebarItem.level-1 .text, .VPSidebarItem.level-2 .text, .VPSidebarItem.level-3 .text, .VPSidebarItem.level-4 .text, .VPSidebarItem.level-5 .text {
19+
font-weight: 400 !important;
20+
color: var(--vp-c-text-2);
21+
}
22+
23+
.VPHero .image {
24+
min-height: 320px;
325
}
426

527
.vp-doc {
@@ -17,4 +39,9 @@
1739
sup {
1840
line-height: 0;
1941
}
42+
43+
p {
44+
line-height: 1.75;
45+
font-weight: 300;
46+
}
2047
}

src/index.md

Lines changed: 24 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,46 @@
22
layout: home
33

44
hero:
5-
name: Iroha 2 Documentation
6-
# text:
7-
tagline: Fully-featured blockchain ledger
5+
name: Hyperledger Iroha 2
6+
text: Documentation
7+
tagline: World's Most Advanced Blockchain Framework
8+
image:
9+
src: /icon.svg
10+
alt: Hyperledger Iroha 2 logo
811
#actions:
912
#- theme: alt
1013
# text: View on GitHub
1114
# link: https://github.com/hyperledger-iroha/iroha/
1215

1316
features:
14-
- icon: 🚀
17+
- icon:
18+
dark: /start.svg
19+
light: /start-light.svg
1520
title: Get Started
1621
details: Install and build Iroha, follow a step-by-step tutorial to start working with Iroha
1722
link: /get-started/
18-
- icon: 🏗️
23+
- icon:
24+
dark: /build.svg
25+
light: /build-light.svg
1926
title: Build on Iroha
2027
details: Discover how to develop a product on Iroha using popular programming languages
2128
link: /guide/tutorials/
22-
- icon: 📖
29+
- icon:
30+
dark: /explained.svg
31+
light: /explained-light.svg
2332
title: Iroha Explained
2433
details: Learn about Iroha functionality in great detail and understand the underlying principles
2534
link: /blockchain/iroha-explained
26-
- icon: 💻
35+
- icon:
36+
dark: /reference.svg
37+
light: /reference-light.svg
2738
title: Reference
2839
details: Consult reference documentation for extensive information about available functionality
2940
link: /reference/torii-endpoints
3041
# - title: Cookbook # (TBA)
42+
43+
footer: true
44+
---
45+
46+
<hr style="margin-top: 3rem;">
47+
<p style="font-weight: 200; font-size: 0.875rem;">The Hyperledger Iroha project is part of the <a href="https://www.lfdecentralizedtrust.org/projects/tag/ledger-technology" target="_blank">LF Decentralized Trust</a> | Learn more about the features and use cases at <a href="https://iroha.tech/" target="_blank">iroha.tech</a></p>

src/public/build-light.svg

Lines changed: 3 additions & 0 deletions
Loading

src/public/build.svg

Lines changed: 3 additions & 0 deletions
Loading

src/public/explained-light.svg

Lines changed: 3 additions & 0 deletions
Loading

src/public/explained.svg

Lines changed: 3 additions & 0 deletions
Loading

src/public/reference-light.svg

Lines changed: 3 additions & 0 deletions
Loading

src/public/reference.svg

Lines changed: 3 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)