Skip to content

Commit

Permalink
feat(uberfest): add uberfest branding (#2731)
Browse files Browse the repository at this point in the history
  • Loading branch information
garrappachc authored Nov 5, 2024
1 parent 040d904 commit e72d188
Show file tree
Hide file tree
Showing 23 changed files with 48 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/build-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ jobs:
apiUrl: api.tf2pickup.asia
- branding: ar.tf2pickup.org
apiUrl: api.ar.tf2pickup.org
- branding: uberfest
apiUrl: api.tf2pickup.teamfortress2.com

steps:
- name: Docker meta
Expand Down
21 changes: 21 additions & 0 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -955,6 +955,27 @@
"output": "/assets/"
}
]
},
"uberfest": {
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/uberfest.ts"
}
],
"assets": [
{
"glob": "**/*",
"input": "src/assets/",
"output": "/assets/",
"ignore": ["custom/**/*"]
},
{
"glob": "**/*",
"input": "src/assets/custom/uberfest",
"output": "/assets/"
}
]
}
}
},
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@
"build:hl.tf2pickup.us": "ng build --subresource-integrity --configuration=production,hl.tf2pickup.us --output-path=dist/hl.tf2pickup.us && node scripts/write-buildinfo.js > dist/hl.tf2pickup.us/buildinfo.json",
"build:arena.tf2pickup.eu": "ng build --subresource-integrity --configuration=production,arena.tf2pickup.eu --output-path=dist/arena.tf2pickup.eu && node scripts/write-buildinfo.js > dist/arena.tf2pickup.eu/buildinfo.json",
"build:ar.tf2pickup.org": "ng build --subresource-integrity --configuration=production,ar.tf2pickup.org --output-path=dist/ar.tf2pickup.org && node scripts/write-buildinfo.js > dist/ar.tf2pickup.org/buildinfo.json",
"build:all": "npm-run-all build:*tf2pickup.*",
"build:uberfest": "ng build --subresource-integrity --configuration=production,uberfest --output-path=dist/uberfest && node scripts/write-buildinfo.js > dist/uberfest/buildinfo.json",
"build:all": "npm-run-all build:*tf2pickup.* uberfest",
"test": "ng test",
"test:ci": "ng test --browsers=ChromeHeadless --watch=false --code-coverage=true",
"lint": "ng lint && stylelint **/*.scss",
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 src/assets/custom/uberfest/android-icon-36x36.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 src/assets/custom/uberfest/android-icon-48x48.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 src/assets/custom/uberfest/android-icon-96x96.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 src/assets/custom/uberfest/bg_night_blur.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 src/assets/custom/uberfest/favicon-16x16.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 src/assets/custom/uberfest/favicon-32x32.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 src/assets/custom/uberfest/favicon-64x64.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 src/assets/custom/uberfest/favicon-96x96.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 src/assets/custom/uberfest/favicon.ico
Binary file not shown.
Binary file added src/assets/custom/uberfest/favicon.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 src/assets/custom/uberfest/ms-icon-144x144.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 src/assets/custom/uberfest/ms-icon-150x150.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 src/assets/custom/uberfest/ms-icon-310x310.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 src/assets/custom/uberfest/ms-icon-70x70.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 src/assets/custom/uberfest/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions src/environments/uberfest.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import { defaultEnvironment } from './default-environment';
import { defaultFooterLinks } from './default-footer-links';

const discordInvitation = 'https://discord.gg/TfbuC74zpN';

export const environment = {
...defaultEnvironment,
apiUrl: 'https://api.tf2pickup.teamfortress2.com',
wsUrl: 'https://api.tf2pickup.teamfortress2.com',
headerLinks: [
{
name: 'discord',
icon: '/assets/ui_icon_discord.png',
target: discordInvitation,
tooltip: 'Join us on discord!',
},
],
footerLinks: [
...defaultFooterLinks,
{ name: 'discord', target: discordInvitation },
],
titleSuffix: 'ÜBERFEST 2024 pickup',
};

0 comments on commit e72d188

Please sign in to comment.