Spaces:
Running
Running
Ravindra Bharathi commited on
Commit ·
d0f8a86
1
Parent(s): 7343f20
fix: add web/lib files to git tracking (were blocked by Python lib/ gitignore rule)
Browse files- .gitignore +1 -0
- web/lib/domains.ts +58 -0
- web/lib/utils.ts +6 -0
.gitignore
CHANGED
|
@@ -15,6 +15,7 @@ downloads/
|
|
| 15 |
eggs/
|
| 16 |
.eggs/
|
| 17 |
lib/
|
|
|
|
| 18 |
lib64/
|
| 19 |
parts/
|
| 20 |
sdist/
|
|
|
|
| 15 |
eggs/
|
| 16 |
.eggs/
|
| 17 |
lib/
|
| 18 |
+
!web/lib/
|
| 19 |
lib64/
|
| 20 |
parts/
|
| 21 |
sdist/
|
web/lib/domains.ts
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import {
|
| 2 |
+
Banknote,
|
| 3 |
+
Stethoscope,
|
| 4 |
+
Sprout,
|
| 5 |
+
Leaf,
|
| 6 |
+
Scale
|
| 7 |
+
} from "lucide-react";
|
| 8 |
+
|
| 9 |
+
export const DOMAINS = {
|
| 10 |
+
fintech: {
|
| 11 |
+
label: "Fintech",
|
| 12 |
+
icon: Banknote,
|
| 13 |
+
color: "emerald", // Tailwind colors
|
| 14 |
+
accent: "text-emerald-500",
|
| 15 |
+
bg: "bg-emerald-500/10",
|
| 16 |
+
border: "border-emerald-500/20",
|
| 17 |
+
placeholder: "e.g. The impact of Generative AI on P2P lending risk models..."
|
| 18 |
+
},
|
| 19 |
+
healthcare: {
|
| 20 |
+
label: "Healthcare",
|
| 21 |
+
icon: Stethoscope,
|
| 22 |
+
color: "sky",
|
| 23 |
+
accent: "text-sky-500",
|
| 24 |
+
bg: "bg-sky-500/10",
|
| 25 |
+
border: "border-sky-500/20",
|
| 26 |
+
placeholder: "e.g. AI-driven early detection of diabetic retinopathy..."
|
| 27 |
+
},
|
| 28 |
+
agritech: {
|
| 29 |
+
label: "Agritech",
|
| 30 |
+
icon: Sprout,
|
| 31 |
+
color: "green",
|
| 32 |
+
accent: "text-green-500",
|
| 33 |
+
bg: "bg-green-500/10",
|
| 34 |
+
border: "border-green-500/20",
|
| 35 |
+
placeholder: "e.g. Optimizing crop yields using satellite imagery and IoT sensors..."
|
| 36 |
+
},
|
| 37 |
+
climate: {
|
| 38 |
+
label: "Climate",
|
| 39 |
+
icon: Leaf,
|
| 40 |
+
color: "teal",
|
| 41 |
+
accent: "text-teal-500",
|
| 42 |
+
bg: "bg-teal-500/10",
|
| 43 |
+
border: "border-teal-500/20",
|
| 44 |
+
placeholder: "e.g. Carbon capture technologies and their role in net-zero strategies..."
|
| 45 |
+
},
|
| 46 |
+
regulatory: {
|
| 47 |
+
label: "Regulatory",
|
| 48 |
+
icon: Scale,
|
| 49 |
+
color: "purple",
|
| 50 |
+
accent: "text-purple-500",
|
| 51 |
+
bg: "bg-purple-500/10",
|
| 52 |
+
border: "border-purple-500/20",
|
| 53 |
+
placeholder: "e.g. Compliance frameworks for AI in high-frequency trading..."
|
| 54 |
+
}
|
| 55 |
+
};
|
| 56 |
+
|
| 57 |
+
|
| 58 |
+
export type DomainKey = keyof typeof DOMAINS;
|
web/lib/utils.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { type ClassValue, clsx } from "clsx"
|
| 2 |
+
import { twMerge } from "tailwind-merge"
|
| 3 |
+
|
| 4 |
+
export function cn(...inputs: ClassValue[]) {
|
| 5 |
+
return twMerge(clsx(inputs))
|
| 6 |
+
}
|