Feat: Home and Contact pages setup with Altcha bot protection and saving to database using alterntive layout.
This commit is contained in:
@@ -14,8 +14,15 @@ Data model for home view
|
||||
from models.model_view_base import Model_View_Base
|
||||
# from routes import bp_home
|
||||
# external
|
||||
from typing import ClassVar
|
||||
|
||||
|
||||
class Model_View_Home(Model_View_Base):
|
||||
FLAG_EARLY_ACCESS: ClassVar[str] = 'early-access'
|
||||
FLAG_PROBLEM: ClassVar[str] = 'problem'
|
||||
FLAG_SOCIAL_PROOF: ClassVar[str] = 'social-proof'
|
||||
FLAG_SOLUTION: ClassVar[str] = 'solution'
|
||||
|
||||
def __init__(self, hash_page_current=Model_View_Base.HASH_PAGE_HOME):
|
||||
super().__init__(hash_page_current=hash_page_current)
|
||||
self._title = 'Home'
|
||||
|
||||
Reference in New Issue
Block a user