Ctrl K
ComunidadGuías…

components/PageFooterSponsor.tsx

Rama main · réplica de lectura del repositorio original.

Archivo original ↗Preguntar a KiBot
import getVersion from '@/app/(authenticated)/lib/version';
import { HeartIcon } from '@heroicons/react/24/solid';
import { GithubIcon, Coffee } from 'lucide-react';
import { getTranslations } from 'next-intl/server';

export default async function PageFooterSponsor() {
  const t = await getTranslations('Footer');

  return (
    <footer className="border-t border-border bg-background py-6">
      <div className="max-w-7xl mx-auto px-4 md:px-6 lg:px-8">
        <div className="flex flex-col md:flex-row items-center justify-between gap-6 text-[12px] font-[500] uppercase text-muted-foreground/70">
          <div className="flex items-center gap-4">
            <span className="flex items-center gap-1">
              {t('madeWith')} <HeartIcon className="h-4 w-4 text-accent-red" />{' '}
              {t('by')}{' '}
              <a
                href="https://github.com/artifacts-dav"
                className="hover:text-foreground transition-colors capitalize"
              >
                David Rdz-Reveles
              </a>
            </span>
            <span>·</span>
            <a
              href="https://github.com/artifacts-oss/daylog/releases"
              className="hover:text-foreground transition-colors"
              rel="noopener"
            >
              v{getVersion()}
            </a>
          </div>
          <div className="flex items-center gap-4">
            <a
              href="https://github.com/artifacts-oss/daylog"
              target="_blank"
              className="hover:text-foreground transition-colors flex items-center gap-1"
              rel="noopener"
            >
              <GithubIcon className="h-4 w-4" /> {t('sourceCode')}
            </a>
            <a
              href="https://buymeacoffee.com/davidartifacts"
              target="_blank"
              className="hover:text-foreground transition-colors flex items-center gap-1"
              rel="noopener"
            >
              <Coffee className="h-4 w-4" /> {t('buyMeCoffee')}
            </a>
          </div>
        </div>
      </div>
    </footer>
  );
}