Skip to content

Commit ca35521

Browse files
committed
style: prettier
1 parent 21aa07d commit ca35521

File tree

6 files changed

+23
-19
lines changed

6 files changed

+23
-19
lines changed

frontend/src/components/Overlay.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
import IconValory from '@/components/icons/IconValory.vue'
33
</script>
44

5-
65
<template>
76
<div class="overlay">
87
<div class="logo">

frontend/src/components/ui/Input.vue

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,13 @@ defineProps(['modelValue', 'placeholder'])
55
<template>
66
<div class="input">
77
<label class="label_input" for="text-input">
8-
<input :value="modelValue" :placeholder="placeholder" id="text-input" type="text" @input="$emit('update:modelValue', $event.target.value)" />
8+
<input
9+
:value="modelValue"
10+
:placeholder="placeholder"
11+
id="text-input"
12+
type="text"
13+
@input="$emit('update:modelValue', $event.target.value)"
14+
/>
915
</label>
1016
</div>
1117
</template>

frontend/src/locales/en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"submit": "Submit",
2727
"random": "Click to substitute an example of Riot ID."
2828
},
29-
"hdevKey" : {
29+
"hdevKey": {
3030
"title": "HDEV API Key",
3131
"description": "Something text here..."
3232
},

frontend/src/router/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const router = createRouter({
2727
{
2828
path: '/:pathMatch(.*)*',
2929
component: () => import('@/views/PageNotFoundView.vue')
30-
},
30+
}
3131
]
3232
})
3333

frontend/src/views/EditorView.vue

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ const handleSubmit = async () => {
1818
const response = await fetch('http://localhost:8000/overlay', {
1919
method: 'POST',
2020
headers: {
21-
'Content-type': 'application/json',
21+
'Content-type': 'application/json'
2222
},
23-
body: JSON.stringify(form.value),
23+
body: JSON.stringify(form.value)
2424
})
2525
if (!response.ok) {
2626
console.error('Ошибка при отправке!')
@@ -75,16 +75,16 @@ const handleSubmit = async () => {
7575
</div>
7676
</div>
7777
</div>
78-
<!-- <div class="editor__container__body">-->
79-
<!-- <div class="editor__settings">-->
80-
<!-- <div class="editor__settings__header">-->
81-
<!-- <h1 class="title">{{ $t('editor.customization.title') }}</h1>-->
82-
<!-- <p class="description">-->
83-
<!-- {{ $t('editor.customization.description') }}-->
84-
<!-- </p>-->
85-
<!-- </div>-->
86-
<!-- </div>-->
87-
<!-- </div>-->
78+
<!-- <div class="editor__container__body">-->
79+
<!-- <div class="editor__settings">-->
80+
<!-- <div class="editor__settings__header">-->
81+
<!-- <h1 class="title">{{ $t('editor.customization.title') }}</h1>-->
82+
<!-- <p class="description">-->
83+
<!-- {{ $t('editor.customization.description') }}-->
84+
<!-- </p>-->
85+
<!-- </div>-->
86+
<!-- </div>-->
87+
<!-- </div>-->
8888
<Button class="editor__button" type="submit">Submit</Button>
8989
</form>
9090
</div>

frontend/src/views/OverlayView.vue

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script setup>
2-
import { ref, onMounted } from 'vue'
32
import Overlay from '@/components/Overlay.vue'
3+
import { onMounted, ref } from 'vue'
44
import { useRoute } from 'vue-router'
55
66
const route = useRoute()
@@ -28,7 +28,7 @@ async function fetchOverlayData() {
2828
console.log(nickname)
2929
console.log(tag)
3030
} catch (error) {
31-
console.error("Ошибка при загрузке данных:", error)
31+
console.error('Ошибка при загрузке данных:', error)
3232
}
3333
}
3434
@@ -46,7 +46,6 @@ onMounted(() => {
4646
<Overlay />
4747
</template>
4848

49-
5049
<style lang="scss">
5150
:root {
5251
background: none !important;

0 commit comments

Comments
 (0)