Skip to content

Commit cd42e9b

Browse files
authored
v4.0.1
v4.0.1 - Release
2 parents a55e893 + c7a4194 commit cd42e9b

9 files changed

Lines changed: 30 additions & 17 deletions

File tree

cypress/e2e/home.cy.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,11 @@ describe('Home page', () => {
9191
cy.get('div[aria-label="Community Members"]')
9292
.eq(0)
9393
.find('pip-vault-tec-user-card')
94-
.should('have.length', 7);
94+
.should('have.length', 8);
9595
cy.get('div[aria-label="Community Members"]')
9696
.eq(1)
9797
.find('pip-vault-tec-user-card')
98-
.should('have.length', 17);
98+
.should('have.length', 16);
9999

100100
cy.contains('h4', 'Gordon Williams')
101101
.scrollIntoView()

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "https://json.schemastore.org/package.json",
33
"name": "pip-terminal",
44
"description": "A community-driven project celebrating the iconic Pip-Boy devices from the Fallout universe.",
5-
"version": "4.0.0",
5+
"version": "4.0.1",
66
"author": "Cody Tolene <codyatolene@gmail.com>",
77
"homepage": "https://pip-boy.com/",
88
"private": true,
8.13 KB
Loading

src/app/components/vault-tec-user-card/vault-tec-user-card.html

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -66,20 +66,26 @@ <h4>{{ userCard().name }}</h4>
6666
<div class="subtitle-container">
6767
@for (subtitle of userCard().subtitles; track subtitle) {
6868
<span class="subtitle">{{ subtitle }}</span>
69-
} @if(userCard().subtitles.includes('Discord Booster') &&
70-
userCard().boostDates?.length) {
71-
<div class="dates">
72-
@for (date of userCard().boostDates; track date; let index = $index) {
73-
<span class="date"
74-
>Boost &num;{{ index + 1 }}: {{ date | date:'longDate' }}</span
75-
>
76-
}
77-
</div>
69+
} @if(type() !== 'sponsor') {
70+
<ng-container *ngTemplateOutlet="boostDatesTemplate"></ng-container>
7871
}
7972
</div>
8073
}
8174
</div>
8275

76+
<ng-template #boostDatesTemplate>
77+
@if(userCard().subtitles.includes('Discord Booster')) {
78+
@if(userCard().boostDates?.length) {
79+
<div class="dates">
80+
@for (date of userCard().boostDates; track date; let index = $index) {
81+
<span class="date"
82+
>Boost &num;{{ index + 1 }}: {{ date | date:'longDate' }}</span
83+
>
84+
}
85+
</div>
86+
} }
87+
</ng-template>
88+
8389
<ng-template #imageFirstTemplate let-image="image">
8490
<img class="first-image" src="{{ image }}" alt="{{ userCard().name }}" />
8591
</ng-template>

src/app/components/vault-tec-user-card/vault-tec-user-card.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
width: 250px;
2727

2828
&.sponsor {
29-
max-width: 180px;
29+
max-width: 190px;
3030
}
3131

3232
img {

src/app/constants/app-version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const APP_VERSION = '4.0.0';
1+
export const APP_VERSION = '4.0.1';

src/app/constants/vault-tec-users.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,14 @@ export const VAULT_TEC_USERS: Record<VaultTecUser, VaultTecUserInfo> = {
253253
rikkuness: {
254254
name: 'Darrian',
255255
boostDates: [new Date(2025, 9, 9)],
256-
subtitles: ['Vault-Tec Engineer', 'Vault-Tec Support', 'Discord Booster'],
256+
donationAmount: 5,
257+
subtitles: [
258+
'Atomic Sponsor',
259+
'Vault-Tec Engineer',
260+
'Vault-Tec Support',
261+
'Discord Booster',
262+
],
263+
images: ['images/community/rikkuness_250x250.png'],
257264
links: [
258265
{
259266
label: 'GitHub',

src/app/pages/home/sections/community.section.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ const atomicSponsors: readonly VaultTecUserInfo[] = [
2828
VAULT_TEC_USERS['beanutPudder'],
2929
VAULT_TEC_USERS['crashrek'],
3030
VAULT_TEC_USERS['jimDenson'],
31+
VAULT_TEC_USERS['rikkuness'],
3132
];
3233

3334
const vaultTechUsers: readonly VaultTecUserInfo[] = [
3435
VAULT_TEC_USERS['gfwilliams'],
3536
VAULT_TEC_USERS['rblakesley'],
36-
VAULT_TEC_USERS['rikkuness'],
3737
VAULT_TEC_USERS['nightmareGoggles'],
3838
VAULT_TEC_USERS['athene'],
3939
VAULT_TEC_USERS['mercy'],

0 commit comments

Comments
 (0)