-
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.
Merge pull request #2 from NovusInnovation/static-adapter
Use static adapter with plugin-dynamic-import-vars
- Loading branch information
Showing
12 changed files
with
146 additions
and
151 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
{ | ||
"$schema": "https://inlang.com/schema/inlang-message-format", | ||
"navbar_about": "Om os", | ||
"navbar_contact": "Kontakt", | ||
"navbar_home": "Home", | ||
"navbar_projects": "Projekter", | ||
"contact_us": "Kontakt os", | ||
"contact_send_message": "Send besked", | ||
"about_us_expanded": "Har du spørgsmål, ris eller ros? Så tøv ikke med at kontakte os! Vi vil gøre vores bedste for at besvare din henvendelse hurtigst muligt.", | ||
"welcome": "Velkommen til Novus Group", | ||
"first_name": "Fornavn", | ||
"last_name": "Efternavn", | ||
"email": "Email", | ||
"message": "Besked", | ||
"message_confirm": "Tak for din henvendelse. Vi vender tilbage hurtigst muligt.", | ||
"message_confirm_title": "Din besked er blevet sendt.", | ||
"rights_reserved": "Alle rettigheder forbeholdt", | ||
"about_us": "Vi er en gruppe på 4 udviklere dedikeret til at forme fremtidens teknologi. Vi har udviklet flere tekniske løsninger og vundet forskellige priser. Sammen bygger vi komplette end-to-end løsninger. Vores løsninger spænder fra webudvikling til mobilapplikationer og videospil." | ||
} | ||
"$schema": "https://inlang.com/schema/inlang-message-format", | ||
"navbar_about": "Om os", | ||
"navbar_contact": "Kontakt", | ||
"navbar_home": "Hjem", | ||
"navbar_projects": "Projekter", | ||
"contact_us": "Kontakt os", | ||
"contact_send_message": "Send besked", | ||
"about_us_expanded": "Har du spørgsmål, ris eller ros? Så tøv ikke med at kontakte os! Vi vil gøre vores bedste for at besvare din henvendelse hurtigst muligt.", | ||
"welcome": "Velkommen til Novus Group", | ||
"first_name": "Fornavn", | ||
"last_name": "Efternavn", | ||
"email": "Email", | ||
"message": "Besked", | ||
"message_confirm": "Tak for din henvendelse. Vi vender tilbage hurtigst muligt.", | ||
"message_confirm_title": "Din besked er blevet sendt.", | ||
"rights_reserved": "Alle rettigheder forbeholdt", | ||
"about_us": "Vi er en gruppe på 4 udviklere dedikeret til at forme fremtidens teknologi. Vi har udviklet flere tekniske løsninger og vundet forskellige priser. Sammen bygger vi komplette end-to-end løsninger. Vores løsninger spænder fra webudvikling til mobilapplikationer og videospil." | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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,21 +1,21 @@ | ||
<script> | ||
import { ParaglideJS } from '@inlang/paraglide-sveltekit' | ||
import { i18n } from '$lib/i18n' | ||
import { ModeWatcher } from 'mode-watcher'; | ||
import { ParaglideJS } from '@inlang/paraglide-sveltekit'; | ||
import { i18n } from '$lib/i18n'; | ||
import { ModeWatcher } from 'mode-watcher'; | ||
import Footer from "$lib/components/footer.svelte"; | ||
import Header from "$lib/components/header.svelte"; | ||
import '../app.css'; | ||
import Footer from '$lib/components/footer.svelte'; | ||
import Header from '$lib/components/header.svelte'; | ||
import '../app.css'; | ||
</script> | ||
|
||
<ModeWatcher /> | ||
|
||
<ParaglideJS {i18n}> | ||
<main class="min-h-screen w-screen flex flex-col"> | ||
<Header /> | ||
<div class="max-w-screen-xl mx-auto flex-1 px-24"> | ||
<slot /> | ||
</div> | ||
<Footer /> | ||
</main> | ||
</ParaglideJS> | ||
<main class="min-h-screen w-screen flex flex-col"> | ||
<Header /> | ||
<div class="max-w-screen-xl mx-auto flex-1 px-24"> | ||
<slot /> | ||
</div> | ||
<Footer /> | ||
</main> | ||
</ParaglideJS> |
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 @@ | ||
export const prerender = true; |
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,10 +1,15 @@ | ||
import { paraglide } from '@inlang/paraglide-sveltekit/vite' | ||
import { paraglide } from '@inlang/paraglide-sveltekit/vite'; | ||
import { sveltekit } from '@sveltejs/kit/vite'; | ||
import { defineConfig } from 'vite'; | ||
import dynamicImportVars from '@rollup/plugin-dynamic-import-vars'; | ||
|
||
export default defineConfig({ | ||
plugins: [ | ||
paraglide({ project: './project.inlang', outdir: './src/lib/paraglide' }), | ||
sveltekit() | ||
] | ||
sveltekit(), | ||
dynamicImportVars({ | ||
include: './src/routes/projects/*/*.ts' | ||
}) | ||
], | ||
assetsInclude: ['../lib/projects/*.md'] | ||
}); |
Oops, something went wrong.