Skip to content

Commit cfcbefc

Browse files
committed
Swap some splash images
1 parent a136f0a commit cfcbefc

8 files changed

Lines changed: 78 additions & 51 deletions

File tree

src/assets/css/index.css

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
height: 100vh;
1010
display: flex;
1111
align-items: center;
12+
position: relative;
1213
}
1314

1415
.splash-header {
@@ -147,11 +148,6 @@
147148
height: 75%;
148149
}
149150

150-
.splash-header {
151-
font-size: 8vw;
152-
line-height: 8vw;
153-
}
154-
155151
.index-content {
156152
height: auto;
157153
display: block;
1.47 MB
Loading
1.29 MB
Loading
1.29 MB
Loading

src/assets/img/splash/st_marc.png

1.3 MB
Loading
1.25 MB
Loading

src/assets/img/splash/xolotl.png

1.14 MB
Loading

src/assets/js/index.js

Lines changed: 77 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ $(function() {
1010
file: "battle_of_tenjin.png",
1111
link: "/maps/pgm?query=battle_of_tenjin"
1212
},
13-
{
14-
map: "Paradise Isle",
15-
file: "paradise_isle.png"
16-
},
13+
// {
14+
// map: "Paradise Isle",
15+
// file: "paradise_isle.png"
16+
// },
1717
{
1818
map: "Anathema",
1919
file: "anathema_ctf.png",
@@ -29,16 +29,16 @@ $(function() {
2929
file: "full_salvo.png",
3030
link: "/maps/pgm?query=full_salvo"
3131
},
32-
{
33-
map: "Palace CTF",
34-
file: "palace_ctf.png",
35-
link: "/maps/pgm?query=palace_ctf"
36-
},
37-
{
38-
map: "The Complex",
39-
file: "the_complex.png",
40-
link: "/maps/pgm?query=the_complex"
41-
},
32+
// {
33+
// map: "Palace CTF",
34+
// file: "palace_ctf.png",
35+
// link: "/maps/pgm?query=palace_ctf"
36+
// },
37+
// {
38+
// map: "The Complex",
39+
// file: "the_complex.png",
40+
// link: "/maps/pgm?query=the_complex"
41+
// },
4242
{
4343
map: "Twilight Zone",
4444
file: "twilight_zone.png",
@@ -54,30 +54,30 @@ $(function() {
5454
file: "long_shot.png",
5555
link: "/maps/pgm?query=long_shot"
5656
},
57-
{
58-
map: "Rallypoint Delta",
59-
file: "rallypoint_delta.png",
60-
link: "/maps/pgm?query=rallypoint_delta"
61-
},
62-
{
63-
map: "Rangi-Nui",
64-
file: "rangi-nui.png",
65-
link: "/maps/pgm?query=rangi-nui"
66-
},
67-
{
68-
map: "Ubos CTF",
69-
file: "ubos_ctf.png"
70-
},
57+
// {
58+
// map: "Rallypoint Delta",
59+
// file: "rallypoint_delta.png",
60+
// link: "/maps/pgm?query=rallypoint_delta"
61+
// },
62+
// {
63+
// map: "Rangi-Nui",
64+
// file: "rangi-nui.png",
65+
// link: "/maps/pgm?query=rangi-nui"
66+
// },
67+
// {
68+
// map: "Ubos CTF",
69+
// file: "ubos_ctf.png"
70+
// },
7171
{
7272
map: "Sanctum Wasser",
7373
file: "sanctum_wasser.png",
7474
link: "/maps/pgm?query=sanctum_wasser"
7575
},
76-
{
77-
map: "Rice",
78-
file: "rice.png",
79-
link: "/maps/pgm?query=rice"
80-
},
76+
// {
77+
// map: "Rice",
78+
// file: "rice.png",
79+
// link: "/maps/pgm?query=rice"
80+
// },
8181
{
8282
map: "Space Corp",
8383
file: "space_corp.png",
@@ -88,37 +88,68 @@ $(function() {
8888
file: "royal_ascend.png",
8989
link: "/maps/pgm?query=royal_ascend"
9090
},
91-
{
92-
map: "Embargo",
93-
file: "embargo.png",
94-
link: "/maps/pgm?query=embargo"
95-
},
91+
// {
92+
// map: "Embargo",
93+
// file: "embargo.png",
94+
// link: "/maps/pgm?query=embargo"
95+
// },
9696
{
9797
map: "Boar Beach",
9898
file: "boar_beach.png",
9999
link: "/maps/pgm?query=boar_beach"
100+
},
101+
{
102+
map: "St. Marc",
103+
file: "st_marc.png",
104+
link: "/maps/pgm?query=st_marc"
105+
},
106+
{
107+
map: "Mont Blanc",
108+
file: "mont_blanc.png",
109+
link: "/maps/pgm?query=mont_blanc"
110+
},
111+
{
112+
map: "Chaos Theory",
113+
file: "chaos_theory.png",
114+
link: "/maps/pgm?query=chaos_theory"
115+
},
116+
{
117+
map: "The Funky Queen",
118+
file: "the_funky_queen.png",
119+
link: "/maps/pgm?query=the_funky_queen"
120+
},
121+
{
122+
map: "Xolotl",
123+
file: "xolotl.png",
124+
link: "/maps/pgm?query=xolotl"
125+
},
126+
{
127+
map: "Runic Altar",
128+
file: "runic_altar.png",
129+
link: "/maps/pgm?query=runic_altar"
100130
}
101131
]
102132
var splash_map = maps[Math.floor(Math.random()*maps.length)]
103133
$(".background-splash").css({"background": "url(assets/img/splash/" + splash_map.file + ") no-repeat center fixed"})
104-
$(".detail-map").text(splash_map.map).attr("href", splash_map.link)
134+
$(".detail-map").text(splash_map.map).attr("href", splash_map.link + "&highest_version=true")
105135

106136
var quotes = [
107137
"The best collection of resources for the former Overcast Network",
108138
"The best collection of resources for Stratus Network",
109139
"The best collection of resources for the former Avicus Network",
110-
"Check out our <a href='/maps/overcast'>Overcast Network map collection</a>!",
140+
"Check out our <a href='/maps/pgm?filters=modern&match=all&invert=false&highest_version=true'>modern PGM map collection</a>!",
111141
"The place you go when you ask \"where do I download OCN maps?\"",
112-
"Hosting a large collection of competitive Minecraft PVP maps",
113-
"Supporting the <a href='https://discord.gg/pEEcwTk'>PGM community</a> with hundreds of public PVP maps",
142+
"Showcasing over 3000 unique competitive Minecraft PVP maps",
143+
"Supporting the <a href='https://discord.gg/pEEcwTk' target='_blank'>PGM community</a> with thousands of public PVP maps",
114144
"New Overcast Network maps? Soon™",
115145
"&lt;objective&gt; Download all of the maps! &lt;/objective&gt",
116146
"&lt;objective&gt Get the longest kill distance with a bow! &lt;/objective&gt",
117147
"Now with 100% more Rift!",
118-
"Check out the <a href='https://discord.gg/CvJGbrV'>Overcast Community</a> Discord server!",
119-
"Check out the <a href='https://discord.gg/Vxmq7Xp'>Stratus Network</a> Discord server!",
120-
"Check out our <a href='https://discord.gg/ygNgxKj'>Discord server</a>!",
121-
"Check out our <a href='/maps/pgm'>PGM map collection</a>!",
148+
"Check out the <a href='https://discord.gg/CvJGbrV' target='_blank'>Overcast Community</a> Discord server!",
149+
"Check out the <a href='https://discord.gg/Vxmq7Xp' target='_blank'>Stratus Network</a> Discord server!",
150+
"Check out the <a href='https://discord.gg/VgBNPRKB6k' target='_blank'>Casual Modern PGM</a> Discord server!",
151+
"Check out our <a href='https://discord.gg/ygNgxKj' target='_blank'>Discord server</a>!",
152+
"Check out our <a href='/maps/pgm'>PGM map collection</a>!"
122153
]
123154
$(".splash-subheader").html(quotes[Math.floor(Math.random()*quotes.length)])
124155
});

0 commit comments

Comments
 (0)