feat(marketing): register 3 new Flask blueprints (marketing, billing, legal)
- marketing_bp at root "/" - billing_bp at /checkout/* (routes added in B-2.7) - legal_bp at /legal/* (routes added in B-2.9) - Tests verify all 3 blueprints register correctly - Coexists with existing recordings_bp at "/" (resolved in B-1.3)
This commit is contained in:
20
src/marketing/routes.py
Normal file
20
src/marketing/routes.py
Normal file
@@ -0,0 +1,20 @@
|
||||
"""Marketing routes - minimal Phase 1 placeholder.
|
||||
|
||||
Real templates and content arrive in Tasks A-2.1 through A-2.8.
|
||||
"""
|
||||
from flask import Response
|
||||
|
||||
from . import marketing_bp
|
||||
|
||||
|
||||
@marketing_bp.route('/')
|
||||
def landing():
|
||||
"""Placeholder root route.
|
||||
|
||||
Phase 1: returns a minimal HTML response so the route exists for tests.
|
||||
Phase 2 (A-2.1): replaced with proper template render.
|
||||
"""
|
||||
return Response(
|
||||
'<!DOCTYPE html><html><body><p>DictIA marketing - Phase 1 bootstrap</p></body></html>',
|
||||
mimetype='text/html'
|
||||
)
|
||||
Reference in New Issue
Block a user