Ui.tsx 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. import Browser from '@/components/Browser';
  2. import ResponsiveImage from '@/components/ResponsiveImage';
  3. import { uiDownloadUrl } from '@/config/site';
  4. import React from 'react';
  5. export default function LayoutHeroUi() {
  6. return (
  7. <>
  8. <header className="hero pt-10 pb-0 bg-gradient">
  9. <div className="container">
  10. <h1 className="hero-title" data-aos="zoom-y-out">
  11. Develop beautiful web apps with&nbsp;Tabler
  12. </h1>
  13. <p className="hero-description mt-4" data-aos="zoom-y-out" data-aos-delay="150">
  14. Tabler is a free and open source web application UI kit based on Bootstrap&nbsp;5, with hundreds responsive components and multiple layouts.
  15. </p>
  16. <div className="mt-5" data-aos="zoom-y-out" data-aos-delay="300">
  17. <div className="row g-3 justify-center">
  18. <div className="col-auto">
  19. <a href={uiDownloadUrl} className="btn btn-lg btn-primary lemonsqueezy-button">
  20. Download template
  21. </a>
  22. </div>
  23. <div className="col-auto">
  24. <a href="/preview" className="btn btn-lg" target="_blank" rel="noopener noreferrer">
  25. Preview template
  26. </a>
  27. </div>
  28. </div>
  29. </div>
  30. <div className="hero-img img-overlap-margin" data-aos="zoom-y-out" data-aos-delay="450">
  31. <Browser>
  32. <ResponsiveImage src="/img/tabler/preview.png" width={1080} height={760} priority />
  33. </Browser>
  34. </div>
  35. </div>
  36. </header>
  37. </>
  38. );
  39. }