diff --git a/src/frontend/static/images/python-logo-generic.svg b/src/frontend/static/images/python-logo-generic.svg new file mode 100644 index 0000000..116eaac --- /dev/null +++ b/src/frontend/static/images/python-logo-generic.svg @@ -0,0 +1,269 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/frontend/static/images/python-logo-transparent.svg b/src/frontend/static/images/python-logo-transparent.svg new file mode 100644 index 0000000..0bfa787 --- /dev/null +++ b/src/frontend/static/images/python-logo-transparent.svg @@ -0,0 +1,152 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/frontend/static/script/pyshelf.ts b/src/frontend/static/script/pyshelf.ts new file mode 100644 index 0000000..6d6a1ed --- /dev/null +++ b/src/frontend/static/script/pyshelf.ts @@ -0,0 +1,15 @@ +function getScreenSize() { + return { + width: window.innerWidth, + height: window.innerHeight + }; +} +$(document).ready(function() { + // Get the current URL + var url = window.location.href; + // Get the last part of the URL + var screenSize = getScreenSize(); + var x: number = screenSize.width; + var y: number = screenSize.height; + console.log(x, y); +}