diff --git a/public/img/profil_icon2.PNG b/public/img/profil_icon2.PNG new file mode 100644 index 0000000..b2f0b95 Binary files /dev/null and b/public/img/profil_icon2.PNG differ diff --git a/public/profil.js b/public/profil.js index e69de29..0fcf8ff 100644 --- a/public/profil.js +++ b/public/profil.js @@ -0,0 +1,15 @@ +const ProfilRouter = { + template: ` +
+ +
`, + data: function () { + return { profilcard: _profilcard }; + }, + methods: { + }, +}; diff --git a/public/profilCard.js b/public/profilCard.js new file mode 100644 index 0000000..85515c8 --- /dev/null +++ b/public/profilCard.js @@ -0,0 +1,19 @@ +Vue.component('ProfilCard', { + template: `
+ +
+
edit
+
+
{{ profil.user }}

+
{{ profil.major }}

+ {{ profil.semester }}
+
+
+
+ + +
+
+
`, + props: ['profil'] +}); diff --git a/public/profilData.js b/public/profilData.js new file mode 100644 index 0000000..e460572 --- /dev/null +++ b/public/profilData.js @@ -0,0 +1,10 @@ +_profilcard = [ + { + id: 1, + user: 'Benutzername', + major: 'Studiengang', + semester: 'Semester', + abos: '7', + saved: '3', + }, +];