import { getTranslations } from 'next-intl/server'

/**
 * Barra de redes sociales — réplica del partial Django `partials/social.html`
 * con las clases del tema real (social-media, social-button + marca).
 */
export async function Social() {
  const t = await getTranslations('UI')
  return (
    <div className="social-media">
      <span className="big-font">{t('social.followUs')}</span>
      <a
        href="https://www.facebook.com/NightSpire"
        className="social-button social-button-responsive facebook"
        target="_blank"
        title="Facebook NightSpire"
        rel="noopener noreferrer"
      >
        <div className="social-inline">
          <i className="fab fa-facebook-f"></i>
        </div>
      </a>
      <a
        href="https://www.instagram.com/NightSpire"
        className="social-button social-button-responsive instagram"
        target="_blank"
        title="Instagram NightSpire"
        rel="noopener noreferrer"
      >
        <div className="social-inline">
          <i className="fab fa-instagram"></i>
        </div>
      </a>
      <a
        href="https://twitter.com/NightSpire"
        className="social-button social-button-responsive twitter"
        target="_blank"
        title="Twitter NightSpire"
        rel="noopener noreferrer"
      >
        <div className="social-inline">
          <i className="fab fa-x-twitter"></i>
        </div>
      </a>
      <a
        href="https://www.youtube.com/@NightSpire"
        className="social-button social-button-responsive youtube"
        target="_blank"
        title="Youtube NightSpire"
        rel="noopener noreferrer"
      >
        <div className="social-inline">
          <i className="fab fa-youtube"></i>
        </div>
      </a>
      <a
        href="https://discord.nightspire.gg"
        className="social-button social-button-responsive discord"
        target="_blank"
        title="Discord NightSpire"
        rel="noopener noreferrer"
      >
        <div className="social-inline">
          <i className="fab fa-discord"></i>
        </div>
      </a>
    </div>
  )
}
