From e38f01c0f136322a86c9e0985b74f335f9c638a5 Mon Sep 17 00:00:00 2001 From: Cedric Hurst Date: Fri, 17 Nov 2023 20:24:31 -0600 Subject: [PATCH] apply structural changes * nest examples under single entry * start adjusting color scheme to tailwind colors * add additional resources under "more" --- docs/components/_category_.json | 4 ---- docs/example-airbnb/_category_.json | 4 ---- docs/example-foosoft/_category_.json | 4 ---- docs/examples/_category_.json | 4 ++++ docs/examples/airbnb/_category_.json | 4 ++++ .../airbnb}/competition.md | 0 .../airbnb}/customer-problem.md | 0 .../airbnb}/distribution-pricing.md | 0 .../airbnb}/introduction.md | 0 .../airbnb}/market-type.md | 0 .../airbnb}/product.md | 0 docs/examples/foosoft/_category_.json | 4 ++++ .../foosoft}/competition.md | 0 .../foosoft}/customer-problem.md | 0 .../foosoft}/distribution-pricing.md | 0 .../foosoft}/introduction.md | 0 .../foosoft}/market-type.md | 0 .../foosoft}/product.md | 0 docs/structure/_category_.json | 4 ++++ docs/{components => structure}/competition.md | 0 .../customer-problem.md | 0 .../distribution-pricing.md | 2 +- docs/{components => structure}/market-type.md | 0 docs/{components => structure}/product.md | 0 docusaurus.config.ts | 21 ++++++++++++------- src/css/custom.css | 8 +++---- src/pages/index.module.css | 10 +++++++++ 27 files changed, 45 insertions(+), 24 deletions(-) delete mode 100644 docs/components/_category_.json delete mode 100644 docs/example-airbnb/_category_.json delete mode 100644 docs/example-foosoft/_category_.json create mode 100644 docs/examples/_category_.json create mode 100644 docs/examples/airbnb/_category_.json rename docs/{example-airbnb => examples/airbnb}/competition.md (100%) rename docs/{example-airbnb => examples/airbnb}/customer-problem.md (100%) rename docs/{example-airbnb => examples/airbnb}/distribution-pricing.md (100%) rename docs/{example-airbnb => examples/airbnb}/introduction.md (100%) rename docs/{example-airbnb => examples/airbnb}/market-type.md (100%) rename docs/{example-airbnb => examples/airbnb}/product.md (100%) create mode 100644 docs/examples/foosoft/_category_.json rename docs/{example-foosoft => examples/foosoft}/competition.md (100%) rename docs/{example-foosoft => examples/foosoft}/customer-problem.md (100%) rename docs/{example-foosoft => examples/foosoft}/distribution-pricing.md (100%) rename docs/{example-foosoft => examples/foosoft}/introduction.md (100%) rename docs/{example-foosoft => examples/foosoft}/market-type.md (100%) rename docs/{example-foosoft => examples/foosoft}/product.md (100%) create mode 100644 docs/structure/_category_.json rename docs/{components => structure}/competition.md (100%) rename docs/{components => structure}/customer-problem.md (100%) rename docs/{components => structure}/distribution-pricing.md (98%) rename docs/{components => structure}/market-type.md (100%) rename docs/{components => structure}/product.md (100%) diff --git a/docs/components/_category_.json b/docs/components/_category_.json deleted file mode 100644 index 57bbce6..0000000 --- a/docs/components/_category_.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "label": "Components", - "position": 2 -} diff --git a/docs/example-airbnb/_category_.json b/docs/example-airbnb/_category_.json deleted file mode 100644 index df3c70b..0000000 --- a/docs/example-airbnb/_category_.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "label": "Example - Airbnb", - "position": 3 -} diff --git a/docs/example-foosoft/_category_.json b/docs/example-foosoft/_category_.json deleted file mode 100644 index da37d06..0000000 --- a/docs/example-foosoft/_category_.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "label": "Example - Foosoft", - "position": 3 -} diff --git a/docs/examples/_category_.json b/docs/examples/_category_.json new file mode 100644 index 0000000..62e826e --- /dev/null +++ b/docs/examples/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Examples", + "position": 3 +} diff --git a/docs/examples/airbnb/_category_.json b/docs/examples/airbnb/_category_.json new file mode 100644 index 0000000..59ac88e --- /dev/null +++ b/docs/examples/airbnb/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Airbnb", + "position": 1 +} diff --git a/docs/example-airbnb/competition.md b/docs/examples/airbnb/competition.md similarity index 100% rename from docs/example-airbnb/competition.md rename to docs/examples/airbnb/competition.md diff --git a/docs/example-airbnb/customer-problem.md b/docs/examples/airbnb/customer-problem.md similarity index 100% rename from docs/example-airbnb/customer-problem.md rename to docs/examples/airbnb/customer-problem.md diff --git a/docs/example-airbnb/distribution-pricing.md b/docs/examples/airbnb/distribution-pricing.md similarity index 100% rename from docs/example-airbnb/distribution-pricing.md rename to docs/examples/airbnb/distribution-pricing.md diff --git a/docs/example-airbnb/introduction.md b/docs/examples/airbnb/introduction.md similarity index 100% rename from docs/example-airbnb/introduction.md rename to docs/examples/airbnb/introduction.md diff --git a/docs/example-airbnb/market-type.md b/docs/examples/airbnb/market-type.md similarity index 100% rename from docs/example-airbnb/market-type.md rename to docs/examples/airbnb/market-type.md diff --git a/docs/example-airbnb/product.md b/docs/examples/airbnb/product.md similarity index 100% rename from docs/example-airbnb/product.md rename to docs/examples/airbnb/product.md diff --git a/docs/examples/foosoft/_category_.json b/docs/examples/foosoft/_category_.json new file mode 100644 index 0000000..16e6e6a --- /dev/null +++ b/docs/examples/foosoft/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "Foosoft", + "position": 2 +} diff --git a/docs/example-foosoft/competition.md b/docs/examples/foosoft/competition.md similarity index 100% rename from docs/example-foosoft/competition.md rename to docs/examples/foosoft/competition.md diff --git a/docs/example-foosoft/customer-problem.md b/docs/examples/foosoft/customer-problem.md similarity index 100% rename from docs/example-foosoft/customer-problem.md rename to docs/examples/foosoft/customer-problem.md diff --git a/docs/example-foosoft/distribution-pricing.md b/docs/examples/foosoft/distribution-pricing.md similarity index 100% rename from docs/example-foosoft/distribution-pricing.md rename to docs/examples/foosoft/distribution-pricing.md diff --git a/docs/example-foosoft/introduction.md b/docs/examples/foosoft/introduction.md similarity index 100% rename from docs/example-foosoft/introduction.md rename to docs/examples/foosoft/introduction.md diff --git a/docs/example-foosoft/market-type.md b/docs/examples/foosoft/market-type.md similarity index 100% rename from docs/example-foosoft/market-type.md rename to docs/examples/foosoft/market-type.md diff --git a/docs/example-foosoft/product.md b/docs/examples/foosoft/product.md similarity index 100% rename from docs/example-foosoft/product.md rename to docs/examples/foosoft/product.md diff --git a/docs/structure/_category_.json b/docs/structure/_category_.json new file mode 100644 index 0000000..408293a --- /dev/null +++ b/docs/structure/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "The Structure", + "position": 2 +} diff --git a/docs/components/competition.md b/docs/structure/competition.md similarity index 100% rename from docs/components/competition.md rename to docs/structure/competition.md diff --git a/docs/components/customer-problem.md b/docs/structure/customer-problem.md similarity index 100% rename from docs/components/customer-problem.md rename to docs/structure/customer-problem.md diff --git a/docs/components/distribution-pricing.md b/docs/structure/distribution-pricing.md similarity index 98% rename from docs/components/distribution-pricing.md rename to docs/structure/distribution-pricing.md index 1f7de1b..4b86e39 100644 --- a/docs/components/distribution-pricing.md +++ b/docs/structure/distribution-pricing.md @@ -23,7 +23,7 @@ How will you create demand to drive them into the channel you have chosen, e.g. advertising, public relations, retail store promotions, PPC, spam, word of mouth, seminars, telemarketing, partners? -## Document how your customers hear about new companies and products: +## How Customers Hear About You 1. Do they go to trade shows? 1. What books/magazines/websites do they read or visit? diff --git a/docs/components/market-type.md b/docs/structure/market-type.md similarity index 100% rename from docs/components/market-type.md rename to docs/structure/market-type.md diff --git a/docs/components/product.md b/docs/structure/product.md similarity index 100% rename from docs/components/product.md rename to docs/structure/product.md diff --git a/docusaurus.config.ts b/docusaurus.config.ts index d629b36..6436211 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -69,19 +69,19 @@ module.exports = { }, { type: "doc", - docId: "components/product", + docId: "structure/product", position: "left", - label: "Components", + label: "The Structure", }, { type: "doc", - docId: "example-airbnb/introduction", + docId: "examples/airbnb/introduction", position: "left", label: "Airbnb Example", }, { type: "doc", - docId: "example-foosoft/introduction", + docId: "examples/foosoft/introduction", position: "left", label: "Foosoft Example", }, @@ -108,13 +108,20 @@ module.exports = { }, ], }, - { title: "More", items: [ { - label: "GitHub", - href: "https://github.com/spantree/hypotheses-briefs", + label: "The Four Steps to the Ephiphany", + href: "https://www.amazon.com/Four-Steps-Epiphany-Steve-Blank/dp/0989200507", + }, + { + label: "Steve Blank", + href: "https://steveblank.com/", + }, + { + label: "Google Design Sprints", + href: "http://www.gv.com/sprint/", }, ], }, diff --git a/src/css/custom.css b/src/css/custom.css index 4d449bd..24d7f45 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -6,8 +6,8 @@ /* You can override the default Infima variables here. */ :root { - --ifm-color-primary: #2e8555; - --ifm-color-primary-dark: #29784c; + --ifm-color-primary: #1e293b; + --ifm-color-primary-dark: #4338ca; --ifm-color-primary-darker: #277148; --ifm-color-primary-darkest: #205d3b; --ifm-color-primary-light: #33925d; @@ -19,8 +19,8 @@ /* For readability concerns, you should choose a lighter palette in dark mode. */ [data-theme="dark"] { - --ifm-color-primary: #25c2a0; - --ifm-color-primary-dark: #21af90; + --ifm-color-primary: #f1f5f9; + --ifm-color-primary-dark: #818cf8; --ifm-color-primary-darker: #1fa588; --ifm-color-primary-darkest: #1a8870; --ifm-color-primary-light: #29d5b0; diff --git a/src/pages/index.module.css b/src/pages/index.module.css index 9f71a5d..6552011 100644 --- a/src/pages/index.module.css +++ b/src/pages/index.module.css @@ -8,6 +8,16 @@ text-align: center; position: relative; overflow: hidden; + display: flex; + flex-direction: column; + justify-content: center; +} + +.heroBanner .container { + flex-grow: 1; + display: flex; + flex-direction: column; + justify-content: center; } @media screen and (max-width: 996px) {