diff --git a/apps/website/src/app/app.routes.ts b/apps/website/src/app/app.routes.ts index 92aad7a..02ccf9c 100644 --- a/apps/website/src/app/app.routes.ts +++ b/apps/website/src/app/app.routes.ts @@ -49,6 +49,7 @@ export const appRoutes: Route[] = [ import('@valerymelou/blog/article').then( (c) => c.BlogArticleComponent, ), + data: { animation: 'BlogHomePage' }, resolve: { article: articleResolver, }, diff --git a/firebase.json b/firebase.json index 1242ff0..07dcec5 100644 --- a/firebase.json +++ b/firebase.json @@ -1,12 +1,28 @@ { "hosting": { "public": "dist/apps/website/browser", - "ignore": [ - "firebase.json", - "**/.*", - "**/node_modules/**" - ], + "ignore": ["firebase.json", "**/.*", "**/node_modules/**"], "rewrites": [ + { + "source": "/blog", + "destination": "/blog/index.html" + }, + { + "source": "/blog/:post*", + "destination": "/blog/:post/index.html" + }, + { + "source": "/about", + "destination": "/about/index.html" + }, + { + "source": "/projects", + "destination": "/projects/index.html" + }, + { + "source": "/projects/**", + "destination": "/projects/index.html" + }, { "source": "**", "destination": "/index.html"