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. export default function LayoutHeroUi() {
  5. return (
  6. <>
  7. <header className="hero pt-10 pb-0 bg-gradient">
  8. <div className="container">
  9. <h1 className="hero-title" data-aos="zoom-y-out">
  10. Develop beautiful web apps with&nbsp;Tabler
  11. </h1>
  12. <p className="hero-description mt-4" data-aos="zoom-y-out" data-aos-delay="150">
  13. Tabler is a free and open source web application UI kit based on Bootstrap&nbsp;5, with hundreds responsive
  14. 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">
  31. <Browser data-aos="zoom-y-out" data-aos-delay="450">
  32. <ResponsiveImage src="/img/tabler/preview.png" width={1040} height={760} priority />
  33. </Browser>
  34. </div>
  35. </div>
  36. </header>
  37. </>
  38. );
  39. }