diff --git a/main.py b/main.py index c43f0d2..28ee83c 100644 --- a/main.py +++ b/main.py @@ -10,7 +10,7 @@ staticbucketurl = 'https://storage.googleapis.com/sarsooxyzstatic/' @app.route('/') def main(): - return render_template('index.html') + return render_template('index.html', staticroot = staticbucketurl) @app.route('/music') def music(): diff --git a/requirements.txt b/requirements.txt index cecb7f4..f472fb9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,3 @@ Flask==1.0.2 requests==2.20 +google.cloud.firestore==0.31.0 diff --git a/static/art/brownstilllife.jpg b/static/art/brownstilllife.jpg deleted file mode 100644 index 56aad64..0000000 Binary files a/static/art/brownstilllife.jpg and /dev/null differ diff --git a/static/art/chimp.jpg b/static/art/chimp.jpg deleted file mode 100644 index 6bebf7f..0000000 Binary files a/static/art/chimp.jpg and /dev/null differ diff --git a/static/art/freddie.jpg b/static/art/freddie.jpg deleted file mode 100644 index 7d07be5..0000000 Binary files a/static/art/freddie.jpg and /dev/null differ diff --git a/static/art/gorilla.jpg b/static/art/gorilla.jpg deleted file mode 100644 index 93c5221..0000000 Binary files a/static/art/gorilla.jpg and /dev/null differ diff --git a/static/art/horse.jpg b/static/art/horse.jpg deleted file mode 100644 index 1621363..0000000 Binary files a/static/art/horse.jpg and /dev/null differ diff --git a/static/art/outlinestilllife.jpg b/static/art/outlinestilllife.jpg deleted file mode 100644 index 9d9fac6..0000000 Binary files a/static/art/outlinestilllife.jpg and /dev/null differ diff --git a/static/art/redandbluestilllife.jpg b/static/art/redandbluestilllife.jpg deleted file mode 100644 index 8d0687c..0000000 Binary files a/static/art/redandbluestilllife.jpg and /dev/null differ diff --git a/static/art/self.jpg b/static/art/self.jpg deleted file mode 100644 index 2cc84c9..0000000 Binary files a/static/art/self.jpg and /dev/null differ diff --git a/static/art/tyler.jpg b/static/art/tyler.jpg deleted file mode 100644 index c185cf0..0000000 Binary files a/static/art/tyler.jpg and /dev/null differ diff --git a/static/art/zu.jpg b/static/art/zu.jpg deleted file mode 100644 index 3f19a64..0000000 Binary files a/static/art/zu.jpg and /dev/null differ diff --git a/static/me.JPG b/static/me.JPG deleted file mode 100644 index bda080c..0000000 Binary files a/static/me.JPG and /dev/null differ diff --git a/templates/index.html b/templates/index.html index 1e40526..5f65104 100644 --- a/templates/index.html +++ b/templates/index.html @@ -11,14 +11,14 @@ <p>proficient in C, Java, Python</p> </div> <div class="col-3 profile"> - <img src="{{ url_for('static', filename='me.JPG') }}" height=150> + <img src="{{ staticroot }}me.jpg" height=150> <p style="text-align: center">sarsoo</p> </div> </div> <div class="gallerystrip row"> - <img src="{{ url_for('static', filename='art/freddie.jpg') }}" alt="freddie gibbs" class="col-pad-4"> - <img src="{{ url_for('static', filename='art/self.jpg') }}" alt="me" class="col-pad-4"> - <img src="{{ url_for('static', filename='art/horse.jpg') }}" alt="tempation of saint anthony" class="col-pad-4"> + <img src="{{ staticroot }}art/freddie.jpg" alt="freddie gibbs" class="col-pad-4"> + <img src="{{ staticroot }}art/self.jpg" alt="me" class="col-pad-4"> + <img src="{{ staticroot }}art/horse.jpg" alt="tempation of saint anthony" class="col-pad-4"> </div> {% endblock %}