-
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.
Amended alginment issue, added mentors sectiona and added mentor comp…
…onent
- Loading branch information
Showing
12 changed files
with
125 additions
and
3 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 |
---|---|---|
|
@@ -3,3 +3,4 @@ | |
<app-team-formation-section /> | ||
<app-details /> | ||
<app-judging-criteria-section /> | ||
<app-mentors-section /> |
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
5 changes: 3 additions & 2 deletions
5
kitahack-frontend/src/app/judging-criteria-section/judging-criteria-section.component.css
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
Empty file.
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,30 @@ | ||
<div | ||
class="relative w-80 p-4 my-14 mx-6 bg-white rounded-lg flex flex-col justify-center items-center shadow-md dark:bg-gray-700" | ||
> | ||
<div | ||
class="top-0 left-2/4 overflow-hidden absolute rounded-full w-38 h-38 shadow-xl -translate-x-1/2 -translate-y-1/2" | ||
> | ||
<img | ||
class="w-full aspect-square object-cover brightness-50 dark:brightness-100" | ||
src="https://media.tenor.com/_cL3US50IEUAAAAd/donkey-shrek-donkey.gif" | ||
alt="" | ||
/> | ||
</div> | ||
<p class="text-gray-700 mt-20 mb-2 font-bold text-xl dark:text-white"> | ||
To be announced | ||
</p> | ||
<p class="text-gray-700 font-normal dark:text-gray-400">TBA</p> | ||
<p | ||
class="text-gray-700 font-normal mt-4 px-2 text-justify dark:text-gray-400" | ||
> | ||
We are currently in the process of selecting and inviting the top mentors to | ||
join us at KitaHack. Keep an eye out for announcements on their names and | ||
expertise in the coming weeks. We can't wait to share their valuable | ||
insights and experiences with you! | ||
</p> | ||
<button | ||
class="mt-5 mb-2 bg-yellow-500 transition ease-in-out delay-50 hover:bg-white text-white hover:text-yellow-500 hover:border hover:border-yellow-700 font-bold py-2 px-4 rounded dark:hover:bg-gray-700 dark:hover:text-white dark:hover:border-white" | ||
> | ||
<a href="#">View Profile</a> | ||
</button> | ||
</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,23 @@ | ||
import { ComponentFixture, TestBed } from '@angular/core/testing'; | ||
|
||
import { MentorComponent } from './mentor.component'; | ||
|
||
describe('MentorComponent', () => { | ||
let component: MentorComponent; | ||
let fixture: ComponentFixture<MentorComponent>; | ||
|
||
beforeEach(async () => { | ||
await TestBed.configureTestingModule({ | ||
imports: [MentorComponent] | ||
}) | ||
.compileComponents(); | ||
|
||
fixture = TestBed.createComponent(MentorComponent); | ||
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,16 @@ | ||
import { Component, Input } from '@angular/core'; | ||
import { CommonModule } from '@angular/common'; | ||
|
||
@Component({ | ||
selector: 'app-mentor', | ||
standalone: true, | ||
imports: [CommonModule], | ||
templateUrl: './mentor.component.html', | ||
template:'<p>{{name}}</p><p>{{title}}</p><p>{{description}}</p>', | ||
styleUrl: './mentor.component.css' | ||
}) | ||
export class MentorComponent { | ||
@Input() name: string | undefined; | ||
@Input() title: string | undefined; | ||
@Input() description: string | undefined; | ||
} |
Empty file.
11 changes: 11 additions & 0 deletions
11
kitahack-frontend/src/app/mentors-section/mentors-section.component.html
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,11 @@ | ||
<h1 | ||
class="font-bold text-3xl md:text-5xl mt-20 mx-auto mb-6 justify-center text-center dark:text-white" | ||
> | ||
Mentors | ||
</h1> | ||
|
||
<section class="w-full flex flex-wrap justify-center items-center pt-10 px-4"> | ||
<app-mentor /> | ||
<app-mentor /> | ||
<app-mentor /> | ||
</section> |
23 changes: 23 additions & 0 deletions
23
kitahack-frontend/src/app/mentors-section/mentors-section.component.spec.ts
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,23 @@ | ||
import { ComponentFixture, TestBed } from '@angular/core/testing'; | ||
|
||
import { MentorsSectionComponent } from './mentors-section.component'; | ||
|
||
describe('MentorsSectionComponent', () => { | ||
let component: MentorsSectionComponent; | ||
let fixture: ComponentFixture<MentorsSectionComponent>; | ||
|
||
beforeEach(async () => { | ||
await TestBed.configureTestingModule({ | ||
imports: [MentorsSectionComponent] | ||
}) | ||
.compileComponents(); | ||
|
||
fixture = TestBed.createComponent(MentorsSectionComponent); | ||
component = fixture.componentInstance; | ||
fixture.detectChanges(); | ||
}); | ||
|
||
it('should create', () => { | ||
expect(component).toBeTruthy(); | ||
}); | ||
}); |
15 changes: 15 additions & 0 deletions
15
kitahack-frontend/src/app/mentors-section/mentors-section.component.ts
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,15 @@ | ||
import { Component } from '@angular/core'; | ||
import { CommonModule } from '@angular/common'; | ||
import { MentorComponent } from '../mentor/mentor.component'; | ||
|
||
@Component({ | ||
selector: 'app-mentors-section', | ||
standalone: true, | ||
imports: [CommonModule, | ||
MentorComponent], | ||
templateUrl: './mentors-section.component.html', | ||
styleUrl: './mentors-section.component.css' | ||
}) | ||
export class MentorsSectionComponent { | ||
|
||
} |