diff --git a/projects/assets-library/assets/images/error-page.svg b/projects/assets-library/assets/images/error-page.svg new file mode 100644 index 000000000..f358cbec5 --- /dev/null +++ b/projects/assets-library/assets/images/error-page.svg @@ -0,0 +1,140 @@ + \ No newline at end of file diff --git a/projects/components/src/not-found/not-found.component.scss b/projects/components/src/not-found/not-found.component.scss index bb94ddd0b..4f85cd965 100644 --- a/projects/components/src/not-found/not-found.component.scss +++ b/projects/components/src/not-found/not-found.component.scss @@ -3,16 +3,37 @@ .not-found-container { display: flex; - flex-direction: column; - align-items: center; justify-content: center; + align-items: center; - .not-found-message { - @include header-3; - padding-bottom: 64px; - } + .not-found-content { + display: flex; + padding: 52px; + box-shadow: 0px 16px 48px rgba(0, 0, 0, 0.08); + border-radius: 8px; + max-width: 748px; + max-height: 348px; + + .not-found-message-wrapper { + display: flex; + flex-direction: column; + align-items: flex-start; + justify-content: flex-start; + padding-left: 40px; + + .not-found-text-wrapper { + margin-bottom: 36px; + } + + .not-found-message { + @include header-4; + margin-bottom: 16px; + } - .navigate-home-button { - height: 2em; + .not-found-description { + @include body-2-medium(); + color: $gray-5; + } + } } } diff --git a/projects/components/src/not-found/not-found.component.ts b/projects/components/src/not-found/not-found.component.ts index 51a4dcc74..b5963a383 100644 --- a/projects/components/src/not-found/not-found.component.ts +++ b/projects/components/src/not-found/not-found.component.ts @@ -1,6 +1,6 @@ import { ChangeDetectionStrategy, Component } from '@angular/core'; import { NavigationService } from '@hypertrace/common'; -import { ButtonStyle } from '../button/button'; +import { ButtonRole, ButtonStyle } from '../button/button'; @Component({ selector: 'ht-not-found', @@ -8,13 +8,22 @@ import { ButtonStyle } from '../button/button'; styleUrls: ['./not-found.component.scss'], template: `