diff --git a/.env b/.env new file mode 100644 index 0000000000000000000000000000000000000000..b6619f51819811640e97f99cf6ceaca9d5beae71 --- /dev/null +++ b/.env @@ -0,0 +1 @@ +FLASK_ENV=development \ No newline at end of file diff --git a/__pycache__/config.cpython-38.pyc b/__pycache__/config.cpython-38.pyc index 0c35bf379c8bcdc7751d23a7d08c1110a596a303..5316f13b7a6f309389308df34bbf6120033a0539 100644 Binary files a/__pycache__/config.cpython-38.pyc and b/__pycache__/config.cpython-38.pyc differ diff --git a/app/templates/base.html b/app/templates/base.html deleted file mode 100644 index 013b57adf93d05e25b3796ff340eac7595b55543..0000000000000000000000000000000000000000 --- a/app/templates/base.html +++ /dev/null @@ -1,10 +0,0 @@ -<body> -<nav> - <a href="{{ url_for('main.index') }}">HOME</a> - <a href="#">Posts</a> -</nav> -<hr> -<div class="content"> - {% block content %} {% endblock %} -</div> -</body> \ No newline at end of file diff --git a/app/templates/index.html b/app/templates/index.html index c5a42d6bbd98eed4cfc652080146b20004515314..290671ea2f51d627e8bb0339712071561615aef5 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -1,4 +1,4 @@ -{% extends 'base.html' %} +{% extends 'navigation.html' %} {% block content %} <div class="content"> diff --git a/app/templates/navigation.html b/app/templates/navigation.html new file mode 100644 index 0000000000000000000000000000000000000000..7db3c7129dc7f2dfedada03f1b442657fd521f05 --- /dev/null +++ b/app/templates/navigation.html @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<html> + <head> + <link rel="stylesheet" href="../../static/navigation.css"> + </head> + <body> + <h1>Something</h1> + <nav> + <a href="{{ url_for('main.index') }}">Home Page</a> + <a href="#">Posts</a> + </nav> + <hr> + <div class="content"> + {% block content %} {% endblock %} + </div> + </body> +</html> \ No newline at end of file diff --git a/app/templates/posts/index.html b/app/templates/posts/index.html index ad42a406597c85a31840762f26271d5eaa35ae49..6b98693b8558913b0bbc58a9275882c5ed30039b 100644 --- a/app/templates/posts/index.html +++ b/app/templates/posts/index.html @@ -1,4 +1,4 @@ -{% extends 'base.html' %} +{% extends 'navigation.html' %} {% block content %} <div class="content"> diff --git a/static/core.css b/static/core.css deleted file mode 100644 index e89b7b71378f523d0b1711307641e6a148d52e3c..0000000000000000000000000000000000000000 --- a/static/core.css +++ /dev/null @@ -1 +0,0 @@ -/* Core CSS Style types */ \ No newline at end of file diff --git a/static/navigation.css b/static/navigation.css new file mode 100644 index 0000000000000000000000000000000000000000..7723a31cef8ee18569c65dcdbff3cd593a9807fc --- /dev/null +++ b/static/navigation.css @@ -0,0 +1,6 @@ +/* CSS Stylesheet for Navigation bar */ + +h1 { + font-size: 1050px; + color: red; +} \ No newline at end of file