Skip to content

Commit

Permalink
import scully in app
Browse files Browse the repository at this point in the history
  • Loading branch information
Nhan NQ committed Sep 14, 2020
1 parent d0b09cb commit d43cbe5
Show file tree
Hide file tree
Showing 9 changed files with 177 additions and 150 deletions.
197 changes: 138 additions & 59 deletions .firebase/hosting.ZGlzdC9zdGF0aWM.cache

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@
"tslint": "~6.1.0",
"typescript": "~4.0.2"
}
}
}
18 changes: 18 additions & 0 deletions scully.log
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,21 @@ Using stored unhandled routes!.
To discover new routes in the angular app use "npm run scully -- --scanRoutes"
----------------------------------The file ./blog/.DS_Store has extension that has no plugin defined, scully will skip this file.


----------------------------------
Using stored unhandled routes!.
To discover new routes in the angular app use "npm run scully -- --scanRoutes"
----------------------------------The file ./blog/.DS_Store has extension that has no plugin defined, scully will skip this file.


----------------------------------
Using stored unhandled routes!.
To discover new routes in the angular app use "npm run scully -- --scanRoutes"
----------------------------------The file ./blog/.DS_Store has extension that has no plugin defined, scully will skip this file.


----------------------------------
Using stored unhandled routes!.
To discover new routes in the angular app use "npm run scully -- --scanRoutes"
----------------------------------The file ./blog/.DS_Store has extension that has no plugin defined, scully will skip this file.

2 changes: 1 addition & 1 deletion src/app/app-routing.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const routes: Routes = [
];

@NgModule({
imports: [RouterModule.forRoot(routes)],
imports: [RouterModule.forRoot(routes, {scrollPositionRestoration: 'enabled'})],
exports: [RouterModule]
})
export class AppRoutingModule { }
4 changes: 3 additions & 1 deletion src/app/app.module.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { ScullyLibModule } from '@scullyio/ng-lib';
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';

Expand All @@ -9,7 +10,8 @@ import { AppComponent } from './app.component';
],
imports: [
BrowserModule,
AppRoutingModule
AppRoutingModule,
ScullyLibModule
],
bootstrap: [AppComponent]
})
Expand Down
4 changes: 1 addition & 3 deletions src/app/features/blog/blog.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { FormsModule } from '@angular/forms';
import { FaIconLibrary, FontAwesomeModule } from '@fortawesome/angular-fontawesome';
import { faHome, faSearch } from '@fortawesome/free-solid-svg-icons';
import { NgbCollapseModule } from '@ng-bootstrap/ng-bootstrap';
import { ScullyLibModule } from '@scullyio/ng-lib';
import { BlogAboutComponent } from './blog-about/blog-about.component';
import { BlogCategoriesComponent } from './blog-categories/blog-categories.component';
import { BlogFiltersInfoComponent } from './blog-filters-info/blog-filters-info.component';
Expand Down Expand Up @@ -38,8 +37,7 @@ import { BlogComponent } from './blog.component';
BlogRoutingModule,
NgbCollapseModule,
FormsModule,
FontAwesomeModule,
ScullyLibModule
FontAwesomeModule
]
})
export class BlogModule {
Expand Down
2 changes: 1 addition & 1 deletion src/app/features/portfolio/about/about.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ <h1 class="mb-0">
{{SITE_CONFIG.PORTFOLIO_DESC}}
</p>
<p class="lead mb-5">
Contact for work:
<strong>Contact for work: </strong>
<a [href]="'mailto:'+SITE_CONFIG.EMAIL">{{SITE_CONFIG.EMAIL}}</a>
</p>

Expand Down
18 changes: 14 additions & 4 deletions src/app/features/portfolio/about/about.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ $orange: #bd5d38;
// Override Bootstrap default state colors
$primary: $orange;

h1 {
font-size: 4rem;
}

section.resume-section {
display: flex;
align-items: center;
Expand All @@ -17,10 +21,16 @@ section.resume-section {
width: 100%;
}
}


@include media-breakpoint-up(md) {
section.resume-section {
min-height: 100vh;
}

h1 {
font-size: 6rem;
}
}

@include media-breakpoint-up(lg) {
Expand All @@ -37,13 +47,13 @@ section.resume-section {
display: inline-flex;
align-items: center;
justify-content: center;
height: 3.5rem;
width: 3.5rem;
height: 3rem;
width: 3rem;
background-color: $gray-700;
color: $white;
border-radius: 100%;
font-size: 1.5rem;
margin-right: 1.5rem;
font-size: 1.2rem;
margin-right: 0.7rem;
&:last-child {
margin-right: 0;
}
Expand Down
80 changes: 0 additions & 80 deletions src/styles/highlightjs-dracula-them.scss

This file was deleted.

0 comments on commit d43cbe5

Please sign in to comment.