import type { Component } from 'solid-js';

const currentYear = new Date().getFullYear();

const Footer: Component = () => {
  return (
    <footer class="border-t border-neutral-200 bg-white/50 backdrop-blur-sm dark:border-neutral-800 dark:bg-neutral-950/50">
      <div class="mx-auto max-w-7xl px-6 py-8 lg:px-8">
        {/* Контейнер для копирайта и иконок */}
        <div class="flex flex-col-reverse items-center justify-between gap-6 sm:flex-row">
          {/* Копирайт */}
          <div class="w-full text-center">
            <p class="text-md text-neutral-500 dark:text-neutral-400">
              &copy; 2024 - {currentYear} redib.ru -  Все права защищены.
            </p>
          </div>
        </div>
      </div>
    </footer>
  );
};

export default Footer;