-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9cdf4ec
commit 5ae5958
Showing
13 changed files
with
251 additions
and
230 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<div class="container">Container</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,60 +1,51 @@ | ||
<script lang="ts"> | ||
import { FooterLink, FooterSection } from '$lib/index.js' | ||
import Translation from '$lib/utils/Translation.svelte' | ||
export let minimal = false | ||
import Container from '../Container.svelte' | ||
</script> | ||
|
||
<footer class="footer"> | ||
<div class="footer-content"> | ||
<h2 class="footer-title"> | ||
<Translation key="footer:title" /> | ||
</h2> | ||
{#if !minimal} | ||
<section class="footer-details"> | ||
<div class="footer-description"> | ||
<Translation key="footer:description" /> | ||
</div> | ||
|
||
<FooterSection title="footer:section-contact"> | ||
<Container> | ||
<div class="footer-content"> | ||
<h2 class="footer-title"> | ||
<Translation key="footer:title" /> | ||
</h2> | ||
<section class="footer-links"> | ||
<FooterSection title="footer:contact"> | ||
<FooterLink href="mailto:[email protected]" target="_blank" rel="noreferrer"> | ||
<Translation key="footer:link-email" /> | ||
<Translation key="footer:contact-email" /> | ||
</FooterLink> | ||
<FooterLink href="https://adofai.gg/discord" target="_blank" rel="noreferrer"> | ||
<Translation key="footer:link-discord" /> | ||
<Translation key="footer:contact-discord" /> | ||
</FooterLink> | ||
</FooterSection> | ||
|
||
<FooterSection title="footer:section-legal"> | ||
<FooterSection title="footer:legal"> | ||
<FooterLink href="https://adofai.gg/docs/legal-notice" target="_blank" rel="noreferrer"> | ||
<Translation key="footer:link-legal-notice" /> | ||
<Translation key="footer:legal-notice" /> | ||
</FooterLink> | ||
<FooterLink href="https://adofai.gg/docs/terms" target="_blank" rel="noreferrer"> | ||
<Translation key="footer:link-terms" /> | ||
<Translation key="footer:legal-terms" /> | ||
</FooterLink> | ||
<FooterLink href="https://adofai.gg/docs/privacy" target="_blank" rel="noreferrer"> | ||
<Translation key="footer:link-privacy" /> | ||
<Translation key="footer:legal-privacy" /> | ||
</FooterLink> | ||
</FooterSection> | ||
</section> | ||
{/if} | ||
<p class="footer-copyright"> | ||
© <Translation key="footer:copyright" /> | ||
</p> | ||
</div> | ||
<p class="footer-copyright"> | ||
© <Translation key="footer:copyright" /> | ||
</p> | ||
</div> | ||
</Container> | ||
</footer> | ||
|
||
<style lang="scss"> | ||
.footer { | ||
background-color: rgba(0, 0, 0, 0.2); | ||
padding: 24px; | ||
display: flex; | ||
justify-content: center; | ||
} | ||
.footer-content { | ||
width: 100%; | ||
max-width: 1100px; | ||
display: flex; | ||
flex-direction: column; | ||
gap: 12px; | ||
|
@@ -70,23 +61,8 @@ | |
opacity: 0.6; | ||
} | ||
.footer-details { | ||
.footer-links { | ||
display: grid; | ||
grid-template-columns: repeat(var(--footer-columns), 1fr); | ||
gap: 24px; | ||
--footer-columns: 1; | ||
@media screen and (min-width: 768px) { | ||
--footer-columns: 2; | ||
} | ||
@media screen and (min-width: 1100px) { | ||
--footer-columns: 3; | ||
} | ||
} | ||
.footer-description { | ||
font-size: 14px; | ||
gap: 4px; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1 @@ | ||
title = ADOFAI.gg | ||
description = ADOFAI.gg is based on the ADOFAI Unofficial Forum, and is not created nor approved by 7th Beat Games. | ||
|
||
# Sections | ||
section-contact = Contact | ||
section-legal = Legal Constraints and Policies | ||
# Links | ||
link-email = Send Inquiry Mail | ||
link-discord = Join Discord Server | ||
link-legal-notice = Legal Notice | ||
link-terms = Terms of Service | ||
link-privacy = Privacy Policy | ||
# rest | ||
copyright = All rights reserved to the designs (excluding third-party images and fonts), icons, and source code (excluding libraries) on this site. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
title = ADOFAI.gg | ||
description = ADOFAI.gg는 ADOFAI 비공식 포럼을 바탕으로 하며, 7th Beat Games에서 제작되거나 승인받지 않았습니다. | ||
# Sections | ||
section-contact = 문의 | ||
section-legal = 법적 계약 및 정책 | ||
# Links | ||
link-email = 문의 메일 전송 | ||
link-discord = Discord 서버 가입 | ||
link-legal-notice = 법적 고지 | ||
# rest | ||
copyright = 이 사이트에 대한 디자인(타사 제공 이미지, 폰트 제외)과 아이콘, 소스 코드(라이브러리 제외)에 대한 모든 권리 보유. | ||
contact = 연락 | ||
contact-email = 문의 메일 전송 | ||
contact-discord = Discord 커뮤니티 가입 | ||
legal = 법적 문서 | ||
legal-notice = 법적 고지 | ||
legal-terms = 서비스 이용 약관 | ||
legal-privacy = 개인정보 처리방침 | ||
copyright = 2024 ADOFAI.gg. ADOFAI.gg는 7th Beat Games가 제작하거나 승인한 서비스가 아닙니다. |
Oops, something went wrong.