Spaces:
Sleeping
Sleeping
Manoj Thapa commited on
Commit ·
5f42bc2
1
Parent(s): 46f975d
UI: Add NeuroArc promotion to Hero and Sidebar with responsive styling
Browse files- README.md +10 -4
- frontend/public/neuroarc.svg +11 -0
- frontend/src/components/Header.jsx +3 -3
- frontend/src/components/HeroSection.jsx +24 -5
- frontend/src/components/Sidebar.jsx +27 -1
README.md
CHANGED
|
@@ -6,15 +6,21 @@ colorTo: blue
|
|
| 6 |
sdk: docker
|
| 7 |
app_port: 7860
|
| 8 |
pinned: false
|
|
|
|
| 9 |
---
|
| 10 |
|
| 11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
|
| 13 |
-
|
| 14 |
-
> *Think. Search. Solve.*
|
| 15 |
|
| 16 |
-
|
| 17 |
|
|
|
|
| 18 |
## 🚀 Features
|
| 19 |
|
| 20 |
- **🧠 Agentic Reasoning**: Uses a multi-step "Thinking" process to plan, execute, and verify tasks.
|
|
|
|
| 6 |
sdk: docker
|
| 7 |
app_port: 7860
|
| 8 |
pinned: false
|
| 9 |
+
short_description: 'Planck AI: Agentic search with reasoning and web access.'
|
| 10 |
---
|
| 11 |
|
| 12 |
+
<div align="center">
|
| 13 |
+
<img src="frontend/public/planck-logo.svg" alt="Logo" width="100" />
|
| 14 |
+
<h1>Planck AI</h1>
|
| 15 |
+
<h3>Your Autonomous Reasoning Engine for the Web.</h3>
|
| 16 |
+
<p><strong>Think -> Search -> Solve</strong></p>
|
| 17 |
+
</div>
|
| 18 |
|
| 19 |
+
---
|
|
|
|
| 20 |
|
| 21 |
+
## ✨ Overview
|
| 22 |
|
| 23 |
+
**Planck AI** is an advanced agentic search interface that combines the reasoning power of **GPT-4o** and **GPT-4o Mini** with real-time web access. Unlike traditional chatbots, Planck AI thinks before it speaks—breaking down complex queries into steps, searching multiple sources, reading deep into documents, and verifying facts before giving you an answer.
|
| 24 |
## 🚀 Features
|
| 25 |
|
| 26 |
- **🧠 Agentic Reasoning**: Uses a multi-step "Thinking" process to plan, execute, and verify tasks.
|
frontend/public/neuroarc.svg
ADDED
|
|
frontend/src/components/Header.jsx
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
import { useState } from 'react'
|
| 2 |
-
import { Menu, Sparkles } from 'lucide-react'
|
| 3 |
|
| 4 |
// ... LANGUAGES array remains same ...
|
| 5 |
|
|
@@ -52,8 +52,8 @@ export default function Header({ onToggleSidebar, onNewChat, currentLanguage = '
|
|
| 52 |
</div>
|
| 53 |
</div>
|
| 54 |
|
| 55 |
-
{/* Right section - Language Selector */}
|
| 56 |
-
<div className="flex items-center gap-
|
| 57 |
<div
|
| 58 |
className="relative"
|
| 59 |
onMouseEnter={() => setIsDropdownOpen(true)}
|
|
|
|
| 1 |
import { useState } from 'react'
|
| 2 |
+
import { Menu, Sparkles, ExternalLink } from 'lucide-react'
|
| 3 |
|
| 4 |
// ... LANGUAGES array remains same ...
|
| 5 |
|
|
|
|
| 52 |
</div>
|
| 53 |
</div>
|
| 54 |
|
| 55 |
+
{/* Right section - Language Selector & Promos */}
|
| 56 |
+
<div className="flex items-center gap-3">
|
| 57 |
<div
|
| 58 |
className="relative"
|
| 59 |
onMouseEnter={() => setIsDropdownOpen(true)}
|
frontend/src/components/HeroSection.jsx
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
import { useRef } from 'react'
|
| 2 |
-
import { Sparkles } from 'lucide-react'
|
| 3 |
|
| 4 |
export default function HeroSection({
|
| 5 |
setInput,
|
|
@@ -9,10 +9,32 @@ export default function HeroSection({
|
|
| 9 |
}) {
|
| 10 |
return (
|
| 11 |
<div className="h-full flex flex-col items-center justify-center px-4 relative pb-32">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
<div className="mb-12 flex flex-col items-center text-center">
|
| 13 |
-
<div className="mb-
|
| 14 |
<span className="text-xl font-medium text-pplx-text tracking-wider uppercase">Planck <span className="text-pplx-accent">AI</span></span>
|
| 15 |
</div>
|
|
|
|
| 16 |
<h1 className="text-4xl md:text-6xl font-serif font-light text-pplx-text tracking-tight animate-fade-in-up">
|
| 17 |
Where knowledge begins
|
| 18 |
</h1>
|
|
@@ -21,9 +43,6 @@ export default function HeroSection({
|
|
| 21 |
{/* Input Area passed as child to avoid prop drilling */}
|
| 22 |
{children}
|
| 23 |
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
{/* Disclaimer */}
|
| 28 |
<div className="absolute bottom-6 left-0 right-0 text-center space-y-2 animate-fade-in px-6">
|
| 29 |
<p className="text-sm text-pplx-muted">
|
|
|
|
| 1 |
import { useRef } from 'react'
|
| 2 |
+
import { Sparkles, ExternalLink } from 'lucide-react'
|
| 3 |
|
| 4 |
export default function HeroSection({
|
| 5 |
setInput,
|
|
|
|
| 9 |
}) {
|
| 10 |
return (
|
| 11 |
<div className="h-full flex flex-col items-center justify-center px-4 relative pb-32">
|
| 12 |
+
|
| 13 |
+
{/* Featured Project Floating Badge (Responsive) */}
|
| 14 |
+
<a
|
| 15 |
+
href="https://huggingface.co/spaces/manojthapaa/NeuroArc"
|
| 16 |
+
target="_blank"
|
| 17 |
+
rel="noopener noreferrer"
|
| 18 |
+
className="absolute right-6 top-6 sm:right-12 sm:top-10 md:right-20 md:top-14 lg:right-32 lg:top-16 flex items-center gap-3 px-3 py-2 md:px-4 md:py-3 rounded-2xl bg-zinc-900/40 border border-violet-500/30 hover:border-violet-500/60 hover:bg-zinc-900/60 transition-all duration-300 group backdrop-blur-md animate-fade-in-left shadow-[0_0_15px_-3px_rgba(139,92,246,0.2)] scale-90 sm:scale-95 md:scale-100 origin-top-right"
|
| 19 |
+
>
|
| 20 |
+
<div className="w-10 h-10 rounded-xl bg-violet-500/10 flex items-center justify-center group-hover:bg-violet-500/20 transition-colors">
|
| 21 |
+
<img src="/neuroarc.svg" alt="" className="w-6 h-6 opacity-90" />
|
| 22 |
+
</div>
|
| 23 |
+
<div className="flex flex-col gap-1">
|
| 24 |
+
<div className="flex items-center gap-2">
|
| 25 |
+
<span className="text-sm font-medium text-white group-hover:text-violet-200 transition-colors">NeuroArc</span>
|
| 26 |
+
<span className="text-[9px] font-bold px-1.5 py-0.5 rounded bg-violet-500 text-white tracking-wide">FREE</span>
|
| 27 |
+
<ExternalLink className="w-3 h-3 text-zinc-500 group-hover:text-violet-400 transition-colors" />
|
| 28 |
+
</div>
|
| 29 |
+
<span className="text-[10px] text-zinc-400 group-hover:text-zinc-300">ATS-Friendly CV Builder • By Planck AI Creator</span>
|
| 30 |
+
</div>
|
| 31 |
+
</a>
|
| 32 |
+
|
| 33 |
<div className="mb-12 flex flex-col items-center text-center">
|
| 34 |
+
<div className="mb-6 hidden md:block">
|
| 35 |
<span className="text-xl font-medium text-pplx-text tracking-wider uppercase">Planck <span className="text-pplx-accent">AI</span></span>
|
| 36 |
</div>
|
| 37 |
+
|
| 38 |
<h1 className="text-4xl md:text-6xl font-serif font-light text-pplx-text tracking-tight animate-fade-in-up">
|
| 39 |
Where knowledge begins
|
| 40 |
</h1>
|
|
|
|
| 43 |
{/* Input Area passed as child to avoid prop drilling */}
|
| 44 |
{children}
|
| 45 |
|
|
|
|
|
|
|
|
|
|
| 46 |
{/* Disclaimer */}
|
| 47 |
<div className="absolute bottom-6 left-0 right-0 text-center space-y-2 animate-fade-in px-6">
|
| 48 |
<p className="text-sm text-pplx-muted">
|
frontend/src/components/Sidebar.jsx
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
import { Plus, MessageSquare, Trash2, X, Menu, Sparkles, Zap, Brain } from 'lucide-react'
|
| 2 |
|
| 3 |
/**
|
| 4 |
* Sidebar Component
|
|
@@ -142,6 +142,32 @@ export default function Sidebar({
|
|
| 142 |
))
|
| 143 |
)}
|
| 144 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 145 |
</aside>
|
| 146 |
)
|
| 147 |
}
|
|
|
|
| 1 |
+
import { Plus, MessageSquare, Trash2, X, Menu, Sparkles, Zap, Brain, Briefcase, ExternalLink } from 'lucide-react'
|
| 2 |
|
| 3 |
/**
|
| 4 |
* Sidebar Component
|
|
|
|
| 142 |
))
|
| 143 |
)}
|
| 144 |
</div>
|
| 145 |
+
|
| 146 |
+
{/* Featured Project: NeuroArc */}
|
| 147 |
+
<div className="p-4 border-t border-pplx-border mt-auto">
|
| 148 |
+
<a
|
| 149 |
+
href="https://huggingface.co/spaces/manojthapaa/NeuroArc"
|
| 150 |
+
target="_blank"
|
| 151 |
+
rel="noopener noreferrer"
|
| 152 |
+
className="block group relative overflow-hidden rounded-xl border border-pplx-border hover:border-violet-500/50 transition-all duration-300 bg-gradient-to-br from-[#1c1c1c] to-[#151515] p-3"
|
| 153 |
+
>
|
| 154 |
+
<div className="flex items-start justify-between mb-2">
|
| 155 |
+
<div className="w-8 h-8 rounded-lg bg-violet-500/10 flex items-center justify-center group-hover:bg-violet-500/20 transition-colors">
|
| 156 |
+
<img src="/neuroarc.svg" alt="NeuroArc" className="w-5 h-5 opacity-80 group-hover:opacity-100 transition-opacity" />
|
| 157 |
+
</div>
|
| 158 |
+
<ExternalLink className="w-3 h-3 text-pplx-muted group-hover:text-violet-400 transition-colors" />
|
| 159 |
+
</div>
|
| 160 |
+
<div className="flex flex-col gap-1">
|
| 161 |
+
<div className="flex items-center gap-2">
|
| 162 |
+
<h3 className="text-sm font-medium text-pplx-text group-hover:text-violet-200 transition-colors">NeuroArc</h3>
|
| 163 |
+
<span className="text-[9px] font-bold px-1.5 py-0.5 rounded bg-violet-500 text-white tracking-wide">FREE</span>
|
| 164 |
+
</div>
|
| 165 |
+
<p className="text-xs text-pplx-muted line-clamp-2 group-hover:text-zinc-400 transition-colors">ATS-Friendly CV Builder • By Planck AI Creator</p>
|
| 166 |
+
</div>
|
| 167 |
+
{/* Hover Glow Effect */}
|
| 168 |
+
<div className="absolute inset-0 bg-violet-500/5 opacity-0 group-hover:opacity-100 transition-opacity pointer-events-none" />
|
| 169 |
+
</a>
|
| 170 |
+
</div>
|
| 171 |
</aside>
|
| 172 |
)
|
| 173 |
}
|