1 Commits

Author SHA1 Message Date
fca746cef6 schema 2026-02-07 16:02:52 +01:00
3 changed files with 27 additions and 81 deletions

View File

@@ -136,44 +136,13 @@ export class HomeComponent {
// FAQ content is preserved in component for future use when FAQ section is made visible // FAQ content is preserved in component for future use when FAQ section is made visible
const organizationSchema = this.seoService.generateOrganizationSchema(); const organizationSchema = this.seoService.generateOrganizationSchema();
// Add HowTo schema for buying a business
const howToSchema = this.seoService.generateHowToSchema({
name: 'How to Buy a Business on BizMatch',
description: 'Step-by-step guide to finding and purchasing your ideal business through BizMatch marketplace',
totalTime: 'PT45M',
steps: [
{
name: 'Browse Business Listings',
text: 'Search through thousands of verified business listings using our advanced filters. Filter by industry, location, price range, revenue, and more to find businesses that match your criteria.'
},
{
name: 'Review Business Details',
text: 'Examine the business financials, including annual revenue, cash flow, asking price, and years established. Read the detailed business description and view photos of the operation.'
},
{
name: 'Contact the Seller',
text: 'Use our secure messaging system to contact the seller or business broker directly. Request additional information, financial documents, or schedule a site visit to see the business in person.'
},
{
name: 'Conduct Due Diligence',
text: 'Review all financial statements, tax returns, lease agreements, and legal documents. Verify the business information, inspect the physical location, and consult with legal and financial advisors.'
},
{
name: 'Make an Offer',
text: 'Submit a formal offer based on your valuation and due diligence findings. Negotiate terms including purchase price, payment structure, transition period, and any contingencies.'
},
{
name: 'Close the Transaction',
text: 'Work with attorneys and escrow services to finalize all legal documents, transfer ownership, and complete the purchase. The seller will transfer assets, train you on operations, and help with the transition.'
}
]
});
// Add SearchBox schema for Sitelinks Search // Add SearchBox schema for Sitelinks Search
const searchBoxSchema = this.seoService.generateSearchBoxSchema(); const searchBoxSchema = this.seoService.generateSearchBoxSchema();
// Inject schemas (FAQ schema excluded - content not visible to users) // Inject schemas (FAQ schema excluded - content not visible to users)
this.seoService.injectMultipleSchemas([organizationSchema, howToSchema, searchBoxSchema]); this.seoService.injectMultipleSchemas([organizationSchema, searchBoxSchema]);
// Clear all filters and sort options on initial load // Clear all filters and sort options on initial load
this.filterStateService.resetCriteria('businessListings'); this.filterStateService.resetCriteria('businessListings');

View File

@@ -66,39 +66,7 @@
<!-- Note: Organization and WebSite schemas are now injected dynamically by SeoService --> <!-- Note: Organization and WebSite schemas are now injected dynamically by SeoService -->
<!-- with more complete data (telephone, foundingDate, knowsAbout, dual search actions) --> <!-- with more complete data (telephone, foundingDate, knowsAbout, dual search actions) -->
<!-- LocalBusiness Schema for local visibility -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "LocalBusiness",
"@id": "https://www.bizmatch.net/#localbusiness",
"name": "BizMatch",
"description": "Business brokerage and commercial real estate marketplace connecting buyers and sellers across the United States.",
"url": "https://www.bizmatch.net",
"logo": "https://www.bizmatch.net/assets/images/bizmatch-logo.png",
"image": "https://www.bizmatch.net/assets/images/bizmatch-logo.png",
"priceRange": "$$",
"address": {
"@type": "PostalAddress",
"streetAddress": "1001 Blucher Street",
"addressLocality": "Corpus Christi",
"addressRegion": "TX",
"postalCode": "78401",
"addressCountry": "US"
},
"geo": {
"@type": "GeoCoordinates",
"latitude": "27.7876",
"longitude": "-97.3940"
},
"areaServed": {
"@type": "Country",
"name": "United States"
},
"serviceType": ["Business Brokerage", "Commercial Real Estate", "Business For Sale Listings"],
"knowsAbout": ["Business Sales", "Commercial Properties", "Franchise Opportunities", "Business Valuation"]
}
</script>
</head> </head>
<body class="flex flex-col min-h-screen"> <body class="flex flex-col min-h-screen">

View File

@@ -1,37 +1,39 @@
services: services:
# --- FRONTEND (SSR) --- # --- FRONTEND ---
bizmatch-ssr: bizmatch-ssr:
build: build:
context: . context: . # Pfad zum Angular Ordner
dockerfile: bizmatch/Dockerfile dockerfile: bizmatch/Dockerfile
image: bizmatch-ssr
container_name: bizmatch-ssr container_name: bizmatch-ssr
extra_hosts:
- "localhost:host-gateway"
restart: unless-stopped restart: unless-stopped
# In der Produktion brauchen wir keine Ports nach außen (Caddy regelt das intern) ports:
networks: - '4200:4000' # Extern 4200 -> Intern 4000 (SSR)
- bizmatch
volumes:
- ./bizmatch-server/pictures:/app/pictures
environment: environment:
NODE_ENV: production NODE_ENV: production
# WICHTIG: Die URL, unter der das SSR-Frontend die API intern erreicht volumes:
API_INTERNAL_URL: http://bizmatch-app:3001 - ./bizmatch-server/pictures:/app/pictures
# --- BACKEND --- # --- BACKEND ---
app: app:
build: build:
context: ./bizmatch-server context: ./bizmatch-server # Pfad zum NestJS Ordner
dockerfile: Dockerfile dockerfile: Dockerfile
image: bizmatch-server:latest
container_name: bizmatch-app container_name: bizmatch-app
restart: unless-stopped restart: unless-stopped
ports:
- '3001:3001'
env_file: env_file:
- ./bizmatch-server/.env - ./bizmatch-server/.env # Pfad zur .env Datei
depends_on: depends_on:
- postgres - postgres
networks: networks:
- bizmatch - bizmatch
volumes: # WICHTIG: Kein Volume Mapping für node_modules im Prod-Modus!
# Das Backend braucht ebenfalls Zugriff auf den Bilder-Ordner zum Speichern! # Das Image bringt alles fertig mit.
- ./bizmatch-server/pictures:/app/dist/pictures
# --- DATABASE --- # --- DATABASE ---
postgres: postgres:
@@ -42,12 +44,19 @@ services:
- bizmatch-db-data:/var/lib/postgresql/data - bizmatch-db-data:/var/lib/postgresql/data
env_file: env_file:
- ./bizmatch-server/.env - ./bizmatch-server/.env
environment:
POSTGRES_DB: ${POSTGRES_DB}
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
ports:
- '5434:5432'
networks: networks:
- bizmatch - bizmatch
volumes: volumes:
bizmatch-db-data: bizmatch-db-data:
driver: local
networks: networks:
bizmatch: bizmatch:
external: true # Wir nutzen das gleiche Netzwerk wie für Caddy external: false # Oder true, falls du es manuell erstellt hast