diff --git a/package.json b/package.json index 4d4cfd9..35f3dd8 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "@unocss/transformer-directives": "^0.53.5", "marked": "^5.1.1", "mdsvex": "^0.11.0", - "prettier": "^3.0.0", + "prettier": "^2.8.8", "prettier-plugin-svelte": "^2.10.1", "prettier-plugin-tailwindcss": "^0.3.0", "sass": "^1.63.6", diff --git a/pages/revivals/finobe.md b/pages/revivals/finobe.md index eb863b3..9a068bf 100644 --- a/pages/revivals/finobe.md +++ b/pages/revivals/finobe.md @@ -1,6 +1,7 @@ --- name: Finobe date: 2023-07-09 01:58 PM +logo: finobe.png clients: - 2012 - 2016 diff --git a/pages/revivals/mercury.md b/pages/revivals/mercury.md index b72dafe..7069ac4 100644 --- a/pages/revivals/mercury.md +++ b/pages/revivals/mercury.md @@ -1,6 +1,7 @@ --- name: Mercury date: 2023-07-09 01:58 PM +logo: mercury.svg clients: - 2013 rating: diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7cec3d0..eed409a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -35,14 +35,14 @@ devDependencies: specifier: ^0.11.0 version: 0.11.0(svelte@4.0.5) prettier: - specifier: ^3.0.0 - version: 3.0.0 + specifier: ^2.8.8 + version: 2.8.8 prettier-plugin-svelte: specifier: ^2.10.1 - version: 2.10.1(prettier@3.0.0)(svelte@4.0.5) + version: 2.10.1(prettier@2.8.8)(svelte@4.0.5) prettier-plugin-tailwindcss: specifier: ^0.3.0 - version: 0.3.0(prettier-plugin-svelte@2.10.1)(prettier@3.0.0) + version: 0.3.0(prettier-plugin-svelte@2.10.1)(prettier@2.8.8) sass: specifier: ^1.63.6 version: 1.63.6 @@ -1308,17 +1308,17 @@ packages: source-map-js: 1.0.2 dev: true - /prettier-plugin-svelte@2.10.1(prettier@3.0.0)(svelte@4.0.5): + /prettier-plugin-svelte@2.10.1(prettier@2.8.8)(svelte@4.0.5): resolution: {integrity: sha512-Wlq7Z5v2ueCubWo0TZzKc9XHcm7TDxqcuzRuGd0gcENfzfT4JZ9yDlCbEgxWgiPmLHkBjfOtpAWkcT28MCDpUQ==} peerDependencies: prettier: ^1.16.4 || ^2.0.0 svelte: ^3.2.0 || ^4.0.0-next.0 dependencies: - prettier: 3.0.0 + prettier: 2.8.8 svelte: 4.0.5 dev: true - /prettier-plugin-tailwindcss@0.3.0(prettier-plugin-svelte@2.10.1)(prettier@3.0.0): + /prettier-plugin-tailwindcss@0.3.0(prettier-plugin-svelte@2.10.1)(prettier@2.8.8): resolution: {integrity: sha512-009/Xqdy7UmkcTBpwlq7jsViDqXAYSOMLDrHAdTMlVZOrKfM2o9Ci7EMWTMZ7SkKBFTG04UM9F9iM2+4i6boDA==} engines: {node: '>=12.17.0'} peerDependencies: @@ -1370,13 +1370,13 @@ packages: prettier-plugin-twig-melody: optional: true dependencies: - prettier: 3.0.0 - prettier-plugin-svelte: 2.10.1(prettier@3.0.0)(svelte@4.0.5) + prettier: 2.8.8 + prettier-plugin-svelte: 2.10.1(prettier@2.8.8)(svelte@4.0.5) dev: true - /prettier@3.0.0: - resolution: {integrity: sha512-zBf5eHpwHOGPC47h0zrPyNn+eAEIdEzfywMoYn2XPi0P44Zp0tSq64rq0xAREh4auw2cJZHo9QUob+NqCQky4g==} - engines: {node: '>=14'} + /prettier@2.8.8: + resolution: {integrity: sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==} + engines: {node: '>=10.13.0'} hasBin: true dev: true diff --git a/src/global.sass b/src/global.sass index b0cedf3..666c861 100644 --- a/src/global.sass +++ b/src/global.sass @@ -83,3 +83,19 @@ hr .bg-bg background: #100f0e + + +.content + @apply bg-a p-4 rounded-lg shadow-lg + + background: #1f1c1d + @media (prefers-color-scheme: light) + background: white + +li ul + list-style-type: circle + margin: 0.3rem 0 0.3rem -1rem + +main + > h1, > h2, > h3, > h4, > h5, > h6 + margin-left: 1rem diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 3733834..6c501db 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -36,7 +36,13 @@ diff --git a/src/routes/+page.svx b/src/routes/+page.svx index 1a703d3..8ebbb00 100644 --- a/src/routes/+page.svx +++ b/src/routes/+page.svx @@ -5,12 +5,12 @@ # Revival Archive - ### a [Mercury](https://banland.xyz) project +
Welcome to the Revival Archive, a website dedicated to keeping track of active/defunct old brickbuilding private servers. -Check out our [blog posts](/blog), [reviews](/revivals) and most importantly, the [revival index](/revivals). +Check out our [blog posts](/blog), [reviews](/reviews) and most importantly, the [revival index](/revivals). --- @@ -26,10 +26,11 @@ You can easily find a revival perfect for you on the Revival Archive! ## I have my own revival, how can I put it on the Revival Archive? You can go ahead and join our [Discord](https://discord.gg/zfC3VH2WBa) server - there you can request for your/somebody else's revival to be added to the archive! +
diff --git a/src/routes/about/+page.md b/src/routes/about/+page.md index 18651d4..746fbc6 100644 --- a/src/routes/about/+page.md +++ b/src/routes/about/+page.md @@ -6,46 +6,53 @@ # About +
The Revival Archive is dedicated to keeping track of active/defunct old brickbuilding private servers. We also review revivals on specific features such as: -+ Website - + This rating is influenced by how good the revival website is - function, form and features. -+ Community - + This rating is influenced by the activity of the community and the behaviour (including administrators.) -+ Client - + This rating is influenced by the activity of exploits, features (toolbox, etc), and ease of access (downloading, joining servers) -+ Overall - + This rating is a conclusion of all the previous ratings and this rating will be the one shown in the index. +- Website + - This rating is influenced by how good the revival website is - function, form and features. +- Community + - This rating is influenced by the activity of the community and the behaviour (including administrators.) +- Client + - This rating is influenced by the activity of exploits, features (toolbox, etc), and ease of access (downloading, joining servers) +- Overall + - This rating is a conclusion of all the previous ratings and this rating will be the one shown in the index. We have a blog post where we go over recent events in the community (such as popular revivals going defunct, upcoming revivals, etc). -Revivals can also be featured in the *Revival Of The Month*, a special place where one revival is, in our opinion - the best revival for users to join at the moment. -There can't be more than one *Revival Of The Month* obviously, so we also have a featured section where we recommend other good revivals. Additionally, if you own a revival, you can request to be on the featured section! +Revivals can also be featured in the _Revival Of The Month_, a special place where one revival is, in our opinion - the best revival for users to join at the moment. +There can't be more than one _Revival Of The Month_ obviously, so we also have a featured section where we recommend other good revivals. Additionally, if you own a revival, you can request to be on the featured section! -We do not provide any revival clients for security reasons. +We do not provide any revival clients for security reasons. --- ## Requirements for submitting a revival to the Archive The revival must: -+ Have atleast 100 members - + Atleast half should be active -+ Have a client -+ Have a website (some revivals are launcher based, if your revival fits into this it will be an exception) + +- Have at least 100 members + - More than half should be active +- Have a client +- Have a website (some revivals are launcher based, if your revival fits into this it will be an exception) ## Requirements for being featured Including minimum requirements, the revival must: -+ Be rated 4+ stars conistently -+ Have atleast 200+ members - + More than half should be active + +- Be rated above 4 stars conistently +- Have at least 200 members + - More than half should be active ## Requirements for being Revival Of The Month Including featured requirements, the revival must: -+ Have atleast 300+ members - + Majority should be active -+ Client + community ratings should be high + +- Have at least 300 members + - Majority should be active +- Client & community ratings should be high + +
+ diff --git a/src/routes/blog/+page.svelte b/src/routes/blog/+page.svelte index b21fe5c..4c8fcbf 100644 --- a/src/routes/blog/+page.svelte +++ b/src/routes/blog/+page.svelte @@ -10,7 +10,7 @@

Blog Posts

-{#each data.posts as post} +{#each data.posts.sort((a, b) => new Date(b.date).getTime() - new Date(a.date).getTime()) as post} -
+
← Back to blog
@@ -21,16 +21,16 @@ -
+
-
- +
+
{#if data.posts.length > 0} -
+

Other posts

{#each data.posts as post}
- {#if data.revivals.length > 0} -
+

Other revivals

{#each data.revivals as revival} section a:hover transform: translateY(-0.15rem) + + .logo + filter: drop-shadow(0 0 5px #fffa) invert(0) + @media (prefers-color-scheme: light) + filter: drop-shadow(0 0 5px #000a) diff --git a/src/routes/revival/[revival]/+page.ts b/src/routes/revival/[revival]/+page.ts index 3ea7910..703accb 100644 --- a/src/routes/revival/[revival]/+page.ts +++ b/src/routes/revival/[revival]/+page.ts @@ -21,6 +21,7 @@ export async function load({ params }) { ...(data.metadata as { name: string date: Date + logo?: string clients: number[] rating: { website: number diff --git a/src/routes/revivals/+page.ts b/src/routes/revivals/+page.ts index 0ab56ef..477c4be 100644 --- a/src/routes/revivals/+page.ts +++ b/src/routes/revivals/+page.ts @@ -4,7 +4,7 @@ export async function load() { return { revivals: Promise.all( Object.keys(allPostFiles).map(async path => { - const { metadata } = await allPostFiles[path]() as any + const { metadata } = (await allPostFiles[path]()) as any return { ...(metadata as { diff --git a/static/logos/finobe.png b/static/logos/finobe.png new file mode 100644 index 0000000..a688792 Binary files /dev/null and b/static/logos/finobe.png differ diff --git a/static/logos/mercury.svg b/static/logos/mercury.svg new file mode 100644 index 0000000..e5aacb8 --- /dev/null +++ b/static/logos/mercury.svg @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/static/logos/plexo.png b/static/logos/plexo.png new file mode 100644 index 0000000..8a4534c Binary files /dev/null and b/static/logos/plexo.png differ diff --git a/static/logos/polygon.png b/static/logos/polygon.png new file mode 100644 index 0000000..680c5f2 Binary files /dev/null and b/static/logos/polygon.png differ