Skip to content

Commit f88d198

Browse files
committed
✨ feat: add codefair background support
1 parent c386e9d commit f88d198

File tree

5 files changed

+1170
-953
lines changed

5 files changed

+1170
-953
lines changed

pages/api/generate.tsx

+5
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,11 @@ export default async function handler(req: NextRequest) {
7373
backgroundImage =
7474
"https://kalai.fairdataihub.org/fairbiorsBackground.svg";
7575
break;
76+
case "codefair":
77+
appText = "codefair";
78+
imgBlur = "7px";
79+
backgroundImage = "https://kalai.fairdataihub.org/codefairBackground.svg";
80+
break;
7681
default:
7782
// Use what the user entered
7883
appText = app;

pages/index.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,8 @@ export default function Index() {
134134

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

137+
<option value="codefair">codefair</option>
138+
137139
<option value="custom">Custom</option>
138140
</select>
139141
</div>

0 commit comments

Comments
 (0)