From e01ab449cf6916a662faba98cafc1fea07d5578d Mon Sep 17 00:00:00 2001 From: hunicus <93150691+hunicus@users.noreply.github.com> Date: Thu, 16 Dec 2021 18:24:26 -0500 Subject: [PATCH] Add skeleton for mobile docs nav --- frontend/src/app/app.module.ts | 5 ++- .../components/docs/api-docs.component.html | 15 ++++++- .../components/docs/api-docs.component.scss | 39 +++++++++++++++++-- .../app/components/docs/api-docs.component.ts | 11 +++--- 4 files changed, 58 insertions(+), 12 deletions(-) diff --git a/frontend/src/app/app.module.ts b/frontend/src/app/app.module.ts index 21b00bb4b..887460bdd 100644 --- a/frontend/src/app/app.module.ts +++ b/frontend/src/app/app.module.ts @@ -47,7 +47,7 @@ import { FeesBoxComponent } from './components/fees-box/fees-box.component'; import { DashboardComponent } from './dashboard/dashboard.component'; import { FontAwesomeModule, FaIconLibrary } from '@fortawesome/angular-fontawesome'; import { faFilter, faAngleDown, faAngleUp, faAngleRight, faAngleLeft, faBolt, faChartArea, faCogs, faCubes, faDatabase, faExchangeAlt, faInfoCircle, - faLink, faList, faSearch, faCaretUp, faCaretDown, faTachometerAlt, faThList, faTint, faTv, faAngleDoubleDown, faSortUp, faAngleDoubleUp, faChevronDown, faFileAlt, faRedoAlt, faArrowAltCircleRight, faExternalLinkAlt, faBook } from '@fortawesome/free-solid-svg-icons'; + faLink, faList, faSearch, faCaretUp, faCaretDown, faTachometerAlt, faThList, faTint, faTv, faAngleDoubleDown, faSortUp, faAngleDoubleUp, faChevronDown, faFileAlt, faRedoAlt, faArrowAltCircleRight, faExternalLinkAlt, faBook, faListUl } from '@fortawesome/free-solid-svg-icons'; import { ApiDocsComponent } from './components/docs/api-docs.component'; import { DocsComponent } from './components/docs/docs.component'; import { CodeTemplateComponent } from './components/docs/code-template.component'; @@ -58,6 +58,7 @@ import { StorageService } from './services/storage.service'; import { HttpCacheInterceptor } from './services/http-cache.interceptor'; import { SponsorComponent } from './components/sponsor/sponsor.component'; import { PushTransactionComponent } from './components/push-transaction/push-transaction.component'; +import { NgbModule } from '@ng-bootstrap/ng-bootstrap'; @NgModule({ declarations: [ @@ -109,6 +110,7 @@ import { PushTransactionComponent } from './components/push-transaction/push-tra BrowserAnimationsModule, InfiniteScrollModule, NgbTypeaheadModule, + NgbModule, FontAwesomeModule, SharedModule, NgxEchartsModule.forRoot({ @@ -159,5 +161,6 @@ export class AppModule { library.addIcons(faAngleRight); library.addIcons(faAngleLeft); library.addIcons(faBook); + library.addIcons(faListUl); } } diff --git a/frontend/src/app/components/docs/api-docs.component.html b/frontend/src/app/components/docs/api-docs.component.html index f196b2fc1..a9821375d 100644 --- a/frontend/src/app/components/docs/api-docs.component.html +++ b/frontend/src/app/components/docs/api-docs.component.html @@ -3,7 +3,7 @@