From c03320666c55075a82533304cbb54a84d0517f8d Mon Sep 17 00:00:00 2001 From: Asmitha7intech Date: Sun, 29 Mar 2026 10:58:30 +0530 Subject: [PATCH 1/2] Fix backend env loading and improve homepage text --- backend/app/core/config.py | 22 +++++++++---------- frontend/app/page.tsx | 45 +++++++++++++++++++++----------------- 2 files changed, 36 insertions(+), 31 deletions(-) diff --git a/backend/app/core/config.py b/backend/app/core/config.py index 7a9df5b..8072e6a 100644 --- a/backend/app/core/config.py +++ b/backend/app/core/config.py @@ -1,27 +1,27 @@ -from pydantic_settings import BaseSettings +from pydantic_settings import BaseSettings, SettingsConfigDict class Settings(BaseSettings): - # Frontend Config - FRONTEND_URL: str + # Load environment variables from the local .env file + # so the backend can run correctly during local development. + model_config = SettingsConfigDict( + env_file=".env", + env_file_encoding="utf-8", + ) - # LLM Provider + FRONTEND_URL: str PROVIDER: str - - # Azure OpenAI Config AZURE_API_VERSION: str AZURE_ENDPOINT: str AZURE_API_KEY: str AZURE_DEPLOYMENT_NAME: str AZURE_EMBEDDING_DEPLOYMENT_NAME: str - - # Qdrant Config QDRANT_URL: str QDRANT_COLLECTION_NAME: str - - # Langfuse Config LANGFUSE_SECRET_KEY: str LANGFUSE_PUBLIC_KEY: str LANGFUSE_HOST: str -settings = Settings() + +# Create one shared settings object for the app +settings = Settings() \ No newline at end of file diff --git a/frontend/app/page.tsx b/frontend/app/page.tsx index ede5909..41ec79b 100644 --- a/frontend/app/page.tsx +++ b/frontend/app/page.tsx @@ -32,6 +32,7 @@ export default function LandingPage() { AI Explorer +
+ +
@@ -98,7 +104,6 @@ export default function LandingPage() { {/* Features Section */}
- {/* AI Chatbot Feature */}
@@ -111,13 +116,12 @@ export default function LandingPage() {

Ask questions in natural language and get intelligent - responses. The Chatbot can retrieve, and analyze biomodels - using LLMs with Tool Calling. + responses. The chatbot can retrieve and analyze biomodels + using LLMs with tool calling.

- {/* All-in-One Tools Feature */}
@@ -132,6 +136,7 @@ export default function LandingPage() {

All essential tools in one platform

+
@@ -139,22 +144,23 @@ export default function LandingPage() { Biomodel Database Search
+
VCML and SBML File Retrieval
+
- Biomodels Diagrams + Biomodel Diagrams
- {/* Private Access Feature */}
@@ -175,10 +181,9 @@ export default function LandingPage() {
- {/* Footer */}

VCell AI Model Explorer

); -} +} \ No newline at end of file From 41d2189dfd2ad300558c824bd36dfc7b35a4c4f6 Mon Sep 17 00:00:00 2001 From: Asmitha7intech Date: Sun, 29 Mar 2026 15:54:04 +0530 Subject: [PATCH 2/2] Redesign landing page with premium dark theme and polished motion --- frontend/app/page.tsx | 337 +++++++++++++++++++++++++----------------- 1 file changed, 201 insertions(+), 136 deletions(-) diff --git a/frontend/app/page.tsx b/frontend/app/page.tsx index 41ec79b..3658c05 100644 --- a/frontend/app/page.tsx +++ b/frontend/app/page.tsx @@ -2,188 +2,253 @@ import { ArrowRight, - MessageSquare, - Wrench, - Shield, LogIn, UserPlus, + Search, + MessageSquare, + ShieldCheck, } from "lucide-react"; +import { motion } from "framer-motion"; import { Button } from "@/components/ui/button"; -import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"; import Link from "next/link"; import Image from "next/image"; +const features = [ + { + icon: Search, + title: "Discover faster", + text: "Find relevant models and resources through a clearer exploration flow.", + }, + { + icon: MessageSquare, + title: "Understand better", + text: "Use AI-assisted interaction to make complex biological content easier to follow.", + }, + { + icon: ShieldCheck, + title: "Work securely", + text: "Support private model access with a smoother and more polished experience.", + }, +]; + +const fadeUp = { + hidden: { opacity: 0, y: 30 }, + visible: (delay = 0) => ({ + opacity: 1, + y: 0, + transition: { + duration: 0.8, + delay, + ease: [0.22, 1, 0.36, 1], + }, + }), +}; + export default function LandingPage() { return ( -
- {/* Header with Navigation */} -
-
-
-
+
+
+ {/* premium background */} +
+
+
+
+ + {/* header */} +
+
+ VCell Logo - - AI Explorer - -
- -
- - -
+
-
-
- -
-
- {/* Hero Section */} -
-
- VCell Logo + + + {/* hero */} +
+
+ +
+ AI-assisted biological model exploration +
-
-

- Explore VCell Models -
- with AI -

+

+ Explore VCell Models + + through a premium AI experience + +

-

- Search, analyze, and understand biological models more easily - through a cleaner and more user-friendly interface. -

-
-
+

+ Discover, understand, and navigate biological models with a + cleaner visual flow built to feel faster, calmer, and more + professional. +

-
- +
- - - -
-
- - {/* Features Section */} -
- - -
- -
- - AI-Powered Chatbot - -
- -

- Ask questions in natural language and get intelligent - responses. The chatbot can retrieve and analyze biomodels - using LLMs with tool calling. -

-
-
- - - -
- -
- - Everything in One Place - -
- -
-

- All essential tools in one platform -

- -
-
-
- - Biomodel Database Search - -
+
+ + + + +
+
+ VCell Logo +
-
-
- - VCML and SBML File Retrieval - +
+
+

+ Cleaner discovery +

+

+ A calmer, more intuitive model exploration flow. +

-
-
- Biomodel Diagrams +
+

+ Better onboarding +

+

+ More polished first impressions for new contributors. +

- - + + +
- - -
- -
- - Private Model Access - -
- -

- Access private and restricted biomodels with secure Auth0 - authentication. -

-
-
+ {/* features */} +
+ {features.map((feature, index) => { + const Icon = feature.icon; + + return ( + +
+ +
+ +

+ {feature.title} +

+

+ {feature.text} +

+
+ ); + })}
-
-
+
+
-
); -} \ No newline at end of file +}