refactor naming scheme and add a global file

This commit is contained in:
2022-06-22 09:47:02 +03:00
parent 25a0890edb
commit 36e25f4f42
12 changed files with 182 additions and 165 deletions

View File

@ -1,22 +1,21 @@
<script>
import { t } from '$lib/translations';
import * as global from "../i18n/_global.json";
</script>
<h1> {$t('common.INDEXTITLE')} </h1>
<h1>{global.NAME}</h1>
<h2> {$t('common.indexDescription')} </h2>
<h2> {$t('common.INDEX_DESCRIPTION')} </h2>
<h1> {$t('common.INDEXWHAT')} </h1> <!-- Cause I feel the need to scream -->
<h1> {$t('common.INDEX_WHAT')} </h1> <!-- Cause I feel the need to scream -->
<p> {$t('common.INDEXWHOAREWE')} </p>
<p> {$t('common.INDEX_WHO_ARE_WE')} </p>
<h1> {$t('common.INDEXTELLMEMORE')} </h1>
<h1> {$t('common.INDEX_TELL_ME_MORE')} </h1>
<p>{$t('common.INDEXMOREINFO')}</p>
<p>{$t('common.INDEX_MORE_INFO')}</p>
<a href="https://www.abuseipdb.com/user/82331" title="AbuseIPDB is an IP address blacklist for webmasters and sysadmins to report IP addresses engaging in abusive behavior on their networks">
<img src="https://www.abuseipdb.com/contributor/82331.svg" alt="AbuseIPDB Contributor Badge" style="width: 270px;background: #00d4aa; padding: 0.5rem;
position: absolute;
bottom: 8%;
<img src="https://www.abuseipdb.com/contributor/82331.svg" alt="AbuseIPDB Contributor Badge" style="width: 270px;background: var(--accent-primary); padding: 0.5rem;
border-radius: 16px;">
</a>