-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Added the main website from Weather.io
- Loading branch information
1 parent
1468667
commit de2bd14
Showing
107 changed files
with
1,808,332 additions
and
951 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
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 @@ | ||
/** @type {import('next-i18next').UserConfig} */ | ||
module.exports = { | ||
i18n: { | ||
defaultLocale: 'en', | ||
locales: ['en', 'de'] | ||
} | ||
} |
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
// Importing env files here to validate on build | ||
import "./src/env.mjs"; | ||
import withBundleAnalyzer from '@next/bundle-analyzer' | ||
import pkg from './next-i18next.config.js' | ||
import withPWAInit from "@ducanh2912/next-pwa"; | ||
import {withAxiom} from "next-axiom"; | ||
|
||
const withPWA = withPWAInit({ | ||
dest: 'public', | ||
fallbacks: { | ||
document: '/_offline', | ||
} | ||
}); | ||
|
||
const { i18n } = pkg | ||
|
||
// create the bundle analyzer config | ||
const withMyBundleAnalyzer = withBundleAnalyzer({ | ||
enabled: process.env.ANALYZE === 'true' | ||
}) | ||
|
||
/** | ||
* Run `build` or `dev` with `SKIP_ENV_VALIDATION` to skip env validation. | ||
* This is especially useful for Docker builds. | ||
*/ | ||
!process.env.SKIP_ENV_VALIDATION && (await import('./src/env.mjs')) | ||
|
||
|
||
/** @type {import("next").NextConfig} */ | ||
const config = withMyBundleAnalyzer(withPWA( | ||
withAxiom({ | ||
reactStrictMode: true, | ||
|
||
/** Enables hot reloading for local packages without a build step */ | ||
transpilePackages: ["@weatherio/api", "@weatherio/ui", "@weatherio/types"], | ||
})) | ||
) | ||
|
||
export default config; |
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
Binary file not shown.
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,3 @@ | ||
{ | ||
"title": "404 - Seite nicht gefunden" | ||
} |
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,26 @@ | ||
{ | ||
"title": "Weather.io", | ||
"location": "Deutschland", | ||
|
||
"start button": "Suche deinen Standort", | ||
"share button": "Teilen", | ||
"menu home": "Start", | ||
"menu locations": "Orte", | ||
"menu settings": "Einstellungen", | ||
"menu contact": "Kontakt", | ||
"footer legal": "Rechtliches", | ||
"footer contributors": "Mitwirkende", | ||
|
||
"search page title": "Suche - Weather.io", | ||
|
||
"miles per hour": "Meilen pro Stunde", | ||
"kilometers per hour": "Kilometer pro Stunde", | ||
"knots": "Knoten", | ||
"meters per second": "Meter pro Sekunde", | ||
"beaufort": "Beaufort", | ||
|
||
"share text": "Checke doch mal diese Seite aus: ", | ||
|
||
"title 404 page": "404: Seite nicht gefunden", | ||
"title offline page": "Offline" | ||
} |
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,15 @@ | ||
{ | ||
"send button": "Senden", | ||
"sent button": "Gesendet", | ||
"first name": "Vorname", | ||
"last name": "Nachname", | ||
"email": "Email", | ||
"message": "Nachricht", | ||
|
||
"sent toast": "Nachricht gesendet", | ||
"sending email loading toast": "Email wird gesendet...", | ||
|
||
"invalid email": "Ungültige Email", | ||
"at least 2 characters": "Dieses Feld muss mindestens 2 Zeichen enthalten", | ||
"at least 10 characters": "Dieses Feld muss mindestens 10 Zeichen enthalten" | ||
} |
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,6 @@ | ||
{ | ||
"made with love text": "Mit <span <span class=\"text-4xl\" style=\"color: rgb(239 68 68)\">♥️</span> gemacht von", | ||
"founder": "Gründer", | ||
"engineer": "Entwickler", | ||
"designer": "Designer" | ||
} |
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,72 @@ | ||
{ | ||
"today": "Heute", | ||
"9 day forecast": "9 Tage Vorhersage", | ||
"precipitation": "Niederschlag", | ||
"feels like": "Gefühlte Temperatur", | ||
"visibility": "Sicht", | ||
"wind pressure": "Wind", | ||
"air quality": "Luftqualität", | ||
"pressure": "Luftdruck", | ||
"speed": "Geschwindigkeit", | ||
"moon phase": "Mondphase", | ||
|
||
"early morning": "Früh", | ||
"morning": "Morgen", | ||
"noon": "Mittag", | ||
"afternoon": "Nachmittag", | ||
"night": "Nacht", | ||
|
||
"feels like phrase very warm": "Die Sonne probiert sich abzukühlen!", | ||
"feels like phrase warm": "Dein Eis schmilzt dir davon!", | ||
"feels like phrase moderate": "Perfektes Wetter für einen Spaziergang!", | ||
"feels like phrase cold": "Sogar Pinguine bestellen sich eine heiße Schokolade!", | ||
"feels like phrase very cold": "Auch die Schneemänner frieren!", | ||
|
||
"air quality text very poor": "Sehr schlecht", | ||
"air quality text poor": "Schlecht", | ||
"air quality text fair": "Mäßig", | ||
"air quality text moderate": "Mittel", | ||
"air quality text good": "Gut", | ||
"air quality text excellent": "Sehr gut", | ||
|
||
"sunset": "Sonnenuntergang", | ||
"sunrise": "Sonnenaufgang", | ||
|
||
"weather state stormy": "Stürmisch", | ||
"weather state snowy": "Schnee", | ||
"weather state rainy": "Regen", | ||
"weather state very cloudy": "Stark bewölkt", | ||
"weather state cloudy": "Bewölkt", | ||
"weather state windy": "Windig", | ||
"weather state sunny": "Sonnig", | ||
|
||
"this hour": "Diese Stunde", | ||
"early hour time ending": ":00", | ||
"late hour time ending": ":00", | ||
|
||
"9 day forecast card content": "Die Vorhersage für die nächsten 9 Tage. <br />Die <span class=\"font-semibold\">Temperaturen</span> sind die durchschnittlichen Temperaturen des Tages. Eine für den Tag, eine für die Nacht.", | ||
|
||
"precipitation card title": "Derzeitige Niederschlagswahrscheinlichkeit", | ||
|
||
"feels like card content": "Die gefühlte Temperatur ist die Temperatur, die du spürst, wenn du draußen bist.<br /> Sie wird durch die Temperatur, die Luftfeuchtigkeit und den Wind beeinflusst.", | ||
|
||
"visibility card title": "Derzeitige Sichtweite", | ||
|
||
"wind pressure card title": "Derzeitiger Wind", | ||
|
||
"not available": "Nicht verfügbar", | ||
|
||
"moon phase card title": "Derzeitige Mondphase", | ||
"moon phase card content": "Die Mondphase ist die Form des Mondes, die wir von der Erde aus sehen können.", | ||
|
||
"moon phase new moon": "Neumond", | ||
"moon phase waxing crescent": "Zunehmende Sichel", | ||
"moon phase first quarter": "Erstes Viertel", | ||
"moon phase waxing gibbous": "Zunehmender Mond", | ||
"moon phase full moon": "Vollmond", | ||
"moon phase waning gibbous": "Abnehmender Mond", | ||
"moon phase last quarter": "Letztes Viertel", | ||
|
||
"more information": "Mehr Informationen", | ||
"sun hours": "Sonnenstunden" | ||
} |
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,5 @@ | ||
{ | ||
"main text": "Die Inhalte dieser Website wurden sorgfältig geprüft und erstellt. Wir übernehmen jedoch keine Gewähr für die Richtigkeit, Vollständigkeit und Aktualität der bereitgestellten Informationen. Wir haften nicht für Schäden oder Verluste, die durch die Nutzung dieser Website entstehen. Für den Inhalt der verlinkten Seiten sind ausschließlich deren Betreiber verantwortlich. Jegliche Haftung für fremde Inhalte wird ausdrücklich ausgeschlossen.", | ||
"germany": "Deutschland", | ||
"information disclaimer": "Informationen gemäß § 5 TMG" | ||
} |
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,13 @@ | ||
{ | ||
"add new location": "Füge einen Ort hinzu", | ||
"add new location button": "Hinzufügen", | ||
"search input placeholder": "Suche deinen Standort", | ||
|
||
"at least one city toast": "Du musst mindestens eine Stadt haben", | ||
"switched to city toast": "Stadt gewechselt!", | ||
"added city toast": "Neue Stadt hinzugefügt!", | ||
"city not found toast": "Stadt nicht gefunden!", | ||
"try again toast": "Versuche es erneut!", | ||
|
||
"my location button": "Meinen Standort auswählen" | ||
} |
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 @@ | ||
{ | ||
"title": "Du bist offline", | ||
"message": "Bitte überprüfe deine Internetverbindung und versuche es erneut." | ||
} |
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,6 @@ | ||
{ | ||
"search input placeholder": "Suche deinen Standort", | ||
"continue button": "Weiter -->", | ||
|
||
"my location button": "Meinen Standort auswählen" | ||
} |
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,8 @@ | ||
{ | ||
"temperature units": "Temperatureinheit", | ||
"wind speed units": "Windgeschwindigkeitseinheit", | ||
"language": "Sprache", | ||
|
||
"english": "Englisch", | ||
"german": "Deutsch" | ||
} |
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,3 @@ | ||
{ | ||
"title": "404 - Page Not Found" | ||
} |
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,26 @@ | ||
{ | ||
"title": "Weather.io", | ||
"location": "Global", | ||
|
||
"start button": "Find your location", | ||
"share button": "Share", | ||
"menu home": "Home", | ||
"menu locations": "Locations", | ||
"menu settings": "Settings", | ||
"menu contact": "Contact Us", | ||
"footer legal": "Legal", | ||
"footer contributors": "Contributors", | ||
|
||
"search page title": "Search - Weather.io", | ||
|
||
"miles per hour": "Miles per hour", | ||
"kilometers per hour": "Kilometers per hour", | ||
"knots": "Knots", | ||
"meters per second": "Meters per second", | ||
"beaufort": "Beaufort", | ||
|
||
"share text": "Check out this page: ", | ||
|
||
"title 404 page": "404: This page could not be found", | ||
"title offline page": "Offline" | ||
} |
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,15 @@ | ||
{ | ||
"send button": "Send", | ||
"sent button": "Sent", | ||
"first name": "First name", | ||
"last name": "Last name", | ||
"email": "Email", | ||
"message": "Message", | ||
|
||
"sent toast": "Message sent!", | ||
"sending email loading toast": "Sending email...", | ||
|
||
"invalid email": "Invalid email address", | ||
"at least 2 characters": "This field must contain at least 2 characters", | ||
"at least 10 characters": "This field must contain at least 10 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,6 @@ | ||
{ | ||
"made with love text": "Made with <span class=\"text-4xl\" style=\"color: rgb(239 68 68)\">♥\uFE0F</span> by", | ||
"founder": "Founder", | ||
"engineer": "Engineer", | ||
"designer": "Designer" | ||
} |
Oops, something went wrong.