UiEmails.tsx 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. 'use client';
  2. import { emailsCount, emailsDownloadUrl, emailsPrice } from '@/config/site';
  3. import Link from '@/components/Link';
  4. import Slider from '@/components/Slider';
  5. import ResponsiveImage from '@/components/ResponsiveImage';
  6. export default function LayoutHeroUiEmails() {
  7. return (
  8. <header className="hero pb-8">
  9. <div className="container">
  10. <div className="row items-center">
  11. <div className="md:col-6 text-center md:text-left" data-aos="fade-up">
  12. <div className="hero-subheader">Tabler Emails</div>
  13. <h1 className="hero-title">Better email communication, less effort.</h1>
  14. <p className="hero-description mt-4">
  15. {emailsCount} eye-catching, customizable and responsive email templates to improve your email
  16. communication. No coding skills needed.
  17. </p>
  18. <div className="mt-6 lg:mt-7">
  19. <div className="row justify-center md:justify-start">
  20. <div className="col-auto">
  21. <a
  22. href={emailsDownloadUrl}
  23. className="btn btn-lg btn-primary"
  24. target="_blank"
  25. rel="noopener noreferrer"
  26. >
  27. Buy for ${emailsPrice}
  28. </a>
  29. </div>
  30. <div className="col-auto">
  31. <Link href="/emails/gallery" className="btn btn-lg">
  32. Browse gallery
  33. </Link>
  34. </div>
  35. </div>
  36. </div>
  37. </div>
  38. <div className="md:col-6" data-aos="fade-up">
  39. <div className="lg:my-n6">
  40. <div className="hero-img-side">
  41. <Slider
  42. style={{
  43. background: 'url(/img/emails/hero-bg.svg) no-repeat center/contain'
  44. }}
  45. slides={[
  46. <ResponsiveImage
  47. src="/img/emails/hero-5.png"
  48. className="mx-auto"
  49. width="604"
  50. height="590"
  51. alt=""
  52. key="hero-1"
  53. priority
  54. />,
  55. <ResponsiveImage
  56. src="/img/emails/hero-1.png"
  57. className="mx-auto"
  58. width="604"
  59. height="590"
  60. alt=""
  61. key="hero-2"
  62. />,
  63. <ResponsiveImage
  64. src="/img/emails/hero-2.png"
  65. className="mx-auto"
  66. width="604"
  67. height="590"
  68. alt=""
  69. key="hero-3"
  70. />,
  71. <ResponsiveImage
  72. src="/img/emails/hero-3.png"
  73. className="mx-auto"
  74. width="604"
  75. height="590"
  76. alt=""
  77. key="hero-4"
  78. />,
  79. <ResponsiveImage
  80. src="/img/emails/hero-4.png"
  81. className="mx-auto"
  82. width="604"
  83. height="590"
  84. alt=""
  85. key="hero-5"
  86. />
  87. ]}
  88. />
  89. </div>
  90. </div>
  91. </div>
  92. </div>
  93. </div>
  94. </header>
  95. );
  96. }