<template>
  <footer class="footer">
    <div class="footer-content">
      <div class="footer-info">
        <p>&copy; 2024 AIGC Demo. All rights reserved.</p>
        <p>基于 Vue.js 3 + Ant Design Vue 构建</p>
      </div>
      <div class="footer-links">
        <a href="#" class="footer-link">{{ $t('footer.aboutUs') }}</a>
        <a href="#" class="footer-link">{{ $t('footer.contactUs') }}</a>
        <a href="#" class="footer-link">{{ $t('footer.privacyPolicy') }}</a>
        <a href="#" class="footer-link">{{ $t('footer.termsOfService') }}</a>
      </div>
    </div>
  </footer>
</template>

<script setup>
import { useI18n } from 'vue-i18n'
const { t } = useI18n()
</script>

<style scoped>
.footer {
  height: 60px;
  background-color: transparent;
  border-top: none;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
}

.footer-info {
  color: #e5e7ff;
  font-size: 14px;
}

.footer-info p {
  margin: 0;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-link {
  color: #e5e7ff;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-link:hover {
  color: #ffffff;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 10px;
  }
  
  .footer-links {
    gap: 15px;
  }
}
</style>





































