Skip to content

Commit

Permalink
#355 remove nav when embedded in MetaOS (#356)
Browse files Browse the repository at this point in the history
* - swizzled the searchbar so i could update the placeholder text for the search input
- removed index.js and 301 redirect so we no longer have /docs
- better bg

* smol tweak

* - fix broken links in glossary
- update redirect for / with this update
  • Loading branch information
luxumbra authored Oct 6, 2022
1 parent 83cd6fa commit 759e90c
Show file tree
Hide file tree
Showing 16 changed files with 1,799 additions and 417 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,6 @@ package-lock.json

.idea
.vscode

.fleek.json
.vercel
12 changes: 6 additions & 6 deletions docs/resources/glossary.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ See [Wikipedia](https://wikipedia.org/wiki/Doughnut_(economic_model))

## ZenHub

An upgraded interface for Github, it provides a much more comprehensive suite of project management tools.
An upgraded interface for Github, it provides a much more comprehensive suite of project management tools.

See [ZenHub](https://www.zenhub.com/)

Expand Down Expand Up @@ -138,15 +138,15 @@ See [Patron Path](https://www.notion.so/Patron-Path-1db90c8bb4c84398a6fe1f672ea5

## MetaFam

A global family tied by ideas & ideals rather than blood-ties. A movement spanning across nations & borders, united by the goal of building MetaGame.
A global family tied by ideas & ideals rather than blood-ties. A movement spanning across nations & borders, united by the goal of building MetaGame.

See [MetaFam in the MetaManifesto](/docs/wtf-is-metagame/metamanifesto).
See [MetaFam in the MetaManifesto](/wtf-is-metagame/metamanifesto).

## Ranks

Ranks are a way of distinguishing top contributors to MetaGame. They don't determine much in terms of roles but will allow for some bragging rights & perks. Top 56 Players of MetaGame are ranked in 5 leagues: Diamond, Platinum, Golden, Silver & Bronze.

See [Become a Founder of MetaGame](https://wiki.metagame.wtf/docs/how-does-it-work/become-a-founder-of-metagame) & [Ranked Founder Perks](https://www.notion.so/Ranked-Founder-Perks-aaf4b12eb31c4eba94e145c1e9f9a39f)
See [Become a Founder of MetaGame](https://wiki.metagame.wtf/how-does-it-work/become-a-founder-of-metagame) & [Ranked Founder Perks](https://www.notion.so/Ranked-Founder-Perks-aaf4b12eb31c4eba94e145c1e9f9a39f)

## The 300 of MetaGame

Expand Down Expand Up @@ -192,7 +192,7 @@ See [Phases of MetaGame](https://wiki.metagame.wtf/docs/how-does-it-work/phases-

## MetaSys

MetaSys is a system for building decentralized organizations we've pioneered over the past two years. For building action-driven DAOs rather than DAOs driven by whales voting on grant proposals.
MetaSys is a system for building decentralized organizations we've pioneered over the past two years. For building action-driven DAOs rather than DAOs driven by whales voting on grant proposals.

Its comprised of 3 components; SourceCred for accounting for contributions, a token minting mechanism & an automated-market maker.

Expand Down Expand Up @@ -242,7 +242,7 @@ See [Fork The World](https://metagame.substack.com/p/fork-the-world-hackathon)

## MetaFest

MetaFest was MetaGame's first festival. "A bit of a conference, a bit of a hackathon & a shitload of fun"; it was a month-and-a-half long event, featuring a week of socialising through concerts & playing games, a week of talks about crypto & world-improving in general, a week of workshops & 3 weeks of hacking.
MetaFest was MetaGame's first festival. "A bit of a conference, a bit of a hackathon & a shitload of fun"; it was a month-and-a-half long event, featuring a week of socialising through concerts & playing games, a week of talks about crypto & world-improving in general, a week of workshops & 3 weeks of hacking.

## MetaFam Alignment

Expand Down
26 changes: 22 additions & 4 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,17 @@ module.exports = {
src: "img/mg-crystal.png",
},
},
search: {
placeholder: "Search the Wiki",
}
},
presets: [
[
"@docusaurus/preset-classic",
{
docs: {
sidebarPath: require.resolve("./sidebars.js"),
routeBasePath: "/",
editUrl: "https://wiki.metagame.wtf/admin/#/?",
showLastUpdateTime: true,
showLastUpdateAuthor: true,
Expand All @@ -45,23 +49,37 @@ module.exports = {
],
],
plugins: [
require.resolve("docusaurus-lunr-search"),
[require.resolve("docusaurus-lunr-search"),
{
indexBaseUrl: true
}
],
require.resolve("docusaurus-plugin-sass"),
"docusaurus2-dotenv",
[
'@docusaurus/plugin-client-redirects',
{
redirects: [
{
to: '/docs/', // string
from: ['/docs/home/'], // string | string[]
to: '/', // string
from: ['/docs'], // string | string[]
},
{
to: '/docs/', // string
to: '/', // string
from: ['/docs/wtf-is-metagame/wtf-is-metagame'], // string | string[]
}
],
},
],
],
// scripts: [
// {
// src: "./static/lib/header-vanilla.js",
// // async: true,
// defer: true,
// },
// ],
clientModules: [
require.resolve('./src/lib/header.js'),
]
};
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"swizzle": "docusaurus swizzle",
"deploy": "docusaurus deploy",
"serve": "serve build/",
"build:serve": "docusaurus build && serve build/"
"build:serve": "docusaurus build && serve build/",
"build:deploy": "docusaurus build && fleek site:deploy"
},
"dependencies": {
"@docusaurus/core": "^2.0.0-beta.7",
Expand Down
8 changes: 4 additions & 4 deletions src/components/signpost.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const directions = [
{
emoji: "🗺️",
label: "Raids",
url: "/docs/enter-metagame/navigation-board",
url: "/enter-metagame/navigation-board",
description: "Find raids that peak your interest.",
},
{
Expand All @@ -58,7 +58,7 @@ export const directions = [
emoji: "📅",
label: "Calendar",
url:
"docs/resources/calendar",
"/resources/calendar",
description: "Meetings, gatherings and events",
},
{
Expand All @@ -70,7 +70,7 @@ export const directions = [
{
emoji: "⚔️",
label: "Guilds",
url: "/docs/enter-metagame/guilds-of-metagame",
url: "/enter-metagame/guilds-of-metagame",
description: "The list of guilds considered to be a part of MetaGame.",
},
{
Expand Down Expand Up @@ -149,7 +149,7 @@ export function Signpost() {
src="https://cdn.substack.com/image/fetch/w_300,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fe93a37b7-2a48-421c-80b7-3079eca8beb7_2048x881.png"
/>
<div className={styles.metaFest}>
<a href="/docs/metafest">
<a href="/metafest">
<div className={styles.aspectBox}>
<img
alt="MetaFest Logo"
Expand Down
Loading

1 comment on commit 759e90c

@vercel
Copy link

@vercel vercel bot commented on 759e90c Oct 6, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.