mirror of
https://github.com/danielvici/tool-website.git
synced 2026-01-17 01:21:25 +00:00
first site, and add navbar
This commit is contained in:
0
src/app/sites/startpage/startpage.css
Normal file
0
src/app/sites/startpage/startpage.css
Normal file
7
src/app/sites/startpage/startpage.html
Normal file
7
src/app/sites/startpage/startpage.html
Normal file
@@ -0,0 +1,7 @@
|
||||
<div class="text-white">
|
||||
|
||||
<h1 class="text-center">Moin Welt</h1>
|
||||
<p>TailwindCSS geht</p>
|
||||
|
||||
|
||||
</div>
|
||||
23
src/app/sites/startpage/startpage.spec.ts
Normal file
23
src/app/sites/startpage/startpage.spec.ts
Normal file
@@ -0,0 +1,23 @@
|
||||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { Startpage } from './startpage';
|
||||
|
||||
describe('Startpage', () => {
|
||||
let component: Startpage;
|
||||
let fixture: ComponentFixture<Startpage>;
|
||||
|
||||
beforeEach(async () => {
|
||||
await TestBed.configureTestingModule({
|
||||
imports: [Startpage]
|
||||
})
|
||||
.compileComponents();
|
||||
|
||||
fixture = TestBed.createComponent(Startpage);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
14
src/app/sites/startpage/startpage.ts
Normal file
14
src/app/sites/startpage/startpage.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import { Component } from '@angular/core';
|
||||
import {NgOptimizedImage} from '@angular/common';
|
||||
|
||||
@Component({
|
||||
selector: 'app-startpage',
|
||||
imports: [
|
||||
NgOptimizedImage
|
||||
],
|
||||
templateUrl: './startpage.html',
|
||||
styleUrl: './startpage.css',
|
||||
})
|
||||
export class Startpage {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user