Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
109 commits
Select commit Hold shift + click to select a range
3188951
Setup prettier and TSX
andreivcodes Jul 31, 2025
b3e26e9
Tailwind v4 and cleanup
andreivcodes Jul 31, 2025
316d4dd
Cleanup boilerplate content
andreivcodes Jul 31, 2025
8ca4bb3
Initial content
andreivcodes Jul 31, 2025
6e168c9
package-lock
andreivcodes Jul 31, 2025
514100d
Tailwind deps for gh workflow
andreivcodes Jul 31, 2025
5087ece
Remove Tailwind, update deps
andreivcodes Jul 31, 2025
0315afa
fix pages titles
andreivcodes Jul 31, 2025
a33d4aa
initial homepage
andreivcodes Aug 3, 2025
c3f97ab
Design tweaks
andreivcodes Aug 3, 2025
49f0970
Update index.tsx
andreivcodes Aug 3, 2025
3fb0d7c
Design tweaks
andreivcodes Aug 3, 2025
ca865f1
align themes
andreivcodes Aug 3, 2025
b34dd29
roadmap section
andreivcodes Aug 4, 2025
a5c3e98
hardcoded github data, preload images
andreivcodes Aug 4, 2025
ac9339d
responsive design
andreivcodes Aug 4, 2025
a917944
blog and responsive header
andreivcodes Aug 4, 2025
4cd4e28
Update 2025-02-03-governance-proposal-roundup.md
andreivcodes Aug 4, 2025
8e3712f
Update Header.tsx
andreivcodes Aug 4, 2025
c25b1d7
Update Header.tsx
andreivcodes Aug 4, 2025
a400bc2
animations and links
andreivcodes Aug 4, 2025
c3249a4
content and animations fix
andreivcodes Aug 4, 2025
01b5d74
markdown content
andreivcodes Aug 4, 2025
91f8d0c
more content
andreivcodes Aug 4, 2025
a6e66f6
legal pages, custom header and footer in docusaurus pages
andreivcodes Aug 4, 2025
dfaa3f9
Update Header.tsx
andreivcodes Aug 4, 2025
a4b50ef
header fix
andreivcodes Aug 4, 2025
0530bb2
smoother animations
andreivcodes Aug 4, 2025
7542b2a
image optimisation
andreivcodes Aug 4, 2025
89f1e8e
cleanup
andreivcodes Aug 4, 2025
f76820e
Added more content
andreivcodes Aug 4, 2025
0921494
Disable scroll restoration
andreivcodes Aug 5, 2025
48cb507
docs category indexes
andreivcodes Aug 5, 2025
8b46eb4
Update Footer.tsx
andreivcodes Aug 5, 2025
4e91370
Update global.css
andreivcodes Aug 5, 2025
13badd0
Design updates
andreivcodes Aug 5, 2025
ee7d5a3
rewards formula
andreivcodes Aug 5, 2025
d02762a
more content
andreivcodes Aug 5, 2025
8592b17
summarized content, learn more links
andreivcodes Aug 5, 2025
eb8017a
Update StructureRoles.module.css
andreivcodes Aug 5, 2025
f177177
content update
andreivcodes Aug 5, 2025
805f63f
roadmap
andreivcodes Aug 6, 2025
bc8a706
roadmap gaps
andreivcodes Aug 6, 2025
e37b92c
in progress icon
andreivcodes Aug 6, 2025
4a17bcb
Design tweaks
andreivcodes Aug 6, 2025
1d5293a
OG update
andreivcodes Aug 6, 2025
844f801
font loading
andreivcodes Aug 6, 2025
24f8a90
anchor links
andreivcodes Aug 6, 2025
ebb4e68
anchor links
andreivcodes Aug 6, 2025
619e0c1
Anchor autoscroll on homepage
andreivcodes Aug 6, 2025
6bbf5df
anchor links open tabs
andreivcodes Aug 6, 2025
a2f9b22
navigation scroll
andreivcodes Aug 6, 2025
2588e7f
remove github token env var
andreivcodes Aug 6, 2025
cb4e224
Content updates
andreivcodes Aug 6, 2025
971125b
prettier
andreivcodes Aug 6, 2025
138192b
Content updates
andreivcodes Aug 7, 2025
67f1a0d
Content fixes
andreivcodes Aug 7, 2025
f4669eb
Content updates
andreivcodes Aug 7, 2025
0bb0fad
Update govern buttons
andreivcodes Aug 7, 2025
39688aa
Update delegates-and-participants.md
andreivcodes Aug 7, 2025
7acc0e2
Update delegates-and-participants.md
andreivcodes Aug 7, 2025
7e9b517
Update rewards-and-incentives.md
andreivcodes Aug 7, 2025
1b8b4c9
Update screening-committee.md
andreivcodes Aug 7, 2025
3eac88f
HoS blog author
andreivcodes Aug 7, 2025
cfeaefd
Content updates
andreivcodes Aug 7, 2025
76d6955
Content update
andreivcodes Aug 7, 2025
b93aad6
legal docs
andreivcodes Aug 7, 2025
775c3cb
Content updates
andreivcodes Aug 7, 2025
d0e88f9
Edit this page routing
andreivcodes Aug 8, 2025
acac013
React content pulled from md
andreivcodes Aug 8, 2025
33000a3
homepage content, format and types, legal pages frontmatter
andreivcodes Aug 8, 2025
86b1121
Update README.md
andreivcodes Aug 8, 2025
cc6f761
alpha header
andreivcodes Aug 8, 2025
6c2a905
Split README
andreivcodes Aug 8, 2025
50d3305
Update README.md
andreivcodes Aug 8, 2025
3d7397c
Content updates
andreivcodes Aug 8, 2025
f173082
Content updates
andreivcodes Aug 8, 2025
9ec5a1c
Improve docs CTA
andreivcodes Aug 8, 2025
c6e5921
Update mission-vision-values.md
andreivcodes Aug 8, 2025
17cf112
Update homepage.md
klausbrave Aug 8, 2025
87a2477
Update docusaurus.config.ts
andreivcodes Aug 8, 2025
94f0811
Update code-of-conduct.md
klausbrave Aug 8, 2025
949fc6f
Update conflict-of-interest-policy.md
klausbrave Aug 8, 2025
7946edd
Update submit-a-proposal.md
klausbrave Aug 8, 2025
d0200c1
Update mission-vision-values.md
klausbrave Aug 8, 2025
b4cd25b
Update code-of-conduct.md
klausbrave Aug 8, 2025
923a7d7
Update sidebars.ts
klausbrave Aug 8, 2025
7d5e5b9
Update sidebars.ts
klausbrave Aug 9, 2025
ac792fa
Update sidebars.ts
klausbrave Aug 9, 2025
d910cd0
Update sidebars.ts
klausbrave Aug 9, 2025
25e607a
Update submit-a-proposal.md
klausbrave Aug 9, 2025
62926d2
Update 2025-08-07-introducing-near-house-of-stake.md
klausbrave Aug 9, 2025
0154adf
Design fixes
andreivcodes Aug 9, 2025
f14cb85
Merge branch 'initial-setup' of https://github.com/HackHumanityOrg/ho…
andreivcodes Aug 9, 2025
21b6b4d
Update conflict-of-interest-policy.md
klausbrave Aug 9, 2025
902a513
Merge branch 'initial-setup' of https://github.com/HackHumanityOrg/ho…
andreivcodes Aug 9, 2025
e713429
Update proposal-and-voting-process.md
klausbrave Aug 9, 2025
2e6ffbb
Update proposal-and-voting-process.md
klausbrave Aug 9, 2025
054eea3
Update screening-committee.md
klausbrave Aug 9, 2025
3cd079e
Update responsibilities-and-scope.md
klausbrave Aug 9, 2025
6222fc4
Update what-is-venear.md
klausbrave Aug 9, 2025
017df20
katex update
andreivcodes Aug 9, 2025
ae23935
NEAR HoS stats
andreivcodes Aug 9, 2025
be9d094
Font loading
andreivcodes Aug 9, 2025
ad03042
Font loading
andreivcodes Aug 9, 2025
fb7cc58
Fonts loading
andreivcodes Aug 9, 2025
864b16d
Update yarn.lock
andreivcodes Aug 9, 2025
1433883
autogenerate anchors
andreivcodes Aug 10, 2025
a80acff
Update Hero.tsx
andreivcodes Aug 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# GitHub Personal Access Token - DO NOT USE IN CLIENT-SIDE CODE
#
# SECURITY WARNING:
# Do not add GitHub tokens to this project's configuration.
# Tokens added to Docusaurus config will be exposed in the browser bundle.
#
# For dynamic GitHub data:
# - Use the hardcoded data in src/services/github.ts (current approach)
# - Or implement a backend API/serverless function to fetch data securely
#
# This file is kept for documentation purposes only.
# GITHUB_TOKEN=ghp_xxxxxxxxxxxxxxxxxxxx # DO NOT USE
75 changes: 75 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
# Contributing to House of Stake

Thanks for helping improve House of Stake! Most content updates do not require a local setup — you can edit files on GitHub and open a pull request (PR). A preview build will be posted on your PR after CI finishes.

## Quick start (no local setup)

1) Find the file
- On the live site, click the "Edit this page" button in the header to jump to the exact file in GitHub.
- Or browse files directly in the repository.

2) Edit
- Click the pencil icon to edit in your browser.
- For new content:
- Docs: Add a Markdown file in the correct folder under `docs/`.
- Blog: Add a file in `blog/` named `YYYY-MM-DD-your-slug.md`.

3) Open a pull request
- Add a short description of what changed and click "Propose changes".
- CI builds a preview and comments the link on your PR (previews from forks may need maintainer approval).

4) Review and merge
- Maintainers review, suggest fixes if needed, and merge when ready.

## Where things live

- Homepage content: `src/content/homepage.md`
- One YAML frontmatter document controls homepage sections; toggle with `visible: true|false`.
- Validated at build time by `src/shared/homepageContentSchema.ts` via the custom plugin in `plugins/homepage-content/`.

- Docs: `docs/`
- One topic per Markdown file (`.md`). Use a top-level `# Title` and short sections.
- Sidebar items are configured in `sidebars.ts` (add your new doc to the appropriate category `items`).
- Images: keep near the doc in `docs/<section>/assets/`, or use `static/img/` and link as `/img/<file>`.

- Blog: `blog/`
- File name: `YYYY-MM-DD-your-slug.md`
- Frontmatter example:
```yaml
---
title: Your Post Title
description: One-line summary
authors: [houseofstake]
tags: [update]
---
```
- Authors live in `blog/authors.yml`.

- Legal: `legal/*.mdx`
- MDX content rendered by wrappers in `src/pages/*.tsx`.
- Optional frontmatter: `title`, `lastUpdated`.

## Content tips
- Prefer clear headings, short paragraphs, and bullet points.
- Link to deeper references rather than duplicating large sections.
- Clearly label examples.

## Local development (optional)
- Node.js 18+
- Install: `npm ci` (or `yarn install`)
- Dev server: `npm run start`
- Typecheck: `npm run typecheck`
- Build: `npm run build`
- Serve build: `npm run serve`

Notes
- Edit links are mapped in `src/components/homepage/Header.tsx` (plus `editUrl` in `docusaurus.config.ts`). Keep these in sync if branch/org changes.

## CI and previews
- PRs are built by GitHub Actions; a preview URL is commented on the PR.
- Production deploy runs on `main` and publishes to `gh-pages`. A `CNAME` on `gh-pages` is respected if present.

## Questions or ideas?
- Open an issue: https://github.com/houseofstake/houseofstake.org/issues/new

Thank you for contributing!
18 changes: 18 additions & 0 deletions .github/SUPPORT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Support and Feedback

We value your feedback. Please use the options below depending on your need.

## Questions, ideas, and content requests
- Open a GitHub issue: https://github.com/houseofstake/houseofstake.org/issues/new
- Include the page URL or file path, expected vs actual behavior, and a screenshot/snippet if helpful.

## Propose edits directly
- Click “Edit this page” on the site header to open the file on GitHub, then submit a PR with your changes.

## Community channels
- Telegram: https://t.me/NEAR_HouseOfStake
- X (Twitter): https://x.com/NEARGovernance
- NEAR Forum (House of Stake): https://gov.near.org/c/house-of-stake/158
- Governance app: https://gov.houseofstake.org

Thank you for helping improve House of Stake.
6 changes: 3 additions & 3 deletions .github/workflows/security-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
required: false
type: string
default: ''

# Also trigger on pull requests
pull_request:
types: [opened, synchronize, reopened]
Expand All @@ -27,7 +27,7 @@ jobs:
with:
ref: ${{ github.event.inputs.branch || github.event.pull_request.head.sha || github.sha }}
fetch-depth: 2

- name: Run Claude Code Security Review
uses: anthropics/claude-code-security-review@main
with:
Expand All @@ -45,4 +45,4 @@ jobs:
.github
.git
claudecode-timeout: 20
run-every-commit: ${{ github.event_name == 'pull_request' }}
run-every-commit: ${{ github.event_name == 'pull_request' }}
22 changes: 22 additions & 0 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Security Review

permissions:
pull-requests: write
contents: read

on:
pull_request:

jobs:
security:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha || github.sha }}
fetch-depth: 2

- uses: anthropics/claude-code-security-review@main
with:
comment-pr: true
claude-api-key: ${{ secrets.CLAUDE_API_KEY }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

# Misc
.DS_Store
.env
.env.local
.env.development.local
.env.test.local
Expand Down
22 changes: 22 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Dependencies
node_modules/
package-lock.json

# Production
build/
.docusaurus/

# Generated files
.cache-loader/

# Misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

# Logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
11 changes: 11 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"semi": true,
"trailingComma": "es5",
"singleQuote": true,
"printWidth": 80,
"tabWidth": 2,
"useTabs": false,
"bracketSpacing": true,
"arrowParens": "always",
"endOfLine": "lf"
}
47 changes: 10 additions & 37 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,41 +1,14 @@
# Website
## House of Stake Website

This website is built using [Docusaurus](https://docusaurus.io/), a modern static website generator.
This repo powers the House of Stake website (Docusaurus). Most content is Markdown.

## Installation
- [Contributing guide](.github/CONTRIBUTING.md)
- [Support & feedback](.github/SUPPORT.md)
- [Open an issue](https://github.com/houseofstake/houseofstake.org/issues/new)

```bash
yarn
```
Local development (quick reference)
- Install: `npm ci`
- Dev server: `npm run start`
- Build: `npm run build`

## Local Development

```bash
yarn start
```

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

## Build

```bash
yarn build
```

This command generates static content into the `build` directory and can be served using any static contents hosting service.

## Deployment

Using SSH:

```bash
USE_SSH=true yarn deploy
```

Not using SSH:

```bash
GIT_USER=<Your GitHub username> yarn deploy
```

If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch.
License: see `LICENSE`.
12 changes: 0 additions & 12 deletions blog/2019-05-28-first-blog-post.md

This file was deleted.

44 changes: 0 additions & 44 deletions blog/2019-05-29-long-blog-post.md

This file was deleted.

24 changes: 0 additions & 24 deletions blog/2021-08-01-mdx-blog-post.mdx

This file was deleted.

Binary file not shown.
29 changes: 0 additions & 29 deletions blog/2021-08-26-welcome/index.md

This file was deleted.

Loading
Loading