Browse Source
			
			
			Feature/add support for archived product page (#3843)
			
				* Add support for archived product page
			
			
				pull/3844/head
			
			
		 
		
			
				
					
						
						Thomas Kaul
					
					1 year ago
					
						
							committed by
							
								
								GitHub
							
						 
					
				 
				
			 
		 
		
			
				
					
					No known key found for this signature in database
					
						
							GPG Key ID: B5690EEEBB952194
						
					
				
			
		
		
		
	
		
			
				 4 changed files with 
14 additions and 
2 deletions
			 
			
		 
		
			
				- 
					
					
					 
					apps/client/src/app/pages/resources/personal-finance-tools/product-page.html
				
 
			
				- 
					
					
					 
					apps/client/src/app/pages/resources/personal-finance-tools/product-page.scss
				
 
			
				- 
					
					
					 
					libs/common/src/lib/interfaces/product.ts
				
 
			
				- 
					
					
					 
					libs/common/src/lib/personal-finance-tools.ts
				
 
			
		
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
		
			
				
					| 
						
						
							
								
							
						
						
					 | 
					@ -9,6 +9,11 @@ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            > <strong>{{ product2.name }}</strong> | 
					 | 
					 | 
					            > <strong>{{ product2.name }}</strong> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					          </h1> | 
					 | 
					 | 
					          </h1> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        </div> | 
					 | 
					 | 
					        </div> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        @if (product2.isArchived) { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					          <div class="info-container my-4 p-2 rounded text-center text-muted"> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					            <ng-container i18n>This page has been archived.</ng-container> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					          </div> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        <section class="mb-4"> | 
					 | 
					 | 
					        <section class="mb-4"> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					          <p i18n> | 
					 | 
					 | 
					          <p i18n> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            Are you looking for an open source alternative to | 
					 | 
					 | 
					            Are you looking for an open source alternative to | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  | 
				
			
			
		
	
								
							
						
					 
					
				 
			 
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
		
			
				
					| 
						
						
							
								
							
						
						
					 | 
					@ -11,7 +11,8 @@ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    } | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  } | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					  .call-to-action { | 
					 | 
					 | 
					  .call-to-action, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					  .info-container { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    background-color: rgba(var(--palette-foreground-text), 0.02); | 
					 | 
					 | 
					    background-color: rgba(var(--palette-foreground-text), 0.02); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  } | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					} | 
					 | 
					 | 
					} | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					@ -19,7 +20,8 @@ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					:host-context(.theme-dark) { | 
					 | 
					 | 
					:host-context(.theme-dark) { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  color: rgb(var(--light-primary-text)); | 
					 | 
					 | 
					  color: rgb(var(--light-primary-text)); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					  .call-to-action { | 
					 | 
					 | 
					  .call-to-action, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					  .info-container { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    background-color: rgba(var(--palette-foreground-text-dark), 0.02); | 
					 | 
					 | 
					    background-color: rgba(var(--palette-foreground-text-dark), 0.02); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  } | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					} | 
					 | 
					 | 
					} | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
					 | 
					
  | 
				
			
			
		
	
								
							
						
					 
					
				 
			 
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
		
			
				
					| 
						
						
							
								
							
						
						
					 | 
					@ -3,6 +3,7 @@ export interface Product { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  founded?: number; | 
					 | 
					 | 
					  founded?: number; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  hasFreePlan?: boolean; | 
					 | 
					 | 
					  hasFreePlan?: boolean; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  hasSelfHostingAbility?: boolean; | 
					 | 
					 | 
					  hasSelfHostingAbility?: boolean; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					  isArchived?: boolean; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  isOpenSource?: boolean; | 
					 | 
					 | 
					  isOpenSource?: boolean; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  key: string; | 
					 | 
					 | 
					  key: string; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  languages?: string[]; | 
					 | 
					 | 
					  languages?: string[]; | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  | 
				
			
			
		
	
								
							
						
					 
					
				 
			 
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
		
			
				
					| 
						
						
							
								
							
						
						
					 | 
					@ -369,6 +369,7 @@ export const personalFinanceTools: Product[] = [ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  { | 
					 | 
					 | 
					  { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    founded: 2021, | 
					 | 
					 | 
					    founded: 2021, | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    hasSelfHostingAbility: false, | 
					 | 
					 | 
					    hasSelfHostingAbility: false, | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					    isArchived: true, | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    key: 'maybe-finance', | 
					 | 
					 | 
					    key: 'maybe-finance', | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    languages: ['English'], | 
					 | 
					 | 
					    languages: ['English'], | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    name: 'Maybe Finance', | 
					 | 
					 | 
					    name: 'Maybe Finance', | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -678,10 +679,13 @@ export const personalFinanceTools: Product[] = [ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    slogan: 'Make Smarter Investments' | 
					 | 
					 | 
					    slogan: 'Make Smarter Investments' | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  }, | 
					 | 
					 | 
					  }, | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  { | 
					 | 
					 | 
					  { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					    founded: 2024, | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    hasSelfHostingAbility: true, | 
					 | 
					 | 
					    hasSelfHostingAbility: true, | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					    isArchived: true, | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    key: 'wealthfolio', | 
					 | 
					 | 
					    key: 'wealthfolio', | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    languages: ['English'], | 
					 | 
					 | 
					    languages: ['English'], | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    name: 'Wealthfolio', | 
					 | 
					 | 
					    name: 'Wealthfolio', | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					    origin: 'Canada', | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    slogan: 'Desktop Investment Tracker' | 
					 | 
					 | 
					    slogan: 'Desktop Investment Tracker' | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  }, | 
					 | 
					 | 
					  }, | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  { | 
					 | 
					 | 
					  { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |