Skip to content

Commit 0a024c7

Browse files
committed
✨ feat: add eyeact
1 parent f88d198 commit 0a024c7

File tree

4 files changed

+19
-1
lines changed

4 files changed

+19
-1
lines changed

next-env.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
/// <reference types="next/image-types/global" />
33

44
// NOTE: This file should not be edited
5-
// see https://nextjs.org/docs/basic-features/typescript for more information.
5+
// see https://nextjs.org/docs/pages/api-reference/config/typescript for more information.

pages/api/generate.tsx

+13
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,11 @@ export default async function handler(req: NextRequest) {
7878
imgBlur = "7px";
7979
backgroundImage = "https://kalai.fairdataihub.org/codefairBackground.svg";
8080
break;
81+
case "eyeact":
82+
appText = "EyeACT";
83+
imgBlur = "5px";
84+
backgroundImage = "https://kalai.fairdataihub.org/eyeactBackground.svg";
85+
break;
8186
default:
8287
// Use what the user entered
8388
appText = app;
@@ -113,6 +118,14 @@ export default async function handler(req: NextRequest) {
113118
social: "@fair-biors",
114119
};
115120
break;
121+
case "eyeact":
122+
org = {
123+
name: "EyeACT",
124+
github: true,
125+
twitter: false,
126+
social: "@EyeACT",
127+
};
128+
break;
116129
}
117130

118131
return new ImageResponse(

pages/index.tsx

+4
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="eyeact">EyeACT</option>
138+
137139
<option value="codefair">codefair</option>
138140

139141
<option value="custom">Custom</option>
@@ -170,6 +172,8 @@ export default function Index() {
170172

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

175+
<option value="eyeact">EyeACT</option>
176+
173177
<option value="fair-biors">FAIR-BioRS</option>
174178
</select>
175179
</div>

public/eyeactBackground.svg

+1
Loading

0 commit comments

Comments
 (0)