diff --git a/app/hackathon/page.tsx b/app/hackathon/page.tsx deleted file mode 100644 index ff6a471..0000000 --- a/app/hackathon/page.tsx +++ /dev/null @@ -1,379 +0,0 @@ -"use client" -import React, { useState, ReactNode } from "react"; -import Link from 'next/link'; -import { ArrowUpRight, Code, Link as Zap, Link2, Lightbulb, X, Book, Users, SquareTerminal, Box } from 'lucide-react'; -import PartnerTracks from './partners'; -import { buttonVariants } from '@/components/ui/button'; - -const Card = ({ children, className = "", onClick = () => {} }: { children: ReactNode; className?: string; onClick?: () => void }) => ( -
- {children} -
-); - -const Badge = ({ children, className = "" }: { children: React.ReactNode; className?: string }) => ( - - {children} - -); - -interface Resource { - name: string; - url: string; -} - -interface Track { - id: string; - title: string; - description: string; - difficulty: 'Beginner' | 'Intermediate' | 'Advanced' | 'Open'; - color: string; - icon: React.ReactNode; - challengeDetails?: string[]; - technologies?: { [key: string]: string | { description: string; skills?: string } }; - examples?: string[]; - resources?: Resource[]; -} - -const Modal: React.FC<{ isOpen: boolean; onClose: () => void; track: Track }> = ({ isOpen, onClose, track }) => { - if (!isOpen) return null; - - return ( -
-
-
-
- {track.icon} -

{track.title}

-
- -
-
-

{track.description}

- - {track.challengeDetails && track.challengeDetails.length > 0 && ( -
-
    - {track.challengeDetails.map((detail, index) => ( -
  • {detail}
  • - ))} -
-
- )} - - {track.technologies && Object.keys(track.technologies).length > 0 && ( -
- {Object.entries(track.technologies).map(([name, details], index) => ( -
-

{name}

-

- {typeof details === 'string' ? details : details.description} -

- {typeof details !== 'string' && details.skills && ( -

Skills required: {details.skills}

- )} -
- ))} -
- )} - - {track.examples && track.examples.length > 0 && ( -
-
    - {track.examples.map((example, index) => ( -
  • {example}
  • - ))} -
-
- )} - - {track.resources && track.resources.length > 0 && ( -
-
    - {track.resources.map((resource, index) => ( -
  • - - {resource.name} - -
  • - ))} -
-
- )} -
-
-
- ); -}; - -const Section: React.FC<{ title: string; children: React.ReactNode }> = ({ title, children }) => ( -
-

{title}

- {children} -
-); - -const TrackCard: React.FC<{ track: Track }> = ({ track }) => { - const [isModalOpen, setIsModalOpen] = useState(false); - - const badgeColors = { - 'Beginner': 'bg-emerald-100 text-emerald-800 dark:bg-emerald-900 dark:text-emerald-100', - 'Intermediate': 'bg-amber-100 text-amber-800 dark:bg-amber-900 dark:text-amber-100', - 'Advanced': 'bg-rose-100 text-rose-800 dark:bg-rose-900 dark:text-rose-100', - 'Open': 'bg-indigo-100 text-indigo-800 dark:bg-indigo-900 dark:text-indigo-100' - }; - - return ( - <> -
setIsModalOpen(true)} - > -
- -
-
-
-
- {track.icon} -
-

{track.title}

-
-

{track.description}

- - {track.difficulty} - -
-
- - setIsModalOpen(false)} track={track} /> - - ); -}; - -export default function HackathonPage() { - const tracks: Track[] = [ - { - id: 'avalanche9000', - title: 'Avalanche9000', - description: "Avalanche's new Etna Devnet offers developers a platform to test new features and prepare for the upcoming network upgrade, pushing the limits of blockchain development.", - difficulty: 'Advanced', - color: 'border-red-500 text-red-700', - icon: , - examples: [ - 'Create an intuitive and powerful Validator management platform for networks that utilize various mechanisms such as Proof of Authority (PoA), Proof of Stake (PoS), or Delegated Proof of Stake (dPoS).', - 'Build a protocol that automates the payment of continuous P-Chain fees using USDC on the C-Chain.', - 'Build a tooling/interface which enhances the experience of launching new L1s after the Avalanche9000 upgrade.' - ], - resources: [ - { name: 'Etna Devnet Resources', url: 'https://github.com/ava-labs/etna-devnet-resources' }, - { name: 'Validator Manager Contracts', url: 'https://github.com/ava-labs/teleporter/tree/validator-manager/contracts/validator-manager' }, - { name: 'Devnet C-Chain Explorer', url: 'https://2ffd1590.etna-83w.pages.dev/devnet-c-chain' } - ] - }, - { - id: 'build', - title: 'Build a Product', - description: "This track challenges builders to develop impactful use cases that leverage Avalanche's full tech stack. Participants will create practical applications addressing real-world problems with Avalanche technology.", - difficulty: 'Intermediate', - color: 'border-blue-500 text-blue-700', - icon: , - challengeDetails: [ - 'Create practical applications that address real-world problems', - 'Demonstrate the versatility and power of Avalanche', - 'Focus on real-world use cases with significant impact potential' - ], - technologies: { - 'ICTT and Teleporter': { description: 'Cross-chain communication protocols for data and token transfers across different Avalanche L1s', skills: 'Solidity experience' }, - 'Glacier & Webhooks': { description: 'Create dashboards, enhance data visualization and bring insightful content to your users by reading on-chain indexed data', skills: 'API usage' }, - 'Avalanche L1s': { description: 'Deploy your own Layer 1 blockchain to meet diverse technical requirements and reach scalability', skills: 'Interact with CLI, or using AvaCloud (no code)' }, - 'Custom VMs': { description: 'Innovate with custom virtual machines and EVM-precompiles to enable new types of computations and functionalities on the blockchain', skills: 'Golang, Solidity' }, - 'HyperSDK': { description: 'Create your own Hyper-Performant Virtual Machine', skills: 'Golang, Solidity' } - }, - examples: [ - 'Real World Assets (RWA)', - 'SocialFi', - 'DeFi', - 'Institutional Use Cases', - 'Supply Chain Management', - 'Gaming' - ], - resources: [ - { name: 'Avalanche Starter Kit', url: 'https://github.com/ava-labs/avalanche-starter-kit' }, - { name: 'HyperSDK Starter Kit', url: 'https://github.com/ava-labs/hypersdk-starter-kit' }, - { name: 'BuilderKit', url: 'https://www.npmjs.com/package/@0xstt/builderkit' }, - { name: 'Faucet', url: 'https://core.app/tools/testnet-faucet/?subnet=c&token=c' } - ] - }, - { - id: 'interop', - title: 'Interoperability', - description: "Developers will design seamless, scalable solutions for cross-chain interoperability. Using Avalanche's Interchain Messaging Protocol (ICM) and tools, builders will enable efficient multi-chain data transfers.", - difficulty: 'Advanced', - color: 'border-green-500 text-green-700', - icon: , - examples: [ - 'Enable C-chain deployed services in L1s with ICM', - 'ICM support for the HyperSDK', - 'Chain abstraction asset transfers, modify the EVM in a way to improve Multichain User Experience', - 'USDC to L1 via an On-Ramp on the C-Chain and ICTT' - ], - resources: [ - { name: 'ICM Course', url: 'https://academy.avax.network/course/interchain-messaging' }, - { name: 'ICTT Course', url: 'https://academy.avax.network/course/interchain-token-transfer' }, - { name: 'AWM Relayer Repo', url: 'https://github.com/ava-labs/awm-relayer' } - ] - }, - { - id: 'advanced', - title: 'Advanced Technical Development', - description: "This track invites participants to push Avalanche's technical boundaries. Focusing on performance, cryptography, and scalability, developers will explore cutting-edge blockchain solutions without business constraints.", - difficulty: 'Advanced', - color: 'border-purple-500 text-purple-700', - icon: , - challengeDetails: [ - 'Performance Optimization: Improve the speed and efficiency of blockchain operations, focusing on reducing latency and increasing throughput', - 'Scalability Solutions: Create innovative solutions to scale the Avalanche network, addressing challenges related to consensus, data storage, and node management', - 'Developer Tools: Build advanced tools and frameworks to support developers in building, testing, and deploying blockchain applications more efficiently' - ], - examples: [ - 'Build a DA solution with HyperSDK', - 'Gas Sponsorship', - 'Cryptographic enablements such as ZK proofs, etc.' - ], - resources: [ - { name: 'HyperSDK Starter Kit', url: 'https://github.com/ava-labs/hypersdk-starter-kit' }, - { name: 'Validator Manager Contracts', url: 'https://github.com/ava-labs/teleporter/tree/validator-manager/contracts/validator-manager' }, - { name: 'Faucet', url: 'https://core.app/tools/testnet-faucet/?subnet=c&token=c' } - ] - }, - { - id: 'innovation', - title: 'Open Innovation', - description: "This track invites participants to push Avalanche's technical boundaries. Focusing on performance, cryptography, and scalability, developers will explore cutting-edge blockchain solutions without business constraints.", - difficulty: 'Open', - color: 'border-yellow-500 text-yellow-700', - icon: , - technologies: { - 'Avalanche Stack': { description: 'Free use of all Avalanche technologies' } - }, - challengeDetails: ["Any innovative solution using Avalanche's capabilities to address problems in various industries."] - }, - ]; - - return ( -
-
-
-
-

Summit LATAM Hackathon

-

- At Avalanche, we believe in the power of technology to transform industries and solve real-world problems. - This hackathon aims to harness the potential of Avalanche's robust technology stack to address pressing issues and create scalable, practical solutions. -

-
-
- - Click Here to Submit your Project - -
-
-
- -
-
- -
-

- 🏆 Prizes -

-
- $50,000 Prize Pool -
-

- Distributed across all tracks based on project impact and innovation. -

-
-

- Top participants may earn a spot in the Codebase Incubator Program, gaining access to exclusive resources and mentorship. -

-
- - Learn More About Codebase Incubator → - -
-
-
-
- -
-
-

Hackathon Tracks

-
- {tracks.map((track) => ( - - ))} -
-
-
- -
-
- -
-
- -
-
-

Resources and Support

-
- -
- -

Technical Mentorship

-

The DevRel team at Ava Labs will be available to guide teams on various technologies throughout the hackathon.

-
-
- -
- -

Workshops

-

Attend hands-on workshops on Avalanche technologies, cross-chain communication, blockchain customization, and data visualization.

-
-
- -
- -

Developer Resources

-
    -
  • - - Avalanche Docs - -
  • -
  • - - Avalanche Academy - -
  • -
  • - - Avalanche Faucet - -
  • -
-
-
-
-
-
-
- ); -} \ No newline at end of file