Skip to content

Commit 4eda89b

Browse files
8bitAlexCopilot
andauthored
Add 'Featured On' section and update navigation in Docusaurus config (#61)
* Add 'Featured On' section with referral badge to Docusaurus config * Add new navigation links and update featured badges in Docusaurus config; adjust HOURS_INCREMENT in CostSavings component * Update site/docusaurus.config.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Use static launch llama badge --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 300e214 commit 4eda89b

3 files changed

Lines changed: 40 additions & 1 deletion

File tree

site/docusaurus.config.ts

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,26 @@ const config: Config = {
9999
label: 'Getting Started',
100100
to: '/docs/overview',
101101
},
102+
{
103+
label: 'What\'s New',
104+
to: '/docs/whats-new',
105+
},
106+
{
107+
label: 'Usage',
108+
to: '/docs/category/usage',
109+
},
110+
{
111+
label: 'Features',
112+
to: '/docs/category/features',
113+
},
114+
{
115+
label: 'Examples',
116+
to: '/docs/category/examples',
117+
},
118+
{
119+
label: 'References',
120+
to: '/docs/category/references',
121+
},
102122
],
103123
},
104124
{
@@ -108,6 +128,25 @@ const config: Config = {
108128
label: 'GitHub',
109129
href: 'https://github.com/8bitalex/raid',
110130
},
131+
{
132+
label: 'Product Hunt',
133+
href: 'https://www.producthunt.com/products/raid',
134+
},
135+
{
136+
label: 'Launch Llama',
137+
href: 'https://tools.launchllama.co/products/raid',
138+
},
139+
],
140+
},
141+
{
142+
title: 'Featured On',
143+
items: [
144+
{
145+
html: `<a href="https://launchllama.co?utm_source=badge&utm_medium=referral" target="_blank" rel="noopener noreferrer"><img src="/img/launch-llama-badge.png" alt="Featured on Launch Llama" width="200" height="50" /></a>`,
146+
},
147+
{
148+
html: `<a href="https://www.producthunt.com/products/raid?embed=true&utm_source=badge-featured&utm_medium=badge&utm_campaign=badge-raid" target="_blank" rel="noopener noreferrer"><img src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=1128226&theme=neutral&t=1776801713624" alt="Featured on Product Hunt" width="200" height="43" /></a>`,
149+
},
111150
],
112151
},
113152
],

site/src/pages/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { useEffect, useState, type ReactNode } from 'react';
1313
import styles from './index.module.css';
1414

1515
function CostSavings() {
16-
const HOURS_INCREMENT = 48;
16+
const HOURS_INCREMENT = 8;
1717
const RATE = 150;
1818
const RAMP_DUR = 800;
1919
const PAUSE_DUR = 4000;
26.3 KB
Loading

0 commit comments

Comments
 (0)