Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
186 commits
Select commit Hold shift + click to select a range
21b1f79
Bump astro in the npm_and_yarn group across 1 directory
dependabot[bot] Oct 12, 2025
05c9794
Merged refs/heads/main into develop.
mastercoms Oct 25, 2025
2f7c40a
Merge pull request #85 from mastercomfig/dependabot/npm_and_yarn/npm_…
mastercoms Oct 25, 2025
9476373
Merged refs/heads/main into develop.
mastercoms Oct 25, 2025
77c8373
Merged refs/heads/main into develop.
mastercoms Oct 25, 2025
57d534e
Merged refs/heads/main into develop.
mastercoms Oct 25, 2025
dd011bb
Merged refs/heads/main into develop.
mastercoms Oct 26, 2025
edad6fc
Merged refs/heads/main into develop.
mastercoms Oct 26, 2025
0767a31
Merged refs/heads/main into develop.
mastercoms Oct 26, 2025
79f7093
Merged refs/heads/main into develop.
mastercoms Oct 26, 2025
4d4dfee
Merged refs/heads/main into develop.
mastercoms Oct 26, 2025
112316c
Merged refs/heads/main into develop.
mastercoms Oct 26, 2025
8fe5458
Merged refs/heads/main into develop.
mastercoms Oct 27, 2025
f8156dc
Merged refs/heads/main into develop.
mastercoms Oct 28, 2025
af05f30
Merged refs/heads/main into develop.
mastercoms Oct 29, 2025
2c71ea8
Merged refs/heads/main into develop.
mastercoms Oct 30, 2025
f789a2f
Merged refs/heads/main into develop.
mastercoms Oct 31, 2025
12122d5
Merged refs/heads/main into develop.
mastercoms Nov 1, 2025
8d3438d
Merged refs/heads/main into develop.
mastercoms Nov 2, 2025
5438532
Merged refs/heads/main into develop.
mastercoms Nov 3, 2025
dd0e7ca
Merged refs/heads/main into develop.
mastercoms Nov 4, 2025
ea58fe6
Merged refs/heads/main into develop.
mastercoms Nov 5, 2025
5622e48
Merged refs/heads/main into develop.
mastercoms Nov 5, 2025
36867ad
Merged refs/heads/main into develop.
mastercoms Nov 6, 2025
88880d6
Merged refs/heads/main into develop.
mastercoms Nov 6, 2025
6a9bb72
Merged refs/heads/main into develop.
mastercoms Nov 7, 2025
9393d17
Merged refs/heads/main into develop.
mastercoms Nov 8, 2025
7bb2f30
Merged refs/heads/main into develop.
mastercoms Nov 9, 2025
b7d07af
fix blob security
mastercoms Nov 10, 2025
0e51107
Merged refs/heads/main into develop.
mastercoms Nov 10, 2025
94522fe
Merged refs/heads/main into develop.
mastercoms Nov 11, 2025
3aafbba
Merged refs/heads/main into develop.
mastercoms Nov 11, 2025
b3c0afa
Merged refs/heads/main into develop.
mastercoms Nov 12, 2025
75ae9e3
Merged refs/heads/main into develop.
mastercoms Nov 13, 2025
57993eb
Merged refs/heads/main into develop.
mastercoms Nov 14, 2025
2d8f0ab
Merged refs/heads/main into develop.
mastercoms Nov 15, 2025
e3b7db3
Merged refs/heads/main into develop.
mastercoms Nov 16, 2025
0136a53
Merged refs/heads/main into develop.
mastercoms Nov 17, 2025
4584e8b
Merged refs/heads/main into develop.
mastercoms Nov 18, 2025
dcef598
Merged refs/heads/main into develop.
mastercoms Nov 19, 2025
4479579
Merged refs/heads/main into develop.
mastercoms Nov 20, 2025
64361ef
Merged refs/heads/main into develop.
mastercoms Nov 21, 2025
6a9308b
Merged refs/heads/main into develop.
mastercoms Nov 22, 2025
b88c020
Merged refs/heads/main into develop.
mastercoms Nov 23, 2025
3c441a6
Merged refs/heads/main into develop.
mastercoms Nov 24, 2025
3703410
Bump actions/checkout from 5 to 6
dependabot[bot] Nov 24, 2025
81b4d2d
Merge pull request #90 from mastercomfig/dependabot/github_actions/ac…
mastercoms Nov 25, 2025
b7b4e00
Merged refs/heads/main into develop.
mastercoms Nov 25, 2025
4d04657
Merged refs/heads/main into develop.
mastercoms Nov 25, 2025
77271a7
Merged refs/heads/main into develop.
mastercoms Nov 26, 2025
1f1db67
Merged refs/heads/main into develop.
mastercoms Nov 27, 2025
bb30caa
Merged refs/heads/main into develop.
mastercoms Nov 28, 2025
ba322ae
Merged refs/heads/main into develop.
mastercoms Nov 29, 2025
5beb6f6
Merged refs/heads/main into develop.
mastercoms Nov 30, 2025
5b6652b
Merged refs/heads/main into develop.
mastercoms Nov 30, 2025
c0a4763
Merged refs/heads/main into develop.
mastercoms Nov 30, 2025
9c1edbd
Merged refs/heads/main into develop.
mastercoms Nov 30, 2025
19120b5
Merged refs/heads/main into develop.
mastercoms Nov 30, 2025
8043b4f
Merged refs/heads/main into develop.
mastercoms Nov 30, 2025
5da673d
Merged refs/heads/main into develop.
mastercoms Nov 30, 2025
dc2d58c
Merge branch 'main' into develop
mastercoms Nov 30, 2025
44d02e5
launcher mode fixes
mastercoms Nov 30, 2025
7b0906b
fix load order issue
mastercoms Nov 30, 2025
a40baa6
rework launcher page
mastercoms Nov 30, 2025
ff6f604
make it a container
mastercoms Nov 30, 2025
fca0cbc
remove footer for launcher posts
mastercoms Nov 30, 2025
6926ecf
add os specific download link with launcher
mastercoms Nov 30, 2025
cbddddf
fix detection
mastercoms Dec 1, 2025
599979c
linux now gets a launcher
mastercoms Dec 1, 2025
57789ba
Merged refs/heads/main into develop.
mastercoms Dec 1, 2025
4fac40d
Merged refs/heads/main into develop.
mastercoms Dec 2, 2025
23b7f8a
Merged refs/heads/main into develop.
mastercoms Dec 3, 2025
6cce142
add december 3
mastercoms Dec 3, 2025
a4a407d
december 3 #2
mastercoms Dec 3, 2025
7870c7e
Merged refs/heads/main into develop.
mastercoms Dec 4, 2025
b68d7d0
december 4
mastercoms Dec 4, 2025
86ae58b
december 4 hotfix
mastercoms Dec 5, 2025
5301e4d
Merged refs/heads/main into develop.
mastercoms Dec 5, 2025
4a3abf3
Merged refs/heads/main into develop.
mastercoms Dec 6, 2025
dcf0949
Merged refs/heads/main into develop.
mastercoms Dec 7, 2025
9fa5608
Merged refs/heads/main into develop.
mastercoms Dec 8, 2025
74c7a8a
Merged refs/heads/main into develop.
mastercoms Dec 9, 2025
12772c3
december 9 update and new playtest status indicator
mastercoms Dec 10, 2025
7e27592
post updates
mastercoms Dec 10, 2025
5507da1
playtest over
mastercoms Dec 10, 2025
693295b
Merged refs/heads/main into develop.
mastercoms Dec 10, 2025
47bf12b
december 10 update
mastercoms Dec 11, 2025
d9055ad
add break
mastercoms Dec 11, 2025
1fe86e0
also added training option
mastercoms Dec 11, 2025
1d5b786
fixes
mastercoms Dec 11, 2025
36b9cab
force update
mastercoms Dec 11, 2025
427c8a4
playtest over
mastercoms Dec 11, 2025
0f2ae61
Merged refs/heads/main into develop.
mastercoms Dec 11, 2025
882bbd3
dont show beta on launcher feed, december 11 post
mastercoms Dec 11, 2025
02dd54d
new playtest
mastercoms Dec 12, 2025
972a013
no playtest
mastercoms Dec 12, 2025
4a0a0ca
Merged refs/heads/main into develop.
mastercoms Dec 12, 2025
13a3bb9
fix ubercharge capitalization, december 12 update
mastercoms Dec 12, 2025
6a8f88c
add image
mastercoms Dec 12, 2025
565c986
fix formatting
mastercoms Dec 12, 2025
08523ad
playtest starting
mastercoms Dec 12, 2025
19a5c17
no more playtest
mastercoms Dec 13, 2025
df18488
Merged refs/heads/main into develop.
mastercoms Dec 13, 2025
58fb78a
Merged refs/heads/main into develop.
mastercoms Dec 14, 2025
8f557ce
december 14
mastercoms Dec 14, 2025
967bdda
playtest
mastercoms Dec 14, 2025
32ab6c4
update notes
mastercoms Dec 14, 2025
295c2a7
playtest over
mastercoms Dec 15, 2025
a936d00
Merged refs/heads/main into develop.
mastercoms Dec 15, 2025
04488d2
Merged refs/heads/main into develop.
mastercoms Dec 16, 2025
a7965ff
today's changes
mastercoms Dec 17, 2025
b62e377
fix dates
mastercoms Dec 17, 2025
de34d35
Merged refs/heads/main into develop.
mastercoms Dec 17, 2025
1753223
no more playtest
mastercoms Dec 17, 2025
ce84c46
december 17
mastercoms Dec 18, 2025
59f7c60
no more playtest
mastercoms Dec 18, 2025
2cf28d7
Merged refs/heads/main into develop.
mastercoms Dec 18, 2025
e5de236
minor fix to blockbuster patch notes
mastercoms Dec 18, 2025
9051701
december 18 update
mastercoms Dec 19, 2025
4012998
playtest over
mastercoms Dec 19, 2025
8cebd9d
Merged refs/heads/main into develop.
mastercoms Dec 19, 2025
1394b79
december 19
mastercoms Dec 20, 2025
64a7c04
Merged refs/heads/main into develop.
mastercoms Dec 20, 2025
32d892a
Merged refs/heads/main into develop.
mastercoms Dec 21, 2025
5023888
no playtest
mastercoms Dec 22, 2025
8a00933
Merged refs/heads/main into develop.
mastercoms Dec 22, 2025
c928a69
Merged refs/heads/main into develop.
mastercoms Dec 23, 2025
9eb0aca
Merged refs/heads/main into develop.
mastercoms Dec 24, 2025
18cc27e
Merged refs/heads/main into develop.
mastercoms Dec 25, 2025
663b5ba
Merged refs/heads/main into develop.
mastercoms Dec 26, 2025
b834d1c
Merged refs/heads/main into develop.
mastercoms Dec 27, 2025
b7616a8
Merged refs/heads/main into develop.
mastercoms Dec 28, 2025
c0af2ae
Merged refs/heads/main into develop.
mastercoms Dec 29, 2025
b133f2a
clean up site
mastercoms Dec 30, 2025
34140b9
Merged refs/heads/main into develop.
mastercoms Dec 30, 2025
32012d5
send people to the releases page if theyre on linux, since we have 2 …
mastercoms Dec 31, 2025
8fb9727
Merged refs/heads/main into develop.
mastercoms Dec 31, 2025
89b2de8
Merged refs/heads/main into develop.
mastercoms Jan 1, 2026
fd5508d
Merged refs/heads/main into develop.
mastercoms Jan 2, 2026
0c35d66
Merged refs/heads/main into develop.
mastercoms Jan 3, 2026
eb14cfa
Merged refs/heads/main into develop.
mastercoms Jan 4, 2026
cfa0664
Merged refs/heads/main into develop.
mastercoms Jan 5, 2026
a13c808
Merged refs/heads/main into develop.
mastercoms Jan 6, 2026
e1aae34
Merged refs/heads/main into develop.
mastercoms Jan 7, 2026
e7d8b1f
Merged refs/heads/main into develop.
mastercoms Jan 8, 2026
84722f1
Merged refs/heads/main into develop.
mastercoms Jan 9, 2026
e72a34b
Merged refs/heads/main into develop.
mastercoms Jan 10, 2026
5f005ee
Merged refs/heads/main into develop.
mastercoms Jan 11, 2026
720b8bf
Merged refs/heads/main into develop.
mastercoms Jan 12, 2026
98fe10e
Merged refs/heads/main into develop.
mastercoms Jan 13, 2026
7a72e08
Merged refs/heads/main into develop.
mastercoms Jan 14, 2026
484c94a
Merged refs/heads/main into develop.
mastercoms Jan 15, 2026
111f1b5
Merged refs/heads/main into develop.
mastercoms Jan 16, 2026
b3702ff
Merged refs/heads/main into develop.
mastercoms Jan 17, 2026
26a4b97
Merged refs/heads/main into develop.
mastercoms Jan 18, 2026
73344ca
Merged refs/heads/main into develop.
mastercoms Jan 19, 2026
1bdb1a8
Merged refs/heads/main into develop.
mastercoms Jan 20, 2026
f41ba14
Merged refs/heads/main into develop.
mastercoms Jan 21, 2026
d389697
add early access tag
mastercoms Jan 22, 2026
5e3c709
Merged refs/heads/main into develop.
mastercoms Jan 22, 2026
5f7c7cb
Merged refs/heads/main into develop.
mastercoms Jan 22, 2026
255a56a
Merged refs/heads/main into develop.
mastercoms Jan 23, 2026
3f7b4f6
Merged refs/heads/main into develop.
mastercoms Jan 24, 2026
97b5573
Merged refs/heads/main into develop.
mastercoms Jan 25, 2026
99576ff
Merged refs/heads/main into develop.
mastercoms Jan 26, 2026
4d2bb32
Merged refs/heads/main into develop.
mastercoms Jan 27, 2026
497fd25
Merged refs/heads/main into develop.
mastercoms Jan 28, 2026
2a7107a
Merged refs/heads/main into develop.
mastercoms Jan 29, 2026
ba2ce5c
Merged refs/heads/main into develop.
mastercoms Jan 30, 2026
3280e7d
Merged refs/heads/main into develop.
mastercoms Jan 31, 2026
95a46cd
Merged refs/heads/main into develop.
mastercoms Feb 1, 2026
5b161c3
Merged refs/heads/main into develop.
mastercoms Feb 2, 2026
37cadaa
Merged refs/heads/main into develop.
mastercoms Feb 3, 2026
6ef62ba
Merged refs/heads/main into develop.
mastercoms Feb 4, 2026
eab6ab6
feb 04 2026
mastercoms Feb 4, 2026
a849dbb
dont highlight convar
mastercoms Feb 4, 2026
6063178
Merged refs/heads/main into develop.
mastercoms Feb 5, 2026
4c90d97
Merged refs/heads/main into develop.
mastercoms Feb 6, 2026
7ce67b2
add new support me page
mastercoms Feb 7, 2026
e6a583a
Merged refs/heads/main into develop.
mastercoms Feb 7, 2026
430dcae
Merged refs/heads/main into develop.
mastercoms Feb 7, 2026
c6df172
Merged refs/heads/main into develop.
mastercoms Feb 7, 2026
1261713
Merged refs/heads/main into develop.
mastercoms Feb 7, 2026
fae9255
Merged refs/heads/main into develop.
mastercoms Feb 7, 2026
c0e3616
Merged refs/heads/main into develop.
mastercoms Feb 7, 2026
9c6baf1
fix screen name for destitute
mastercoms Feb 7, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
bump:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with:
token: ${{ secrets.REPO_TOKEN }}
fetch-depth: 0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
merge:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Merge main -> develop
uses: everlytic/branch-merge@master
with:
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"@vite-pwa/astro": "^1.1.0",
"@zip.js/zip.js": "^2.7.69",
"aos": "^2.3.4",
"astro": "^5.14.1",
"astro": "^5.14.3",
"astro-remote": "^0.3.4",
"autoprefixer": "^10.4.21",
"bootstrap": "^5.3.7",
Expand Down Expand Up @@ -106,6 +106,7 @@
"typescript": "^5.8.3",
"typeson": "^9.0.4",
"typeson-registry": "^11.1.1",
"ua-parser-js": "^2.0.6",
"vanilla-lazyload": "^19.1.3",
"vdf-parser": "^1.2.1",
"vite": "^7.0.7",
Expand Down
749 changes: 291 additions & 458 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/_headers
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
! Access-Control-Allow-Origin
Permissions-Policy: document-domain=()
Document-Policy: js-profiling
Content-Security-Policy: upgrade-insecure-requests; default-src 'none'; script-src {{SRC_NONCE}} {{SCRIPT_SRC_HASHES}} 'self' 'unsafe-inline' blob: https://s-usc1b-nss-2136.firebaseio.com https://comfig-giftcards-default-rtdb.firebaseio.com https://static.cloudflareinsights.com https://ajax.cloudflare.com https://challenges.cloudflare.com; frame-src https://www.youtube-nocookie.com https://challenges.cloudflare.com https://s-usc1b-nss-2136.firebaseio.com; img-src data: https:; connect-src https: wss:; media-src blob: https:; style-src 'self' 'unsafe-inline'; style-src-elem {{SRC_NONCE}} {{STYLE_SRC_ELEM_HASHES}} 'self' 'unsafe-inline'; style-src-attr 'unsafe-inline'; manifest-src 'self'; font-src 'self'; worker-src blob: data: 'self'; form-action 'self'; frame-ancestors 'self' http: https: file:; base-uri 'none'; sandbox allow-downloads allow-forms allow-modals allow-popups allow-popups-to-escape-sandbox allow-presentation allow-same-origin allow-scripts;
Content-Security-Policy: upgrade-insecure-requests; default-src 'none'; script-src {{SRC_NONCE}} {{SCRIPT_SRC_HASHES}} 'self' 'unsafe-inline' blob: https://s-usc1b-nss-2136.firebaseio.com https://comfig-giftcards-default-rtdb.firebaseio.com https://static.cloudflareinsights.com https://ajax.cloudflare.com https://challenges.cloudflare.com; frame-src https://www.youtube-nocookie.com https://challenges.cloudflare.com https://s-usc1b-nss-2136.firebaseio.com; img-src data: https: blob:; connect-src https: wss:; media-src blob: https:; style-src 'self' 'unsafe-inline'; style-src-elem {{SRC_NONCE}} {{STYLE_SRC_ELEM_HASHES}} 'self' 'unsafe-inline'; style-src-attr 'unsafe-inline'; manifest-src 'self'; font-src 'self'; worker-src blob: data: 'self'; form-action 'self'; frame-ancestors 'self' http: https: file:; base-uri 'none'; sandbox allow-downloads allow-forms allow-modals allow-popups allow-popups-to-escape-sandbox allow-presentation allow-same-origin allow-scripts;
Cross-Origin-Resource-Policy: same-origin
Cross-Origin-Opener-Policy: same-origin

Expand Down
Binary file added public/img/tc2/update/tc2-12-09-2025.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/img/tc2/update/tc2-12-10-2025-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/img/tc2/update/tc2-12-12-2025.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
44 changes: 44 additions & 0 deletions src/components/loaders/TC2DownloadLoader.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
---

---

<tcdownload-loader></tcdownload-loader>

<script>
import { UAParser } from "ua-parser-js";
import { DeviceType } from 'ua-parser-js/enums';

class TC2DownloadLoader extends HTMLElement {
async connectedCallback() {
await new Promise(resolve => setTimeout(resolve, 0)).then(() => {
if (document.readyState === "loading") {
window.addEventListener("DOMContentLoaded", this.refreshDownloadButton.bind(this));
} else {
this.refreshDownloadButton();
}
});
}

refreshDownloadButton() {
const parser = new UAParser();
const device = parser.getDevice();
const os = parser.getOS().name;
let downloadLink;
if (device.type && !device.is(DeviceType.DESKTOP)) {
downloadLink = "https://github.com/mastercomfig/tc2-launcher/releases/latest";
} else if (os === "Windows") {
downloadLink = "https://github.com/mastercomfig/tc2-launcher/releases/latest/download/TC2Launcher.exe";
} else {
downloadLink = "https://github.com/mastercomfig/tc2-launcher/releases/latest";
}
const downloadBtn = document.getElementById("tc2-download-btn");
if (downloadBtn) {
downloadBtn.href = downloadLink;
}
}
}

if (!customElements.get("tcdownload-loader")) {
customElements.define("tcdownload-loader", TC2DownloadLoader);
}
</script>
38 changes: 24 additions & 14 deletions src/components/loaders/TC2LauncherLoader.astro
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,34 @@
<tclauncher-loader></tclauncher-loader>

<script>
function refreshLauncherElements() {
const urlparms = new URLSearchParams(window.location.search);
const isLauncher = urlparms.get("launcher") === "1";

const hideForLauncher = document.querySelectorAll(".hide-launcher");
hideForLauncher.forEach((el) => {
el.style.display = isLauncher ? "none" : "";
});
const showForLauncher = document.querySelectorAll(".show-launcher");
showForLauncher.forEach((el) => {
el.style.display = isLauncher ? "" : "none";
});
}

class TC2LauncherLoader extends HTMLElement {
async connectedCallback() {
const urlparms = new URLSearchParams(window.location.search);
const isLauncher = urlparms.get("launcher") === "1";

const hideForLauncher = document.querySelectorAll(
'.hide-launcher',
);
hideForLauncher.forEach((el) => {
el.style.display = isLauncher ? "none" : "";
});
const showForLauncher = document.querySelectorAll(
'.show-launcher',
);
showForLauncher.forEach((el) => {
el.style.display = isLauncher ? "" : "none";
await new Promise(resolve => setTimeout(resolve, 0)).then(() => {
if (document.readyState === "loading") {
window.addEventListener("DOMContentLoaded", refreshLauncherElements);
} else {
refreshLauncherElements();
}
});
}

disconnectedCallback() {
window.removeEventListener("DOMContentLoaded", refreshLauncherElements);
}
}

if (!customElements.get("tclauncher-loader")) {
Expand Down
4 changes: 2 additions & 2 deletions src/content.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { defineCollection, z } from "astro:content";

// 3. Define your collection(s)
const tc2News = defineCollection({
loader: glob({ pattern: "**/*.md", base: "./src/posts/tc2" }),
loader: glob({ pattern: "**/*.{md,mdx}", base: "./src/posts/tc2" }),
schema: z.object({
title: z.string(),
description: z.string(),
Expand All @@ -15,7 +15,7 @@ const tc2News = defineCollection({
}),
});
const tc2Patches = defineCollection({
loader: glob({ pattern: "**/*.md", base: "./src/posts/tc2Patches" }),
loader: glob({ pattern: "**/*.{md,mdx}", base: "./src/posts/tc2Patches" }),
schema: z.object({
date: z.date(),
draft: z.boolean().optional(),
Expand Down
File renamed without changes
File renamed without changes
Binary file modified src/img/update/lair.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/img/update/lairoutside.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed src/img/update/quicklime.webp
Binary file not shown.
Binary file added src/img/update/tfmap.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ import "highlight.js/styles/atom-one-dark.css";
import badlandsImg from "@img/cp_badlands01.webp";
import sunshineImg from "@img/cp_sunshine04.webp";
import badwaterImg from "@img/pl_badwater01.webp";
import veryLowImg from "@img/presets/very-low.webp";
import destituteImg from "@img/presets/destitute.webp";
import ultraImg from "@img/presets/ultra.webp";
import veryLowHqImg from "@img/presets/very-low-hq.webp";
import destituteHqImg from "@img/presets/destitute-hq.webp";
import ultraHqImg from "@img/presets/ultra-hq.webp";
import networkImg from "@img/network.webp";
import HomePageLoader from "@components/loaders/HomePageLoader.astro";
Expand Down Expand Up @@ -279,7 +279,7 @@ import HomePageLoader from "@components/loaders/HomePageLoader.astro";
<div class="col-md align-middle">
<ImageSlider
client:load
srcOne={veryLowImg.src}
srcOne={destituteImg.src}
altOne="koth_sawmill low"
srcTwo={ultraImg.src}
altTwo="koth_sawmill ultra"
Expand Down Expand Up @@ -426,7 +426,7 @@ tf_item_inspect_model_spin_rate 30 // Rate at which items spin in the inspect vi
<div class="modal-body">
<ImageSlider
client:load
srcOne={veryLowHqImg.src}
srcOne={destituteHqImg.src}
altOne="koth_sawmill low"
srcTwo={ultraHqImg.src}
altTwo="koth_sawmill ultra"
Expand Down
33 changes: 29 additions & 4 deletions src/pages/tc2/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ import ImportHead from "@components/head/ImportHead.astro";
import MainHead from "@components/head/MainHead.astro";
import PreloadHead from "@components/head/PreloadHead.astro";
import AnimateOnScroll from "@components/loaders/AnimateOnScroll.astro";
import TC2DownloadLoader from "@components/loaders/TC2DownloadLoader.astro";
import tfLogoImg from "@img/tc2/team-comtress-2.png";
import lairImg from "@img/update/lair.webp";
import quicklimeImg from "@img/update/quicklime.webp";
import tfmapImg from "@img/update/tfmap.webp";
import Layout from "@layouts/Layout.astro";
import "aos/dist/aos.css";
import { getCollection } from "astro:content";
Expand Down Expand Up @@ -88,6 +89,20 @@ const patches = (await getCollection("tc2Patches"))
background-color: #157abf;
border-color: #157abf;
}
.early-access {
margin-top: -3rem;
margin-bottom: 2rem;
z-index: 1000;
font-size: 1rem;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 0.1rem;
}
.early-access > span {
background-color: #bf2f15;
padding: 0.5rem 1rem;
border-radius: 4px;
}
@media only screen and (min-width: 992px) {
.update-cards .card:hover {
transform: scale(1.15);
Expand Down Expand Up @@ -137,6 +152,7 @@ const patches = (await getCollection("tc2Patches"))
<Body>
<AdvRedirector />
<AnimateOnScroll />
<TC2DownloadLoader />
<div id="bg-video-wrapper">
<video
id="bg-video"
Expand Down Expand Up @@ -164,6 +180,7 @@ const patches = (await getCollection("tc2Patches"))
src={tfLogoImg.src}
alt="Team Comtress 2 logo"
/>
<div class="early-access"><span>EARLY ACCESS</span></div>
<h1 class="display-3" style="letter-spacing: 0.2rem;font-weight: 600">
"THE MOST FUN YOU CAN HAVE ONLINE"
</h1>
Expand All @@ -172,13 +189,21 @@ const patches = (await getCollection("tc2Patches"))
</h1>
<hr style="margin-bottom: 2rem" />
<a
href="https://mastercoms.itch.io/tc2"
id="tc2-download-btn"
href="https://github.com/mastercomfig/tc2-launcher/releases/latest"
class="btn btn-outline-primary btn-xl"
style="line-height:1.6rem;padding-top:1.3rem"
>
<strong>PLAY FOR FREE</strong><br />
<small style="color:#c2c2c2;font-size:1rem">DOWNLOAD ON ITCH</small>
<small style="color:#c2c2c2;font-size:1rem">DOWNLOAD (60MB)</small>
</a>
<br /><br />
<div class="bg-teal rounded-1 d-inline-block px-5 py-4 d-none">
<h2 class="display-4">
Playtest status: <strong class="fw-bold">ACTIVE</strong>
</h2>
<h3 class="display-6">Go and play now!</h3>
</div>
</div>
</div>
</section>
Expand Down Expand Up @@ -323,7 +348,7 @@ const patches = (await getCollection("tc2Patches"))
</section>
<section
class="jumbotron jumbotron-fluid"
style=`background: linear-gradient(rgba(38, 50, 56, 0.4) 10%, rgba(38, 50, 56, 0.4)),url(${quicklimeImg.src});background-size: cover; background-position: center;background-position: center;min-height: 25vh`
style=`background: linear-gradient(rgba(38, 50, 56, 0.4) 10%, rgba(38, 50, 56, 0.4)),url(${tfmapImg.src});background-size: cover; background-position: center;background-position: center;min-height: 25vh`
>
</section>
<section class="text-center container">
Expand Down
8 changes: 4 additions & 4 deletions src/pages/tc2/launcher_feed.astro
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { getCollection } from "astro:content";

const news = (await getCollection("tc2News"))
.sort((a, b) => b.data.date.valueOf() - a.data.date.valueOf())
.filter((post) => !post.data.draft && !post.data.update);
.filter((post) => !post.data.draft && !post.data.update && !post.id.endsWith("beta"));

const firstNews = news[0];

Expand Down Expand Up @@ -57,7 +57,7 @@ const allPosts = news.concat(patches).sort((a, b) => {
<Body>
<AdvRedirector />

<section class="bg-dark px-4 py-0">
<section class="container px-4 py-0">
<div class="row gy-4 gx-0 ms-0">
{
allPosts.map((post) => {
Expand All @@ -81,7 +81,7 @@ const allPosts = news.concat(patches).sort((a, b) => {
href={
post.data.update
? `/updates/${post.data.update}?launcher=1`
: `/news/${post.id}?launcher=1`
: `/newsLauncher/${post.id}?launcher=1`
}
>
Read more »
Expand Down Expand Up @@ -144,7 +144,7 @@ const allPosts = news.concat(patches).sort((a, b) => {
<small class="text-muted">
<a
class="stretched-link"
href={`/patches/${post.id}?launcher=1`}
href={`/patchesLauncher/${post.id}?launcher=1`}
>
Read more »
</a>
Expand Down
4 changes: 1 addition & 3 deletions src/pages/tc2/news/[post].astro
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import BaseHead from "@components/head/BaseHead.astro";
import ImportHead from "@components/head/ImportHead.astro";
import MainHead from "@components/head/MainHead.astro";
import PreloadHead from "@components/head/PreloadHead.astro";
import TC2LauncherLoader from "@components/loaders/TC2LauncherLoader.astro";
import tfLogoImg from "@img/tc2/team-comtress-2.png";
import Layout from "@layouts/Layout.astro";
import { getCollection, render } from "astro:content";
Expand Down Expand Up @@ -43,8 +42,7 @@ const { Content } = await render(post);
</head>
<Body>
<AdvRedirector />
<TC2LauncherLoader />
<div class="text-center p-4">
<div class="text-center p-4 hide-launcher">
<a href="/">
<img
class="img-logo-sm"
Expand Down
63 changes: 63 additions & 0 deletions src/pages/tc2/newsLauncher/[post].astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
---
import AdvRedirector from "@components/AdvRedirector.astro";
import Body from "@components/Body.astro";
import Footer from "@components/Footer.astro";
import BaseHead from "@components/head/BaseHead.astro";
import ImportHead from "@components/head/ImportHead.astro";
import MainHead from "@components/head/MainHead.astro";
import PreloadHead from "@components/head/PreloadHead.astro";
import Layout from "@layouts/Layout.astro";
import { getCollection, render } from "astro:content";

export async function getStaticPaths() {
const news = (await getCollection("tc2News")).filter(
(post) => !post.data.draft && !post.data.update,
);
return news.map((post) => ({
params: {
post: post.id,
},
props: { post },
}));
}

const { post } = Astro.props;
const { Content } = await render(post);
---

<Layout>
<head>
<BaseHead />
<PreloadHead />
<ImportHead />
<MainHead
title=`${post.data.title} | Team Comtress 2`
site="Team Comtress"
noSite={true}
description={post.data.description}
image="https://teamcomtress.com/img/tc2/team-comtress-2.png"
favicon="/img/tc2/favicon.ico"
/>
</head>
<Body>
<AdvRedirector />

<section class="container p-4 bg-dark mb-4">
<a href="/launcher_feed">
<span class="fas fa-angles-left fa-fw"></span> Back
</a>
<h1>{post.data.title}</h1>
<p class="text-muted">
{
post.data.date.toLocaleDateString("en-US", {
year: "numeric",
month: "long",
day: "numeric",
timeZone: "UTC",
})
}
</p>
<Content />
</section>
</Body>
</Layout>
Loading