Skip to content

Commit fcca8b1

Browse files
Merge pull request #15 from UnityMultiplayer/dev/v2.0
v2.0 Release
2 parents 097cd49 + 2cecdc5 commit fcca8b1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+2414
-481
lines changed

app.vue

Lines changed: 91 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -2,39 +2,104 @@
22
<div class="h-screen">
33
<Navbar />
44
<NuxtPage />
5-
<FooterComp />
5+
<FooterBar />
66
<!--<div class="bg2 h-screen w-screen fixed top-0 left-0 -z-50"></div>-->
77
</div>
88
</template>
99

10-
<style lang="css">
11-
12-
</style>
10+
<style lang="scss">
11+
body {
12+
background-color: var(--bg-main);
13+
color: var(--text-main);
14+
}
15+
16+
main {
17+
overflow-y: auto;
18+
}
19+
20+
img {
21+
-webkit-user-select: none;
22+
-webkit-user-drag: none;
23+
user-select: none;
24+
-moz-user-select: none;
25+
}
26+
27+
*::-webkit-scrollbar {
28+
width: 0.6rem;
29+
}
30+
31+
*::-webkit-scrollbar-track {
32+
background-color: var(--text-buttons);
33+
border-radius: 25px;
34+
}
35+
36+
*::-webkit-scrollbar-thumb {
37+
background-color: var(--text-title);
38+
border-radius: 25px 0 0 25px;
39+
}
40+
41+
/* Light mode */
42+
:root {
43+
--bg-main: var(-color-zinc-50);
44+
45+
--text-title: var(--color-zinc-950);
46+
--text-shadow: rgba(255, 255, 255, 0.5);
47+
--text-main: var(--color-zinc-900);
48+
--button-background: var(--color-zinc-100);
49+
--text-live: var(--color-rose-500);
50+
}
1351
14-
<style scoped>
15-
.bg2 {
16-
background-image: linear-gradient(45deg, var(--bg-gradient-color1), var(--bg-gradient-color2));
52+
/* Dark mode */
53+
@media (prefers-color-scheme: dark) {
54+
:root {
55+
--bg-main: var(--color-zinc-900);
56+
57+
--text-title: var(--color-zinc-50);
58+
--text-shadow: rgba(0, 0, 0, 0.8);
59+
--text-main: var(--color-zinc-100);
60+
--button-background: var(--color-zinc-950);
61+
--text-live: var(--color-rose-400);
1762
}
63+
}
64+
65+
.unity-title {
66+
color: var(--text-title);
67+
}
68+
69+
.unity-bg {
70+
background-color: var(--bg-main);
71+
}
72+
73+
.unity-button {
74+
background-color: var(--button-background);
75+
}
1876
</style>
1977

2078
<script setup lang="ts">
21-
const route = useRoute();
22-
23-
useHead({
24-
titleTemplate: '%s - Unity Multiplayer',
25-
meta: [
26-
{
27-
property: 'og:title',
28-
content: `${route.meta.name} - Unity Multiplayer`
29-
},
30-
{
31-
property: 'twitter:title',
32-
content: `${route.meta.name} - Unity Multiplayer`
33-
},
34-
{
35-
property: 'title',
36-
content: `${route.meta.name} - Unity Multiplayer`
37-
}
38-
]
39-
});
79+
import Navbar from "~/components/navbar/Navbar.vue";
80+
import FooterBar from "~/components/FooterBar.vue";
81+
82+
import '~/assets/fonts/Montserrat-Italic.ttf'
83+
import '~/assets/fonts/Montserrat.ttf'
84+
import '~/assets/fonts/Oswald.ttf'
85+
86+
const route = useRoute();
87+
88+
useHead({
89+
titleTemplate: '%s - Unity Multiplayer',
90+
meta: [
91+
{
92+
property: 'og:title',
93+
content: `${route.meta.name} - Unity Multiplayer`
94+
},
95+
{
96+
property: 'twitter:title',
97+
content: `${route.meta.name} - Unity Multiplayer`
98+
},
99+
{
100+
property: 'title',
101+
content: `${route.meta.name} - Unity Multiplayer`
102+
}
103+
]
104+
});
40105
</script>

assets/css/index.css

Lines changed: 0 additions & 115 deletions
This file was deleted.

assets/css/main.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
@import url('https://gists.rawgit.com/mfd/f3d96ec7f0e8f034cc22ea73b3797b59/raw/856f1dbb8d807aabceb80b6d4f94b464df461b3e/gotham.css');
2+
@import "tailwindcss";
3+
4+
@theme {
5+
--font-sans: GothamPro, Roboto, 'Segoe UI', sans-serif;
6+
}

assets/factions.json

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,30 @@
11
{
22
"emberhold": {
33
"name": "Emberhold",
4-
"color": "#e60631"
4+
"color": "#F14C4C"
55
},
66
"suncrest": {
77
"name": "Suncrest",
8-
"color": "#fee63c"
8+
"color": "#FFD152"
99
},
1010
"fernfall": {
1111
"name": "Fernfall",
12-
"color": "#8ce41a"
12+
"color": "#26D167"
1313
},
14-
"unity_team": {
15-
"name": "Unity Team",
16-
"color": "#2a91ff"
14+
"unity_team:lead": {
15+
"name": "Team Lead",
16+
"color": "rgb(195, 122, 255)"
17+
},
18+
"unity_team:development": {
19+
"name": "Development Branch",
20+
"color": "rgb(102, 209, 255)"
21+
},
22+
"unity_team:creative": {
23+
"name": "Creative Branch",
24+
"color": "rgb(195, 239, 60)"
25+
},
26+
"unity_team:acting": {
27+
"name": "Acting Branch",
28+
"color": "rgb(255, 176, 46)"
1729
}
1830
}

0 commit comments

Comments
 (0)