Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* remove inline style * creating grid cards with bernoulli members * correct function doc * correct function doc * open new bibliography page on click * move meditationes to jacob bernoulli biography * fix unit test * structure biographies, rename component, correct headlines * change order of biographies * add johann III and jacob II bio * add bio and correspondences to leonard euler * add johan euler and nicolaus fuss bios * remove BEBB section from landing page * add error page if bio doesn't exist * styling third party projects and extracting search into landing page * change headline tag * create lece-leoo component * temporarily hide code on landing page * add portrait images and display on landing page * correct portrait images in biography component * set correct titles in additionals of euler * responsive flex layout in lece-leoo component * setup routes for leoo and lece pages * add correspondences for johann a. euler * add correspondences for Niklaus I Fuss * remove correspondence component * fix unit test * format code * add links to bios
- Loading branch information
Showing
31 changed files
with
1,330 additions
and
857 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
.biography { | ||
margin-block-end: 1.5rem; | ||
|
||
img { | ||
float: right; | ||
height: 320px; | ||
width: auto; | ||
} | ||
|
||
.further-links { | ||
list-style: none; | ||
padding-inline-start: 0; | ||
} | ||
} | ||
|
||
.biography::after { | ||
content: ""; | ||
clear: both; | ||
display: table; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; | ||
import { BiographyComponent } from './biography.component'; | ||
import { RouterTestingModule } from '@angular/router/testing'; | ||
import { BeolService } from '../services/beol.service'; | ||
import { AppInitService } from '../dsp-ui-lib/core'; | ||
|
||
describe('BibliographyComponent', () => { | ||
let component: BiographyComponent; | ||
let fixture: ComponentFixture<BiographyComponent>; | ||
|
||
beforeEach(waitForAsync(() => { | ||
|
||
const appInitServiceMock = { | ||
config: { | ||
ontologyIRI: 'http://0.0.0.0:3333' | ||
} | ||
}; | ||
|
||
const beolServiceSpy = jasmine.createSpyObj('BeolService', ['getEntriesForManuscript']); // see https://angular.io/guide/testing#angular-testbed | ||
|
||
TestBed.configureTestingModule({ | ||
imports: [ | ||
RouterTestingModule, | ||
], | ||
declarations: [BiographyComponent], | ||
providers: [ | ||
{ provide: BeolService, useValue: beolServiceSpy }, | ||
{ provide: AppInitService, useValue: appInitServiceMock } | ||
] | ||
}) | ||
.compileComponents(); | ||
|
||
fixture = TestBed.createComponent(BiographyComponent); | ||
component = fixture.componentInstance; | ||
fixture.detectChanges(); | ||
})); | ||
|
||
it('should create', () => { | ||
expect(component).toBeTruthy(); | ||
}); | ||
}); |
Oops, something went wrong.