Initial Commit
This commit is contained in:
3
src/env.d.ts
vendored
Normal file
3
src/env.d.ts
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
/// <reference types="astro/client" />
|
||||
|
||||
/// <reference path="../.astro-i18n/generated.d.ts" />
|
||||
3
src/locales/de.json
Normal file
3
src/locales/de.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
|
||||
}
|
||||
3
src/locales/en.json
Normal file
3
src/locales/en.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"hello": "Hello, World!"
|
||||
}
|
||||
17
src/pages/index.astro
Normal file
17
src/pages/index.astro
Normal file
@ -0,0 +1,17 @@
|
||||
---
|
||||
import { t } from "astro-i18n";
|
||||
import * as Icon from '@astropub/icons';
|
||||
---
|
||||
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<meta name="generator" content={Astro.generator} />
|
||||
<title>Astro</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>{t("hello")}</h1>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user