diff --git a/src/app.py b/src/app.py index 14ce0cc..bb75008 100644 --- a/src/app.py +++ b/src/app.py @@ -18,12 +18,6 @@ pages['books']['books'] = books app = flask.Flask(__name__) -### TMP -@app.route('/certs') -def certs(): - return flask.render_template("certs.html") -### - @app.route('/api/goto/') @app.route('/api/goto/') def goto(location='home'): @@ -107,6 +101,11 @@ def page404(e): def static_from_root(): return flask.send_from_directory(app.static_folder, flask.request.path[1:]) +@app.route('/files/') +def filesystem_send(fname): + print(app.static_folder + "files/") + return flask.send_from_directory(app.static_folder + '/files/', fname) + if __name__ == "__main__": # import sass diff --git a/src/static/Resume.pdf b/src/static/Resume.pdf index 2504093..06e5538 100644 Binary files a/src/static/Resume.pdf and b/src/static/Resume.pdf differ diff --git a/src/static/css/App.css b/src/static/css/App.css index f115457..93d98e3 100644 --- a/src/static/css/App.css +++ b/src/static/css/App.css @@ -537,6 +537,7 @@ a, a p { width: 100%; height: 100%; object-fit: contain; + border-radius: 1em; } .projImage { diff --git a/src/static/files/designThinkingCert.pdf b/src/static/files/designThinkingCert.pdf new file mode 100644 index 0000000..0185850 Binary files /dev/null and b/src/static/files/designThinkingCert.pdf differ diff --git a/src/static/files/ideationCert.pdf b/src/static/files/ideationCert.pdf new file mode 100644 index 0000000..9965d71 Binary files /dev/null and b/src/static/files/ideationCert.pdf differ diff --git a/src/static/files/toolsForInnovatorsCert.pdf b/src/static/files/toolsForInnovatorsCert.pdf new file mode 100644 index 0000000..e095912 Binary files /dev/null and b/src/static/files/toolsForInnovatorsCert.pdf differ diff --git a/src/static/json/pages.json b/src/static/json/pages.json index 666b9f1..193d6f6 100644 --- a/src/static/json/pages.json +++ b/src/static/json/pages.json @@ -22,5 +22,11 @@ "title":"You've been ducked!", "description": "Face it, you've been ducked", "canonical": "/duck" + }, + "certificates": { + "template": "certs.html", + "title": "Certificates and Awards", + "description": "Certificates and Awards Listing", + "canonical": "/certs" } } diff --git a/src/templates/certs.html b/src/templates/certs.html index 896301b..10930c4 100644 --- a/src/templates/certs.html +++ b/src/templates/certs.html @@ -1,9 +1,6 @@ - - - - lol hi - - +{% block content %} +
+

Andrew's Secret Certification Page

RIT Entrepreneurial Certifications

-

I have the pdfs for these somewhere that is not easily accessible to me as I try to push this out in a hurry. I have contacts if you want proof, I guess.

- - +
+{% endblock %}