diff --git a/frontend/src/app/components/home/footer/footer.component.html b/frontend/src/app/components/home/footer/footer.component.html new file mode 100644 index 0000000..088dbb2 --- /dev/null +++ b/frontend/src/app/components/home/footer/footer.component.html @@ -0,0 +1,4 @@ + diff --git a/frontend/src/app/components/home/footer/footer.component.scss b/frontend/src/app/components/home/footer/footer.component.scss new file mode 100644 index 0000000..559ce76 --- /dev/null +++ b/frontend/src/app/components/home/footer/footer.component.scss @@ -0,0 +1,22 @@ +@import "./../../../../assets/style/colors.scss"; + +footer { + display: flex; + justify-content: center; + align-items: center; + position: fixed; + bottom: 0; + left: 0; + right: 0; + height: 88px; + padding: 12px; + p { + padding: 0 36px; + font-size: 18px; + font-weight: 500; + cursor: pointer; + &:hover { + text-decoration: underline; + } + } +} diff --git a/frontend/src/app/components/home/footer/footer.component.spec.ts b/frontend/src/app/components/home/footer/footer.component.spec.ts new file mode 100644 index 0000000..4647de8 --- /dev/null +++ b/frontend/src/app/components/home/footer/footer.component.spec.ts @@ -0,0 +1,23 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { FooterComponent } from './footer.component'; + +describe('FooterComponent', () => { + let component: FooterComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + imports: [FooterComponent] + }) + .compileComponents(); + + fixture = TestBed.createComponent(FooterComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/frontend/src/app/components/home/footer/footer.component.ts b/frontend/src/app/components/home/footer/footer.component.ts new file mode 100644 index 0000000..515bda6 --- /dev/null +++ b/frontend/src/app/components/home/footer/footer.component.ts @@ -0,0 +1,12 @@ +import { Component } from '@angular/core'; + +@Component({ + selector: 'app-footer', + standalone: true, + imports: [], + templateUrl: './footer.component.html', + styleUrl: './footer.component.scss' +}) +export class FooterComponent { + +} diff --git a/frontend/src/app/components/home/header/header.component.scss b/frontend/src/app/components/home/header/header.component.scss index 59ba990..ec14620 100644 --- a/frontend/src/app/components/home/header/header.component.scss +++ b/frontend/src/app/components/home/header/header.component.scss @@ -4,6 +4,10 @@ header { display: flex; justify-content: space-between; align-items: center; + position: fixed; + top: 0; + left: 0; + right: 0; height: 88px; padding: 10px 96px; } diff --git a/frontend/src/app/components/home/home.component.html b/frontend/src/app/components/home/home.component.html index 0ddcc39..5545272 100644 --- a/frontend/src/app/components/home/home.component.html +++ b/frontend/src/app/components/home/home.component.html @@ -1,3 +1,4 @@
+
diff --git a/frontend/src/app/components/home/home.component.ts b/frontend/src/app/components/home/home.component.ts index 819de42..11e44e8 100644 --- a/frontend/src/app/components/home/home.component.ts +++ b/frontend/src/app/components/home/home.component.ts @@ -1,10 +1,11 @@ import { Component } from '@angular/core'; import { HeaderComponent } from './header/header.component'; +import { FooterComponent } from './footer/footer.component'; @Component({ selector: 'app-home', standalone: true, - imports: [HeaderComponent], + imports: [HeaderComponent, FooterComponent], templateUrl: './home.component.html', styleUrl: './home.component.scss', }) diff --git a/frontend/src/assets/fonts/dm-sans-v15-latin-100.woff2 b/frontend/src/assets/fonts/dm-sans-v15-latin-100.woff2 new file mode 100644 index 0000000..78d7abc Binary files /dev/null and b/frontend/src/assets/fonts/dm-sans-v15-latin-100.woff2 differ diff --git a/frontend/src/assets/fonts/dm-sans-v15-latin-200.woff2 b/frontend/src/assets/fonts/dm-sans-v15-latin-200.woff2 new file mode 100644 index 0000000..91b693c Binary files /dev/null and b/frontend/src/assets/fonts/dm-sans-v15-latin-200.woff2 differ diff --git a/frontend/src/assets/fonts/dm-sans-v15-latin-300.woff2 b/frontend/src/assets/fonts/dm-sans-v15-latin-300.woff2 new file mode 100644 index 0000000..84dd051 Binary files /dev/null and b/frontend/src/assets/fonts/dm-sans-v15-latin-300.woff2 differ diff --git a/frontend/src/assets/fonts/dm-sans-v15-latin-500.woff2 b/frontend/src/assets/fonts/dm-sans-v15-latin-500.woff2 new file mode 100644 index 0000000..a67373c Binary files /dev/null and b/frontend/src/assets/fonts/dm-sans-v15-latin-500.woff2 differ diff --git a/frontend/src/assets/fonts/dm-sans-v15-latin-600.woff2 b/frontend/src/assets/fonts/dm-sans-v15-latin-600.woff2 new file mode 100644 index 0000000..2f6cb9c Binary files /dev/null and b/frontend/src/assets/fonts/dm-sans-v15-latin-600.woff2 differ diff --git a/frontend/src/assets/fonts/dm-sans-v15-latin-700.woff2 b/frontend/src/assets/fonts/dm-sans-v15-latin-700.woff2 new file mode 100644 index 0000000..2e594ed Binary files /dev/null and b/frontend/src/assets/fonts/dm-sans-v15-latin-700.woff2 differ diff --git a/frontend/src/assets/fonts/dm-sans-v15-latin-800.woff2 b/frontend/src/assets/fonts/dm-sans-v15-latin-800.woff2 new file mode 100644 index 0000000..fb03a63 Binary files /dev/null and b/frontend/src/assets/fonts/dm-sans-v15-latin-800.woff2 differ diff --git a/frontend/src/assets/fonts/dm-sans-v15-latin-900.woff2 b/frontend/src/assets/fonts/dm-sans-v15-latin-900.woff2 new file mode 100644 index 0000000..93fcdd3 Binary files /dev/null and b/frontend/src/assets/fonts/dm-sans-v15-latin-900.woff2 differ diff --git a/frontend/src/assets/fonts/dm-sans-v15-latin-regular.woff2 b/frontend/src/assets/fonts/dm-sans-v15-latin-regular.woff2 new file mode 100644 index 0000000..bedfe7d Binary files /dev/null and b/frontend/src/assets/fonts/dm-sans-v15-latin-regular.woff2 differ diff --git a/frontend/src/styles.scss b/frontend/src/styles.scss index 495abb9..f5bca17 100644 --- a/frontend/src/styles.scss +++ b/frontend/src/styles.scss @@ -1,4 +1,80 @@ * { margin: 0; scroll-behavior: smooth; + font-family: "DM Sans", sans-serif; + color: #fff; +} + +// Fonts +/* dm-sans-100 - latin */ +@font-face { + font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */ + font-family: "DM Sans"; + font-style: normal; + font-weight: 100; + src: url("./assets/fonts/dm-sans-v15-latin-100.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ +} +/* dm-sans-200 - latin */ +@font-face { + font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */ + font-family: "DM Sans"; + font-style: normal; + font-weight: 200; + src: url("./assets/fonts/dm-sans-v15-latin-200.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ +} +/* dm-sans-300 - latin */ +@font-face { + font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */ + font-family: "DM Sans"; + font-style: normal; + font-weight: 300; + src: url("./assets/fonts/dm-sans-v15-latin-300.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ +} +/* dm-sans-regular - latin */ +@font-face { + font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */ + font-family: "DM Sans"; + font-style: normal; + font-weight: 400; + src: url("./assets/fonts/dm-sans-v15-latin-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ +} +/* dm-sans-500 - latin */ +@font-face { + font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */ + font-family: "DM Sans"; + font-style: normal; + font-weight: 500; + src: url("./assets/fonts/dm-sans-v15-latin-500.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ +} +/* dm-sans-600 - latin */ +@font-face { + font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */ + font-family: "DM Sans"; + font-style: normal; + font-weight: 600; + src: url("./assets/fonts/dm-sans-v15-latin-600.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ +} +/* dm-sans-700 - latin */ +@font-face { + font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */ + font-family: "DM Sans"; + font-style: normal; + font-weight: 700; + src: url("./assets/fonts/dm-sans-v15-latin-700.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ +} +/* dm-sans-800 - latin */ +@font-face { + font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */ + font-family: "DM Sans"; + font-style: normal; + font-weight: 800; + src: url("./assets/fonts/dm-sans-v15-latin-800.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ +} +/* dm-sans-900 - latin */ +@font-face { + font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */ + font-family: "DM Sans"; + font-style: normal; + font-weight: 900; + src: url("./assets/fonts/dm-sans-v15-latin-900.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ }