Skip to content

Commit

Permalink
Changed font
Browse files Browse the repository at this point in the history
Signed-off-by: Salim Djerbouh <13698160+CaddyDz@users.noreply.github.com>
  • Loading branch information
CaddyDz committed Jul 5, 2023
1 parent 98fb650 commit 2cb4e8e
Show file tree
Hide file tree
Showing 17 changed files with 495 additions and 845 deletions.
18 changes: 0 additions & 18 deletions frontend/assets/variables.scss

This file was deleted.

3 changes: 3 additions & 0 deletions frontend/components/layout/AppBarComponent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,7 @@ export default {
top: 0;
left: 0;
}
.v-tab {
font-size: 16px;
}
</style>
55 changes: 55 additions & 0 deletions frontend/components/layout/TopBar.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<template>
<v-system-bar app height="25">
<a v-for="(social, index) in socials" :key="index" :href="social.link" target="_blank" rel="noopener">
<v-icon color="white" size="x-large">{{ social.icon }}</v-icon>
</a>
<v-spacer />
<nuxt-link to="/contact">Contact</nuxt-link>
<span v-if="this.$auth.loggedIn">
<v-btn @click="logout">Logout</v-btn>
</span>
</v-system-bar>
</template>

<script>
export default {
name: "TopBar",
data: () => ({
socials: [
{
icon: "mdi-facebook",
link: "https://facebook.com/kingboosting",
},
{
icon: "mdi-instagram",
link: "https://www.instagram.com/kingboosting_official",
},
{
icon: "mdi-twitter",
link: "https://twitter.com/KingBoostingCom",
},
],
}),
methods: {
async logout() {
await this.$auth.logout();
this.$root.$emit("logout");
},
},
};
</script>

<style scoped>
.v-system-bar {
font-weight: 500;
font-size: 16px;
z-index: 4;
}
a {
transition: all 500ms ease;
}
a:hover,
i:hover {
color: #472783 !important;
}
</style>
16 changes: 11 additions & 5 deletions frontend/config/seo.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,22 +22,28 @@ export default {
},
{
name: "author",
content: "Zidweb"
content: "Salim Djerbouh"
},
],
link: [{
rel: "icon",
type: "image/x-icon",
href: "/favicon.ico"
},
{
rel: 'preconnect',
href: 'https://fonts.googleapis.com',
},
{
rel: 'preconnect',
href: 'https://fonts.gstatic.com',
crossorigin: true,
},
{
rel: 'stylesheet',
href: '/fonts/evogria/style.css'
href: 'https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;700&display=swap'
},
],
script: [{
// src: '//code.tidio.co/bytmjjusa3gkjkwwkmqjbag7x3lzanqk.js'
}],
noscript: [{
innerHTML: 'This website requires JavaScript.'
}]
Expand Down
48 changes: 1 addition & 47 deletions frontend/layouts/default.vue
Original file line number Diff line number Diff line change
@@ -1,18 +1,7 @@
<template>
<v-app dark>
<notification-component></notification-component>
<v-system-bar lights-out app height="20">
<a v-for="(social, index) in socials" :key="index" :href="social.link" target="_blank" rel="noopener">
<v-icon color="white" size="x-large">{{ social.icon }}</v-icon>
</a>
<v-spacer></v-spacer>
<span>
<nuxt-link to="/contact">Contact</nuxt-link>
</span>
<span v-if="this.$auth.loggedIn">
<v-btn @click="logout">Logout</v-btn>
</span>
</v-system-bar>
<TopBar/>
<app-bar-component />
<v-main>
<v-container fluid>
Expand All @@ -27,46 +16,11 @@
<script>
export default {
name: "Default",
data: () => ({
socials: [
{
icon: "mdi-facebook",
link: "https://facebook.com/kingboosting",
},
{
icon: "mdi-instagram",
link: "https://www.instagram.com/kingboosting_official/",
},
{
icon: "mdi-twitter",
link: "https://twitter.com/KingBoostingCom",
},
],
}),
methods: {
async logout() {
await this.$auth.logout();
this.$root.$emit("logout");
},
},
};
</script>

<style scoped>
.container {
padding: 0px;
}
a {
text-decoration: none;
transition: all 500ms ease;
}
a:hover,
i:hover {
color: #472783 !important;
}
span {
padding-right: 10px;
}
</style>
1 change: 0 additions & 1 deletion frontend/nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ export default {
// Vuetify module configuration (https://github.com/nuxt-community/vuetify-module#options)
vuetify: {
treeShake: true,
customVariables: ['@/assets/variables.scss'],
optionsPath: './vuetify.options.js',
defaultAssets: {
font: false
Expand Down
Loading

0 comments on commit 2cb4e8e

Please sign in to comment.