fix: change links in config.json and remove unused component
MODIFY
src/app/services/footer/footer.service.ts
src/app/services/footer/footer.service.ts
@@ -10,13 +10,7 @@ import { TranslateService } from '@ngx-translate/core';
export class FooterService {
footer: IFooter;
- links: ILink[] = [
- {
- name: 'Apiman',
- link: 'https://www.apiman.io/',
- openInNewTab: true,
- },
- ];
+ links: ILink[] = [];
constructor(private configService: ConfigService) {
this.footer = this.initLinks();

DELETE
src/app/src/app/components/toc/toc.component.html
-<p>toc works!</p>

DELETE
src/app/src/app/components/toc/toc.component.scss
src/app/src/app/components/toc/toc.component.scss
DELETE
src/app/src/app/components/toc/toc.component.spec.ts
-import { ComponentFixture, TestBed } from '@angular/core/testing';
-
-import { TocComponent } from './toc.component';
-
-describe('TocComponent', () => {
- let component: TocComponent;
- let fixture: ComponentFixture<TocComponent>;
-
- beforeEach(async () => {
- await TestBed.configureTestingModule({
- declarations: [ TocComponent ]
- })
- .compileComponents();
- });
-
- beforeEach(() => {
- fixture = TestBed.createComponent(TocComponent);
- component = fixture.componentInstance;
- fixture.detectChanges();
- });
-
- it('should create', () => {
- expect(component).toBeTruthy();
- });
-});

DELETE
src/app/src/app/components/toc/toc.component.ts
-import { Component, OnInit } from '@angular/core';
-
-@Component({
- selector: 'app-toc',
- templateUrl: './toc.component.html',
- styleUrls: ['./toc.component.scss']
-})
-export class TocComponent implements OnInit {
-
- constructor() { }
-
- ngOnInit(): void {
- }
-
-}

MODIFY
src/assets/config.json
src/assets/config.json
"showHomeLink": true,
"links": [
{
- "name": "Puppy Link",
- "link": "https://pbs.twimg.com/profile_images/704447240216051712/mTel0Q49_400x400.jpg",
+ "name": "Support",
+ "link": "https://support.scheer-pas.com/portal",
"openInNewTab": true
}
],
"footer": {
"links": [
{
- "name": "Scheer PAS",
- "link": "https://www.scheer-pas.com/",
- "openInNewTab": false
- },
- {
- "name": "Github",
- "link": "https://www.github.com/",
+ "name": "Apiman",
+ "link": "https://www.apiman.io/",
"openInNewTab": true
},
{
- "name": "Keybase",
- "link": "https://keybase.io/",
+ "name": "Scheer PAS",
+ "link": "https://www.scheer-pas.com/",
"openInNewTab": true
}
],
},
"terms": {
"enabled": true,
+ "termsTextBoxEnabled": true,
"termsLink": "https://www.apache.org/licenses/LICENSE-2.0",
"privacyLink": "https://www.apache.org/licenses/LICENSE-2.0"
}

fix: change links in config.json and remove unused component