Files
Code-Create/src/pages/help-centre/title.vue

61 lines
1.2 KiB
Vue
Raw Normal View History

2026-05-20 10:57:47 +08:00
<script setup lang="ts">
defineExpose({})
</script>
<template>
<section class="title-section">
<div class="content">
<div class="text">
2026-06-02 13:23:41 +08:00
<h1>{{ $t('helpCentre.Title') }}</h1>
2026-05-20 10:57:47 +08:00
</div>
</div>
</section>
</template>
<style lang="less" scoped>
.title-section{
width: 100%;
2026-06-05 15:25:35 +08:00
background-color: #000000;
background-image: url(https://s3.ap-east-1.amazonaws.com/code-create.com.hk//2022/11/helpcentre_banner-1.jpg);
background-position: top center;
background-repeat: no-repeat;
background-size: auto;
background-attachment: fixed;
@media (max-width: 1000px) {
background-attachment: scroll;
}
2026-05-20 10:57:47 +08:00
> .content{
max-width: 1400px;
margin: 0 auto;
2026-06-02 13:23:41 +08:00
@media (max-width: 1000px) {
max-width: 1000px;
}
2026-05-20 10:57:47 +08:00
> .text{
padding: 200px 300px;
2026-06-02 13:23:41 +08:00
position: relative;
@media (max-width: 1000px) {
padding: 100px 15px;
}
2026-05-20 10:57:47 +08:00
> h1{
text-align: center;
font-size: 64px;
font-weight: 600;
line-height: 64px;
letter-spacing: 2px;
color: #FFFFFF;
2026-06-02 13:23:41 +08:00
@media (max-width: 1000px) {
font-size: 40px;
}
}
> img{
position: absolute;
top: 0;
right: 0;
z-index: -1;
height: 100%;
width: 100%;
object-fit: cover;
2026-05-20 10:57:47 +08:00
}
}
}
}
</style>