import { Meta } from "@storybook/addon-docs";

import Team from "../assets/images/team.svg";

<Meta
  title="Welcome"
  parameters={{
    viewMode: "docs",
    previewTabs: {
      canvas: { hidden: true },
    },
  }}
/>

<style>
  {`

  .sbdocs-wrapper{
    background: linear-gradient(rgb(255, 255, 255) 0%, rgb(247, 255, 247) 100%);
    background-size:cover;
  }

  .sbdocs .sbdocs-hero-banner{
    display:flex;
    align-items:center;
    gap: 20px;
    margin-bottom: 50px;
  }

  .sbdocs .sbdocs-hero-banner__title{
    display:flex;
    flex-wrap: wrap;
    align-items:baseline;
    line-height:1.1;
    -webkit-font-smoothing: initial;
    font-size: 40px;
  }

  .sbdocs .sbdocs-hero-banner__desc{
    color:#000 !important;
    font-weight: 400;
    font-size: 18px;
    max-width:80ch;
    -webkit-font-smoothing: initial;
  }

  .sbdocs .sbdocs-hero-banner__desc a{
    color:#000 !important;
    text-decoration: underline;
    -webkit-font-smoothing: initial;
    font-family: "Inter",sans-serif !important;
  }

  .sbdocs .sbdocs-hero-banner__title strong {
    font-weight: bold;
    user-select:none;
    color:#000;
    margin-right:10px;
    -webkit-font-smoothing: initial;
  }

  @media (min-width: 640px){
    .sbdocs .sbdocs-hero-banner__title{
      font-size: 70px;
    }
  }

  @media (max-width: 539px){
    .sbdocs-hero-banner__desc br{
      display:none;
    }
  }

  .sbdocs-featured{
    display:flex;
    flex-wrap: wrap;
    gap: 20px;
  }

  .sbdocs-featured__item{
    width: 100%;
    border-radius: 12px;
    padding: 30px;
    background: #fff;
    display:flex;
    flex-direction:column;
    position: relative;
    user-select:none;
    transition:all 0.3s;
    font-family: "Inter",sans-serif !important;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 1px -1px, rgba(0, 0, 0, 0.14) 0px 1px 1px 0px, rgba(0, 0, 0, 0.12) 0px 1px 3px 0px;
     -webkit-font-smoothing: initial;
  }

  .sbdocs-hero-banner__img-wrapper{
    display:none;
  }

  @media (min-width: 640px){
    .sbdocs-featured__item{
      width: calc(33.33% - 20px);
      min-width: 210px;
    }
    .sbdocs-hero-banner__img-wrapper{
      display: inline-block;
    }
  }

  .sbdocs-featured__item:hover{
    transform:scale(1.05);
  }

  .sbdocs-featured__item-abs-link{
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:100%;
    z-index:1;
  }

  .sbdocs-featured__item h4{
    font-size: 22px !important;
    position: relative;
    color:#000 !important;
    -webkit-font-smoothing: initial;
  }

  .sbdocs-featured__item p{
    color:#000 !important;
    -webkit-font-smoothing: initial;
    margin-top:0;
    font-size:16px;
  }

  .sbdocs-featured__item-link{
    margin-top:auto;
    display: inline-flex;
    color:#000;
    font-weight:500;
     -webkit-font-smoothing: initial;
    text-decoration: underline;
  }

  `}
</style>

<div className="sbdocs-hero-banner">
  <div>
    <h1 className="sbdocs-hero-banner__title">
      <strong>NeetoUI</strong>
    </h1>
    <p className="sbdocs-hero-banner__desc">NeetoUI is the UI building block of <a href="https://www.neeto.com/" target="_blank">Neeto</a>. It makes it easier to build consistent UI across various neeto products and is currently being used in more than 20 neeto products. <a href="https://github.com/bigbinary/neeto-ui#readme" target="_blank">Get started with NeetoUI</a>.</p>
    <p className="sbdocs-hero-banner__desc">NeetoUI is open source. If you have any questions regarding how to use NeetoUI or
if something is not working then please send an email to <a href="mailto:support@neeto.com"  target="_blank">support@neeto.com</a>.</p>
  </div>
</div>
<div className="sbdocs-featured">
  <div className="sbdocs-featured__item">
    <a target="_blank" href="https://github.com/bigbinary/neeto-ui#readme" className="sbdocs-featured__item-abs-link"></a>
    <h4>Getting started</h4>
    <p>Everything you need to get up and running.</p>
    <span className="sbdocs-featured__item-link">Read instructions</span>
  </div>
  <div className="sbdocs-featured__item">
    <a href="/?path=/docs/foundation-colors--docs" className="sbdocs-featured__item-abs-link"></a>
    <h4>Foundation</h4>
    <p>All information about colors, typography, and icons</p>
    <span className="sbdocs-featured__item-link">Read guidelines</span>
  </div>
  <div className="sbdocs-featured__item">
    <a href="/?path=/docs/components-button--default" className="sbdocs-featured__item-abs-link"></a>
    <h4>Components</h4>
    <p>All the information and guidelines you’ll ever need on each component</p>
    <span className="sbdocs-featured__item-link">Browse components</span>
  </div>
</div>
