Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: theme and navigation enhancements #3

Merged
merged 19 commits into from
Jul 29, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat: add base card component
Guilhermeasper committed Jul 29, 2024
commit f75f88b95377940b7197277df8fc799cdd9c2e52
1 change: 1 addition & 0 deletions src/app/components/base-card/base-card.component.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<ng-content></ng-content>
16 changes: 16 additions & 0 deletions src/app/components/base-card/base-card.component.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
:host {
display: flex;
flex-direction: column;
gap: 16px;
background-color: var(--secondary-background-color);
padding: 32px;
border-radius: 20px;
width: 100%;
height: 100%;
box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.12);

@media screen and (max-width: 768px) {
padding: 16px;
width: 100%;
}
}
14 changes: 14 additions & 0 deletions src/app/components/base-card/base-card.component.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { CommonModule } from '@angular/common';
import { ChangeDetectionStrategy, Component } from '@angular/core';

@Component({
selector: 'app-base-card',
standalone: true,
imports: [
CommonModule,
],
templateUrl: './base-card.component.html',
styleUrls: ['./base-card.component.scss'],
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class BaseCardComponent { }