Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Style fixes #468

Merged
merged 1 commit into from
Jul 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
7 changes: 0 additions & 7 deletions frontend/components/CustomersVoice.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<template>
<section class="customers-voice">
<v-img src="/img/indexAssets/customerVoice.png" class="bg" />
<v-container>
<v-row class="section-title flex-center">
<h1>Customers voice</h1>
Expand Down Expand Up @@ -82,12 +81,6 @@ section {
box-sizing: border-box;
margin-top: -240px;
}
.bg {
position: absolute;
width: 100%;
filter: contrast(50%);
z-index: 1;
}
.container {
position: relative;
z-index: 3;
Expand Down
24 changes: 1 addition & 23 deletions frontend/components/Features.vue
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
<template>
<section class="features-section">
<v-img src="/img/indexAssets/features.png" class="bg" />
<v-row class="section-title flex-center mb-10">
<h1>Features</h1>
</v-row>
<v-row v-for="(feature, index) in features" :key="index">
<v-row v-for="(feature, index) in features" :key="index" class="mb-6">
<v-col class="feature" offset="3">
<v-card :class="index % 2 ? 'bg-dark' : 'bg-white'" elevation="24">
<v-row>
Expand All @@ -22,7 +21,6 @@
</v-card>
</v-col>
</v-row>
<v-img aspect-ratio="1.4" src="/img/indexAssets/featuresWhyUs.png" class="bg-fill" />
</section>
</template>

Expand Down Expand Up @@ -81,20 +79,6 @@ section {
position: relative;
width: 100%;
box-sizing: border-box;
margin-bottom: 80px;
}
.bg {
position: absolute;
width: 100%;
filter: contrast(50%);
z-index: 1;
}
.bg-fill {
position: absolute;
width: 100%;
filter: contrast(50%);
margin-top: -80px;
z-index: 0;
}
.section-title {
position: relative;
Expand Down Expand Up @@ -130,10 +114,4 @@ section {
margin-top: -80px;
}
}
@media only screen and (max-width: 1200px) {
.bg {
width: inherit;
height: 100%;
}
}
</style>
14 changes: 0 additions & 14 deletions frontend/components/Games.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<template>
<section class="services">
<v-img aspect-ratio="1.8" src="/img/indexAssets/services.png" class="bg" />
<v-container>
<v-row class="section-title flex-center mb-10">
<h1>Our Services</h1>
Expand Down Expand Up @@ -56,19 +55,6 @@ export default {
align-items: center;
}

section {
position: relative;
width: 100%;
box-sizing: border-box;
}

.bg {
position: absolute;
width: 100%;
filter: contrast(50%);
z-index: 1;
}

.container {
position: relative;
z-index: 3;
Expand Down
13 changes: 1 addition & 12 deletions frontend/components/HowItWorks.vue
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
<template>
<section class="flex-center">
<v-img src="/img/indexAssets/howItWorks.png" class="bg" />
<v-container>
<v-card elevation="3">
<v-card-title class="section-title flex-center">
<v-card-title class="section-title flex-center mb-5">
<h1>How KingBoosting Works ?</h1>
</v-card-title>

Expand Down Expand Up @@ -70,16 +69,6 @@ section {
box-sizing: border-box;
margin-bottom: 80px;
}
.bg {
position: absolute;
width: 100%;
margin-top: -7%;
filter: contrast(50%);
z-index: 1;
}
img {
height: 100vh;
}
.container {
position: relative;
z-index: 3;
Expand Down
13 changes: 1 addition & 12 deletions frontend/components/WhyUs.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<template>
<section class="why-us-section">
<v-img src="/img/indexAssets/whyUs.png" class="bg" />
<section class="why-us-section pt-5">
<v-container>
<v-row class="section-title flex-center mb-8">
<h1>Why Us ?</h1>
Expand Down Expand Up @@ -95,16 +94,6 @@ section {
box-sizing: border-box;
margin-bottom: 80px;
}
.bg {
position: absolute;
top: 10%;
width: 100%;
filter: contrast(50%);
z-index: 1;
}
img {
height: 100vh;
}
.container {
position: relative;
flex-direction: column;
Expand Down
3 changes: 3 additions & 0 deletions frontend/components/layout/AppBarComponent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,7 @@ export default {
.v-tab {
font-size: 16px;
}
a:hover {
color: purple !important;
}
</style>
8 changes: 4 additions & 4 deletions frontend/pages/index.vue
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<template>
<v-layout column fill-height>
<v-img src="/img/indexAssets/kingBoosting.png" class="bg" />
<img src="/img/indexAssets/featuresWhyUs.png" class="bg" />
<v-container>
<v-row align="center" justify="center" class="logo">
<img src="/img/logo/logo.png" alt="Logo" width="55%" class="mt-15" />
</v-row>
<v-row justify="center" class="mt-7 mb-14">
<v-row justify="center" class="ma-14">
<v-btn-toggle rounded v-model="undefined" background-color="transparent">
<v-btn class="hero-btn" to="/division-boosting">Get Boosted</v-btn>
<v-btn class="hero-btn" to="/coaching">Get Coached</v-btn>
Expand All @@ -26,9 +26,9 @@
.bg {
position: absolute;
width: 100%;
filter: contrast(70%);
filter: brightness(0.5);
z-index: 1;
opacity: 0.4;
/* opacity: 0.86; */
}
.container {
position: relative;
Expand Down
4 changes: 1 addition & 3 deletions frontend/plugins/particles.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
require("particles.js");

export default (context, inject) => {
if (!context.isDev) {
particlesJS.load("particles-js", "/particlesjs-config.json");
}
particlesJS.load("particles-js", "/particlesjs-config.json");
}
13 changes: 3 additions & 10 deletions frontend/static/css/main.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
html {
background-color: black;
/* has to be scroll, not auto; */
-webkit-overflow-scrolling: touch;
scroll-behavior: smooth;
Expand All @@ -11,15 +10,13 @@ html {
font-feature-settings: normal;
font-variation-settings: normal
}

section {
background-color: rgb(24, 2, 29) !important;
}
.v-application {
font-family: Open Sans, sans-serif;
}

.services-section {
background-color: black;
}

.languages {
top: 0 !important;
position: absolute !important;
Expand All @@ -38,10 +35,6 @@ html {
text-decoration: none !important;
}

.v-application a:hover {
color: purple !important;
}

.selectedGame {
background: bottom / cover no-repeat url(/img/backgrounds/active-game-bg.png);
}
Expand Down
Loading