Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
13 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 34 additions & 8 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,12 @@
},
"dependencies": {
"axios": "^1.6.1",
"normalize.css": "^8.0.1",
"pinia": "^2.1.7",
"primeicons": "^7.0.0",
"primevue": "^3.53.1",
"vue": "^3.3.8",
"vue-router": "^4.2.5"
"vue-router": "^4.5.0"
},
"devDependencies": {
"@pinia/testing": "^0.1.3",
Expand Down
70 changes: 12 additions & 58 deletions frontend/src/App.vue
Original file line number Diff line number Diff line change
@@ -1,62 +1,16 @@
<template>
<div class="main__wrapper">
<div class="main__header">
<img src="@/assets/img/logo.svg" width="300" height="47" alt="V!U!E! Pizza" />
</div>
<h1>Добро пожаловать!</h1>
<p>
Это проект V!U!E! Pizza для обучения на профессиональном онлайн‑курсе<br />
<b>«Vue.js для опытных разработчиков».</b>
</p>
</div>
<app-layout>
<!-- <home-view /> -->
<router-view></router-view>
</app-layout>
</template>

<style lang="scss">
@import "@/assets/scss/app.scss";
body {
justify-content: center;
align-items: center;
}
.main__wrapper {
padding-bottom: 30px;

background-color: $white;
box-shadow: $shadow-light;

h1 {
margin-bottom: 0;
padding: 0 95px;

text-align: center;

@include b-s36-h42;
}

p {
padding: 0 95px;

text-align: center;
<script setup>
import AppLayout from "@/layouts/AppLayout.vue";
import HomeView from "@/views/HomeView.vue";
</script>

font-size: 20px;
line-height: 30px;
}

b {
font-size: 1.2em;
}
}

.main__header {
margin-bottom: 30px;
padding: 20px 0;

background-color: $green-600;

img {
display: block;

margin: 0 auto;
}
}

</style>
<style lang="scss">
@import "@/assets/scss/ds-system/ds.scss";
@import "@/assets/scss/mixins/mixins.scss";
</style>
Loading