Skip to content

Commit

Permalink
✨ feat: add support for aireadi/fairhub documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
megasanjay committed Feb 17, 2024
1 parent a786f48 commit c386e9d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pages/api/generate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,21 @@ export default async function handler(req: NextRequest) {
imgBlur = "5px";
backgroundImage = "https://kalai.fairdataihub.org/aireadiBackground.svg";
break;
case "ai-readi-docs":
appText = "Documentation";
imgBlur = "5px";
backgroundImage = "https://kalai.fairdataihub.org/aireadiBackground.svg";
break;
case "fairhub":
appText = "";
imgBlur = "5px";
backgroundImage = "https://kalai.fairdataihub.org/fairhubBackground.svg";
break;
case "fairhub-docs":
appText = "Documentation";
imgBlur = "5px";
backgroundImage = "https://kalai.fairdataihub.org/fairhubBackground.svg";
break;
case "fair-biors":
appText = "";
imgBlur = "5px";
Expand Down
4 changes: 4 additions & 0 deletions pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,14 @@ export default function Index() {

<option value="ai-readi">AI-READI</option>

<option value="ai-readi-docs">AI-READI Documentation</option>

<option value="fair-biors">FAIR-BioRS</option>

<option value="fairhub">Fairhub</option>

<option value="fairhub-docs">Fairhub Documentation</option>

<option value="custom">Custom</option>
</select>
</div>
Expand Down

0 comments on commit c386e9d

Please sign in to comment.