fix(site): remove canvas frame, invert logos, new footer text
The canvas had a 1px frame. The company logos are opaque white, so invert them to match the dark tiles. Core fetches the Auth public key (JWKS), so the To Be Played diagram now shows that arrow.
This commit is contained in:
1 parent
93e9c59436
commit
07a9b8bc11
9 files changed
+84
-19
No files matched your search
@@ -5,7 +5,7 @@
|
||||
</main>
|
||||
|
||||
<footer class="border-t border-black/8 p-fluid-md text-center opacity-80 bg-app-bg">
|
||||
<small>© {{ currentYear }} Andreas Dahm - {{ `APP.COPYRIGHT` | translate }}</small>
|
||||
<small>© {{ currentYear }} Andreas Dahm. {{ 'APP.COPYRIGHT' | translate }}</small>
|
||||
<br />
|
||||
<small>
|
||||
{{ 'APP.AI_NOTICE' | translate }}
|
||||
|
||||
@@ -0,0 +1,38 @@
|
||||
import { TestBed } from '@angular/core/testing';
|
||||
import { Component, provideZonelessChangeDetection } from '@angular/core';
|
||||
import { provideRouter } from '@angular/router';
|
||||
import { provideTranslateService } from '@ngx-translate/core';
|
||||
import { AppComponent } from './app.component';
|
||||
import { TopbarComponent } from '../topbar/topbar.component';
|
||||
import { ParticleBackgroundComponent } from '../../shared/components/particles-background/particles-background.component';
|
||||
import { SeoService } from '../../service/seo.service';
|
||||
|
||||
@Component({ selector: 'app-topbar', template: '' })
|
||||
class TopbarStub {}
|
||||
|
||||
@Component({ selector: 'app-particles-background', template: '' })
|
||||
class ParticlesStub {}
|
||||
|
||||
describe('AppComponent', () => {
|
||||
it('renders the copyright line with year, name and a closing dot', async () => {
|
||||
TestBed.overrideComponent(AppComponent, {
|
||||
remove: { imports: [TopbarComponent, ParticleBackgroundComponent] },
|
||||
add: { imports: [TopbarStub, ParticlesStub] },
|
||||
});
|
||||
await TestBed.configureTestingModule({
|
||||
imports: [AppComponent],
|
||||
providers: [
|
||||
provideZonelessChangeDetection(),
|
||||
provideRouter([]),
|
||||
provideTranslateService({ lang: 'en', fallbackLang: 'en' }),
|
||||
{ provide: SeoService, useValue: { init: vi.fn() } },
|
||||
],
|
||||
}).compileComponents();
|
||||
|
||||
const fixture = TestBed.createComponent(AppComponent);
|
||||
fixture.detectChanges();
|
||||
|
||||
const text = fixture.nativeElement.querySelector('footer small').textContent.trim();
|
||||
expect(text).toBe(`© ${new Date().getFullYear()} Andreas Dahm. APP.COPYRIGHT`);
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user