modified: begushiybashkir/bbvue/src/views/Home.vue
modified: serv_nginx/api_bb/internal/handlers/health.go fix bachground photo path
This commit is contained in:
@@ -216,7 +216,16 @@
|
|||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
// eslint-disable-next-line vue/multi-word-component-names
|
// eslint-disable-next-line vue/multi-word-component-names
|
||||||
name: 'Home'
|
name: 'Home',
|
||||||
|
methods: {
|
||||||
|
getImageUrl(path) {
|
||||||
|
// В продакшене замените на правильный путь
|
||||||
|
const baseUrl = import.meta.env.BASE_URL
|
||||||
|
// Путь от корня public/
|
||||||
|
console.log(`${baseUrl}images/${path}`)
|
||||||
|
return `${baseUrl}images/${path}`
|
||||||
|
},
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
@@ -227,8 +236,8 @@ export default {
|
|||||||
|
|
||||||
/* Герой-секция */
|
/* Герой-секция */
|
||||||
.hero-section {
|
.hero-section {
|
||||||
background: linear-gradient(135deg, rgba(46, 139, 87, 0.9) 0%, rgba(38, 115, 74, 0.9) 100%),
|
background: linear-gradient(135deg, rgba(46, 139, 86, 0.555) 0%, rgba(38, 115, 74, 0.477) 100%),
|
||||||
url('../assets/images/Roshim2025_3.png') center/cover no-repeat;
|
url('@/public/images/Roshim2025_3.png') center/cover no-repeat;
|
||||||
color: white;
|
color: white;
|
||||||
padding: 120px 0 80px;
|
padding: 120px 0 80px;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|||||||
Reference in New Issue
Block a user