This repository has been archived by the owner on Feb 4, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(search): fix the search-results (#8)
* fix(search): tried to fix the search-results issue #7 * refactor (search-result): remove unused component * style (homepage): make it responsive * style: remove previous button on small devices * refactor (routing): clean error path
- Loading branch information
Flavie L
authored
Apr 4, 2019
1 parent
723f90a
commit 7474fd4
Showing
18 changed files
with
115 additions
and
437 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
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
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 |
---|---|---|
@@ -1,19 +1,19 @@ | ||
<div class="mls-intro middle"> | ||
<img width="300" alt="MLS Logo" src="assets/images/mls-logo.svg"> | ||
<img class="mls-logo" alt="MLS Logo" src="assets/images/mls-logo.svg"> | ||
<h3>Die Musikgeschichte der Schweiz auf einen Klick: Das Musiklexikon der Schweiz (MLS)</h3> | ||
<p>Warum ein neues Musiklexikon? Die Schweiz verfügt im Gegensatz zu anderen europäischen Ländern über kein modernes Nachschlagewerk zur Musikgeschichte. Die bestehenden Lexika sind veraltet und werden der Vielfalt und dem Reichtum des Musiklebens der Schweiz nicht gerecht. Ein neues, wissenschaftlich fundiertes Musiklexikon wird schon seit Jahrzehnten verlangt. Diese Forderung nach fundiertem Wissen über die Schweizer Musik hat mit dem 2012 in die Bundesverfassung aufgenommenen Artikel 67a zur Stärkung der musikalischen Bildung eine neue Aktualität gewonnen: Um die neue Verfassungsbestimmung umzusetzen braucht es ein zeitgemässes Informationssystem zur Schweizer Musikgeschichte auf wissenschaftlicher Basis.</p> | ||
|
||
<div class="index"> | ||
<button mat-raised-button color="accent" class="index-btn" routerLink="/lexika">Lexikon</button> | ||
<button mat-raised-button color="accent" class="index-btn" routerLink="/lemmata">Lemmata</button> | ||
<button mat-raised-button color="accent" class="index-btn" routerLink="/artikel">Artikel</button> | ||
<div class="index" fxLayout="row" fxLayout.lt-sm="column" fxLayoutAlign="center" fxLayoutGap="3%"> | ||
<button fxFlex mat-raised-button color="accent" class="index-btn" routerLink="/lexika">Lexikon</button> | ||
<button fxFlex mat-raised-button color="accent" class="index-btn" routerLink="/lemmata">Lemmata</button> | ||
<button fxFlex mat-raised-button color="accent" class="index-btn" routerLink="/artikel">Artikel</button> | ||
</div> | ||
|
||
<div class="sub-index"> | ||
<button mat-stroked-button color="accent" class="sub-index-btn" routerLink="/bibliothek">Bibliothek</button> | ||
<button mat-stroked-button color="accent" class="sub-index-btn" routerLink="/ort">Ort</button> | ||
<button mat-stroked-button color="accent" class="sub-index-btn" routerLink="/taetigkeit">Tätigkeit</button> | ||
<button mat-stroked-button color="accent" class="sub-index-btn" routerLink="/">Exemplar</button> | ||
<div class="sub-index" fxLayout="row" fxLayout.lt-sm="column" fxLayoutAlign="center" fxLayoutGap="3%"> | ||
<button fxFlex mat-stroked-button color="accent" class="sub-index-btn" routerLink="/bibliothek">Bibliothek</button> | ||
<button fxFlex mat-stroked-button color="accent" class="sub-index-btn" routerLink="/ort">Ort</button> | ||
<button fxFlex mat-stroked-button color="accent" class="sub-index-btn" routerLink="/taetigkeit">Tätigkeit</button> | ||
<button fxFlex mat-stroked-button color="accent" class="sub-index-btn" routerLink="/">Exemplar</button> | ||
</div> | ||
|
||
</div> |
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 |
---|---|---|
@@ -1,20 +1,30 @@ | ||
.mls-intro { | ||
text-align: center; | ||
width: 560px; | ||
// desktop screen size: bigger than a tablet | ||
@media screen and (min-width: 768px) { | ||
.mls-intro { | ||
text-align: center; | ||
width: 560px; | ||
} | ||
|
||
.mls-logo { | ||
width: 300px; | ||
} | ||
} | ||
|
||
// mobile device: tablet and smaller than a tablet | ||
@media screen and (max-width: 768px) { | ||
.mls-intro { | ||
text-align: center; | ||
} | ||
.mls-logo { | ||
max-width: 100%; | ||
max-height: auto; | ||
} | ||
} | ||
|
||
.index { | ||
margin-top: 72px; | ||
} | ||
.index-btn { | ||
margin-right: 24px; | ||
margin-left: 24px; | ||
} | ||
|
||
.sub-index { | ||
margin-top: 48px; | ||
} | ||
|
||
.sub-index-btn { | ||
margin-right: 8px; | ||
margin-left: 8px; | ||
} |
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 |
---|---|---|
@@ -1,4 +1,3 @@ | ||
|
||
.hidden { | ||
display: none; | ||
} | ||
|
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
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 @@ | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.