Skip to content

Commit 693345e

Browse files
authored
added github link in header (#36)
1 parent bec0d50 commit 693345e

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

web/messages/en.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"$schema": "https://inlang.com/schema/inlang-message-format",
33
"modpack_creator_name": "Modpack Creator",
4+
"github_link": "Go to GitHub repo",
45
"search_mod_by_name": "Search for a mod by its name",
56
"search_for_mods": "Search",
67
"loading_mod_search": "Please wait, we're searching your mod",

web/messages/fr.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"$schema": "https://inlang.com/schema/inlang-message-format",
33
"modpack_creator_name": "Modpack Creator",
4+
"github_link": "Aller au repo GitHub",
45
"search_mod_by_name": "Recherchez un mod par son nom",
56
"search_for_mods": "Rechercher",
67
"loading_mod_search": "Veuillez patienter, nous recherchons votre mod",

web/src/routes/+layout.svelte

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
<script lang="ts">
22
let { children } = $props();
33
import { base } from '$app/paths';
4+
import * as m from '$msg';
45
</script>
56

67
<header>
78
<a href="{base}/" class="default-color">ModpackCreator</a>
89
<!-- <div style="display: flex; gap: 1rem;">
910
<a href="/about" class="default-color">About</a>
1011
</div> -->
12+
<a href="https://github.com/iTrooz/ModpackCreator" title={m.github_link()}></a>
1113
</header>
1214

1315
<div class="main-container">
@@ -24,6 +26,7 @@
2426
justify-content: space-between;
2527
padding: 0.6rem 1rem;
2628
align-items: center;
29+
font-size: 1.4rem;
2730
}
2831
.main-container {
2932
display: flex;

0 commit comments

Comments
 (0)