diff --git a/website/package.json b/website/package.json index 1bbc427..c7f95cf 100644 --- a/website/package.json +++ b/website/package.json @@ -31,6 +31,7 @@ "@typescript-eslint/eslint-plugin": "7", "@typescript-eslint/parser": "7", "bootstrap": "^5.3.3", + "colorthief": "^2.6.0", "eslint-plugin-import": "^2.31.0", "eslint-plugin-jsdoc": "^50.6.8", "express": "^4.18.2", diff --git a/website/public/assets/meshstack-logo-black-white.png b/website/public/assets/meshstack-logo-black-white.png new file mode 100644 index 0000000..68fd693 Binary files /dev/null and b/website/public/assets/meshstack-logo-black-white.png differ diff --git a/website/src/app/app.routes.ts b/website/src/app/app.routes.ts index 2822989..6243426 100644 --- a/website/src/app/app.routes.ts +++ b/website/src/app/app.routes.ts @@ -1,7 +1,25 @@ import { Routes } from '@angular/router'; +const loadTemplateGallery = () => import('./features/template-gallery').then(m => m.TemplateGalleryComponent); +const loadTemplateDetails = () => import('./features/template-details').then(m => m.TemplateDetailsComponent); +const loadPlatformView = () => import('./features/platform-view').then(m => m.PlatformViewComponent); + export const routes: Routes = [ - { path: 'template/:id', loadComponent: () => import('./features/template-details').then(m => m.TemplateDetailsComponent) }, - { path: ':type', loadComponent: () => import('./features/template-gallery').then(m => m.TemplateGalleryComponent) }, - { path: '', redirectTo: '/all', pathMatch: 'full' } + { + path: 'all', + loadComponent: loadTemplateGallery + }, + { + path: 'platforms/:type', + loadComponent: loadPlatformView, + }, + { + path: 'platforms/:type/definitions/:id', + loadComponent: loadTemplateDetails + }, + { + path: 'definitions/:id', + loadComponent: loadTemplateDetails + }, + { path: '', redirectTo: '/all', pathMatch: 'full' }, ]; \ No newline at end of file diff --git a/website/src/app/features/platform-view/index.ts b/website/src/app/features/platform-view/index.ts new file mode 100644 index 0000000..18f82f3 --- /dev/null +++ b/website/src/app/features/platform-view/index.ts @@ -0,0 +1 @@ +export * from './platform-view.component'; \ No newline at end of file diff --git a/website/src/app/features/platform-view/platform-view.component.html b/website/src/app/features/platform-view/platform-view.component.html new file mode 100644 index 0000000..ec8a002 --- /dev/null +++ b/website/src/app/features/platform-view/platform-view.component.html @@ -0,0 +1,28 @@ +
No building block definitions
+Check it out and how it can help your platform team
Discover meshStack -
+
diff --git a/website/src/app/features/template-details/import-dialog/import-dialog.component.scss b/website/src/app/features/template-details/import-dialog/import-dialog.component.scss
index 393cf64..90730cc 100644
--- a/website/src/app/features/template-details/import-dialog/import-dialog.component.scss
+++ b/website/src/app/features/template-details/import-dialog/import-dialog.component.scss
@@ -2,8 +2,3 @@
width: 5rem;
object-fit: contain;
}
-
-.button-image {
- width: 2rem;
- object-fit: contain;
-}
diff --git a/website/src/app/features/template-details/template-details.component.html b/website/src/app/features/template-details/template-details.component.html
index 630d113..26d324b 100644
--- a/website/src/app/features/template-details/template-details.component.html
+++ b/website/src/app/features/template-details/template-details.component.html
@@ -1,12 +1,9 @@
{{ templates.length }} templates found
+{{ templates.length }} building block definitions found
No templates found
+No building block definitions found
- {{ card.description }}
-{{ card.description }}
+
-
- - Find ready-to-use Terraform modules to integrate with meshStack. Automate cloud governance or roll out commonly - used cloud resources. Built for scalability and security, these modules help you build your platform faster! - Explore the collection below and get started! -
+
+
+