Skip to content

Seedline-Foundation/everaprotocol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

11 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Evera Protocol Landing Page# Evera Protocol Landing Page# Evera Protocol Landing Page# Evera Protocol Landing PageThis is a Next.js project bootstrapped with create-next-app.

Production-ready Next.js 14 landing page for Evera Protocol - a blockchain-based decentralized information verification platform.

πŸš€ Quick StartBlockchain-based decentralized information verification platform

Prerequisites

  • Node.js 18.17.0 or higher

  • npm 9.0.0 or higherNext.jsBlockchain-based Decentralized Information Verification Platform

InstallationTypeScript


# Install dependencies

npm install



# Create environment file## 🌟 Overview---Welcome to the Evera Protocol landing page - a high-conversion marketing website for the world's first blockchain-based decentralized information verification platform.## Getting Started

cp .env.example .env.local



# Add your environment variables to .env.local

```This is the official landing page and web presence for Evera Protocol. Built with Next.js 14+ App Router, TypeScript, and Tailwind CSS for optimal performance and developer experience.



### Development



```bash### Key Features## πŸš€ Project Overview

# Start development server

npm run dev



# Open http://localhost:3000- 🎨 Modern, professional design with brand identity

  • πŸ“± Fully responsive (mobile, tablet, desktop)

Production Build

  • ⚑ Performance optimized (Lighthouse >90)This is the official landing page for Evera Protocol - the world's first blockchain-based decentralized information verification platform. The website serves multiple purposes:## πŸš€ Quick StartFirst, run the development server:
# Build for production- β™Ώ WCAG 2.1 AA accessible

npm run build

- πŸ” SEO optimized with meta tags and structured data

# Start production server

npm start- πŸ“Š Privacy-friendly Plausible Analytics
  • πŸ’Œ ConvertKit email integration- Convert visitors into presale email subscribers (target: >20% capture rate)

πŸ“¦ Environment Variables

  • πŸ“„ Comprehensive content (whitepaper, pitch deck, roadmap)

Create a .env.local file with the following variables:

  • Educate about Evera's value proposition across three audiences: investors, publishers, verifiers
# ConvertKit API for email subscriptions## πŸš€ Quick Start

CONVERTKIT_API_KEY=your_api_key_here

- Build trust through professional design and comprehensive documentationFollow the steps in the [quickstart.md](../specs/001-develop-an-eye/quickstart.md) guide to get started.```bash

# Analytics

PLAUSIBLE_DOMAIN=evera.network### Prerequisites



# Site Configuration- Drive engagement with token presale and community initiatives

NEXT_PUBLIC_SITE_URL=https://evera.network

- Node.js 20+

# Social Links (optional)

NEXT_PUBLIC_DISCORD_URL=https://discord.gg/evera- pnpm 8+ (recommended)npm run dev

NEXT_PUBLIC_TWITTER_URL=https://twitter.com/EveraProtocol

NEXT_PUBLIC_TELEGRAM_URL=https://t.me/evera

Installation### Success Metrics

πŸ› οΈ Tech Stack

  • Framework: Next.js 14.2+ (App Router)

  • Language: TypeScript 5.3+```bash- Bounce rate < 40%### Prerequisites# or

  • Styling: Tailwind CSS 3.4+

  • Animation: Framer Motion 11+# Clone repository

  • Forms: React Hook Form + Zod

  • Charts: Recharts 2+git clone https://github.com/evera-protocol/evera-landing.git- Email capture rate > 20%

  • Analytics: Plausible Analytics

cd evera-landing

πŸ“ Project Structure

  • Presale signup intent > 5%yarn dev

evera-landing/# Install dependencies

β”œβ”€β”€ src/

β”‚   β”œβ”€β”€ app/              # Next.js App Router pagespnpm install- Page load time < 3 seconds

β”‚   β”œβ”€β”€ components/       # React components

β”‚   β”œβ”€β”€ content/          # Static content data

β”‚   β”œβ”€β”€ lib/              # Utilities and helpers

β”‚   └── types/            # TypeScript types# Copy environment variables- Lighthouse performance score > 90- Node.js 20+# or

β”œβ”€β”€ public/               # Static assets

β”œβ”€β”€ tests/                # Test filescp .env.example .env.local

└── docs/                 # Documentation (gitignored)

🚒 Deployment# Edit .env.local with your API keys

Deploy to Vercel# - CONVERTKIT_API_KEY---- npm (comes with Node.js)pnpm dev


# Install Vercel CLI

npm i -g vercel# - NEXT_PUBLIC_SITE_URL



# Deploy

vercel --prod

```# Run development server## πŸ›  Tech Stack# or



Or connect your GitHub repository to Vercel for automatic deployments.pnpm dev



### Environment Variables in Vercel```



Add these environment variables in your Vercel project settings:

- `CONVERTKIT_API_KEY`

- `PLAUSIBLE_DOMAIN`Open [http://localhost:3000](http://localhost:3000)### Core Framework### Installationbun dev

- `NEXT_PUBLIC_SITE_URL`



## πŸ“ Scripts

## πŸ“ Project Structure- **Next.js 14.2+** with App Router

- `npm run dev` - Start development server

- `npm run build` - Build for production

- `npm start` - Start production server

- `npm run lint` - Run ESLint```- **React 18+** with Server Components & Client Components```

- `npm run type-check` - Check TypeScript types

- `npm test` - Run Jest testssrc/

- `npm run test:e2e` - Run Playwright E2E tests

β”œβ”€β”€ app/              # Next.js 14 App Router pages- **TypeScript 5.3+** (strict mode enabled)

## 🌐 Browser Support

β”‚   β”œβ”€β”€ page.tsx      # Homepage

- Chrome (latest)

- Firefox (latest)β”‚   β”œβ”€β”€ whitepaper/   # Whitepaper page- **Node.js 20+** runtime```powershell

- Safari (latest)

- Edge (latest)β”‚   β”œβ”€β”€ token/        # Token presale page



## πŸ“„ Licenseβ”‚   └── api/          # API routes



Proprietary - Evera Protocolβ”œβ”€β”€ components/       # React components



## 🀝 Contributingβ”‚   β”œβ”€β”€ layout/       # Header, Footer, Navigation### Styling & Animation# Navigate to project directoryOpen [http://localhost:3000](http://localhost:3000) with your browser to see the result.



Please read CONTRIBUTING.md for development guidelines.β”‚   β”œβ”€β”€ home/         # Homepage sections


β”‚   └── shared/       # Reusable UI components- **Tailwind CSS 3.4+** with custom brand colors

β”œβ”€β”€ content/          # Static content data

β”œβ”€β”€ lib/              # Utilities (analytics, validation)- **Framer Motion 11+** for animationscd evera-landing

└── types/            # TypeScript definitions

```- **@tailwindcss/typography** for whitepaper prose styling



## πŸ› οΈ DevelopmentYou can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.



```bash### Forms & Validation

# Development with hot reload

pnpm dev- **React Hook Form 7+** for form state management# Install dependencies



# Build for production- **Zod 3+** for schema validation

pnpm build

npm installThis project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.

# Start production server

pnpm start### Data Visualization



# Run linter- **Recharts 2+** for token economics charts

pnpm lint



# Run tests

pnpm test### Additional Libraries# Copy environment variables## Learn More



# Run E2E tests- **Swiper.js 11+** for pitch deck slides

pnpm test:e2e

```Copy-Item .env.local.example .env.local



## πŸ§ͺ Testing---



- **Unit tests**: Jest + React Testing LibraryTo learn more about Next.js, take a look at the following resources:

- **E2E tests**: Playwright

- **Coverage**: Contract tests, component tests, integration tests## 🚦 Getting Started



```bash# Start development server

pnpm test              # Unit tests

pnpm test:e2e          # Integration tests### Prerequisites

πŸ“Š Analytics

  • npm package manager

Privacy-friendly Plausible Analytics tracks:

  • Email signups```- Learn Next.js - an interactive Next.js tutorial.

  • CTA clicks

  • Whitepaper downloads### Installation

  • Page views

Respects Do Not Track and requires no cookies.

  1. Navigate to project directory

🌐 Deployment

```powershellThe site will be available at http://localhost:3000You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Vercel (Recommended)

cd "c:\Users\onech\Desktop\Evera Protocol\evera-landing"

# Install Vercel CLI   ```

pnpm install -g vercel



# Deploy

vercel2. **Install dependencies**## πŸ“ Project Structure## Deploy on Vercel



# Deploy to production   ```powershell

vercel --prod

```   npm install



Configure environment variables in Vercel dashboard.   ```



## πŸ”’ Environment Variables```The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.



Required variables (see `.env.example`):3. **Set up environment variables**



- `CONVERTKIT_API_KEY` - Email subscriptions   - Copy `.env.local.example` to `.env.local`evera-landing/

- `PLAUSIBLE_DOMAIN` - Analytics domain

- `NEXT_PUBLIC_SITE_URL` - Production URL   - Add your API keys (ConvertKit, Plausible Analytics)

- `NEXT_PUBLIC_DISCORD_URL` - Community link

- `NEXT_PUBLIC_TWITTER_URL` - Social media linkβ”œβ”€β”€ src/Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.



## 🎨 Brand Colors4. **Run the development server**



```css   ```powershellβ”‚   β”œβ”€β”€ app/              # Next.js App Router pages

--charcoal: #313638;  /* Primary dark */

--gold: #E4B363;      /* Accent/CTA */   npm run devβ”‚   β”‚   β”œβ”€β”€ page.tsx      # Homepage

--stone: #E0DFD5;     /* Light background */

--coral: #EF6461;     /* Error/accent */   ```β”‚   β”‚   β”œβ”€β”€ layout.tsx    # Root layout

β”‚ β”‚ β”œβ”€β”€ globals.css # Global styles

πŸ“ Documentation

  1. Open your browserβ”‚ β”‚ └── api/ # API routes

🀝 Contributing---β”‚ β”œβ”€β”€ components/ # React components

  1. Fork the repositoryβ”‚ β”‚ β”œβ”€β”€ layout/ # Header, Footer, Navigation

  2. Create feature branch (git checkout -b feature/amazing-feature)

  3. Commit changes (git commit -m 'Add amazing feature')## πŸ“œ Available Scriptsβ”‚ β”‚ β”œβ”€β”€ home/ # Homepage sections

  4. Push to branch (git push origin feature/amazing-feature)

  5. Open Pull Requestβ”‚ β”‚ β”œβ”€β”€ shared/ # Reusable UI components

See CONTRIBUTING.md for detailed guidelines.```powershellβ”‚ β”‚ β”œβ”€β”€ whitepaper/ # Whitepaper page components

πŸ“„ Licensenpm run dev # Start development server (http://localhost:3000)β”‚ β”‚ β”œβ”€β”€ pitch/ # Pitch deck components

MIT License - see LICENSE filenpm run build # Build for productionβ”‚ β”‚ β”œβ”€β”€ token/ # Token page components

πŸ“ž Contactnpm run start # Start production serverβ”‚ β”‚ └── about/ # About page components


---

β”‚   β”œβ”€β”€ types/            # TypeScript type definitions

**Built with ❀️ by the Evera Protocol team**

---β”‚   └── content/          # Static content data

β”‚       β”œβ”€β”€ navigation.ts # Navigation links

## πŸ“ Project Structureβ”‚       └── team.ts       # Team member data

β”œβ”€β”€ public/               # Static assets

```β”œβ”€β”€ tailwind.config.ts    # Tailwind configuration

src/β”œβ”€β”€ tsconfig.json         # TypeScript configuration

β”œβ”€β”€ app/                    # Next.js App Router└── package.json          # Dependencies

β”‚   β”œβ”€β”€ layout.tsx         # Root layout```

β”‚   β”œβ”€β”€ page.tsx           # Homepage

β”‚   └── api/               # API routes## 🎨 Tech Stack

β”œβ”€β”€ components/

β”‚   β”œβ”€β”€ home/              # Homepage sections- **Framework**: Next.js 14.2+ (App Router)

β”‚   β”œβ”€β”€ layout/            # Header, Footer- **Language**: TypeScript 5.3+

β”‚   └── shared/            # Reusable UI components- **Styling**: Tailwind CSS 3.4+

β”œβ”€β”€ content/               # Static data- **Animation**: Framer Motion 11+

β”œβ”€β”€ lib/                   # Utilities- **Forms**: React Hook Form 7+ + Zod 3+

└── types/                 # TypeScript definitions- **Charts**: Recharts 2+

```- **Carousels**: Swiper 11+



---## πŸ› οΈ Available Scripts



## 🎨 Brand Colors```powershell

# Development server with hot reload

- **Charcoal**: `#313638` (Primary dark)npm run dev

- **Gold**: `#E4B363` (Accent/CTA)

- **Stone**: `#E0DFD5` (Light background)# Build for production

- **Coral**: `#EF6461` (Error/accent)npm run build



---# Start production server

npm start

## πŸ“š Documentation

# Lint code

Full documentation available in `specs/001-develop-an-eye/`:npm run lint

- **spec.md** - Complete feature specification

- **data-model.md** - TypeScript interfaces# Type check

- **quickstart.md** - Testing scenariosnpm run type-check

- **contracts/** - API and component specifications```



---## 🎯 Key Features Implemented



## βœ… Current Status### βœ… Core Infrastructure

- [x] Next.js 14 with App Router

**βœ”οΈ Completed:**- [x] TypeScript with strict mode

- Next.js 14 project initialization- [x] Tailwind CSS with brand colors

- TypeScript configuration with strict mode- [x] Framer Motion animations

- Tailwind CSS with brand colors- [x] Environment configuration

- Project folder structure- [x] Analytics tracking system

- Shared UI components (Button, Card, Input)- [x] API routes for subscriptions

- Layout components (Header, Footer)

- Hero section with animations### βœ… Layout Components

- API routes (analytics, subscription)- [x] Responsive Header with navigation

- Type definitions- [x] Footer with links and social media

- Environment configuration- [x] Mobile menu with hamburger

- Development server running at http://localhost:3000

### βœ… Homepage

**🚧 In Progress:**- [x] Hero section with CTA buttons

- Homepage sections (Problem, Solution, Features, Stats)- [x] Animated entrance effects

- Whitepaper page- [x] Stats display

- Token page- [x] Scroll indicator

- Pitch deck

- About page### βœ… Shared UI Components

- [x] Button (with variants and sizes)

---- [x] Card (with elevation styles)

- [x] Input (with validation states)

## πŸ†˜ Troubleshooting

### βœ… API Endpoints

### SWC Binary Error- [x] `/api/analytics/track` - Event tracking

If you see "Failed to load SWC binary":- [x] `/api/subscribe` - Email subscription with rate limiting

```powershell

Remove-Item -Path "node_modules" -Recurse -Force## 🎨 Brand Colors

Remove-Item -Path "package-lock.json" -Force

npm install- **Charcoal**: `#313638` - Primary dark

```- **Gold**: `#E4B363` - Accent/CTA

- **Stone**: `#E0DFD5` - Light background

### Port Already in Use- **Coral**: `#EF6461` - Error/accent

If port 3000 is busy:

```powershell## πŸ“ Environment Variables

npm run dev -- -p 3001

```See `.env.local.example` for all required environment variables:



---- `CONVERTKIT_API_KEY` - ConvertKit API key for email subscriptions

- `CONVERTKIT_FORM_ID` - ConvertKit form ID

**Built with ❀️ for a more truthful internet**- `PLAUSIBLE_DOMAIN` - Domain for Plausible Analytics

- `NEXT_PUBLIC_SITE_URL` - Full site URL
- `NEXT_PUBLIC_SITE_NAME` - Site name
- Social media links (Twitter, Discord, Telegram, GitHub)
- Feature flags (presale enabled, pitch deck enabled, etc.)

## πŸ”œ Next Steps

The foundation is complete! Next features to implement:

1. **Homepage Sections**:
   - Problem Section (key problems with icons)
   - Solution Section (architecture diagram)
   - Features Grid (3-column layout)
   - Stats Section (animated counters)
   - CTA Section (email capture form)

2. **Additional Pages**:
   - `/whitepaper` - Full whitepaper with TOC
   - `/token` - Token economics and presale
   - `/pitch` - Animated pitch deck slides
   - `/about` - Team, mission, vision
   - `/careers` - Job listings
   - `/milestones` - Project roadmap

3. **Advanced Features**:
   - Email capture form with React Hook Form
   - Token economics charts with Recharts
   - Pitch deck carousel with Swiper
   - Whitepaper PDF download
   - Social sharing functionality

## πŸ“š Documentation

- [Full Specification](../specs/001-develop-an-eye/spec.md)
- [Data Model](../specs/001-develop-an-eye/data-model.md)
- [API Contracts](../specs/001-develop-an-eye/contracts/api-routes.md)
- [Component Props](../specs/001-develop-an-eye/contracts/component-props.md)
- [Testing Guide](../specs/001-develop-an-eye/quickstart.md)

## 🀝 Contributing

This project follows the Evera Protocol coding guidelines. See [copilot-instructions.md](../.github/copilot-instructions.md) for detailed coding standards.

## πŸ“„ License

Copyright Β© 2025 Evera Protocol. All rights reserved.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages