Skip to content

Commit

Permalink
Alpine rivals #3 (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
Minarox authored Oct 26, 2024
2 parents bc7a664 + 75d453d commit 1c737cb
Show file tree
Hide file tree
Showing 13 changed files with 1,570 additions and 1,725 deletions.
3,142 changes: 1,430 additions & 1,712 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "website",
"version": "1.4.0",
"version": "1.5.0",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
Expand Down
Binary file added src/assets/img/carousel/lol_banner.webp
Binary file not shown.
17 changes: 17 additions & 0 deletions src/components/global/header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,23 @@
/>
<transition>
<div v-if="dropdown">
<router-link
:class="
$route.path.startsWith(
'/tournament/alpine-rivals-3'
)
? 'current'
: ''
"
:to="{ name: 'Alpine_Rivals_3' }"
@click="nav = false"
>
{{
$t(
"tournaments.Alpine_Rivals.3.self"
)
}}
</router-link>
<router-link
:class="
$route.path.startsWith(
Expand Down
12 changes: 12 additions & 0 deletions src/components/home/association/timeline.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,18 @@
<i></i>
</header>
<section>
<div>
<h3>
{{ $t("association.timeline.2024.3.title") }}
</h3>
<p>
{{
$t(
"association.timeline.2024.3.description"
)
}}
</p>
</div>
<div>
<h3>
{{ $t("association.timeline.2024.2.title") }}
Expand Down
11 changes: 7 additions & 4 deletions src/components/home/banner.vue
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
<template>
<router-link to="/tournament/alpine-rivals-2" id="banner">
<a
href="https://play.toornament.com/fr/tournaments/8261200481331421184/"
id="banner"
>
<img
alt="Alpine Rivals #2"
alt="Alpine Rivals #3"
loading="lazy"
src="@/assets/img/carousel/valo_banner.webp"
src="@/assets/img/carousel/lol_banner.webp"
/>
</router-link>
</a>
</template>

<script>
Expand Down
12 changes: 10 additions & 2 deletions src/components/other/cashprize.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,18 @@
loading="lazy"
/>
<h3>{{ game.cash }} €</h3>
<a :href="game.regulation" class="btn">
<a
v-if="game.regulation"
:href="game.regulation"
class="btn"
>
{{ $t("regulation") }}
</a>
<a :href="game.registration" class="btn">
<a
v-if="game.registration"
:href="game.registration"
class="btn"
>
{{ $t("registration") }}
</a>
</div>
Expand Down
11 changes: 10 additions & 1 deletion src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
"self": "Alpine Rivals #2",
"date": "21 Septembre 2024",
"presentation": "Alpes Esport is back with a second edition of Alpine Rivals, featuring a game never before seen in our tournaments. This time, you'll have to plant the SPIKE! Don't miss our new online competition on Valorant, on Saturday September 21, 2024, with 16 teams of 5 players for a total cashprize of €300!"
},
"3": {
"self": "Alpine Rivals #3",
"date": "09 - 10 November 2024",
"presentation": "Dive into the heart of the action with the third chapter of Alpes Esport. The program features an electric atmosphere in the Summoner's Rift. Don't miss our first League Of Legends online tournament, on Saturday November 9 and Sunday November 10, 2024 (check-in at 12.30 p.m. on Saturday and Sunday. For approximate end time, see the rules). Swiss round format, 5vs5 and a €300 cashprize!"
}
},
"CEC": {
Expand Down Expand Up @@ -89,8 +94,12 @@
"description": "June 29, 2024 online on Rocket League."
},
"2": {
"title": "Alpine Rivals #1",
"title": "Alpine Rivals #2",
"description": "September 21, 2024 online on Valorant."
},
"3": {
"title": "Alpine Rivals #3",
"description": "September 09 - 10, 2024 online on League Of Legends."
}
},
"2023": {
Expand Down
11 changes: 10 additions & 1 deletion src/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@
"2": {
"self": "Alpine Rivals #2",
"date": "21 Septembre 2024",
"presentation": "Alpes Esport revient avec une seconde édition d'Alpine Rivals sur un jeu encore jamais vu dans nos tournois. Cette fois-ci, il faudra planter le SPIKE ! Ne manquez pas notre nouvelle compétition en ligne sur Valorant, le samedi 21 septembre 2024, avec 16 équipes de 5 joueurs pour un cashprize total de 300€ !",
"presentation": "Alpes Esport revient avec une seconde édition d'Alpine Rivals sur un jeu encore jamais vu dans nos tournois. Cette fois-ci, il faudra planter le SPIKE ! Ne manquez pas notre nouvelle compétition en ligne sur Valorant, le samedi 21 septembre 2024, avec 16 équipes de 5 joueurs pour un cashprize total de 300€ !"
},
"3": {
"self": "Alpine Rivals #3",
"date": "09 - 10 Novembre 2024",
"presentation": "Plongez au coeur de l'action avec le troisième chapitre d'Alpes Esport. Au programme, une atmosphère électrique au sein de la faille de l'invocateur. Ne manquez pas notre premier tournoi en ligne sur League Of Legends, le samedi 9 et le dimanche 10 novembre 2024 (check-in à 12 heures 30 le samedi et le dimanche. Pour l'heure de fin approximative, consultez le règlement). Tournoi en format Swiss round, en 5vs5 et un cashprize de 300€ !"
}
},
"CEC": {
Expand Down Expand Up @@ -91,6 +96,10 @@
"2": {
"title": "Alpine Rivals #2",
"description": "Le 21 Septembre 2024 en ligne sur Valorant."
},
"3": {
"title": "Alpine Rivals #3",
"description": "Le 09 et 10 Novembre 2024 en ligne sur League Of Legends."
}
},
"2023": {
Expand Down
8 changes: 8 additions & 0 deletions src/router/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ const routes = [
name: "home",
component: Home,
},
{
path: "/tournament/alpine-rivals-3",
name: "Alpine_Rivals_3",
component: () =>
import(
/* webpackChunkName: "Alpine_Rivals_3" */ "../views/tournaments/AlpineRivals/AlpineRivals3.vue"
),
},
{
path: "/tournament/alpine-rivals-2",
name: "Alpine_Rivals_2",
Expand Down
2 changes: 0 additions & 2 deletions src/views/tournaments/AlpineRivals/AlpineRivals1.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ export default {
cash: 200,
regulation:
"https://drive.google.com/file/d/1Jtf_PDCgH6g9adI4Q-iIH9CZhz5mD3iw/view",
registration:
"https://play.toornament.com/fr/tournaments/7852588153972383744",
},
],
images: [""],
Expand Down
2 changes: 0 additions & 2 deletions src/views/tournaments/AlpineRivals/AlpineRivals2.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ export default {
cash: 300,
regulation:
"https://drive.google.com/file/d/1vd_VQM_sb7kJT045OKSZOGI3LNNCppM9/view",
registration:
"https://challonge.com/fr/tournaments/signup/yHD7RjxvwN",
},
],
images: [""],
Expand Down
65 changes: 65 additions & 0 deletions src/views/tournaments/AlpineRivals/AlpineRivals3.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
<template>
<main>
<Banner
id="rl_banner"
title=""
src="assets/img/carousel/lol_banner.webp"
/>

<article id="presentation" class="content">
<h2>{{ $t("presentation") }}</h2>
<p>
{{ $t("tournaments.Alpine_Rivals.3.presentation") }}
</p>
</article>

<Cashprize :data="cashprize" :title="true" />
</main>
</template>

<script>
import Banner from "@/components/other/banner";
import Cashprize from "@/components/other/cashprize";
export default {
name: "AlpineRivals3View",
title() {
return this.$t("tournaments.Alpine_Rivals.3.self");
},
components: {
Banner,
Cashprize,
},
data() {
return {
cashprize: [
{
name: "League Of Legends",
image: "League_of_Legends.webp",
cash: 300,
regulation:
"https://drive.google.com/file/d/1-trZDJ5B71FEh20Q0QNnw9dVhbl5VZ38/view",
registration:
"https://play.toornament.com/fr/tournaments/8261200481331421184/",
},
],
images: [""],
};
},
};
</script>

<style lang="scss" scoped>
@import "node_modules/compass-mixins/lib/compass/css3";
#rl_banner {
height: 700px;
&::after {
@include box-shadow(
inset 0 100px 150px 0 var(--bg-color),
inset 0 -100px 50px -30px var(--bg-color)
);
}
}
</style>

0 comments on commit 1c737cb

Please sign in to comment.