diff --git a/src/app/components/card/card.html b/src/app/components/card/card.html new file mode 100644 index 0000000..695de86 --- /dev/null +++ b/src/app/components/card/card.html @@ -0,0 +1,3 @@ +
+ +
\ No newline at end of file diff --git a/src/app/components/card/card.scss b/src/app/components/card/card.scss new file mode 100644 index 0000000..7cd4e94 --- /dev/null +++ b/src/app/components/card/card.scss @@ -0,0 +1,11 @@ +.card { + max-width: 1100px; + margin: 0 auto; +} + +.shadow { + -webkit-box-shadow: 0px 2px 9px 0px rgba(0, 0, 0, 0.7); + -moz-box-shadow: 0px 2px 9px 0px rgba(0, 0, 0, 0.7); + box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.5); + border-radius: 10px; +} diff --git a/src/app/components/card/card.spec.ts b/src/app/components/card/card.spec.ts new file mode 100644 index 0000000..e3e5332 --- /dev/null +++ b/src/app/components/card/card.spec.ts @@ -0,0 +1,23 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { Card } from './card'; + +describe('Card', () => { + let component: Card; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + imports: [Card] + }) + .compileComponents(); + + fixture = TestBed.createComponent(Card); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/src/app/components/card/card.ts b/src/app/components/card/card.ts new file mode 100644 index 0000000..6c01f7c --- /dev/null +++ b/src/app/components/card/card.ts @@ -0,0 +1,11 @@ +import { Component, input } from '@angular/core'; + +@Component({ + selector: 'app-card', + imports: [], + templateUrl: './card.html', + styleUrl: './card.scss', +}) +export class Card { + bgColor = input('white'); +}