diff --git a/src/assets/empty_laps.svg b/src/assets/empty_laps.svg new file mode 100644 index 0000000..17ed002 --- /dev/null +++ b/src/assets/empty_laps.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/components/Profile.vue b/src/components/Profile.vue index 0f883f1..47fe1ff 100644 --- a/src/components/Profile.vue +++ b/src/components/Profile.vue @@ -5,8 +5,11 @@
-

Max Mustermann

-

Musterfirma > PR

+

+

{{ state.group }}

-
+
-
{{ $t('vorname') }}
- {{ $t('vorname') }}
+

-
{{ $t('mittelname') }}
- {{ $t('mittelname') }}
+

-
{{ $t('nachname') }}
- {{ $t('nachname') }}
+

-
{{ $t('e_mail_adress') }}
- {{ $t('e_mail_adress') }}
+

-
{{ $t('phone_number') }}
- {{ $t('phone_number') }}
+

@@ -123,12 +116,15 @@ -
+
- +
@@ -142,30 +138,28 @@ - - - - - - - - - - - - - - - + + +
400m0min 57s
400m1min 15s
1km2min 50s
1km3min 00s
+ m +
+
+ + {{ $t('no_laps_scans_were_recorded_yet') }} +
-
+
coming soon...
@@ -175,12 +169,45 @@ \ No newline at end of file diff --git a/src/locales/de.json b/src/locales/de.json index da1e2a1..d85568d 100644 --- a/src/locales/de.json +++ b/src/locales/de.json @@ -15,6 +15,7 @@ "main_page_text": "Hier können Sie sich für den Lauf Für Kaya! registrieren oder ihr Läuferprofil verwalten.", "mittelname": "Mittelname", "nachname": "Nachname", + "no_laps_scans_were_recorded_yet": "Es wurden noch keine Runden / Scans aufgezeichnet ...", "ort": "Ort", "phone_number": "Telefonnummer", "please_provide_a_valid_zipcode": "Bitte geben Sie eine gültige Postleitzahl an...", diff --git a/src/locales/en.json b/src/locales/en.json index 868a9bb..b14e4ee 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -15,6 +15,7 @@ "main_page_text": "Here you can register for the Lauf Für Kaya! or manage your runner profile.", "mittelname": "Middlename", "nachname": "Lastname", + "no_laps_scans_were_recorded_yet": "No laps/ scans were recorded yet...", "ort": "City", "phone_number": "Phone Number", "please_provide_a_valid_zipcode": "Please provide a valid zipcode...", diff --git a/src/main.js b/src/main.js index bd77f66..0611093 100644 --- a/src/main.js +++ b/src/main.js @@ -26,9 +26,9 @@ const Home = import('./components/Home.vue'); const Imprint = import('./components/Imprint.vue'); const Privacy = import('./components/Privacy.vue'); const Register = import('./components/Register.vue'); -const Profile = import('./components/Profile.vue'); +const Profile = () => import('./components/Profile.vue'); // -let routes = [ { path: '/', component: EnvError } ]; +let routes = [ { path: '/:pathMatch(.*)*', component: EnvError } ]; if (typeof config !== 'undefined') { if (config.baseurl && config.documentserver_key) { routes = [