Adding chat GPT - only tab
This commit is contained in:
parent
3e03d591ac
commit
3865ae867a
|
|
@ -1,7 +1,8 @@
|
|||
<nav class="navbar navbar-expand-lg navbar-dark bg-dark sticky-top">
|
||||
| <a class="navbar-brand" href="/aboutMe">O mnie</a>
|
||||
| <a class="navbar-brand" href="/about-me">O mnie</a>
|
||||
| <a class="navbar-brand" href="/quotes">Kursy</a>
|
||||
| <a class="navbar-brand" href="/asset-calculator">Kalkulator</a>
|
||||
| <a class="navbar-brand" href="/chat-gpt">ChatGPT</a>
|
||||
</nav>
|
||||
|
||||
<router-outlet />
|
||||
|
|
|
|||
|
|
@ -2,18 +2,25 @@ import { Routes } from '@angular/router';
|
|||
import { DashboardComponent } from './components/dashboard/dashboard.component';
|
||||
import { AssetCalculatorComponent } from './asset-calculator/asset-calculator.component';
|
||||
import { AboutMeComponent } from './about-me/about-me.component';
|
||||
import { ChatGPTComponent } from './chat-gpt/chat-gpt.component';
|
||||
|
||||
export const routes: Routes = [
|
||||
{ path: "",
|
||||
title: "Kalkulator amprtyzacyjny",
|
||||
component:AssetCalculatorComponent },
|
||||
{ path: "aboutMe",
|
||||
{ path: "about-me",
|
||||
title:"O mnie",
|
||||
component: AboutMeComponent },
|
||||
{ path: "asset-calculator",
|
||||
title: "Kalkulator amortyzacyjny",
|
||||
component:AssetCalculatorComponent },
|
||||
{ path: "quotes",
|
||||
title:"Kursy!",
|
||||
component: DashboardComponent }
|
||||
title:"Kursy podstawowych walut i złota",
|
||||
component: DashboardComponent
|
||||
},
|
||||
{
|
||||
path: "chat-gpt",
|
||||
title:"Chat GPT",
|
||||
component: ChatGPTComponent
|
||||
}
|
||||
];
|
||||
|
|
|
|||
|
|
@ -0,0 +1,4 @@
|
|||
<div class="container align-center mt-5">
|
||||
<h1><p>Witam!</p><p> Prace z chat GPT w toku.</p>
|
||||
Już wkrótce będzie można pogadać ze AI!</h1>
|
||||
</div>
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { ChatGPTComponent } from './chat-gpt.component';
|
||||
|
||||
describe('ChatGPTComponent', () => {
|
||||
let component: ChatGPTComponent;
|
||||
let fixture: ComponentFixture<ChatGPTComponent>;
|
||||
|
||||
beforeEach(async () => {
|
||||
await TestBed.configureTestingModule({
|
||||
imports: [ChatGPTComponent]
|
||||
})
|
||||
.compileComponents();
|
||||
|
||||
fixture = TestBed.createComponent(ChatGPTComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
import { Component } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-chat-gpt',
|
||||
standalone: true,
|
||||
imports: [],
|
||||
templateUrl: './chat-gpt.component.html',
|
||||
styleUrl: './chat-gpt.component.css'
|
||||
})
|
||||
export class ChatGPTComponent {
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue