Skip to content

Commit

Permalink
Create sensible content structure
Browse files Browse the repository at this point in the history
  • Loading branch information
mciszczon committed Oct 22, 2024
1 parent c484c63 commit e8c6d9b
Show file tree
Hide file tree
Showing 20 changed files with 115 additions and 9 deletions.
11 changes: 11 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Generated by editorconfig.timseverien.com
# https://editor.timseverien.com/#config
root = true

[*]
charset = utf-8
end_of_line = lf
indent_style = space
insert_final_newline = true
tab_width = 2
trim_trailing_whitespace = true
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@
"prettier-plugin-astro": "^0.14.1"
},
"lint-staged": {
"*.{js,ts,astro,css,md,mdx}": "prettier --write"
"*.{js,ts,astro,css,md,mdx,mjs,cjs}": "prettier --write"
}
}
3 changes: 3 additions & 0 deletions src/content/docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: Homepage
description: Get started with the OnHive.io website.
tableOfContents: false
published: false
hero:
tagline: Welcome to OnHive.io, a documentation and tutorial site for building apps on the Hive blockchain.
image:
Expand All @@ -16,3 +17,5 @@ hero:
icon: external
variant: minimal
---

import "../../styles/home.css";
7 changes: 7 additions & 0 deletions src/content/docs/school/01-learning-hive/hive-coding.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: Coding on Hive
description: How to write software that will run on the Hive blockchain, and what can you do with it?
sidebar:
order: 30
label: Coding on Hive
---
6 changes: 6 additions & 0 deletions src/content/docs/school/01-learning-hive/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: Learning Hive
sidebar:
order: 0
label: 01 Learning Hive
---
7 changes: 7 additions & 0 deletions src/content/docs/school/01-learning-hive/introduction.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: Introduction to Blockchain & Hive
description: Introduction to the Hive Coding School, as well as the idea of blockchain and Hive blockchain in particular.
sidebar:
order: 10
label: Blockchain & Hive
---
7 changes: 7 additions & 0 deletions src/content/docs/school/01-learning-hive/l2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: Layer 2
description: What is a layer 2 blockchain? What are L2 chains on Hive?
sidebar:
order: 20
label: Layer 2
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: Let's Code Something!
description: Let's write something useful on the Hive blockchain using a few different approaches.
sidebar:
order: 40
label: Let's Code!
---
7 changes: 7 additions & 0 deletions src/content/docs/school/01-learning-hive/wax.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: Introducing Wax
description: Learn Wax, a polyglot development toolkit for building apps on Hive blockchain.
sidebar:
order: 50
label: Introducing Wax
---
6 changes: 6 additions & 0 deletions src/content/docs/school/02-history-witness-app/3speak.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: 3Speak Integration
sidebar:
order: 40
label: 3Speak Integration
---
7 changes: 7 additions & 0 deletions src/content/docs/school/02-history-witness-app/auth.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: Authenticating and Managing Users
description: Learn how to create and authenticate users on Hive blockchain.
sidebar:
order: 20
label: User Auth & Management
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: Bootstrapping the History Witness App
description: Let's start a new Hive app from scratch!
sidebar:
order: 10
label: Bootstrapping the App
---
6 changes: 6 additions & 0 deletions src/content/docs/school/02-history-witness-app/exhibitions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: Creating Exhibitions
sidebar:
order: 50
label: Creating Exhibitions
---
6 changes: 6 additions & 0 deletions src/content/docs/school/02-history-witness-app/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: History Witnesses — Building an App
sidebar:
order: 0
label: 02 Building an App
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: Posting on Hive
sidebar:
order: 30
label: Posting on Hive
---
7 changes: 7 additions & 0 deletions src/content/docs/school/02-history-witness-app/tech-stack.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: Full App Tech Stack
description: "Learn how to build a full-stack web app on Hive: what tools can you use and how to integrate them."
sidebar:
order: 5
label: Tech Stack
---
6 changes: 6 additions & 0 deletions src/content/docs/school/02-history-witness-app/wrap-up.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: Wrapping up & Next Steps
sidebar:
order: 60
label: Next Steps
---
6 changes: 0 additions & 6 deletions src/content/docs/school/index.md

This file was deleted.

9 changes: 7 additions & 2 deletions src/styles/home.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
/* Adjust padding for stylistic purposes */
.sl-markdown-content {
padding-bottom: 1rem !important;
margin-top: 0;
/*padding-bottom: 1rem !important;*/
/*margin-top: 0;*/
display: none;
}

.meta {
display: none;
}
1 change: 1 addition & 0 deletions src/styles/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ header.header {
/* Add padding to meta */
.meta {
padding-inline-end: var(--sl-content-pad-x);
padding: 1.5rem var(--sl-content-pad-x);
}

/* Adjust padding on pages with hero component */
Expand Down

0 comments on commit e8c6d9b

Please sign in to comment.