-
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.
about page: humble beginnings (#197)
* The beginnings of the About page * Updated PinkPalette with some Pantone TCX colors * Updated about.component.html * fixed build
- Loading branch information
1 parent
a9fd650
commit b04300d
Showing
10 changed files
with
239 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { NgModule } from '@angular/core'; | ||
import { RouterModule, Routes } from '@angular/router'; | ||
import { AboutComponent } from 'src/app/pages/about/about.component'; | ||
|
||
const routes: Routes = [ | ||
{ | ||
path: '', | ||
component: AboutComponent, | ||
}, | ||
]; | ||
|
||
@NgModule({ | ||
imports: [ RouterModule.forChild(routes) ], | ||
exports: [ RouterModule ] | ||
}) | ||
export class AboutRoutingModule { } |
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,45 @@ | ||
<mat-card class="about-me"> | ||
<mat-card-header> | ||
<mat-card-title> | ||
<div mat-card-avatar title="Its me! Well, you probably don't think so, but I sure do."></div> | ||
<!-- <img mat-card-image src="https://lh3.googleusercontent.com/a-/AOh14GjpIqEggqEXg631mIKBfdJ6mne8ZWgcG8HgILWMQg=s0"--> | ||
<!-- alt="Its me! Well, you probably don't think so, but I sure do.">--> | ||
<dyslexic-text [text]="'About Me'"></dyslexic-text> | ||
</mat-card-title> | ||
</mat-card-header> | ||
<mat-card-content> | ||
|
||
<mat-card> | ||
<mat-card-content> | ||
<div>{</div> | ||
<div><dyslexic-text [text]="'name: Nathaniel Holden'"></dyslexic-text></div> | ||
<div><dyslexic-text [text]="'title: Software Engineer'"></dyslexic-text></div> | ||
<div><dyslexic-text [text]="'location: Upstate New York'"></dyslexic-text></div> | ||
<div>}</div> | ||
</mat-card-content> | ||
</mat-card> | ||
|
||
<p> | ||
<dyslexic-text [text]="'When you hit the gong, it sends a message to an arduino listener that strikes the gong.'"></dyslexic-text> | ||
</p> | ||
</mat-card-content> | ||
</mat-card> | ||
|
||
<!--<mat-card>--> | ||
<!-- <mat-card-header>--> | ||
<!-- <mat-icon [svgIcon]="GongIcon"></mat-icon>--> | ||
<!-- <mat-card-title>--> | ||
<!-- <dyslexic-text [text]="'gong'" [suffix]="'.io'"></dyslexic-text>--> | ||
<!-- </mat-card-title>--> | ||
<!-- </mat-card-header>--> | ||
<!-- <mat-card-content>--> | ||
<!-- <img mat-card-image src="https://images.reverb.com/image/upload/s--h6GEum9o--/f_auto,t_large/v1580782954/kxhgkqs4mfgopbbpg43b.jpg"--> | ||
<!-- alt="Its me! Well, you probably don't think so, but I sure do.">--> | ||
<!-- <p>--> | ||
<!-- <dyslexic-text [text]="'The gong is real. It is a real gong.'"></dyslexic-text>--> | ||
<!-- </p>--> | ||
<!-- <p>--> | ||
<!-- <dyslexic-text [text]="'When you hit the gong, it sends a message to an arduino listener that strikes the gong.'"></dyslexic-text>--> | ||
<!-- </p>--> | ||
<!-- </mat-card-content>--> | ||
<!--</mat-card>--> |
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,46 @@ | ||
:host { | ||
display: flex; | ||
flex-flow: row wrap; | ||
justify-content: space-around; | ||
|
||
height: 100%; | ||
width: 100%; | ||
overflow: auto; | ||
|
||
.mat-card-header { | ||
width: 100%; | ||
|
||
.mat-card-title { | ||
justify-content: space-around; | ||
|
||
dyslexic-text { | ||
width: 100%; | ||
text-align: center; | ||
font-size: 48px; | ||
} | ||
} | ||
} | ||
|
||
.mat-card-avatar { | ||
background-image: url('https://lh3.googleusercontent.com/a-/AOh14GjpIqEggqEXg631mIKBfdJ6mne8ZWgcG8HgILWMQg=s0'); | ||
background-size: cover; | ||
display: inline-flex; | ||
width: 10rem; | ||
height: 10rem; | ||
} | ||
|
||
mat-card { | ||
min-width: 300px; | ||
flex-grow: 1; | ||
} | ||
|
||
.about-me { | ||
flex-basis: 15%; | ||
} | ||
|
||
mat-icon { | ||
order: -1; | ||
height: 2.5rem; | ||
width: 2.5rem; | ||
} | ||
} |
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,25 @@ | ||
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; | ||
|
||
import { AboutComponent } from './about.component'; | ||
|
||
describe('AboutComponent', () => { | ||
let component: AboutComponent; | ||
let fixture: ComponentFixture<AboutComponent>; | ||
|
||
beforeEach(async(() => { | ||
TestBed.configureTestingModule({ | ||
declarations: [ AboutComponent ] | ||
}) | ||
.compileComponents(); | ||
})); | ||
|
||
beforeEach(() => { | ||
fixture = TestBed.createComponent(AboutComponent); | ||
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, OnInit } from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'app-about', | ||
templateUrl: './about.component.html', | ||
styleUrls: [ './about.component.scss' ] | ||
}) | ||
export class AboutComponent implements OnInit { | ||
|
||
constructor() { | ||
} | ||
|
||
ngOnInit(): void { | ||
} | ||
|
||
} |
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 @@ | ||
import { NgModule } from '@angular/core'; | ||
import { CoreModule } from 'src/app/core/core.module'; | ||
import { DyslexicTextModule } from 'src/app/features/dyslexic-text/dyslexic-text.module'; | ||
import { AboutRoutingModule } from 'src/app/pages/about/about-routing.module'; | ||
import { AboutComponent } from 'src/app/pages/about/about.component'; | ||
|
||
@NgModule({ | ||
declarations: [ | ||
AboutComponent, | ||
], | ||
imports: [ | ||
CoreModule, | ||
DyslexicTextModule, | ||
], | ||
exports: [ | ||
AboutRoutingModule, | ||
], | ||
}) | ||
export class AboutModule { } |
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,31 @@ | ||
:host { | ||
display: flex; | ||
flex-flow: row wrap; | ||
justify-content: space-around; | ||
|
||
height: 100%; | ||
width: 100%; | ||
overflow: auto; | ||
|
||
mat-card { | ||
min-width: 300px; | ||
flex-grow: 1; | ||
} | ||
|
||
mat-card-header { | ||
height: 0; | ||
position: -webkit-sticky; /* Safari */ | ||
position: sticky; | ||
top: 1rem; | ||
} | ||
|
||
.project-stack { | ||
flex-basis: 15%; | ||
} | ||
|
||
mat-icon { | ||
order: -1; | ||
height: 2.5rem; | ||
width: 2.5rem; | ||
} | ||
} |
32 changes: 32 additions & 0 deletions
32
src/app/pages/page-not-found/page-not-found.component.scss
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,32 @@ | ||
:host { | ||
> mat-card { | ||
max-width: 800px; | ||
margin: 5rem auto; | ||
|
||
> mat-card-content { | ||
display: flex; | ||
flex-flow: column nowrap; | ||
align-items: center; | ||
justify-content: center; | ||
|
||
> mat-icon { | ||
width: 15rem; | ||
height: 15rem; | ||
|
||
animation-name: ckw; | ||
animation-duration: 5s; | ||
animation-iteration-count: infinite; | ||
transform-origin: 50% 50%; | ||
} | ||
} | ||
} | ||
} | ||
|
||
@keyframes ckw { | ||
0% { | ||
transform: rotate(0deg); | ||
} | ||
100% { | ||
transform: rotate(360deg); | ||
} | ||
} |