---
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 Content from '~/components/widgets/Content.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: 'Project Internet Capacity — Decentralized Autonomous Cloud',
  ignoreTitleTemplate: true,
};
---

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

  <Hero
    actions={[
      {
        variant: 'primary',
        text: 'Get INCA Nodes',
        href: 'https://threefold.io',
        target: '_blank',
        icon: 'tabler:brand-minecraft',
      },
      { text: 'Learn more', href: '#purpose' },
    ]}
    image={{ src: '~/assets/images/background.png', alt: '' }}
  >
	  
    
    <Fragment slot="title">Welcome to
      Project <br>
      <Inca/><br><br>
    </Fragment>

    

    <Fragment slot="subtitle">
      <b><i>Compute<br>
      is the currency <br>
      of the future...<br><br></b></i>
      <span class="hidden sm:inline">
        <br>We are a community-driven, open-source project<br> that has 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>
      <span class="block mb-1 sm:hidden font-bold text-blue-600">
        Internet Capacity, DePIN Cloud
      </span>
      Earn rewards by providing <span class="font-semibold">Internet Capacity</span> to the world!</i><br><br><br>

    </Fragment>


  </Hero>

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

  <Note />

   <Purpose/>

  <Content
    id="pioneers"
    image={{
      src: '~/assets/images/pioneers2.jpg',
      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 1.0 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 trillion 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 1.0.

        <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 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>




  <!-- Steps 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 the Project Internet Capacity necessary?',
        description:
          "There is a cyber pandemic going on and there is a war for your attention! The cloud and Internet can be what it was always meant to be: for the people and peer-to-peer. The grid offers the possibility for anyone to own their share of the Internet.",
      },
      {
        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 to install a node',
        description:
          "Providing cloud services to the world has never been easier. Once you've received your node, connect it to the Internet and a power outlet, and let the autonomous and self-healing operating system take care of the rest. Passive rewards you say?",
      },
      {
        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?",
      },
      {
        title: 'Can I get support with the node installation?',
        description:
          "Of course! We're help to help! Our team has been providing continuous customer support for many years and is always happy to assist you in onboarding the grid. Furthermore, our community loves to solve problems to help fellow cloud hosters!",
      },
    ]}
  />

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

  <INCAStats/>


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

  <CallToAction
    actions={[
      {
        variant: 'primary',
        text: 'Get INCA Nodes',
        href: 'https://threefold.io',
        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>