Skip to content

Commit

Permalink
landing: refactor footer component (fixes #7180) (#7181)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mutugiii authored Jul 25, 2023
1 parent fdf6213 commit 3799137
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 34 deletions.
35 changes: 35 additions & 0 deletions src/app/landing/landing-footer.component.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
import { Component } from '@angular/core';

@Component({
selector: 'planet-landing-footer',
template: `
<div class="image-card">
<img src="assets/landing-page/logos/ole.svg" width="100" height="100" alt="ole-logo" />
<img src="assets/landing-page/logos/uaiki.svg" width="100" height="100" alt="uaiki-logo" />
<img src="assets/landing-page/logos/onu.svg" width="100" height="100" alt="onu-logo" />
<img src="assets/landing-page/logos/usaid.svg" width="100" height="100" alt="usaid-logo" />
</div>
`,
styles: [ `
.image-card {
display: flex;
background: #F4F4F4;
justify-content: space-around;
width: 100%;
flex-wrap: wrap;
padding: 8px;
& img {
margin: 12px;
max-height: 50px;
width: auto;
};
position: absolute;
bottom: 0;
min-height: 5.5rem;
}
` ]
})

export class LandingFooterComponent {

}
6 changes: 0 additions & 6 deletions src/app/landing/landing-footer/landing-footer.component.html

This file was deleted.

11 changes: 0 additions & 11 deletions src/app/landing/landing-footer/landing-footer.component.ts

This file was deleted.

16 changes: 0 additions & 16 deletions src/app/landing/landing-footer/landing-footer.scss

This file was deleted.

2 changes: 1 addition & 1 deletion src/app/landing/landing.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { LandingComponent } from './landing.component';
import { LandingNavbarComponent } from './landing-nav/landing-nav.component';
import { LandingHeroComponent } from './landing-hero/landing-hero.component';
import { LandingHomeComponent } from './landing-home/landing-home.component';
import { LandingFooterComponent } from './landing-footer/landing-footer.component';
import { LandingFooterComponent } from './landing-footer.component';
import { LandingNewsComponent } from './landing-home/landing-news/landing-news.component';
import { NewsCardItemComponent } from './landing-home/landing-news/newscard-item/newscard-item.component';
import { NewsItemDetailsComponent } from './landing-home/landing-news/newsitem-detail/newsitem-detail.component';
Expand Down

0 comments on commit 3799137

Please sign in to comment.