diff --git a/public/assets/ro/landing/Bitmap.png b/public/assets/ro/landing/Bitmap.png new file mode 100644 index 0000000..8eea21a Binary files /dev/null and b/public/assets/ro/landing/Bitmap.png differ diff --git a/public/assets/ro/landing/feature2.png b/public/assets/ro/landing/feature2.png new file mode 100644 index 0000000..34043e7 Binary files /dev/null and b/public/assets/ro/landing/feature2.png differ diff --git a/public/assets/ro/landing/features1.png b/public/assets/ro/landing/features1.png new file mode 100644 index 0000000..6b20a14 Binary files /dev/null and b/public/assets/ro/landing/features1.png differ diff --git a/public/assets/ro/landing/features3.png b/public/assets/ro/landing/features3.png new file mode 100644 index 0000000..609f2df Binary files /dev/null and b/public/assets/ro/landing/features3.png differ diff --git a/public/assets/ro/landing/images1.png b/public/assets/ro/landing/images1.png new file mode 100644 index 0000000..6b6b540 Binary files /dev/null and b/public/assets/ro/landing/images1.png differ diff --git a/public/assets/ro/landing/images10.png b/public/assets/ro/landing/images10.png new file mode 100644 index 0000000..e2d6c5b Binary files /dev/null and b/public/assets/ro/landing/images10.png differ diff --git a/public/assets/ro/landing/images2.png b/public/assets/ro/landing/images2.png new file mode 100644 index 0000000..61e73fe Binary files /dev/null and b/public/assets/ro/landing/images2.png differ diff --git a/public/assets/ro/landing/images3.png b/public/assets/ro/landing/images3.png new file mode 100644 index 0000000..3b42c9a Binary files /dev/null and b/public/assets/ro/landing/images3.png differ diff --git a/public/assets/ro/landing/images4.png b/public/assets/ro/landing/images4.png new file mode 100644 index 0000000..d691122 Binary files /dev/null and b/public/assets/ro/landing/images4.png differ diff --git a/public/assets/ro/landing/images5.png b/public/assets/ro/landing/images5.png new file mode 100644 index 0000000..de405bb Binary files /dev/null and b/public/assets/ro/landing/images5.png differ diff --git a/public/assets/ro/landing/images6.png b/public/assets/ro/landing/images6.png new file mode 100644 index 0000000..afdb15b Binary files /dev/null and b/public/assets/ro/landing/images6.png differ diff --git a/public/assets/ro/landing/images7.png b/public/assets/ro/landing/images7.png new file mode 100644 index 0000000..8d5b6c0 Binary files /dev/null and b/public/assets/ro/landing/images7.png differ diff --git a/public/assets/ro/landing/images8.png b/public/assets/ro/landing/images8.png new file mode 100644 index 0000000..60aeccf Binary files /dev/null and b/public/assets/ro/landing/images8.png differ diff --git a/public/assets/ro/landing/images9.png b/public/assets/ro/landing/images9.png new file mode 100644 index 0000000..19cc24e Binary files /dev/null and b/public/assets/ro/landing/images9.png differ diff --git a/public/assets/ru/landing/1.png b/public/assets/ru/landing/1.png new file mode 100644 index 0000000..1b42983 Binary files /dev/null and b/public/assets/ru/landing/1.png differ diff --git a/public/assets/ru/landing/1010.jpg b/public/assets/ru/landing/1010.jpg new file mode 100644 index 0000000..45db578 Binary files /dev/null and b/public/assets/ru/landing/1010.jpg differ diff --git a/public/assets/ru/landing/2.png b/public/assets/ru/landing/2.png new file mode 100644 index 0000000..9e1c8b7 Binary files /dev/null and b/public/assets/ru/landing/2.png differ diff --git a/public/assets/ru/landing/3-3.png b/public/assets/ru/landing/3-3.png new file mode 100644 index 0000000..c328721 Binary files /dev/null and b/public/assets/ru/landing/3-3.png differ diff --git a/public/assets/ru/landing/3.png b/public/assets/ru/landing/3.png new file mode 100644 index 0000000..2426f3d Binary files /dev/null and b/public/assets/ru/landing/3.png differ diff --git a/public/assets/ru/landing/33.jpg b/public/assets/ru/landing/33.jpg new file mode 100644 index 0000000..731ad94 Binary files /dev/null and b/public/assets/ru/landing/33.jpg differ diff --git a/public/assets/ru/landing/4.png b/public/assets/ru/landing/4.png new file mode 100644 index 0000000..5ae5eb8 Binary files /dev/null and b/public/assets/ru/landing/4.png differ diff --git a/public/assets/ru/landing/44.JPG b/public/assets/ru/landing/44.JPG new file mode 100644 index 0000000..9e45412 Binary files /dev/null and b/public/assets/ru/landing/44.JPG differ diff --git a/public/assets/ru/landing/5.png b/public/assets/ru/landing/5.png new file mode 100644 index 0000000..d513848 Binary files /dev/null and b/public/assets/ru/landing/5.png differ diff --git a/public/assets/ru/landing/55.PNG b/public/assets/ru/landing/55.PNG new file mode 100644 index 0000000..4125ffe Binary files /dev/null and b/public/assets/ru/landing/55.PNG differ diff --git a/public/assets/ru/landing/6-6.png b/public/assets/ru/landing/6-6.png new file mode 100644 index 0000000..e356034 Binary files /dev/null and b/public/assets/ru/landing/6-6.png differ diff --git a/public/assets/ru/landing/6.png b/public/assets/ru/landing/6.png new file mode 100644 index 0000000..c048de8 Binary files /dev/null and b/public/assets/ru/landing/6.png differ diff --git a/public/assets/ru/landing/66.jpg b/public/assets/ru/landing/66.jpg new file mode 100644 index 0000000..089ccf1 Binary files /dev/null and b/public/assets/ru/landing/66.jpg differ diff --git a/public/assets/ru/landing/7.png b/public/assets/ru/landing/7.png new file mode 100644 index 0000000..65aabcd Binary files /dev/null and b/public/assets/ru/landing/7.png differ diff --git a/public/assets/ru/landing/77.jpg b/public/assets/ru/landing/77.jpg new file mode 100644 index 0000000..bc42f26 Binary files /dev/null and b/public/assets/ru/landing/77.jpg differ diff --git a/public/assets/ru/landing/8.png b/public/assets/ru/landing/8.png new file mode 100644 index 0000000..dd1c0e8 Binary files /dev/null and b/public/assets/ru/landing/8.png differ diff --git a/public/assets/ru/landing/9.png b/public/assets/ru/landing/9.png new file mode 100644 index 0000000..d851427 Binary files /dev/null and b/public/assets/ru/landing/9.png differ diff --git a/public/assets/ru/landing/99.jpg b/public/assets/ru/landing/99.jpg new file mode 100644 index 0000000..8bab4f9 Binary files /dev/null and b/public/assets/ru/landing/99.jpg differ diff --git a/public/assets/ru/landing/Bitmap.png b/public/assets/ru/landing/Bitmap.png new file mode 100644 index 0000000..ac35168 Binary files /dev/null and b/public/assets/ru/landing/Bitmap.png differ diff --git a/public/assets/ru/landing/IMG_20220728_120034.jpg b/public/assets/ru/landing/IMG_20220728_120034.jpg new file mode 100644 index 0000000..ac96fcb Binary files /dev/null and b/public/assets/ru/landing/IMG_20220728_120034.jpg differ diff --git a/public/assets/ru/landing/IMG_20220728_191657_2.jpg b/public/assets/ru/landing/IMG_20220728_191657_2.jpg new file mode 100644 index 0000000..5315dea Binary files /dev/null and b/public/assets/ru/landing/IMG_20220728_191657_2.jpg differ diff --git a/public/assets/ru/landing/IMG_3712.jpg b/public/assets/ru/landing/IMG_3712.jpg new file mode 100644 index 0000000..f5285df Binary files /dev/null and b/public/assets/ru/landing/IMG_3712.jpg differ diff --git a/public/assets/ru/landing/IMG_3818.jpg b/public/assets/ru/landing/IMG_3818.jpg new file mode 100644 index 0000000..f640744 Binary files /dev/null and b/public/assets/ru/landing/IMG_3818.jpg differ diff --git a/public/assets/ru/landing/IMG_3822.jpg b/public/assets/ru/landing/IMG_3822.jpg new file mode 100644 index 0000000..1dec2e5 Binary files /dev/null and b/public/assets/ru/landing/IMG_3822.jpg differ diff --git a/public/assets/ru/landing/Shape (1).png b/public/assets/ru/landing/Shape (1).png new file mode 100644 index 0000000..f063a54 Binary files /dev/null and b/public/assets/ru/landing/Shape (1).png differ diff --git a/public/assets/ru/landing/Shape Copy.png b/public/assets/ru/landing/Shape Copy.png new file mode 100644 index 0000000..2d08fb2 Binary files /dev/null and b/public/assets/ru/landing/Shape Copy.png differ diff --git a/public/assets/ru/landing/Shape.png b/public/assets/ru/landing/Shape.png new file mode 100644 index 0000000..5de1ff7 Binary files /dev/null and b/public/assets/ru/landing/Shape.png differ diff --git a/public/assets/ru/landing/photo_2022-07-29_17-37-37.jpg b/public/assets/ru/landing/photo_2022-07-29_17-37-37.jpg new file mode 100644 index 0000000..1f4828d Binary files /dev/null and b/public/assets/ru/landing/photo_2022-07-29_17-37-37.jpg differ diff --git a/src/Dashboard.vue b/src/Dashboard.vue index 03254e4..ec393e6 100644 --- a/src/Dashboard.vue +++ b/src/Dashboard.vue @@ -1,10 +1,11 @@ + - \ No newline at end of file + diff --git a/src/Note.vue b/src/Note.vue index d8f53e9..6a8abca 100644 --- a/src/Note.vue +++ b/src/Note.vue @@ -63,6 +63,7 @@ export default { const response = await axios.get( `https://notes-api.girlsgoit.org/notes/${this.noteId}/` ); + console.log(response); this.noteElements = response.data.note_elements; } @@ -84,7 +85,7 @@ export default { `https://notes-api.girlsgoit.org/notes/${this.noteId}/` ); - this.$router.push("/dashboard"); + this.$router.push(`/${this.$route.params.lang}/dashboard`); } } }; @@ -105,4 +106,4 @@ export default { font-style: normal; font-weight: normal; } - \ No newline at end of file + diff --git a/src/Register.vue b/src/Register.vue index 37eabd5..5da2852 100644 --- a/src/Register.vue +++ b/src/Register.vue @@ -1,71 +1,70 @@ - - \ No newline at end of file + diff --git a/src/components/AddElement.vue b/src/components/AddElement.vue index 2dc225e..cfd7098 100644 --- a/src/components/AddElement.vue +++ b/src/components/AddElement.vue @@ -2,7 +2,7 @@
- +
@@ -36,6 +36,11 @@ export default { noteId: null }; }, + computed: { + placeholderText() { + return this.$route.params.lang === "ro" ? "Scrieți textul aici" : "Напишите свой тескт здесь..."; + } + }, created() { this.noteId = this.id; }, @@ -63,21 +68,23 @@ export default { try { const response = await axiosMethod( `https://notes-api.girlsgoit.org/notes${ - this.isNewNote ? "" : "/" + this.noteId + "/" + this.isNewNote ? "/" : "/" + this.noteId + "/" }`, { note_elements: this.blocks } ); + console.log(response); + this.text = ""; this.$emit("index-added", this.indexMod); this.$emit("block-added", response.data.note_elements); if (this.isNewNote) { - this.$router.push("/notes/" + response.data.id); + this.$router.push(`/${this.$route.params.lang}/notes/` + response.data.id); this.noteId = response.data.id; - this.$forceUpdate(); + // this.$forceUpdate(); } } catch (error) { console.log(error); @@ -151,4 +158,4 @@ export default { justify-content: space-around; margin: 0 -2px; } - \ No newline at end of file + diff --git a/src/components/DeleteButton.vue b/src/components/DeleteButton.vue index 7709409..3c51e3c 100644 --- a/src/components/DeleteButton.vue +++ b/src/components/DeleteButton.vue @@ -1,12 +1,17 @@ @@ -133,4 +149,4 @@ export default { margin-bottom: 0; } } - \ No newline at end of file + diff --git a/src/components/NoteCard.vue b/src/components/NoteCard.vue index 36ff386..3911a31 100644 --- a/src/components/NoteCard.vue +++ b/src/components/NoteCard.vue @@ -4,6 +4,7 @@

{{ note.content }}

{{ note.content }}

{{ note.content }}

+ {{ note.content.split("\n")[0] }}
@@ -26,7 +27,6 @@ export default { font-family: "Roboto", sans-serif; color: #393939; font-size: 32px; - position: absolute; left: 40px; top: 24px; height: 30px; @@ -34,23 +34,25 @@ export default { } .rama { - padding: 10px; + padding: 15px; box-shadow: 0px 2px 27px 0px #e6e6e680; border-radius: 10px; margin: 10px auto; background: #ffffff; - width: 460px; - height: 173px; + min-width: 460px; + min-height: 173px; position: relative; display: flex; + flex-direction: column; cursor: pointer; + width: 85%; } .data { color: #919191; - position: relative; - left: 336px; - top: 114px; + position: absolute; + right: 1em; + bottom: 0em; width: 92px; height: 30px; } @@ -89,11 +91,12 @@ export default { line-height: 187%; } +.img-container { +} + .img-container img { - width: 460px; - height: 270px; - position: absolute; - left: 10px; + width: 100%; + min-height: 270px; } .rama3 { padding: 10px; @@ -142,4 +145,4 @@ export default { width: 94px; height: 30px; } - \ No newline at end of file + diff --git a/src/components/NoteElement.vue b/src/components/NoteElement.vue index f1b4c4a..9f692bb 100644 --- a/src/components/NoteElement.vue +++ b/src/components/NoteElement.vue @@ -11,13 +11,13 @@
-