diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 1dcd433..99d543d 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -70,6 +70,7 @@ import {MatSnackBarModule} from '@angular/material/snack-bar'; // import logo from 'src/assets/gv-new-logo.svg'; import logo from '!!raw-loader!./gv-new-logo-white.svg'; +import logo_green from '!!raw-loader!./gv-new-logo.svg'; const config: SocketIoConfig = { url: 'http://localhost:4444', options: {} }; @@ -162,6 +163,8 @@ const appRoutes: Routes = [ export class AppModule { constructor(iconRegistry: MatIconRegistry, sanitizer: DomSanitizer) { iconRegistry.addSvgIconLiteral( - 'logo', sanitizer.bypassSecurityTrustHtml(logo)); + 'logo', sanitizer.bypassSecurityTrustHtml(logo)); + iconRegistry.addSvgIconLiteral( + 'logo_green', sanitizer.bypassSecurityTrustHtml(logo_green)); } } diff --git a/src/app/components/about/about.component.html b/src/app/components/about/about.component.html index 1a31a56..13f59fa 100644 --- a/src/app/components/about/about.component.html +++ b/src/app/components/about/about.component.html @@ -5,7 +5,7 @@




Keep it clean and green!

@@ -65,8 +65,8 @@

We believe, that together we can do amazing things to protect our environment and keep it clean and green.

You aren't part of greenvironment yet? - join us now!

- Register + Register
- Login + Login
\ No newline at end of file diff --git a/src/app/components/about/about.component.sass b/src/app/components/about/about.component.sass index be12ffc..d8cea49 100644 --- a/src/app/components/about/about.component.sass +++ b/src/app/components/about/about.component.sass @@ -11,7 +11,6 @@ padding: 2em max-width: 100% min-height: 50% - background-color: mat-color($primary) #text1 padding: 2em diff --git a/src/app/components/feed/postlist/postlist.component.sass b/src/app/components/feed/postlist/postlist.component.sass index 431c00e..9ad0f8b 100644 --- a/src/app/components/feed/postlist/postlist.component.sass +++ b/src/app/components/feed/postlist/postlist.component.sass @@ -1,6 +1,7 @@ @import '../../../../styles/mixins.sass' @import '../../../../styles/vars.sass' +$mat-card-header-size: 40px !default .post box-sizing: border-box width: 100% @@ -11,6 +12,8 @@ margin-top: 10px .mat-card-subtitle display: contents + .mat-card-content + overflow: auto a:hover cursor: pointer #button-box @@ -25,19 +28,13 @@ padding: 0 margin: 0 margin-left: 8px + .profile-picture + border-radius: 50% + width: $mat-card-header-size + height: $mat-card-header-size .activity-info display: contents .span margin-left: 32px -$mat-card-header-size: 100px !default -.profile-picture - height: $mat-card-header-size - width: $mat-card-header-size - border-radius: 50% - flex-shrink: 0 - background-size: cover - transition-duration: 0.5s - z-index: 10 - object-fit: cover diff --git a/src/app/components/group/group.component.html b/src/app/components/group/group.component.html index 854b722..dadc9de 100644 --- a/src/app/components/group/group.component.html +++ b/src/app/components/group/group.component.html @@ -1,7 +1,7 @@
- +
{{groupProfile.name}} @@ -34,7 +34,7 @@
- +
{{groupProfile.name}} diff --git a/src/app/components/imprint/imprint.component.html b/src/app/components/imprint/imprint.component.html index 2828c76..d53a447 100644 --- a/src/app/components/imprint/imprint.component.html +++ b/src/app/components/imprint/imprint.component.html @@ -1,4 +1,4 @@ -Imprint +Imprint

The greenvironment network is being developed by the greenvironment team

Contact

diff --git a/src/app/components/main-navigation/main-navigation.component.html b/src/app/components/main-navigation/main-navigation.component.html index 586c6d4..80caa1f 100644 --- a/src/app/components/main-navigation/main-navigation.component.html +++ b/src/app/components/main-navigation/main-navigation.component.html @@ -7,9 +7,14 @@ fxShow="true" fxHide.gt-sm="true" fixedInViewport="false" autoFocus="false"> - Menu - - Hello, {{user.username}} + Menu + +
+ +
+
+ Hello, {{user.username}} +
Home @@ -27,7 +32,7 @@ - + - + + Greenvironment -