-
Notifications
You must be signed in to change notification settings - Fork 9
Improve home page text and UI #27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -7,29 +7,35 @@ import Orb from "@/components/Orb" | |||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
| export default function HomePage() { | ||||||||||||||||||||||||||||||||||
| return ( | ||||||||||||||||||||||||||||||||||
| <div className="min-h-screen bg-background font-[oblique] tracking-wide" style={{ fontStyle: 'oblique 12deg' }}> | ||||||||||||||||||||||||||||||||||
| {/* <SplashCursor /> */} | ||||||||||||||||||||||||||||||||||
| <div | ||||||||||||||||||||||||||||||||||
| className="min-h-screen bg-background font-[oblique] tracking-wide" | ||||||||||||||||||||||||||||||||||
| style={{ fontStyle: "oblique 12deg" }} | ||||||||||||||||||||||||||||||||||
| > | ||||||||||||||||||||||||||||||||||
| <Navigation /> | ||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
| {/* Hero Section */} | ||||||||||||||||||||||||||||||||||
| <section className="relative h-screen flex items-center justify-center overflow-hidden"> | ||||||||||||||||||||||||||||||||||
| <div className="absolute inset-0 z-0"> | ||||||||||||||||||||||||||||||||||
| <div style={{ | ||||||||||||||||||||||||||||||||||
| width: '100vw', | ||||||||||||||||||||||||||||||||||
| height: '100vh', | ||||||||||||||||||||||||||||||||||
| position: 'absolute', | ||||||||||||||||||||||||||||||||||
| top: '0', | ||||||||||||||||||||||||||||||||||
| left: '0', | ||||||||||||||||||||||||||||||||||
| display: 'flex', | ||||||||||||||||||||||||||||||||||
| alignItems: 'center', | ||||||||||||||||||||||||||||||||||
| justifyContent: 'center' | ||||||||||||||||||||||||||||||||||
| }}> | ||||||||||||||||||||||||||||||||||
| <div style={{ | ||||||||||||||||||||||||||||||||||
| width: 'min(90vw, 90vh)', | ||||||||||||||||||||||||||||||||||
| height: 'min(90vw, 90vh)', | ||||||||||||||||||||||||||||||||||
| maxWidth: '800px', | ||||||||||||||||||||||||||||||||||
| maxHeight: '800px' | ||||||||||||||||||||||||||||||||||
| }}> | ||||||||||||||||||||||||||||||||||
| <div | ||||||||||||||||||||||||||||||||||
| style={{ | ||||||||||||||||||||||||||||||||||
| width: "100vw", | ||||||||||||||||||||||||||||||||||
| height: "100vh", | ||||||||||||||||||||||||||||||||||
| position: "absolute", | ||||||||||||||||||||||||||||||||||
| top: "0", | ||||||||||||||||||||||||||||||||||
| left: "0", | ||||||||||||||||||||||||||||||||||
| display: "flex", | ||||||||||||||||||||||||||||||||||
| alignItems: "center", | ||||||||||||||||||||||||||||||||||
| justifyContent: "center", | ||||||||||||||||||||||||||||||||||
| }} | ||||||||||||||||||||||||||||||||||
| > | ||||||||||||||||||||||||||||||||||
| <div | ||||||||||||||||||||||||||||||||||
| style={{ | ||||||||||||||||||||||||||||||||||
| width: "min(90vw, 90vh)", | ||||||||||||||||||||||||||||||||||
| height: "min(90vw, 90vh)", | ||||||||||||||||||||||||||||||||||
| maxWidth: "800px", | ||||||||||||||||||||||||||||||||||
| maxHeight: "800px", | ||||||||||||||||||||||||||||||||||
| }} | ||||||||||||||||||||||||||||||||||
| > | ||||||||||||||||||||||||||||||||||
| <Orb | ||||||||||||||||||||||||||||||||||
| hoverIntensity={1.7} | ||||||||||||||||||||||||||||||||||
| rotateOnHover={true} | ||||||||||||||||||||||||||||||||||
|
|
@@ -39,19 +45,34 @@ export default function HomePage() { | |||||||||||||||||||||||||||||||||
| </div> | ||||||||||||||||||||||||||||||||||
| </div> | ||||||||||||||||||||||||||||||||||
| </div> | ||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
| <div className="container mx-auto px-4 text-center z-10 relative"> | ||||||||||||||||||||||||||||||||||
| <div className="max-w-4xl mx-auto"> | ||||||||||||||||||||||||||||||||||
| <h1 className="text-3xl sm:text-4xl md:text-5xl font-medium mb-6 sm:mb-8 text-balance tracking-wide px-4" style={{ fontStyle: 'oblique 15deg' }}> | ||||||||||||||||||||||||||||||||||
| Orb Oracle: | ||||||||||||||||||||||||||||||||||
| <div><span className="text-primary">The Price of Everything</span></div> | ||||||||||||||||||||||||||||||||||
| <h1 | ||||||||||||||||||||||||||||||||||
| className="text-3xl sm:text-4xl md:text-5xl font-medium mb-6 sm:mb-8 text-balance tracking-wide px-4" | ||||||||||||||||||||||||||||||||||
| style={{ fontStyle: "oblique 15deg" }} | ||||||||||||||||||||||||||||||||||
| > | ||||||||||||||||||||||||||||||||||
| Orb Oracle: | ||||||||||||||||||||||||||||||||||
| <div> | ||||||||||||||||||||||||||||||||||
| <span className="text-primary">The Price of Everything</span> | ||||||||||||||||||||||||||||||||||
| </div> | ||||||||||||||||||||||||||||||||||
| </h1> | ||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
| <div className="flex flex-col sm:flex-row gap-3 sm:gap-4 justify-center px-4"> | ||||||||||||||||||||||||||||||||||
| <Button asChild size="lg" className="text-lg px-8 bg-white text-black hover:bg-gray-100"> | ||||||||||||||||||||||||||||||||||
| <Link href="/create"> | ||||||||||||||||||||||||||||||||||
| Get Started | ||||||||||||||||||||||||||||||||||
| </Link> | ||||||||||||||||||||||||||||||||||
| <Button | ||||||||||||||||||||||||||||||||||
| asChild | ||||||||||||||||||||||||||||||||||
| size="lg" | ||||||||||||||||||||||||||||||||||
| className="text-lg px-8 bg-white text-black hover:bg-gray-100" | ||||||||||||||||||||||||||||||||||
| > | ||||||||||||||||||||||||||||||||||
| <Link href="/create">Get Started</Link> | ||||||||||||||||||||||||||||||||||
| </Button> | ||||||||||||||||||||||||||||||||||
| <Button asChild variant="outline" size="lg" className="text-lg px-8 bg-transparent border-gray-600 text-gray-400 hover:bg-gray-800"> | ||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
| <Button | ||||||||||||||||||||||||||||||||||
| asChild | ||||||||||||||||||||||||||||||||||
| variant="outline" | ||||||||||||||||||||||||||||||||||
| size="lg" | ||||||||||||||||||||||||||||||||||
| className="text-lg px-8 bg-transparent border-gray-600 text-gray-400 hover:bg-gray-800" | ||||||||||||||||||||||||||||||||||
| > | ||||||||||||||||||||||||||||||||||
| <Link href="/explorer">Learn More</Link> | ||||||||||||||||||||||||||||||||||
| </Button> | ||||||||||||||||||||||||||||||||||
| </div> | ||||||||||||||||||||||||||||||||||
|
|
@@ -63,7 +84,12 @@ export default function HomePage() { | |||||||||||||||||||||||||||||||||
| <section className="h-screen flex items-center justify-center"> | ||||||||||||||||||||||||||||||||||
| <div className="container mx-auto px-4"> | ||||||||||||||||||||||||||||||||||
| <div className="text-center mb-12 sm:mb-16 px-4"> | ||||||||||||||||||||||||||||||||||
| <h2 className="text-2xl sm:text-3xl md:text-4xl font-medium mb-4 tracking-wide" style={{ fontStyle: 'oblique 15deg' }}>Why choose OracleNet?</h2> | ||||||||||||||||||||||||||||||||||
| <h2 | ||||||||||||||||||||||||||||||||||
| className="text-2xl sm:text-3xl md:text-4xl font-medium mb-4 tracking-wide" | ||||||||||||||||||||||||||||||||||
| style={{ fontStyle: "oblique 15deg" }} | ||||||||||||||||||||||||||||||||||
| > | ||||||||||||||||||||||||||||||||||
| Why choose OracleNet? | ||||||||||||||||||||||||||||||||||
| </h2> | ||||||||||||||||||||||||||||||||||
| <p className="text-lg sm:text-xl text-muted-foreground max-w-2xl mx-auto"> | ||||||||||||||||||||||||||||||||||
| Enterprise-grade infrastructure for the next generation of decentralized applications | ||||||||||||||||||||||||||||||||||
| </p> | ||||||||||||||||||||||||||||||||||
|
|
@@ -77,7 +103,7 @@ export default function HomePage() { | |||||||||||||||||||||||||||||||||
| </div> | ||||||||||||||||||||||||||||||||||
| <CardTitle>Lightning Fast</CardTitle> | ||||||||||||||||||||||||||||||||||
| <CardDescription> | ||||||||||||||||||||||||||||||||||
| Sub-second data feeds with 99.9% uptime guarantee for mission-critical applications | ||||||||||||||||||||||||||||||||||
| Sub-second data feeds with reliable performance for mission-critical applications. | ||||||||||||||||||||||||||||||||||
| </CardDescription> | ||||||||||||||||||||||||||||||||||
| </CardHeader> | ||||||||||||||||||||||||||||||||||
| </Card> | ||||||||||||||||||||||||||||||||||
|
|
@@ -89,7 +115,7 @@ export default function HomePage() { | |||||||||||||||||||||||||||||||||
| </div> | ||||||||||||||||||||||||||||||||||
| <CardTitle>Secure & Reliable</CardTitle> | ||||||||||||||||||||||||||||||||||
| <CardDescription> | ||||||||||||||||||||||||||||||||||
| Multi-signature validation and cryptographic proofs ensure data integrity | ||||||||||||||||||||||||||||||||||
| Decentralized validation and cryptographic guarantees ensure data integrity. | ||||||||||||||||||||||||||||||||||
| </CardDescription> | ||||||||||||||||||||||||||||||||||
| </CardHeader> | ||||||||||||||||||||||||||||||||||
| </Card> | ||||||||||||||||||||||||||||||||||
|
|
@@ -101,33 +127,40 @@ export default function HomePage() { | |||||||||||||||||||||||||||||||||
| </div> | ||||||||||||||||||||||||||||||||||
| <CardTitle>Rich Data Sources</CardTitle> | ||||||||||||||||||||||||||||||||||
| <CardDescription> | ||||||||||||||||||||||||||||||||||
| Connect to thousands of APIs, IoT devices, and real-world data providers | ||||||||||||||||||||||||||||||||||
| Aggregates verified off-chain data sources for seamless on-chain access. | ||||||||||||||||||||||||||||||||||
| </CardDescription> | ||||||||||||||||||||||||||||||||||
| </CardHeader> | ||||||||||||||||||||||||||||||||||
| </Card> | ||||||||||||||||||||||||||||||||||
| </div> | ||||||||||||||||||||||||||||||||||
| </div> | ||||||||||||||||||||||||||||||||||
| </section> | ||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
| {/* Stats Section */} | ||||||||||||||||||||||||||||||||||
| {/* Protocol Overview Section (Replaces Hard-coded Stats) */} | ||||||||||||||||||||||||||||||||||
| <section className="h-screen flex items-center justify-center"> | ||||||||||||||||||||||||||||||||||
| <div className="container mx-auto px-4"> | ||||||||||||||||||||||||||||||||||
| <div className="grid grid-cols-2 md:grid-cols-4 gap-4 sm:gap-8 text-center px-4"> | ||||||||||||||||||||||||||||||||||
| <div> | ||||||||||||||||||||||||||||||||||
| <div className="text-4xl font-medium text-primary mb-2">1,247</div> | ||||||||||||||||||||||||||||||||||
| <div className="text-muted-foreground">Active Oracles</div> | ||||||||||||||||||||||||||||||||||
| </div> | ||||||||||||||||||||||||||||||||||
| <div> | ||||||||||||||||||||||||||||||||||
| <div className="text-4xl font-medium text-primary mb-2">$2.4B</div> | ||||||||||||||||||||||||||||||||||
| <div className="text-muted-foreground">Total Value Secured</div> | ||||||||||||||||||||||||||||||||||
| <div className="max-w-5xl mx-auto grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-6 sm:gap-8 px-4"> | ||||||||||||||||||||||||||||||||||
| <div className="space-y-3"> | ||||||||||||||||||||||||||||||||||
| <h3 className="text-xl font-semibold">What OrbOracle Is</h3> | ||||||||||||||||||||||||||||||||||
| <p className="text-sm text-muted-foreground"> | ||||||||||||||||||||||||||||||||||
| OrbOracle is a decentralized oracle network that delivers accurate and verifiable | ||||||||||||||||||||||||||||||||||
| off-chain data to smart contracts without relying on centralized providers. | ||||||||||||||||||||||||||||||||||
| </p> | ||||||||||||||||||||||||||||||||||
| </div> | ||||||||||||||||||||||||||||||||||
| <div> | ||||||||||||||||||||||||||||||||||
| <div className="text-4xl font-medium text-primary mb-2">99.9%</div> | ||||||||||||||||||||||||||||||||||
| <div className="text-muted-foreground">Uptime</div> | ||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
| <div className="space-y-3"> | ||||||||||||||||||||||||||||||||||
| <h3 className="text-xl font-semibold">How It Works</h3> | ||||||||||||||||||||||||||||||||||
| <p className="text-sm text-muted-foreground"> | ||||||||||||||||||||||||||||||||||
| Data is sourced from multiple providers, validated through decentralized mechanisms, | ||||||||||||||||||||||||||||||||||
| and securely published on-chain for transparent smart contract usage. | ||||||||||||||||||||||||||||||||||
| </p> | ||||||||||||||||||||||||||||||||||
| </div> | ||||||||||||||||||||||||||||||||||
| <div> | ||||||||||||||||||||||||||||||||||
| <div className="text-4xl font-medium text-primary mb-2">50+</div> | ||||||||||||||||||||||||||||||||||
| <div className="text-muted-foreground">Supported Chains</div> | ||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
| <div className="space-y-3"> | ||||||||||||||||||||||||||||||||||
| <h3 className="text-xl font-semibold">Why It’s Better</h3> | ||||||||||||||||||||||||||||||||||
| <p className="text-sm text-muted-foreground"> | ||||||||||||||||||||||||||||||||||
| By prioritizing transparency, cryptographic verification, and low latency, OrbOracle | ||||||||||||||||||||||||||||||||||
| enables developers to build trust-minimized decentralized applications. | ||||||||||||||||||||||||||||||||||
| </p> | ||||||||||||||||||||||||||||||||||
| </div> | ||||||||||||||||||||||||||||||||||
| </div> | ||||||||||||||||||||||||||||||||||
| </div> | ||||||||||||||||||||||||||||||||||
|
|
@@ -137,9 +170,14 @@ export default function HomePage() { | |||||||||||||||||||||||||||||||||
| <section className="h-screen flex items-center justify-center"> | ||||||||||||||||||||||||||||||||||
| <div className="container mx-auto px-4 text-center"> | ||||||||||||||||||||||||||||||||||
| <div className="max-w-2xl mx-auto px-4"> | ||||||||||||||||||||||||||||||||||
| <h2 className="text-2xl sm:text-3xl md:text-4xl font-medium mb-4 sm:mb-6 tracking-wide" style={{ fontStyle: 'oblique 15deg' }}>Ready to build the future?</h2> | ||||||||||||||||||||||||||||||||||
| <h2 | ||||||||||||||||||||||||||||||||||
| className="text-2xl sm:text-3xl md:text-4xl font-medium mb-4 sm:mb-6 tracking-wide" | ||||||||||||||||||||||||||||||||||
| style={{ fontStyle: "oblique 15deg" }} | ||||||||||||||||||||||||||||||||||
| > | ||||||||||||||||||||||||||||||||||
| Ready to build the future? | ||||||||||||||||||||||||||||||||||
| </h2> | ||||||||||||||||||||||||||||||||||
| <p className="text-lg sm:text-xl text-muted-foreground mb-6 sm:mb-8"> | ||||||||||||||||||||||||||||||||||
| Join thousands of developers building the next generation of decentralized applications | ||||||||||||||||||||||||||||||||||
| Join developers building the next generation of decentralized applications. | ||||||||||||||||||||||||||||||||||
| </p> | ||||||||||||||||||||||||||||||||||
|
Comment on lines
173
to
181
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Invalid The CTA section header has the same The updated copy text is engaging and appropriate for a CTA section. 🔎 Recommended fix- <h2
- className="text-2xl sm:text-3xl md:text-4xl font-medium mb-4 sm:mb-6 tracking-wide"
- style={{ fontStyle: "oblique 15deg" }}
- >
+ <h2 className="text-2xl sm:text-3xl md:text-4xl font-medium mb-4 sm:mb-6 tracking-wide oblique-15">📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||||||||||||||||||||||||
| <Button asChild size="lg" className="text-lg px-8"> | ||||||||||||||||||||||||||||||||||
| <Link href="/create"> | ||||||||||||||||||||||||||||||||||
|
|
@@ -152,3 +190,4 @@ export default function HomePage() { | |||||||||||||||||||||||||||||||||
| </div> | ||||||||||||||||||||||||||||||||||
| ) | ||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
Uh oh!
There was an error while loading. Please reload this page.