TablerLogos.tsx 893 B

12345678910111213141516171819202122232425262728293031
  1. import clsx from 'clsx';
  2. export default function TablerLogos() {
  3. const logos = [
  4. { src: '/img/favicon.svg' },
  5. { src: '/img/logo-tabler.svg' },
  6. { src: '/img/logo-tabler-gray.svg', className: 'bg-light' },
  7. { src: '/img/logo-tabler-white.svg', className: 'bg-dark' }
  8. ];
  9. return (
  10. <div className="row g-6">
  11. {logos.map(logo => (
  12. <div className="md:col-6" key={logo.src}>
  13. <div className="row g-3">
  14. <div className="col-12">
  15. <div className={clsx('card p-5 d-flex justify-center', logo.className)}>
  16. <img src={logo.src} alt="" />
  17. </div>
  18. </div>
  19. <div className="col-12">
  20. <a href={logo.src} className="btn btn-block" download={true}>
  21. Download SVG
  22. </a>
  23. </div>
  24. </div>
  25. </div>
  26. ))}
  27. </div>
  28. );
  29. }