Skip to content

Commit

Permalink
feat(poland.tf): add poland.tf brandings (#2370)
Browse files Browse the repository at this point in the history
  • Loading branch information
garrappachc authored Jul 17, 2023
1 parent b57add0 commit b69a14d
Show file tree
Hide file tree
Showing 18 changed files with 211 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/build-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: build-docker-image

on:
release:
types: [ created, edited ]
types: [created, edited]

env:
REGISTRY: ghcr.io
Expand Down Expand Up @@ -42,6 +42,14 @@ jobs:
apiUrl: api.ultiduo.tf2pickup.eu
- branding: hl.tf2pickup.eu
apiUrl: api.hl.tf2pickup.eu
- branding: 6v6.poland.tf
apiUrl: api.6v6.poland.tf
- branding: hl.poland.tf
apiUrl: api.hl.poland.tf
- branding: bball.poland.tf
apiUrl: api.bball.poland.tf
- branding: ultiduo.poland.tf
apiUrl: api.ultiduo.poland.tf

steps:
- name: Docker meta
Expand Down
92 changes: 92 additions & 0 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -844,6 +844,98 @@
"output": "/assets/"
}
]
},
"6v6.poland.tf": {
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/6v6.poland.tf.ts"
}
],
"assets": [
{
"glob": "**/*",
"input": "src/assets/",
"output": "/assets/",
"ignore": [
"custom/**/*"
]
},
{
"glob": "**/*",
"input": "src/assets/custom/6v6.poland.tf",
"output": "/assets/"
}
]
},
"hl.poland.tf": {
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/hl.poland.tf.ts"
}
],
"assets": [
{
"glob": "**/*",
"input": "src/assets/",
"output": "/assets/",
"ignore": [
"custom/**/*"
]
},
{
"glob": "**/*",
"input": "src/assets/custom/hl.poland.tf",
"output": "/assets/"
}
]
},
"bball.poland.tf": {
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/bball.poland.tf.ts"
}
],
"assets": [
{
"glob": "**/*",
"input": "src/assets/",
"output": "/assets/",
"ignore": [
"custom/**/*"
]
},
{
"glob": "**/*",
"input": "src/assets/custom/bball.poland.tf",
"output": "/assets/"
}
]
},
"ultiduo.poland.tf": {
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/ultiduo.poland.tf.ts"
}
],
"assets": [
{
"glob": "**/*",
"input": "src/assets/",
"output": "/assets/",
"ignore": [
"custom/**/*"
]
},
{
"glob": "**/*",
"input": "src/assets/custom/ultiduo.poland.tf",
"output": "/assets/"
}
]
}
}
},
Expand Down
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@
"build:tf2pickup.asia": "ng build --subresource-integrity --configuration=production,tf2pickup.asia --output-path=dist/tf2pickup.asia && node scripts/write-buildinfo.js > dist/tf2pickup.asia/buildinfo.json",
"build:ultiduo.tf2pickup.eu": "ng build --subresource-integrity --configuration=production,ultiduo.tf2pickup.eu --output-path=dist/ultiduo.tf2pickup.eu && node scripts/write-buildinfo.js > dist/ultiduo.tf2pickup.eu/buildinfo.json",
"build:hl.tf2pickup.eu": "ng build --subresource-integrity --configuration=production,hl.tf2pickup.eu --output-path=dist/hl.tf2pickup.eu && node scripts/write-buildinfo.js > dist/hl.tf2pickup.eu/buildinfo.json",
"build:6v6.poland.tf": "ng build --subresource-integrity --configuration=production,6v6.poland.tf --output-path=dist/6v6.poland.tf && node scripts/write-buildinfo.js > dist/6v6.poland.tf/buildinfo.json",
"build:hl.poland.tf": "ng build --subresource-integrity --configuration=production,hl.poland.tf --output-path=dist/hl.poland.tf && node scripts/write-buildinfo.js > dist/hl.poland.tf/buildinfo.json",
"build:bball.poland.tf": "ng build --subresource-integrity --configuration=production,bball.poland.tf --output-path=dist/bball.poland.tf && node scripts/write-buildinfo.js > dist/bball.poland.tf/buildinfo.json",
"build:ultiduo.poland.tf": "ng build --subresource-integrity --configuration=production,ultiduo.poland.tf --output-path=dist/ultiduo.poland.tf && node scripts/write-buildinfo.js > dist/ultiduo.poland.tf/buildinfo.json",
"build:all": "npm-run-all build:*tf2pickup.*",
"test": "ng test",
"test:ci": "ng test --browsers=ChromeHeadless --watch=false --code-coverage=true",
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.
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.
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/hl.poland.tf/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.
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/hl.poland.tf/[email protected]
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.
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.
25 changes: 25 additions & 0 deletions src/environments/6v6.poland.tf.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import { defaultEnvironment } from './default-environment';
import { defaultFooterLinks } from './default-footer-links';
import { defaultHeaderLinks } from './default-header-links';

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

export const environment = {
...defaultEnvironment,
apiUrl: 'https://api.6v6.poland.tf',
wsUrl: 'https://api.6v6.poland.tf',
headerLinks: [
{
name: 'discord',
icon: '/assets/ui_icon_discord.png',
target: discordInvitation,
tooltip: 'Join us on discord!',
},
...defaultHeaderLinks,
],
footerLinks: [
...defaultFooterLinks,
{ name: 'discord', target: discordInvitation },
],
titleSuffix: '6v6.poland.tf',
};
27 changes: 27 additions & 0 deletions src/environments/bball.poland.tf.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import { defaultEnvironment } from './default-environment';
import { defaultFooterLinks } from './default-footer-links';
import { defaultHeaderLinks } from './default-header-links';
import { entryQueueBball } from './entry-queues/entry-queue-bball';

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

export const environment = {
...defaultEnvironment,
apiUrl: 'https://api.bball.poland.tf',
wsUrl: 'https://api.bball.poland.tf',
headerLinks: [
{
name: 'discord',
icon: '/assets/ui_icon_discord.png',
target: discordInvitation,
tooltip: 'Join us on discord!',
},
...defaultHeaderLinks,
],
footerLinks: [
...defaultFooterLinks,
{ name: 'discord', target: discordInvitation },
],
titleSuffix: 'bball.poland.tf',
entryQueue: entryQueueBball,
};
27 changes: 27 additions & 0 deletions src/environments/hl.poland.tf.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import { defaultEnvironment } from './default-environment';
import { defaultFooterLinks } from './default-footer-links';
import { defaultHeaderLinks } from './default-header-links';
import { entryQueue9v9 } from './entry-queues/entry-queue-9v9';

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

export const environment = {
...defaultEnvironment,
apiUrl: 'https://api.hl.poland.tf',
wsUrl: 'https://api.hl.poland.tf',
headerLinks: [
{
name: 'discord',
icon: '/assets/ui_icon_discord.png',
target: discordInvitation,
tooltip: 'Join us on discord!',
},
...defaultHeaderLinks,
],
footerLinks: [
...defaultFooterLinks,
{ name: 'discord', target: discordInvitation },
],
titleSuffix: 'hl.poland.tf',
entryQueue: entryQueue9v9,
};
27 changes: 27 additions & 0 deletions src/environments/ultiduo.poland.tf.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import { defaultEnvironment } from './default-environment';
import { defaultFooterLinks } from './default-footer-links';
import { defaultHeaderLinks } from './default-header-links';
import { entryQueueUltiduo } from './entry-queues/entry-queue-ultiduo';

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

export const environment = {
...defaultEnvironment,
apiUrl: 'https://api.ultiduo.poland.tf',
wsUrl: 'https://api.ultiduo.poland.tf',
headerLinks: [
{
name: 'discord',
icon: '/assets/ui_icon_discord.png',
target: discordInvitation,
tooltip: 'Join us on discord!',
},
...defaultHeaderLinks,
],
footerLinks: [
...defaultFooterLinks,
{ name: 'discord', target: discordInvitation },
],
titleSuffix: 'ultiduo.poland.tf',
entryQueue: entryQueueUltiduo,
};

0 comments on commit b69a14d

Please sign in to comment.