add home, header & footer components
This commit is contained in:
3
src/app/footer/footer.component.html
Normal file
3
src/app/footer/footer.component.html
Normal file
@@ -0,0 +1,3 @@
|
||||
<footer>
|
||||
<p>© 2025 Chagarlamudi.net. Made by Raghu Chagarlamudi.</p>
|
||||
</footer>
|
||||
6
src/app/footer/footer.component.scss
Normal file
6
src/app/footer/footer.component.scss
Normal file
@@ -0,0 +1,6 @@
|
||||
:host {
|
||||
p {
|
||||
padding: 8px 16px;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
23
src/app/footer/footer.component.spec.ts
Normal file
23
src/app/footer/footer.component.spec.ts
Normal file
@@ -0,0 +1,23 @@
|
||||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { FooterComponent } from './footer.component';
|
||||
|
||||
describe('FooterComponent', () => {
|
||||
let component: FooterComponent;
|
||||
let fixture: ComponentFixture<FooterComponent>;
|
||||
|
||||
beforeEach(async () => {
|
||||
await TestBed.configureTestingModule({
|
||||
imports: [FooterComponent]
|
||||
})
|
||||
.compileComponents();
|
||||
|
||||
fixture = TestBed.createComponent(FooterComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
10
src/app/footer/footer.component.ts
Normal file
10
src/app/footer/footer.component.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { Component } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
standalone: true,
|
||||
selector: 'app-footer',
|
||||
imports: [],
|
||||
templateUrl: './footer.component.html',
|
||||
styleUrl: './footer.component.scss',
|
||||
})
|
||||
export class FooterComponent {}
|
||||
Reference in New Issue
Block a user