diff --git a/suchwowx/config.py b/suchwowx/config.py index a646150..1480f16 100644 --- a/suchwowx/config.py +++ b/suchwowx/config.py @@ -4,9 +4,10 @@ from dotenv import load_dotenv load_dotenv() # App -SECRET_KEY = getenv('SECRET_KEY', 'yyyyyyyyyyyyy') # whatever you want it to be -DATA_FOLDER = getenv('DATA_FOLDER', '/path/to/uploads') # some stable storage path +SECRET_KEY = getenv('SECRET_KEY', 'yyyyyyyyyyyyy') # whatever you want it to be +DATA_FOLDER = getenv('DATA_FOLDER', '/path/to/uploads') # some stable storage path SERVER_NAME = getenv('SERVER_NAME', '127.0.0.1:5000') # name of your DNS resolvable site (.com) +IPFS_SERVER = getenv('IPFS_SERVER', 'http://127.0.0.1:8080') # ip/endpoint of ipfs explorer # Cache CACHE_HOST = getenv('CACHE_HOST', 'localhost') diff --git a/suchwowx/routes.py b/suchwowx/routes.py index 8c29583..4a6ebda 100644 --- a/suchwowx/routes.py +++ b/suchwowx/routes.py @@ -28,6 +28,10 @@ def index(): # total_supply = contract.functions.totalSupply().call() return render_template('index.html', memes=memes, contract=contract) +@bp.route('/about') +def about(): + return render_template('about.html') + @bp.route('/new', methods=['GET', 'POST']) def new(): meme = None diff --git a/suchwowx/templates/about.html b/suchwowx/templates/about.html new file mode 100644 index 0000000..8e1048c --- /dev/null +++ b/suchwowx/templates/about.html @@ -0,0 +1,29 @@ + + + {% include 'includes/head.html' %} +
++ Welcome. + + Up until now there has been a small group of people who were responsible for reviewing and approving the 4600+ memes submitted to the prior platform. + Wownero has become a meme powerhouse via SuchWow, but it's a highly centralized, aging, and fragile service. + +
+ ++ This service is a continuation of SuchWow for the Wownero cryptocurrency project. + It has been remixed onto the Avalanche network and Interplanetary Filesystem and launched with a smart contract with some useful features. +
+Title: {{ meme.title }}
Description: {{ meme.description }}
Creator handle: {{ meme.creator_handle }}
-Meta IPFS: {{ meme.meta_ipfs_hash }}
-Meme IPFS: {{ meme.meme_ipfs_hash }}
+Meta IPFS: {{ meme.meta_ipfs_hash }}
+Meme IPFS: {{ meme.meme_ipfs_hash }}
Meme ID: {{ meme }}