Skip to content

Commit 13f378c

Browse files
committed
Substitute data.siteName instead of Mercury and other formatting fixes
1 parent c7f02ff commit 13f378c

1 file changed

Lines changed: 35 additions & 34 deletions

File tree

Site/src/routes/(legal)/about/+page.svelte

Lines changed: 35 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,12 @@
1717
const range = (n: number) =>
1818
Array.from({ length: n }, (_, index) => -Math.floor(n / 2) + index)
1919
20-
const downScroll = () => first.scrollIntoView({ behavior: "smooth" })
21-
const upScroll = () => top.scrollIntoView({ behavior: "smooth" })
2220
const columns = range(37)
2321
const rows = range(19)
2422
23+
const downScroll = () => first.scrollIntoView({ behavior: "smooth" })
24+
const upScroll = () => top.scrollIntoView({ behavior: "smooth" })
25+
2526
let cubesMoved = 0
2627
let cubesClicked = 0
2728
let completed = $state(false)
@@ -44,7 +45,7 @@
4445
<Head
4546
name={data.siteName}
4647
title="About"
47-
description="About Mercury: Endless possibilities. New features. Same nostalgia." />
48+
description="About {data.siteName}: Endless possibilities. New features. Same nostalgia." />
4849

4950
<svelte:window bind:scrollY />
5051

@@ -66,7 +67,7 @@
6667
<div
6768
out:fade
6869
class="pointer-events-none flex flex-col justify-center items-center relative h-70vh">
69-
<h1 class="text-16 font-bold">Mercury 2</h1>
70+
<h1 class="text-16 font-bold">{data.siteName}</h1>
7071
<p>Endless possibilities. New features. Same nostalgia.</p>
7172
<h3
7273
class="p-3 py-1 rounded-2 font-bold text-lg! bg-neutral-5 opacity-75">
@@ -80,30 +81,30 @@
8081
{#if completed}
8182
<h1
8283
in:fade
83-
class="sf font-bold pointer-events-none text-white opacity-75">
84+
class="font-bold pointer-events-none text-white opacity-75">
8485
lmao%
8586
</h1>
8687
{:else}
8788
<h1
8889
in:fade
89-
class="sf font-bold pointer-events-none text-white opacity-75">
90+
class="font-bold pointer-events-none text-white opacity-75">
9091
{cubePercentage}%
9192
</h1>
9293
{#if cubePercentage2 > 0}
9394
<h1
9495
in:fade
95-
class="sf font-bold pointer-events-none text-red-5 opacity-75">
96+
class="font-bold pointer-events-none text-red-5 opacity-75">
9697
{cubePercentage2}%
9798
</h1>
9899
{/if}
99100
{#if cubePercentage >= 60 && cubePercentage < 80}
100101
<h3
101-
class="sf font-bold pointer-events-none text-white opacity-75">
102+
class="font-bold pointer-events-none text-white opacity-75">
102103
zoom out
103104
</h3>
104105
{:else if cubePercentage === 100 && cubePercentage2 < 2}
105106
<h3
106-
class="sf font-bold pointer-events-none text-red-5 opacity-75">
107+
class="font-bold pointer-events-none text-red-5 opacity-75">
107108
click the cubes
108109
</h3>
109110
{/if}
@@ -139,15 +140,15 @@
139140
<h2>A refurbished experience</h2>
140141
<h3>New features.</h3>
141142
<p>
142-
Mercury aims to be the foremost platform of its kind, and the
143-
Mercury website plays a prominent part in this. After years of
144-
testing, tinkering, and tweaking, we've landed on a stack that
145-
combines rock-solid stability with a flexible foundation for the
146-
future.
143+
{data.siteName} aims to be the foremost platform of its kind, and
144+
the {data.siteName} website plays a prominent part in this. After
145+
years of testing, tinkering, and tweaking, we've landed on a stack
146+
that combines rock-solid stability with a flexible foundation for
147+
the future.
147148
</p>
148149
<h3>Limitless possibilities.</h3>
149150
<p>
150-
Mercury provides everything you would expect from a modern
151+
{data.siteName} provides everything you would expect from a modern
151152
revival platform and then some:
152153
</p>
153154
<ul>
@@ -156,15 +157,15 @@
156157
<li>A vast variety of places and games to explore</li>
157158
<li>
158159
And communication features that help foster a sense of
159-
connection and community within Mercury.
160+
connection and community within {data.siteName}.
160161
</li>
161162
</ul>
162163
<h3>Same nostalgia.</h3>
163164
<p>
164-
Mercury still uses the exact same client as the previous
165+
{data.siteName} still uses the exact same client as the previous
165166
iteration. Our philosophy when it comes to our client is to make
166-
sure that it is accurately represented. The end-goal with our
167-
client is to implement every feature that it originally had.
167+
sure that it is accurately represented. The end-goal with our client
168+
is to implement every feature that it originally had.
168169
</p>
169170
</div>
170171
<div class="w-full h-80 min-w-[min(40vw,40rem)] <lg:pt-50 relative">
@@ -189,11 +190,11 @@
189190
</p>
190191
<h3>Vulnerability management</h3>
191192
<p>
192-
Careful technology choices ensure that Mercury isn't vulnerable
193-
to the same attacks that plague similar platforms. We're
194-
constantly monitoring and updating our systems to ensure that
195-
users are safe &ndash; and a streamlined reporting system allows
196-
us to respond to any security concerns quickly and effectively.
193+
Careful technology choices ensure that {data.siteName} isn't vulnerable
194+
to the same attacks that plague similar platforms. We're constantly
195+
monitoring and updating our systems to ensure that users are safe
196+
&ndash; and a streamlined reporting system allows us to respond to
197+
any security concerns quickly and effectively.
197198
</p>
198199
</div>
199200
</div>
@@ -207,7 +208,7 @@
207208
<div>
208209
<h3>Professional developers</h3>
209210
<p>
210-
A group of experienced developers are behind Mercury,
211+
A group of experienced developers are behind {data.siteName},
211212
and we're committed to improving user experience and
212213
security. We aim to remain transparent and open about
213214
our development process and decisions.
@@ -236,25 +237,25 @@
236237
<h3>Library usage</h3>
237238
<p>
238239
We put a strong emphasis on library usage to improve development
239-
speed and maintainability. Mercury is the first revival platform
240-
to utilise modern libraries and frameworks backported from
241-
contemporary Lua, Luau, and JavaScript ecosystems.
240+
speed and maintainability. {data.siteName} is the first revival platform
241+
to utilise modern libraries and frameworks backported from contemporary
242+
Lua, Luau, and JavaScript ecosystems.
242243
</p>
243244
<h3>Optimisation and stability</h3>
244245
<p>
245-
Mercury makes use of techniques borrowed from modern game
246-
development to boost performance and reduce latency. Our
247-
optimisations have already been proven to improve user
248-
experience &ndash; for example, place joining on Mercury is
249-
30-40% faster than competing platforms.
246+
{data.siteName} makes use of techniques borrowed from modern game
247+
development to boost performance and reduce latency. Our optimisations
248+
have already been proven to improve user experience &ndash; for example,
249+
place joining on {data.siteName} is 30-40% faster than competing
250+
platforms.
250251
</p>
251252
</div>
252253
</div>
253254
</Pagepart>
254255

255256
<Pagepart class="pb-60">
256257
<div class="flex flex-col justify-center items-center relative">
257-
<h1 class="text-16 sf font-bold">Mercury 2</h1>
258+
<h1 class="text-16 font-bold">{data.siteName}</h1>
258259
<p>Endless possibilities. New features. Same nostalgia.</p>
259260
<a
260261
type="button"

0 commit comments

Comments
 (0)