-
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
b386aa7
commit c5868d7
Showing
9 changed files
with
307 additions
and
166 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
Large diffs are not rendered by default.
Oops, something went wrong.
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,7 @@ | ||
export default { | ||
pages: { | ||
home: { | ||
title: "Index" | ||
} | ||
} | ||
} |
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,7 @@ | ||
import en from "@/Locale/en" | ||
import pl from "@/Locale/pl" | ||
|
||
export default { | ||
en: en, | ||
pl: pl, | ||
} |
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,4 @@ | ||
export enum Locale { | ||
English = 'en', | ||
Polish = 'pl', | ||
} |
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,7 @@ | ||
export default { | ||
pages: { | ||
home: { | ||
title: "Indeks" | ||
} | ||
} | ||
} |
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,13 +1,19 @@ | ||
<script setup> | ||
import { Head } from '@inertiajs/vue3' | ||
import Navigation from "@/Layout/Navigation.vue"; | ||
import {Head, usePage} from '@inertiajs/vue3' | ||
import Navigation from '@/Layout/Navigation.vue' | ||
import { useI18n } from 'vue-i18n' | ||
const { t } = useI18n() | ||
const locale = usePage().props.locale | ||
</script> | ||
|
||
<template> | ||
<Head title="Strona główna"></Head> | ||
|
||
<Navigation></Navigation> | ||
<div class="w-full h-screen mx-auto flex flex-col items-center justify-center gap-12"> | ||
<img src="/logo.png" alt="Blumilk logo" class="w-32"> | ||
strona główna | ||
{{ t('pages.home.title') }} {{ locale }} | ||
</div> | ||
</template> |
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