-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
115 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
.team-carousel-caption{ | ||
display: none; | ||
} | ||
|
||
.team-carousel .teamImg:hover{ | ||
background-color: black; | ||
border-radius: 12px !important; | ||
} | ||
|
||
.team-carousel .teamImg:hover img{ | ||
opacity: 0.5; | ||
cursor: pointer; | ||
} | ||
|
||
.team-carousel .teamImg:hover .team-carousel-caption{ | ||
display: block; | ||
} | ||
|
||
.team-carousel .teamImg:hover .team-carousel-caption>p{ | ||
color: white; | ||
font-weight: bold; | ||
font-size: large; | ||
} | ||
|
||
@media screen and (max-width:1024px){ | ||
.team-carousel img{ | ||
height: 80%; | ||
} | ||
|
||
.team-carousel .teamImg:hover .team-carousel-caption{ | ||
padding-bottom: 20px !important; | ||
text-align: center; | ||
} | ||
} |
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,19 @@ | ||
<div class="section team-carousel" id="carousel"> | ||
<div class="container"> | ||
<div class="col-md-auto"> | ||
<h2 class="title">Our Team</h2> | ||
</div> | ||
<div class="page-carousel col-md-7 ml-auto mr-auto"> | ||
<ngb-carousel> | ||
<ng-template ngbSlide #teamImg *ngFor="let teamPic of teamCarousel"> | ||
<div class="teamImg"> | ||
<img src="./assets/img/{{teamPic.image}}" alt="Team gatherings"> | ||
<div class="carousel-caption team-carousel-caption"> | ||
<p>{{teamPic.description}}</p> | ||
</div> | ||
</div> | ||
</ng-template> | ||
</ngb-carousel> | ||
</div> | ||
</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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; | ||
import { CarouselComponent } from './carousel.component'; | ||
|
||
describe('CarouselComponent', () => { | ||
let component: CarouselComponent; | ||
let fixture: ComponentFixture<CarouselComponent>; | ||
|
||
beforeEach(async(() => { | ||
TestBed.configureTestingModule({ | ||
declarations: [ CarouselComponent ] | ||
}) | ||
.compileComponents(); | ||
})); | ||
|
||
beforeEach(() => { | ||
fixture = TestBed.createComponent(CarouselComponent); | ||
component = fixture.componentInstance; | ||
fixture.detectChanges(); | ||
}); | ||
|
||
it('should create', () => { | ||
expect(component).toBeTruthy(); | ||
}); | ||
}); |
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,18 @@ | ||
import { Component, OnInit } from '@angular/core'; | ||
import teamImages from '../../../assets/json/teamCarousel.json'; | ||
|
||
@Component({ | ||
selector: 'app-carousel', | ||
templateUrl: './carousel.component.html', | ||
styleUrls: ['./carousel.component.css'] | ||
}) | ||
export class CarouselComponent implements OnInit { | ||
|
||
constructor() { } | ||
|
||
ngOnInit(): void { | ||
} | ||
|
||
teamCarousel: any = teamImages; | ||
|
||
} |
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,14 @@ | ||
[ | ||
{ | ||
"image": "teamPic1.jpg", | ||
"description": "Team Gatherings . . ." | ||
}, | ||
{ | ||
"image": "teamPic2.jpg", | ||
"description": "Our Team presenting Sertum Robot in an exhibition . . ." | ||
}, | ||
{ | ||
"image": "teamPic3.jpg", | ||
"description": "Team working on a website . . ." | ||
} | ||
] |