---
import Layout from '~/layouts/PageLayout.astro';

import { getPermalink } from '~/utils/permalinks';
import Hero from '~/components/widgets/Hero.astro';
import Note from '~/components/widgets/Note.astro';
import Features from '~/components/widgets/Features.astro';
import Features2 from '~/components/widgets/Features2.astro';
import Content from '~/components/widgets/Content.astro';
import Stats from '~/components/widgets/Stats.astro';
import Steps from '~/components/widgets/Steps.astro';
import BlogLatestPosts from '~/components/widgets/BlogLatestPosts.astro';
import FAQs from '~/components/widgets/FAQs.astro';
import CallToAction from '~/components/widgets/CallToAction.astro';
import Partners from './partners.astro'
import Purpose from './purpose.astro'
import Inca from './internetcapacity.astro'
import INCAStats from './incastats.astro'



const metadata = {
  title: 'INCA — Cloud Engine for a New Internet',
  ignoreTitleTemplate: true,
};
---

<Layout metadata={metadata}>
      
  <!-- Hero Widget ******************* -->

  <Hero
    actions={[
      {
        variant: 'primary',
        text: 'Get INCA Nodes',
        href: 'https://csnkyhwp8b4.typeform.com/to/SnfEE9pj',
        target: '_blank',
        icon: 'tabler:brand-minecraft',
      },
      { text: 'Learn more', href: '#technology' },
    ]}
    tagline="Welcome to"
    image={{ src: '~/assets/images/background.png', alt: '' }}
  >
	  <Fragment slot="title">
      Project Internet Capacity
    </Fragment>

	  <Fragment slot="title2">
      <br><i>Compute is the Currency of the Future</i>
    </Fragment>

    <Fragment slot="subtitle">
      <span class="hidden sm:inline">
        <br>We are a community-driven and open-source project<br> that built a self-healing and autonomous cloud engine<br> allowing <span class="font-semibold">anyone</span> to become a <span class="font-semibold">cloud service provider</span>!<br>
      </span>
      <br>Earn rewards by providing <span class="font-semibold">Internet Capacity</span> to the world!</i>

    </Fragment>
  </Hero>

  <!-- Note Widget ******************* -->

  <Note />

  <!-- Features Widget *************** -->

  <Features
    id="technology"
    tagline="Purpose"
    title="Layer 0 for DePIN"
    subtitle="Project INCA aims to be a Layer 0 for the DePIN community. DePIN projects can run on our decentralized cloud infrastructure, gaining access to a sovereign, decentralized, and reliable storage, network, and compute layer."
    items={[
      {
        title: 'Zero-OS',
        description:
          'Bare metal stateless operating system: lightweight, self-healing, adaptable, efficient, and compatible with almost all hardware.',
        icon: 'tabler:circle',
      },
      {
        title: 'Web2/Web3 + AI Compatible',
        description:
          'Compatible with Web2, Web3 and AI: everything can run on our layer 0 infrastructure cloud. If it runs on Linux, it runs on the grid!',
        icon: 'tabler:world-www',
      },
      {
        title: 'Mycelium Network',
        description:
          'End-to-end encrypted shortest path overlay network system, capable of connecting billions of nodes and compatible with the existing Internet.',
        icon: 'tabler:mushroom',
      },
      {
        title: 'Quantum Safe Storage',
        description:
          'Quantum Safe Storage revolutionizes data security: it can store data with up to 10x less overhead and data can never be lost or corrupted. ',
        icon: 'tabler:lock-square-rounded',
      },
      {
        title: 'Open-Source and Community-Driven',
        description:
          "The grid is open-source and community-driven, with the community being an integral part of the ecosystem. Our code will always be publicly available.",
        icon: 'tabler:source-code',
      },
      {
        title: 'Scalable Without limit',
        description:
          'The grid is scalable to the planetary level: from the edge to massive datacenter scale, everyone can be part of the grid.',
        icon: 'tabler:infinity',
      },
    ]}
  />

  <Content
    id="pioneers"
    image={{
      src: '~/assets/images/people_2.png',
      alt: '',
      loading: 'eager',
    }}
  >
    <Fragment slot="content">
      <h2 class="text-2xl font-bold tracking-tight dark:text-white sm:text-3xl mb-2">Founded by Internet Pioneers</h2>
        Over the years, a handful of companies became major cloud providers and this led to a highly centralized playfield. Today, the cloud market is worth trillions of dollars and is very centralized.

        <br><br>We are cloud experts, and we've worked with the cloud all our lives. We've been here since the start of the cloud industry and we are pioneers of the Internet.

        <br><br>After years of hard work, fueled by desire to build an ecosystem in line with the peer-to-peer spirit of the early Internet days, we've built at ThreeFold a complete and production-ready cloud engine.
    </Fragment>

    <Fragment slot="bg">
      <div class="absolute inset-0 bg-blue-50 dark:bg-transparent"></div>
    </Fragment>
  </Content>

  <Content
    isReversed
    id="about"
    image={{
      src: '~/assets/images/hardware_computer.jpg',
      alt: 'Colorful Image',
      loading: 'eager',
    }}
  >
    <Fragment slot="content">
      <h2 class="text-2xl font-bold tracking-tight dark:text-white sm:text-3xl mb-2">Cloud Engine for a New Internet</h2>
      <p>
      Our cloud engine is autonomous and self-healing, enabling anyone to provide Internet capacity to the world. Our technology offers quantum-safe storage & network and is accessible to everyone. 

      <br><br>We are a community-driven project and we firmly believe that, together, we can create a new Internet where users are the sole owners of their data and where everyone can thrive on the cloud.

      <br><br>Gone are the days where you needed to be a cloud expert with high capital to get into the cloud market. You can now become a cloud service provider and participate in the decentralization of the cloud...<br> one node at a time!
    
      </p>
    </Fragment>

    <Fragment slot="bg">
      <div class="absolute inset-0 bg-blue-50 dark:bg-transparent"></div>
    </Fragment>
  </Content>


  <!-- Stats Widget ****************** -->

  <Stats
    stats={[
      { title: 'Capacity', amount: '32.74 PB' },
      { title: 'Nodes', amount: '2569' },
      { title: 'Countries', amount: '61' },
      { title: 'Cores', amount: '63,968' },
    ]}
  />


  <!-- Content Widget **************** -->

  <Content
    isReversed
    tagline="In a nutsell"
    title="What it means to be a truly <br>decentralized and autonomous <br>cloud for everyone"
    items={[
      {
        title: 'Decentralized',
        description:
          'No matter who or where you are, you can participate in the ecosystem. Everyone can deliver and use cloud services. Everyone has 100% control over their data and online presence.',
      },
      {
        title: 'Autonomous',
        description:
          'The software is capable to run 100% without human involvement or intervention; cloud service providers don\'t need to be experts. Owning the cloud has never been so accessible.',
      },
      {
        title: 'Cloud',
        description:
          'Thanks to our innovative operating system built on the Linux kernel, Zero-OS, anything Linux can run on the grid. This means that any service or workload can run natively on the grid.',
      },
    ]}
    image={{       src: '~/assets/images/earth_tech.jpg', alt: '' }},
  >
    <Fragment slot="content">
      <h3 class="text-2xl font-bold tracking-tight dark:text-white sm:text-3xl mb-2">Building on a Proven Technology</h3>
      The ThreeFold Grid is a robust and production-ready ecosystem. <br> Learn what makes this technology unique.
    </Fragment>

    <Fragment slot="bg">
      <div class="absolute inset-0 bg-blue-50 dark:bg-transparent"></div>
    </Fragment>
  </Content>




  <!-- Features3 Widget ************** -->

  <Features2
    title="Our great partners make the grid what it is:<br>a community-driven, open-source and decentralized cloud for all."
    subtitle="We are proud of our partners stemming from all sectors of the industry.<br>Our ecosystem is always expanding and we're always ready for new collaborations!<br> We would like to present some of our amazing partners."
    tagline="Partnerships weaving a complete ecosystem"
    items={[
      {
        title: 'Earth Wallet',
        description:
          "A cutting-edge digital wallet solution designed to empower users with secure and decentralized control over their digital assets. With a focus on accessibility, security, and sustainability, Earth Wallet offers a seamless and user-friendly interface for managing various cryptocurrencies.",
        icon: 'tabler:wallet',
      },
      {
        title: 'Digital Free Zone',
        description:
          'The OurWorld Digital FreeZone, established in Zanzibar, is a groundbreaking partnership between ThreeFold and the government of Tanzania. This initiative aims to create a free sovereign digital and economic area, fostering innovation, growth, and prosperity.',
        icon: 'tabler:map',
      },
      {
        title: 'Vverse',
        description: 'Vverse is an innovative platform that aims to create a virtual universe where users can explore, interact, and create in immersive virtual environments. It leverages cutting-edge technologies such as virtual reality (VR), augmented reality (AR), and blockchain.',
        icon: 'tabler:stack-backward',
      },
      {
        title: 'Sikana',
        description:
          'Sikana, a platform dedicated to providing education for all, has delivered over 400 million lessons through free educational videos. This partnership will empower communities worldwide with knowledge and skills, irrespective of their financial or geographical limitations. ',
        icon: 'tabler:chalkboard',
      },
      {
        title: 'Tanzania Sovereign Internet',
        description:
          "ThreeFold is proud to announce its partnership with the government of Tanzania to establish a sovereign internet, an unprecedented initiative poised to revolutionize Tanzania's startup ecosystem fostering digital freedom via a collaborative peer-to-peer platform.",
        icon: 'tabler:flag',
      },
      {
        title: 'Elestio',
        description:
          'Elestio is an innovative platform dedicated to providing cutting-edge decentralized applications (dApps) and services to users worldwide, with a focus on accessibility, security, and user empowerment. Users of the grid can thus access Elestio\'s services from anywhere in the world.',
        icon: 'tabler:device-desktop-code',
      },

    ]}
  >
    <Fragment slot="bg">
      <div class="absolute inset-0 bg-blue-50 dark:bg-transparent"></div>
    </Fragment>
  </Features2>

  <!-- Steps Widget ****************** -->

  <Steps
    title="Get a node <br> up and running<br>in no time to earn rewards..."
    items={[
      {
        title: 'Step 1: <span class="font-medium">Order a node</span>',
        description:
          "We propose different nodes to suit your specific situation. From basic generic cloud services to advanced AI workloads, it's all possible on the grid.",
        icon: 'tabler:package',
      },
      {
        title: 'Step 2: <span class="font-medium">Connect the node</em>',
        description:
          "Setting a node is a no brainer: plug the node to an electric outlet and connect it to the Internet via a cable. That\'s it! You\'re hosting the grid!",
        icon: 'tabler:plug-connected',
      },
      {
        title: 'Step 3: <span class="font-medium">Earn rewards</span>',
        description:
          'The node is self-healing and autonomous. It\'s cruising speed from here on out: users can deploy on your node and you receive rewards.',
        icon: 'tabler:award',
      },
      {
        title: 'You\'re a cloud solution provider!',
        icon: 'tabler:rosette-discount-check',
      },
    ]}
    image={{ src: '~/assets/images/currency_of_future.png', alt: '' }},
  />


  <!-- HighlightedPosts Widget ******* -->


  <!-- FAQs Widget ******************* -->

  <FAQs
    title="Frequently Asked Questions"
    subtitle="This cloud is meant for everyone and you don't need to be tech-savvy to host INCA nodes. Let's go through some basic questions and answers to demystify it all."
    tagline="FAQs"
    classes={{ container: 'max-w-6xl' }}
    items={[
      {
        title: 'Why is Project INCA necessary?',
        description:
          "Demand for cloud and access to compute is more important than ever and safety is everything, we must be quantum ready. The only way to face demand and provide the access needed around the world is to enable anyone to take part in this economy",
      },
      {
        title: 'What does DePIN mean?',
        description:
          "DePIN means \"Decentralized Physical Infrastructure Network\". DePINs are peer-to-peer (P2P) networks where individuals contribute physical infrastructure resources like data storage, wireless connectivity, sensors, or even energy grids.",
      },
      {
        title: 'What is the relationship between INCA and the DePIN space?',
        description:
          "Most if not all DePIN projects can run on our grid. Once you've set your INCA node, you earn INCA rewards and you can deploy any other environment on top of it.",
      },
      {
        title: 'What do I need to start?',
        description:
          'To join the grid and expand the cloud, all you need is to get a node to become your own cloud service provider. There are different nodes for all types of purposes and budgets. Check the Nodes section for more information.',
      },
      {
        title: "How can I contribute to the grid?",
        description:
          "Our technology is ready and has been tested for years in production mode. Now we want to expand and build as many nodes as possible to provide a tangible and concrete alternative to the current cloud giant monopolies.",
      },
      {
        title: 'Is there a limit to the grid?',
        description:
          "There is no limit to how the grid can grow: anyone can deploy a node and connect it to the Internet. Matter of fact, we're in a grid expansion phase and the more nodes we deploy the mode resilient and decentralized we become. Feel like hosting your own cloud?",
      },
    ]}
  />

  <!-- CallToAction Widget *********** -->

  <CallToAction
    actions={[
      {
        variant: 'primary',
        text: 'Get INCA Nodes',
        href: 'https://csnkyhwp8b4.typeform.com/to/SnfEE9pj',
        target: '_blank',
        icon: 'tabler:brand-minecraft',
      },
    ]}
  >
    <Fragment slot="title">
      Grow the Internet Capacity with Us!
    </Fragment>

    <Fragment slot="subtitle">
      The grid grows stronger as we build and deploy together. Join the fun!
    </Fragment>
  </CallToAction>
</Layout>