Browse Source

Adapt paths

pull/1139/head
Thomas 3 years ago
parent
commit
b3eb55bb76
  1. 25
      angular.json
  2. 20
      apps/client/src/app/app-routing.module.ts
  3. 4
      apps/client/src/app/components/access-table/access-table.component.html
  4. 6
      apps/client/src/app/components/login-with-access-token-dialog/login-with-access-token-dialog.html
  5. 4
      apps/client/src/app/pages/about/changelog/changelog-page.html
  6. 2
      apps/client/src/app/pages/about/privacy-policy/privacy-policy-page.html
  7. 2
      apps/client/src/app/pages/blog/2021/07/hallo-ghostfolio/hallo-ghostfolio-page.html
  8. 2
      apps/client/src/app/pages/blog/2021/07/hello-ghostfolio/hello-ghostfolio-page.html
  9. 2
      apps/client/src/app/pages/blog/2022/07/ghostfolio-meets-internet-identity/ghostfolio-meets-internet-identity-page.html
  10. 4
      apps/client/src/app/pages/landing/landing-page.html
  11. 6
      apps/client/src/app/pages/register/register-page.html
  12. 4
      apps/client/src/assets/robots.txt
  13. 28
      apps/client/src/assets/sitemap.xml
  14. 10
      apps/client/src/index.html

25
angular.json

@ -77,41 +77,50 @@
"polyfills": "apps/client/src/polyfills.ts", "polyfills": "apps/client/src/polyfills.ts",
"tsConfig": "apps/client/tsconfig.app.json", "tsConfig": "apps/client/tsconfig.app.json",
"assets": [ "assets": [
"apps/client/src/assets",
{ {
"glob": "assetlinks.json", "glob": "assetlinks.json",
"input": "apps/client/src/assets", "input": "apps/client/src/assets",
"output": "./.well-known" "output": "./../.well-known"
}, },
{ {
"glob": "CHANGELOG.md", "glob": "CHANGELOG.md",
"input": "", "input": "",
"output": "./assets" "output": "./../assets"
},
{
"glob": "index.html",
"input": "apps/client/src/assets",
"output": "./../"
}, },
{ {
"glob": "LICENSE", "glob": "LICENSE",
"input": "", "input": "",
"output": "./assets" "output": "./../assets"
}, },
{ {
"glob": "robots.txt", "glob": "robots.txt",
"input": "apps/client/src/assets", "input": "apps/client/src/assets",
"output": "./" "output": "./../"
}, },
{ {
"glob": "sitemap.xml", "glob": "sitemap.xml",
"input": "apps/client/src/assets", "input": "apps/client/src/assets",
"output": "./" "output": "./../"
}, },
{ {
"glob": "**/*", "glob": "**/*",
"input": "node_modules/ionicons/dist/ionicons", "input": "node_modules/ionicons/dist/ionicons",
"output": "./ionicons" "output": "./../ionicons"
}, },
{ {
"glob": "**/*.js", "glob": "**/*.js",
"input": "node_modules/ionicons/dist/", "input": "node_modules/ionicons/dist/",
"output": "./" "output": "./../"
},
{
"glob": "**/*",
"input": "apps/client/src/assets",
"output": "./../assets/"
} }
], ],
"localize": ["en"], "localize": ["en"],

20
apps/client/src/app/app-routing.module.ts

@ -54,45 +54,45 @@ const routes: Routes = [
import('./pages/blog/blog-page.module').then((m) => m.BlogPageModule) import('./pages/blog/blog-page.module').then((m) => m.BlogPageModule)
}, },
{ {
path: 'de/blog/2021/07/hallo-ghostfolio', path: 'blog/2021/07/hallo-ghostfolio',
loadChildren: () => loadChildren: () =>
import( import(
'./pages/blog/2021/07/hallo-ghostfolio/hallo-ghostfolio-page.module' './pages/blog/2021/07/hallo-ghostfolio/hallo-ghostfolio-page.module'
).then((m) => m.HalloGhostfolioPageModule) ).then((m) => m.HalloGhostfolioPageModule)
}, },
{ {
path: 'demo', path: 'blog/2021/07/hello-ghostfolio',
loadChildren: () =>
import('./pages/demo/demo-page.module').then((m) => m.DemoPageModule)
},
{
path: 'en/blog/2021/07/hello-ghostfolio',
loadChildren: () => loadChildren: () =>
import( import(
'./pages/blog/2021/07/hello-ghostfolio/hello-ghostfolio-page.module' './pages/blog/2021/07/hello-ghostfolio/hello-ghostfolio-page.module'
).then((m) => m.HelloGhostfolioPageModule) ).then((m) => m.HelloGhostfolioPageModule)
}, },
{ {
path: 'en/blog/2022/01/ghostfolio-first-months-in-open-source', path: 'blog/2022/01/ghostfolio-first-months-in-open-source',
loadChildren: () => loadChildren: () =>
import( import(
'./pages/blog/2022/01/first-months-in-open-source/first-months-in-open-source-page.module' './pages/blog/2022/01/first-months-in-open-source/first-months-in-open-source-page.module'
).then((m) => m.FirstMonthsInOpenSourcePageModule) ).then((m) => m.FirstMonthsInOpenSourcePageModule)
}, },
{ {
path: 'en/blog/2022/07/ghostfolio-meets-internet-identity', path: 'blog/2022/07/ghostfolio-meets-internet-identity',
loadChildren: () => loadChildren: () =>
import( import(
'./pages/blog/2022/07/ghostfolio-meets-internet-identity/ghostfolio-meets-internet-identity-page.module' './pages/blog/2022/07/ghostfolio-meets-internet-identity/ghostfolio-meets-internet-identity-page.module'
).then((m) => m.GhostfolioMeetsInternetIdentityPageModule) ).then((m) => m.GhostfolioMeetsInternetIdentityPageModule)
}, },
{ {
path: 'en/blog/2022/07/how-do-i-get-my-finances-in-order', path: 'blog/2022/07/how-do-i-get-my-finances-in-order',
loadChildren: () => loadChildren: () =>
import( import(
'./pages/blog/2022/07/how-do-i-get-my-finances-in-order/how-do-i-get-my-finances-in-order-page.module' './pages/blog/2022/07/how-do-i-get-my-finances-in-order/how-do-i-get-my-finances-in-order-page.module'
).then((m) => m.HowDoIGetMyFinancesInOrderPageModule) ).then((m) => m.HowDoIGetMyFinancesInOrderPageModule)
}, },
{
path: 'demo',
loadChildren: () =>
import('./pages/demo/demo-page.module').then((m) => m.DemoPageModule)
},
{ {
path: 'faq', path: 'faq',
loadChildren: () => loadChildren: () =>

4
apps/client/src/app/components/access-table/access-table.component.html

@ -21,8 +21,8 @@
<td *matCellDef="let element" class="px-1 text-nowrap" mat-cell> <td *matCellDef="let element" class="px-1 text-nowrap" mat-cell>
<ng-container *ngIf="element.type === 'PUBLIC'"> <ng-container *ngIf="element.type === 'PUBLIC'">
<ion-icon class="mr-1" name="link-outline"></ion-icon> <ion-icon class="mr-1" name="link-outline"></ion-icon>
<a href="{{ baseUrl }}/p/{{ element.id }}" target="_blank" <a href="{{ baseUrl }}/en/p/{{ element.id }}" target="_blank"
>{{ baseUrl }}/p/{{ element.id }}</a >{{ baseUrl }}/en/p/{{ element.id }}</a
> >
</ng-container> </ng-container>
</td> </td>

6
apps/client/src/app/components/login-with-access-token-dialog/login-with-access-token-dialog.html

@ -25,14 +25,14 @@
> >
<img <img
class="mr-2" class="mr-2"
src="./assets/icons/internet-computer.svg" src="../assets/icons/internet-computer.svg"
style="height: 0.75rem" style="height: 0.75rem"
/><span i18n>Sign in with Internet Identity</span> /><span i18n>Sign in with Internet Identity</span>
</button> </button>
<a href="/api/v1/auth/google" mat-stroked-button <a href="../api/v1/auth/google" mat-stroked-button
><img ><img
class="mr-2" class="mr-2"
src="./assets/icons/google.svg" src="../assets/icons/google.svg"
style="height: 1rem" style="height: 1rem"
/><span i18n>Sign in with Google</span></a /><span i18n>Sign in with Google</span></a
> >

4
apps/client/src/app/pages/about/changelog/changelog-page.html

@ -4,7 +4,7 @@
<h3 class="mb-3 text-center" i18n>Changelog</h3> <h3 class="mb-3 text-center" i18n>Changelog</h3>
<mat-card class="changelog"> <mat-card class="changelog">
<mat-card-content> <mat-card-content>
<markdown [src]="'./assets/CHANGELOG.md'"></markdown> <markdown [src]="'../assets/CHANGELOG.md'"></markdown>
</mat-card-content> </mat-card-content>
</mat-card> </mat-card>
</div> </div>
@ -15,7 +15,7 @@
<h3 class="mb-3 text-center" i18n>License</h3> <h3 class="mb-3 text-center" i18n>License</h3>
<mat-card> <mat-card>
<mat-card-content> <mat-card-content>
<markdown [src]="'./assets/LICENSE'"></markdown> <markdown [src]="'../assets/LICENSE'"></markdown>
</mat-card-content> </mat-card-content>
</mat-card> </mat-card>
</div> </div>

2
apps/client/src/app/pages/about/privacy-policy/privacy-policy-page.html

@ -2,7 +2,7 @@
<div class="mb-5 row"> <div class="mb-5 row">
<div class="col"> <div class="col">
<h3 class="mb-3 text-center" i18n>Privacy Policy</h3> <h3 class="mb-3 text-center" i18n>Privacy Policy</h3>
<markdown [src]="'./assets/privacy-policy.md'"></markdown> <markdown [src]="'../assets/privacy-policy.md'"></markdown>
</div> </div>
</div> </div>
</div> </div>

2
apps/client/src/app/pages/blog/2021/07/hallo-ghostfolio/hallo-ghostfolio-page.html

@ -68,7 +68,7 @@
<p class="my-5 text-center"> <p class="my-5 text-center">
<img <img
alt="Ghostfol.io Screenshot" alt="Ghostfol.io Screenshot"
src="./assets/images/screenshot.png" src="../assets/images/screenshot.png"
style="max-width: 100%; width: 20rem" style="max-width: 100%; width: 20rem"
title="Ghostfol.io Screenshot" title="Ghostfol.io Screenshot"
/> />

2
apps/client/src/app/pages/blog/2021/07/hello-ghostfolio/hello-ghostfolio-page.html

@ -66,7 +66,7 @@
<p class="my-5 text-center"> <p class="my-5 text-center">
<img <img
alt="Ghostfol.io Screenshot" alt="Ghostfol.io Screenshot"
src="./assets/images/screenshot.png" src="../assets/images/screenshot.png"
style="max-width: 100%; width: 20rem" style="max-width: 100%; width: 20rem"
title="Ghostfol.io Screenshot" title="Ghostfol.io Screenshot"
/> />

2
apps/client/src/app/pages/blog/2022/07/ghostfolio-meets-internet-identity/ghostfolio-meets-internet-identity-page.html

@ -8,7 +8,7 @@
<img <img
alt="Ghostfolio meets Internet Identity Teaser" alt="Ghostfolio meets Internet Identity Teaser"
class="w-100" class="w-100"
src="./assets/images/blog/ghostfolio-meets-internet-identity.png" src="../assets/images/blog/ghostfolio-meets-internet-identity.png"
title="Ghostfolio meets Internet Identity" title="Ghostfolio meets Internet Identity"
/> />
</div> </div>

4
apps/client/src/app/pages/landing/landing-page.html

@ -13,7 +13,7 @@
<img <img
alt="Ghostfol.io Trailer" alt="Ghostfol.io Trailer"
class="rounded video" class="rounded video"
src="./assets/images/video-preview.jpg" src="../assets/images/video-preview.jpg"
style="max-width: 100%; width: 40rem" style="max-width: 100%; width: 40rem"
/> />
</a> </a>
@ -183,7 +183,7 @@
href="https://play.google.com/store/apps/details?id=ch.dotsilver.ghostfolio.twa" href="https://play.google.com/store/apps/details?id=ch.dotsilver.ghostfolio.twa"
title="Get Ghostfolio on Google Play" title="Get Ghostfolio on Google Play"
> >
<img alt="Google Play Badge" src="./assets/badge-en-google-play.png" /> <img alt="Google Play Badge" src="../assets/badge-en-google-play.png" />
</a> </a>
</div> </div>
</div> </div>

6
apps/client/src/app/pages/register/register-page.html

@ -36,15 +36,15 @@
> >
<img <img
class="mr-2" class="mr-2"
src="./assets/icons/internet-computer.svg" src="../assets/icons/internet-computer.svg"
style="height: 0.75rem" style="height: 0.75rem"
/> />
<span i18n>Continue with Internet Identity</span> <span i18n>Continue with Internet Identity</span>
</button> </button>
<a class="d-block" href="/api/v1/auth/google" mat-stroked-button <a class="d-block" href="../api/v1/auth/google" mat-stroked-button
><img ><img
class="mr-2" class="mr-2"
src="./assets/icons/google.svg" src="../assets/icons/google.svg"
style="height: 1rem" style="height: 1rem"
/><span i18n>Continue with Google</span></a /><span i18n>Continue with Google</span></a
> >

4
apps/client/src/assets/robots.txt

@ -1,6 +1,6 @@
User-agent: * User-agent: *
Allow: / Allow: /
Disallow: /about/privacy-policy Disallow: /en/about/privacy-policy
Disallow: /p/* Disallow: /en/p/*
Sitemap: https://ghostfol.io/sitemap.xml Sitemap: https://ghostfol.io/sitemap.xml

28
apps/client/src/assets/sitemap.xml

@ -9,23 +9,19 @@
<lastmod>2022-07-29T00:00:00+00:00</lastmod> <lastmod>2022-07-29T00:00:00+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://ghostfol.io/about</loc> <loc>https://ghostfol.io/de/blog/2021/07/hallo-ghostfolio</loc>
<lastmod>2022-07-29T00:00:00+00:00</lastmod>
</url>
<url>
<loc>https://ghostfol.io/about/changelog</loc>
<lastmod>2022-07-29T00:00:00+00:00</lastmod> <lastmod>2022-07-29T00:00:00+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://ghostfol.io/blog</loc> <loc>https://ghostfol.io/en/about</loc>
<lastmod>2022-07-29T00:00:00+00:00</lastmod> <lastmod>2022-07-29T00:00:00+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://ghostfol.io/de/blog/2021/07/hallo-ghostfolio</loc> <loc>https://ghostfol.io/en/about/changelog</loc>
<lastmod>2022-07-29T00:00:00+00:00</lastmod> <lastmod>2022-07-29T00:00:00+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://ghostfol.io/demo</loc> <loc>https://ghostfol.io/en/blog</loc>
<lastmod>2022-07-29T00:00:00+00:00</lastmod> <lastmod>2022-07-29T00:00:00+00:00</lastmod>
</url> </url>
<url> <url>
@ -45,27 +41,31 @@
<lastmod>2022-07-29T00:00:00+00:00</lastmod> <lastmod>2022-07-29T00:00:00+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://ghostfol.io/faq</loc> <loc>https://ghostfol.io/en/demo</loc>
<lastmod>2022-07-29T00:00:00+00:00</lastmod>
</url>
<url>
<loc>https://ghostfol.io/en/faq</loc>
<lastmod>2022-07-29T00:00:00+00:00</lastmod> <lastmod>2022-07-29T00:00:00+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://ghostfol.io/features</loc> <loc>https://ghostfol.io/en/features</loc>
<lastmod>2022-07-29T00:00:00+00:00</lastmod> <lastmod>2022-07-29T00:00:00+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://ghostfol.io/markets</loc> <loc>https://ghostfol.io/en/markets</loc>
<lastmod>2022-07-29T00:00:00+00:00</lastmod> <lastmod>2022-07-29T00:00:00+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://ghostfol.io/pricing</loc> <loc>https://ghostfol.io/en/pricing</loc>
<lastmod>2022-07-29T00:00:00+00:00</lastmod> <lastmod>2022-07-29T00:00:00+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://ghostfol.io/register</loc> <loc>https://ghostfol.io/en/register</loc>
<lastmod>2022-07-29T00:00:00+00:00</lastmod> <lastmod>2022-07-29T00:00:00+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://ghostfol.io/resources</loc> <loc>https://ghostfol.io/en/resources</loc>
<lastmod>2022-07-29T00:00:00+00:00</lastmod> <lastmod>2022-07-29T00:00:00+00:00</lastmod>
</url> </url>
</urlset> </urlset>

10
apps/client/src/index.html

@ -51,26 +51,26 @@
<link <link
rel="apple-touch-icon" rel="apple-touch-icon"
sizes="180x180" sizes="180x180"
href="./assets/apple-touch-icon.png" href="../assets/apple-touch-icon.png"
/> />
<link <link
rel="icon" rel="icon"
type="image/png" type="image/png"
sizes="32x32" sizes="32x32"
href="./assets/favicon-32x32.png" href="../assets/favicon-32x32.png"
/> />
<link <link
rel="icon" rel="icon"
type="image/png" type="image/png"
sizes="16x16" sizes="16x16"
href="./assets/favicon-16x16.png" href="../assets/favicon-16x16.png"
/> />
<link rel="manifest" href="./assets/site.webmanifest" /> <link rel="manifest" href="../assets/site.webmanifest" />
</head> </head>
<body> <body>
<gf-root></gf-root> <gf-root></gf-root>
<script type="module" src="ionicons/ionicons.esm.js"></script> <script type="module" src="../ionicons/ionicons.esm.js"></script>
<script nomodule="" src="ionicons.js"></script> <script nomodule="" src="ionicons.js"></script>
<noscript <noscript

Loading…
Cancel
Save