diff --git a/CNAME b/CNAME index 2988484..54413d6 100644 --- a/CNAME +++ b/CNAME @@ -1 +1 @@ -shbox.me +shbox.me \ No newline at end of file diff --git a/css/main.css b/css/main.css new file mode 100644 index 0000000..8ec3aa4 --- /dev/null +++ b/css/main.css @@ -0,0 +1,126 @@ +@font-face { + font-family: 'DMMono-Medium'; + src: url('../fonts/DMMono-Medium.woff2') format('woff2'), + url('../fonts/DMMono-Medium.woff') format('woff'); + font-weight: normal; + font-style: normal; +} + +@font-face { + font-family: 'FE5Cent-Regular'; + src: url('../fonts/FE5Cent-Regular.woff2') format('woff2'), + url('../fonts/FE5Cent-Regular.woff') format('woff'); + font-weight: normal; + font-style: normal; +} + +body { + background-color: #222533; + color: #ECEFF4; + + margin: 0; + padding: 0; + box-sizing: border-box; + + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + + min-height: 100vh; +} + +main { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + flex-grow: 1; +} + +main a { + text-decoration: none; +} + +pre { + user-select: none; + font-size: 16px; + font-family: "DMMono-Medium", monospace; + +} + +.logo-red { + color:#da4159; +} + +.logo-orange { + color:#f58931; +} + +.logo-yellow { + color:#feea33; +} + +.logo-green { + color:#29d770; +} + +.logo-blue { + color:#428be5; +} + +.card { + border: 2px solid #D8DEE9; + padding: 20px; + margin: 20px; + border-radius: 1px; + background-color: #222533; + color: #c8c8c8; + width: 350px; + position: relative; + text-align: center; + +} + +.card a { + color: #88C0D0 +} + +.card a:hover { + color: #5E81AC; +} + +.card a:visited { + color: #B48EAD; +} + +.card a:visited:hover { + color:#BF616A; +} + +.card-title { + background-color: #222533; + color: #5E81AC; + + font-family: 'FE5Cent-Regular', sans-serif; + font-size: 10px; + + padding: 0 10px; + position: absolute; + top: -22px; + left: 10px; + +} + +.card-text { + font-family: 'FE5Cent-Regular', sans-serif; + font-size: 10px; + line-height: 10px; + + word-wrap : break-word; + overflow-wrap: break-word; +} + +.footer { + margin-top: auto; +} \ No newline at end of file diff --git a/fonts/DMMono-Medium.woff b/fonts/DMMono-Medium.woff new file mode 100644 index 0000000..c325f9b Binary files /dev/null and b/fonts/DMMono-Medium.woff differ diff --git a/fonts/DMMono-Medium.woff2 b/fonts/DMMono-Medium.woff2 new file mode 100644 index 0000000..aa607de Binary files /dev/null and b/fonts/DMMono-Medium.woff2 differ diff --git a/fonts/FE5Cent-Regular.woff b/fonts/FE5Cent-Regular.woff new file mode 100644 index 0000000..0688566 Binary files /dev/null and b/fonts/FE5Cent-Regular.woff differ diff --git a/fonts/FE5Cent-Regular.woff2 b/fonts/FE5Cent-Regular.woff2 new file mode 100644 index 0000000..97d93eb Binary files /dev/null and b/fonts/FE5Cent-Regular.woff2 differ diff --git a/images/favicon.ico b/images/favicon.ico new file mode 100644 index 0000000..fc811f3 Binary files /dev/null and b/images/favicon.ico differ diff --git a/index.html b/index.html index ecca829..c715a00 100644 --- a/index.html +++ b/index.html @@ -1,12 +1,51 @@ - - shbox - - - - - -

Under Construction ;)

- + + + + + + + + + shbox + + + +
+ + + + + +
+ /home/shbox/about.txt + he/him | canadian | software developer + music lover | student pilot | car enthusiast +
+ +
+ /home/shbox/contacts.info + email matrix telegram twitter UTC-6 +
+ +
+ + + + \ No newline at end of file diff --git a/pgp.html b/pgp.html new file mode 100644 index 0000000..24ada88 --- /dev/null +++ b/pgp.html @@ -0,0 +1,50 @@ + + + + + + + + + + shbox + + + +
+ + + + + +
+ /home/shbox/pubkey.asc | download + + -----BEGIN PGP PUBLIC KEY BLOCK----- +
+ mDMEZpX5bhYJKwYBBAHaRw8BAQdAxDjNtdxeMyeULA6bubLWP43rSaTn530o28SYdb0NnXS0G3NwYXRvbiA8c3BhdG9uMDhAZ21haWwuY29tPoiZBBMWCgBBFiEE9JBK9iCt3Ewos3gvC+uyy+cDftYFAmaV+W4CGwMFCQWjBLIFCwkIBwICIgIGFQoJCAsCBBYCAwECHgcCF4AACgkQC+uyy+cDftZTQQEA2+F/EUf5ws7RFfZrm6ITN0Z6dk65MMjMwu5WMTcMbZsBAJTAuW8qTIroL9/l+MH8dDBozaIQpRGD5Ph/EvevNVwGuDgEZpX5bhIKKwYBBAGXVQEFAQEHQAKfEyzGsaFoIiZbNsmV4ABx+tpQDplbakiIsrjm7KwaAwEIB4h+BBgWCgAmFiEE9JBK9iCt3Ewos3gvC+uyy+cDftYFAmaV+W4CGwwFCQWjBLIACgkQC+uyy+cDftYnqgD/UdPb4qtGX5VZurt9ySBqdzSxLziyFL3bc1geeqtUQwgA/26yznW7YGQOqi+ERgbGAMOieiNF+584Ls+b1n8VqL0P=3lxi +
+ -----END PGP PUBLIC KEY BLOCK----- +
+
+ +
+ + + + + \ No newline at end of file diff --git a/projects/tempotable/fortnite/assets/images/brand/maskable_icon_x128.png b/projects/tempotable/fortnite/assets/images/brand/maskable_icon_x128.png deleted file mode 100644 index dae8e3a..0000000 Binary files a/projects/tempotable/fortnite/assets/images/brand/maskable_icon_x128.png and /dev/null differ diff --git a/projects/tempotable/fortnite/assets/images/brand/maskable_icon_x192.png b/projects/tempotable/fortnite/assets/images/brand/maskable_icon_x192.png deleted file mode 100644 index ccf0db5..0000000 Binary files a/projects/tempotable/fortnite/assets/images/brand/maskable_icon_x192.png and /dev/null differ diff --git a/projects/tempotable/fortnite/assets/images/brand/maskable_icon_x384.png b/projects/tempotable/fortnite/assets/images/brand/maskable_icon_x384.png deleted file mode 100644 index 292eb7c..0000000 Binary files a/projects/tempotable/fortnite/assets/images/brand/maskable_icon_x384.png and /dev/null differ diff --git a/projects/tempotable/fortnite/assets/images/brand/maskable_icon_x48.png b/projects/tempotable/fortnite/assets/images/brand/maskable_icon_x48.png deleted file mode 100644 index cae8e39..0000000 Binary files a/projects/tempotable/fortnite/assets/images/brand/maskable_icon_x48.png and /dev/null differ diff --git a/projects/tempotable/fortnite/assets/images/brand/maskable_icon_x512.png b/projects/tempotable/fortnite/assets/images/brand/maskable_icon_x512.png deleted file mode 100644 index a79b491..0000000 Binary files a/projects/tempotable/fortnite/assets/images/brand/maskable_icon_x512.png and /dev/null differ diff --git a/projects/tempotable/fortnite/assets/images/brand/maskable_icon_x72.png b/projects/tempotable/fortnite/assets/images/brand/maskable_icon_x72.png deleted file mode 100644 index e00c9e3..0000000 Binary files a/projects/tempotable/fortnite/assets/images/brand/maskable_icon_x72.png and /dev/null differ diff --git a/projects/tempotable/fortnite/assets/images/brand/maskable_icon_x96.png b/projects/tempotable/fortnite/assets/images/brand/maskable_icon_x96.png deleted file mode 100644 index 0cee5dd..0000000 Binary files a/projects/tempotable/fortnite/assets/images/brand/maskable_icon_x96.png and /dev/null differ diff --git a/projects/tempotable/fortnite/assets/js/fetchDay.js b/projects/tempotable/fortnite/assets/js/fetchDay.js deleted file mode 100644 index ce57382..0000000 --- a/projects/tempotable/fortnite/assets/js/fetchDay.js +++ /dev/null @@ -1,166 +0,0 @@ -const weekday = ["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]; -let day = "-"; - -function fetchDay() { - const d = new Date(); - return weekday[d.getDay()]; -} - -function fetchTimeLeft(hoursNow, minutesNow, hoursEnd, minutesEnd) { - - // Add trailing 0s to the time if needed. - if(hoursNow < 10) { - hoursNow = `0${hoursNow}`; - } - - if(minutesNow < 10) { - minutesNow = `0${minutesNow}`; - } - - if(hoursEnd < 10) { - hoursEnd = `0${hoursEnd}`; - } - - if(minutesEnd < 10) { - minutesEnd = `0${minutesEnd}`; - } - - var past = new Date(`2023-01-01T00:${hoursNow}:${minutesNow}`); - var now = new Date(`2023-01-01T00:${hoursEnd}:${minutesEnd}`); - var elapsed = (now - past); - - return Math.ceil(elapsed / 1000); -} - -function setPeriodBG(p1, p2, p3, p4, p5) { - document.getElementById("period-1").style.backgroundColor = p1; - document.getElementById("period-2").style.backgroundColor = p2; - document.getElementById("period-3").style.backgroundColor = p3; - document.getElementById("period-4").style.backgroundColor = p4; - document.getElementById("period-5").style.backgroundColor = p5; -} - -function fetchDayFromAPI() { - return "A"; -} - -function fetchPeriodNormal() { - - var d = new Date(); - var day = d.getDay(); - var hour = d.getHours(); - var min = d.getMinutes(); - var time = hour.toString() + min.toString(); - - var period = 0; - - document.getElementById("time-weekday").innerHTML = `${fetchDay()}`; - - if (day == 0 || day == 6) { - - // Weekend - period = -1; - - } else if (time >= 850 && time <= 954) { - - // 1st period - period = 1; - - setPeriodBG("#FDE74C", "#FFF8F0", "#FFF8F0", "#FFF8F0", "#FFF8F0") - - // FIX THIS FOR B DAYS!!!!! - document.getElementById("time-teacher").innerHTML = "R.Serblowski"; - document.getElementById("time-mins").innerHTML = `${fetchTimeLeft(hour, min, 9,54)} Minutes Left`; - - } else if (time >= 959 && time <= 1103) { - - // 2nd period - period = 2; - - setPeriodBG("#88D18A", "#FDE74C", "#FFF8F0", "#FFF8F0", "#FFF8F0") - - document.getElementById("time-teacher").innerHTML = "L.Hemeon"; - document.getElementById("time-mins").innerHTML = `${fetchTimeLeft(hour, min, 11,3)} Minutes Left`; - - } else if (time >= 1103 && time <= 1113) { - - //Break - period = 3; - - setPeriodBG("#88D18A", "#88D18A", "#FFF8F0", "#FFF8F0", "#FFF8F0") - - document.getElementById("time-teacher").innerHTML = "Break"; - document.getElementById("time-mins").innerHTML = `${fetchTimeLeft(hour, min, 11,13)} Minutes Left`; - - } else if (time >= 1113 && time <= 1217) { - - //3rd period - period = 4; - - setPeriodBG("#88D18A", "#88D18A", "#FDE74C", "#FFF8F0", "#FFF8F0") - - document.getElementById("time-teacher").innerHTML = "S.Schaan"; - document.getElementById("time-mins").innerHTML = `${fetchTimeLeft(hour, min, 12,17)} Minutes Left`; - - } else if (time >= 1217 && time <= 1307) { - - //Lunch - period = 5; - - setPeriodBG("#88D18A", "#88D18A", "#88D18A", "#FFF8F0", "#FFF8F0") - - document.getElementById("time-teacher").innerHTML = "Lunch"; - document.getElementById("time-mins").innerHTML = `${fetchTimeLeft(hour, min, 13,7)} Minutes Left`; - - } else if (time >= 1307 && time <= 1411) { - - //4th period - period = 6; - - setPeriodBG("#88D18A", "#88D18A", "#88D18A", "#FDE74C", "#FFF8F0") - - document.getElementById("time-teacher").innerHTML = "B.Thompson"; - document.getElementById("time-mins").innerHTML = `${fetchTimeLeft(hour, min, 14,11)} Minutes Left`; - - } else if (time >= 1411 && time <= 1520) { - - // 5th period - period = 7; - - setPeriodBG("#88D18A", "#88D18A", "#88D18A", "#88D18A", "#FDE74C") - - document.getElementById("time-teacher").innerHTML = "D.Humbert"; - document.getElementById("time-mins").innerHTML = `${fetchTimeLeft(hour, min, 15,20)} Minutes Left`; - - }else if (time >= 1520) { - - //School is over - period = 8; - - setPeriodBG("#88D18A", "#88D18A", "#88D18A", "#88D18A", "#88D18A") - - document.getElementById("time-teacher").innerHTML = "School is over!"; - document.getElementById("time-mins").innerHTML = `-- Minutes Left`; - - }else if (time >= 850 && time <= 1520) { - - //Intermition - period = 9; - - document.getElementById("time-teacher").innerHTML = "Intermition"; - document.getElementById("time-mins").innerHTML = `-- Minutes Left`; - - } else { - - // School has not started - period = 0; - - document.getElementById("time-teacher").innerHTML = "School has not started yet."; - document.getElementById("time-mins").innerHTML = `-- Minutes Left`; - - } - - return period; -} - -setInterval(fetchPeriodNormal, 1000); \ No newline at end of file diff --git a/projects/tempotable/fortnite/assets/js/kit.fontawesome.com_60fdb9e74a.js b/projects/tempotable/fortnite/assets/js/kit.fontawesome.com_60fdb9e74a.js deleted file mode 100644 index 682c3c6..0000000 --- a/projects/tempotable/fortnite/assets/js/kit.fontawesome.com_60fdb9e74a.js +++ /dev/null @@ -1,2 +0,0 @@ -window.FontAwesomeKitConfig = {"asyncLoading":{"enabled":false},"autoA11y":{"enabled":true},"baseUrl":"https://ka-f.fontawesome.com","baseUrlKit":"https://kit.fontawesome.com","detectConflictsUntil":null,"iconUploads":{},"id":90666447,"license":"free","method":"css","minify":{"enabled":true},"token":"60fdb9e74a","v4FontFaceShim":{"enabled":true},"v4shim":{"enabled":true},"v5FontFaceShim":{"enabled":true},"version":"6.4.2"}; -!function(t){"function"==typeof define&&define.amd?define("kit-loader",t):t()}((function(){"use strict";function t(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function e(e){for(var n=1;nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n-1}(t)&&("URLSearchParams"in window?(i=new URL(t)).searchParams.set("token",o):i=i+"?token="+encodeURIComponent(o)),i=i.toString(),new E((function(t,e){if("function"==typeof n)n(i,{mode:"cors",cache:"default"}).then((function(t){if(t.ok)return t.text();throw new Error("")})).then((function(e){t(e)})).catch(e);else if("function"==typeof r){var o=new r;o.addEventListener("loadend",(function(){this.responseText?t(this.responseText):e(new Error(""))}));["abort","error","timeout"].map((function(t){o.addEventListener(t,(function(){e(new Error(""))}))})),o.open("GET",i),o.send()}else{e(new Error(""))}}))}function _(t,e,n){var r=t;return[[/(url\("?)\.\.\/\.\.\/\.\./g,function(t,n){return"".concat(n).concat(e)}],[/(url\("?)\.\.\/webfonts/g,function(t,r){return"".concat(r).concat(e,"/releases/v").concat(n,"/webfonts")}],[/(url\("?)https:\/\/kit-free([^.])*\.fontawesome\.com/g,function(t,n){return"".concat(n).concat(e)}]].forEach((function(t){var e=o(t,2),n=e[0],i=e[1];r=r.replace(n,i)})),r}function F(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},o=n.document||o,i=a.bind(a,o,["fa","fab","fas","far","fal","fad","fak"]);t.autoA11y.enabled&&r(i);var u=t.subsetPath&&t.baseUrl+"/"+t.subsetPath,f=[{id:"fa-main",addOn:void 0,url:u}];if(t.v4shim&&t.v4shim.enabled&&f.push({id:"fa-v4-shims",addOn:"-v4-shims"}),t.v5FontFaceShim&&t.v5FontFaceShim.enabled&&f.push({id:"fa-v5-font-face",addOn:"-v5-font-face"}),t.v4FontFaceShim&&t.v4FontFaceShim.enabled&&f.push({id:"fa-v4-font-face",addOn:"-v4-font-face"}),!u&&t.customIconsCssPath){var s=t.customIconsCssPath.indexOf("kit-upload.css")>-1?t.baseUrlKit:t.baseUrl,l=s+"/"+t.customIconsCssPath;f.push({id:"fa-kit-upload",url:l})}var d=f.map((function(r){return new E((function(o,i){var a=r.url||c(t,{addOn:r.addOn,minify:t.minify.enabled}),u={id:r.id},f=t.subset?u:e(e(e({},n),u),{},{baseUrl:t.baseUrl,version:t.version,id:r.id,contentFilter:function(t,e){return _(t,e.baseUrl,e.version)}});P(a,n).then((function(t){o(C(t,f))})).catch(i)}))}));return E.all(d)}function C(t,e){var n=e.contentFilter||function(t,e){return t},r=document.createElement("style"),o=document.createTextNode(n(t,e));return r.appendChild(o),r.media="all",e.id&&r.setAttribute("id",e.id),e&&e.detectingConflicts&&e.detectionIgnoreAttr&&r.setAttributeNode(document.createAttribute(e.detectionIgnoreAttr)),r}function I(t,n){n.autoA11y=t.autoA11y.enabled,"pro"===t.license&&(n.autoFetchSvg=!0,n.fetchSvgFrom=t.baseUrl+"/releases/"+("latest"===t.version?"latest":"v".concat(t.version))+"/svgs",n.fetchUploadedSvgFrom=t.uploadsUrl);var r=[];return t.v4shim.enabled&&r.push(new E((function(r,o){P(c(t,{addOn:"-v4-shims",minify:t.minify.enabled}),n).then((function(t){r(U(t,e(e({},n),{},{id:"fa-v4-shims"})))})).catch(o)}))),r.push(new E((function(r,o){P(t.subsetPath&&t.baseUrl+"/"+t.subsetPath||c(t,{minify:t.minify.enabled}),n).then((function(t){var o=U(t,e(e({},n),{},{id:"fa-main"}));r(function(t,e){var n=e&&void 0!==e.autoFetchSvg?e.autoFetchSvg:void 0,r=e&&void 0!==e.autoA11y?e.autoA11y:void 0;void 0!==r&&t.setAttribute("data-auto-a11y",r?"true":"false");n&&(t.setAttributeNode(document.createAttribute("data-auto-fetch-svg")),t.setAttribute("data-fetch-svg-from",e.fetchSvgFrom),t.setAttribute("data-fetch-uploaded-svg-from",e.fetchUploadedSvgFrom));return t}(o,n))})).catch(o)}))),E.all(r)}function U(t,e){var n=document.createElement("SCRIPT"),r=document.createTextNode(t);return n.appendChild(r),n.referrerPolicy="strict-origin",e.id&&n.setAttribute("id",e.id),e&&e.detectingConflicts&&e.detectionIgnoreAttr&&n.setAttributeNode(document.createAttribute(e.detectionIgnoreAttr)),n}function T(t){var e,n=[],r=document,o=r.documentElement.doScroll,i=(o?/^loaded|^c/:/^loaded|^i|^c/).test(r.readyState);i||r.addEventListener("DOMContentLoaded",e=function(){for(r.removeEventListener("DOMContentLoaded",e),i=1;e=n.shift();)e()}),i?setTimeout(t,0):n.push(t)}function L(t){"undefined"!=typeof MutationObserver&&new MutationObserver(t).observe(document,{childList:!0,subtree:!0})}try{if(window.FontAwesomeKitConfig){var k=window.FontAwesomeKitConfig,x={detectingConflicts:k.detectConflictsUntil&&new Date<=new Date(k.detectConflictsUntil),detectionIgnoreAttr:"data-fa-detection-ignore",fetch:window.fetch,token:k.token,XMLHttpRequest:window.XMLHttpRequest,document:document},M=document.currentScript,N=M?M.parentElement:document.head;(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"js"===t.method?I(t,e):"css"===t.method?F(t,e,(function(t){T(t),L(t)})):void 0})(k,x).then((function(t){t.map((function(t){try{N.insertBefore(t,M?M.nextSibling:null)}catch(e){N.appendChild(t)}})),x.detectingConflicts&&M&&T((function(){M.setAttributeNode(document.createAttribute(x.detectionIgnoreAttr));var t=function(t,e){var n=document.createElement("script");return e&&e.detectionIgnoreAttr&&n.setAttributeNode(document.createAttribute(e.detectionIgnoreAttr)),n.src=c(t,{baseFilename:"conflict-detection",fileSuffix:"js",subdir:"js",minify:t.minify.enabled}),n}(k,x);document.body.appendChild(t)}))})).catch((function(t){console.error("".concat("Font Awesome Kit:"," ").concat(t))}))}}catch(t){console.error("".concat("Font Awesome Kit:"," ").concat(t))}})); diff --git a/projects/tempotable/fortnite/assets/manifest/app.webmanifest b/projects/tempotable/fortnite/assets/manifest/app.webmanifest deleted file mode 100644 index 2b82fe8..0000000 --- a/projects/tempotable/fortnite/assets/manifest/app.webmanifest +++ /dev/null @@ -1,54 +0,0 @@ -{ - "name": "tempotable", - "short_name": "tempotable", - "start_url": "/projects/tempotable/fortnite/index.html?utm_source=homescreen", - "scope": "/projects/tempotable/fortnite/", - "display": "standalone", - "background_color": "#4381C1", - "theme_color": "#4381C1", - "description": "What class do I have next?", - "icons": [ - { - "src": "/projects/tempotable/shbox/assets/images/brand/maskable_icon_x48.png", - "sizes": "48x48", - "type": "image/png", - "purpose": "any maskable" - }, - { - "src": "/projects/tempotable/shbox/assets/images/brand/maskable_icon_x72.png", - "sizes": "72x72", - "type": "image/png", - "purpose": "any maskable" - }, - { - "src": "/projects/tempotable/shbox/assets/images/brand/maskable_icon_x96.png", - "sizes": "96x96", - "type": "image/png", - "purpose": "any maskable" - }, - { - "src": "/projects/tempotable/shbox/assets/images/brand/maskable_icon_x128.png", - "sizes": "128x128", - "type": "image/png", - "purpose": "any maskable" - }, - { - "src": "/projects/tempotable/shbox/assets/images/brand/maskable_icon_x192.png", - "sizes": "192x192", - "type": "image/png", - "purpose": "any maskable" - }, - { - "src": "/projects/tempotable/shbox/assets/images/brand/maskable_icon_x384.png", - "sizes": "384x384", - "type": "image/png", - "purpose": "any maskable" - }, - { - "src": "/projects/tempotable/shbox/assets/images/brand/maskable_icon_x512.png", - "sizes": "512x512", - "type": "image/png", - "purpose": "any maskable" - } - ] -} diff --git a/projects/tempotable/fortnite/assets/styles/main.css b/projects/tempotable/fortnite/assets/styles/main.css deleted file mode 100644 index 67931b0..0000000 --- a/projects/tempotable/fortnite/assets/styles/main.css +++ /dev/null @@ -1,135 +0,0 @@ -@import url('https://fonts.googleapis.com/css2?family=Inter:wght@700;800;900&display=swap'); - -body { - font-family: 'Inter', sans-serif; - font-weight: 800; - color: #4E4B5C; - background-color: #4381C1; - margin: 0; - padding: 0; - display: flex; - justify-content: center; - align-items: center; - height: 100vh; - width: 100vw; -} - -main { - width: 100%; - display: flex; - flex-direction: column; - justify-content: center; - align-items: center; -} - -.semester-data{ - display: flex; - flex-direction: row; - justify-content: space-between; - align-items: center; - width: 75%; - margin-bottom: 1rem; -} - -.day-box{ - height: 48px; - width: 80px; - border-radius: 10px; - background: #FFF8F0; - box-shadow: 0px 5px 0px 0px rgba(0, 0, 0, 0.25); - text-align: center; - display: flex; - flex-direction: column; - justify-content: center; - align-items: center; -} - -.day-box h2{ - font-size: 3rem; - font-weight: 900; - margin: 0; -} - -h1{ - text-shadow: 0px 4px 2px rgba(0, 0, 0, 0.25); - font-size: 64px; - font-style: normal; - font-weight: 800; - line-height: normal; - margin: 0; - -} - -.class-data{ - width: 75%; - margin-bottom: 1.5rem; -} - - -.class-desc{ - display: flex; - flex-direction: row; - justify-content: center; - align-items: center; - -} - -.class{ - display: flex; - flex-direction: row; - justify-content: space-between; - align-items: center; - width: 100%; - height: 64px; - border-radius: 10px; - background: #FFF8F0; - box-shadow: 0px 5px 0px 0px rgba(0, 0, 0, 0.25); -} - -.class-icon{ - display: flex; - align-items: center; - justify-content: center; - width: 40px; - padding-left: 6px; - padding-right: 6px; -} - -i { - font-size: 28px; - text-align: center; -} - -h3{ - font-weight: 700; - font-size: 28px; - padding-right: 8px; -} - -.time-data{ - width: 75%; - margin-top: 1.5rem; -} - -.time-container{ - display: flex; - flex-direction: column; - justify-content: space-between; - align-items: center; - width: 100%; - text-align: center; - margin: 0; - padding: 0; -} - -.time-container span{ - font-size: 24px; - margin: 0; - padding: 0; -} - -.time-container h4{ - font-size: 18px; - margin: 0; - padding: 0; -} \ No newline at end of file diff --git a/projects/tempotable/fortnite/index.html b/projects/tempotable/fortnite/index.html deleted file mode 100644 index 5511ddf..0000000 --- a/projects/tempotable/fortnite/index.html +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - - Tempotable - - - - - - - - - -
- -
-

Sem 1

-
-

A

-
-
- -
-
-
-
- -
-

Woodshop

-
-

10

-
-
- -
-
-
-
- -
-

Dance

-
-

10

-
-
- -
-
-
-
- -
-

English B

-
-

10

-
-
- -
-
-
-
- -
-

Wellness

-
-

10

-
-
- -
-
-
-
- -
-

Math WA.

-
-

10

-
-
- -
-
-
-

...

- -- Minutes Left -
-
-
- -

...

- -
- - - \ No newline at end of file diff --git a/projects/tempotable/shbox/assets/images/brand/maskable_icon_x128.png b/projects/tempotable/shbox/assets/images/brand/maskable_icon_x128.png deleted file mode 100644 index dae8e3a..0000000 Binary files a/projects/tempotable/shbox/assets/images/brand/maskable_icon_x128.png and /dev/null differ diff --git a/projects/tempotable/shbox/assets/images/brand/maskable_icon_x192.png b/projects/tempotable/shbox/assets/images/brand/maskable_icon_x192.png deleted file mode 100644 index ccf0db5..0000000 Binary files a/projects/tempotable/shbox/assets/images/brand/maskable_icon_x192.png and /dev/null differ diff --git a/projects/tempotable/shbox/assets/images/brand/maskable_icon_x384.png b/projects/tempotable/shbox/assets/images/brand/maskable_icon_x384.png deleted file mode 100644 index 292eb7c..0000000 Binary files a/projects/tempotable/shbox/assets/images/brand/maskable_icon_x384.png and /dev/null differ diff --git a/projects/tempotable/shbox/assets/images/brand/maskable_icon_x48.png b/projects/tempotable/shbox/assets/images/brand/maskable_icon_x48.png deleted file mode 100644 index cae8e39..0000000 Binary files a/projects/tempotable/shbox/assets/images/brand/maskable_icon_x48.png and /dev/null differ diff --git a/projects/tempotable/shbox/assets/images/brand/maskable_icon_x512.png b/projects/tempotable/shbox/assets/images/brand/maskable_icon_x512.png deleted file mode 100644 index a79b491..0000000 Binary files a/projects/tempotable/shbox/assets/images/brand/maskable_icon_x512.png and /dev/null differ diff --git a/projects/tempotable/shbox/assets/images/brand/maskable_icon_x72.png b/projects/tempotable/shbox/assets/images/brand/maskable_icon_x72.png deleted file mode 100644 index e00c9e3..0000000 Binary files a/projects/tempotable/shbox/assets/images/brand/maskable_icon_x72.png and /dev/null differ diff --git a/projects/tempotable/shbox/assets/images/brand/maskable_icon_x96.png b/projects/tempotable/shbox/assets/images/brand/maskable_icon_x96.png deleted file mode 100644 index 0cee5dd..0000000 Binary files a/projects/tempotable/shbox/assets/images/brand/maskable_icon_x96.png and /dev/null differ diff --git a/projects/tempotable/shbox/assets/js/fetchDay.js b/projects/tempotable/shbox/assets/js/fetchDay.js deleted file mode 100644 index e29aff2..0000000 --- a/projects/tempotable/shbox/assets/js/fetchDay.js +++ /dev/null @@ -1,166 +0,0 @@ -const weekday = ["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]; -let day = "-"; - -function fetchDay() { - const d = new Date(); - return weekday[d.getDay()]; -} - -function fetchTimeLeft(hoursNow, minutesNow, hoursEnd, minutesEnd) { - - // Add trailing 0s to the time if needed. - if(hoursNow < 10) { - hoursNow = `0${hoursNow}`; - } - - if(minutesNow < 10) { - minutesNow = `0${minutesNow}`; - } - - if(hoursEnd < 10) { - hoursEnd = `0${hoursEnd}`; - } - - if(minutesEnd < 10) { - minutesEnd = `0${minutesEnd}`; - } - - var past = new Date(`2023-01-01T00:${hoursNow}:${minutesNow}`); - var now = new Date(`2023-01-01T00:${hoursEnd}:${minutesEnd}`); - var elapsed = (now - past); - - return Math.ceil(elapsed / 1000); -} - -function setPeriodBG(p1, p2, p3, p4, p5) { - document.getElementById("period-1").style.backgroundColor = p1; - document.getElementById("period-2").style.backgroundColor = p2; - document.getElementById("period-3").style.backgroundColor = p3; - document.getElementById("period-4").style.backgroundColor = p4; - document.getElementById("period-5").style.backgroundColor = p5; -} - -function fetchDayFromAPI() { - return "A"; -} - -function fetchPeriodNormal() { - - var d = new Date(); - var day = d.getDay(); - var hour = d.getHours(); - var min = d.getMinutes(); - var time = hour.toString() + min.toString(); - - var period = 0; - - document.getElementById("time-weekday").innerHTML = `${fetchDay()}`; - - if (day == 0 || day == 6) { - - // Weekend - period = -1; - - } else if (time >= 850 && time <= 954) { - - // 1st period - period = 1; - - setPeriodBG("#FDE74C", "#FFF8F0", "#FFF8F0", "#FFF8F0", "#FFF8F0") - - // FIX THIS FOR B DAYS!!!!! - document.getElementById("time-teacher").innerHTML = "E.Appleton"; - document.getElementById("time-mins").innerHTML = `${fetchTimeLeft(hour, min, 9,54)} Minutes Left`; - - } else if (time >= 959 && time <= 1103) { - - // 2nd period - period = 2; - - setPeriodBG("#88D18A", "#FDE74C", "#FFF8F0", "#FFF8F0", "#FFF8F0") - - document.getElementById("time-teacher").innerHTML = "D.Buday"; - document.getElementById("time-mins").innerHTML = `${fetchTimeLeft(hour, min, 11,3)} Minutes Left`; - - } else if (time >= 1103 && time <= 1113) { - - //Break - period = 3; - - setPeriodBG("#88D18A", "#88D18A", "#FFF8F0", "#FFF8F0", "#FFF8F0") - - document.getElementById("time-teacher").innerHTML = "Break"; - document.getElementById("time-mins").innerHTML = `${fetchTimeLeft(hour, min, 11,13)} Minutes Left`; - - } else if (time >= 1113 && time <= 1217) { - - //3rd period - period = 4; - - setPeriodBG("#88D18A", "#88D18A", "#FDE74C", "#FFF8F0", "#FFF8F0") - - document.getElementById("time-teacher").innerHTML = "D.Humbert"; - document.getElementById("time-mins").innerHTML = `${fetchTimeLeft(hour, min, 12,17)} Minutes Left`; - - } else if (time >= 1217 && time <= 1307) { - - //Lunch - period = 5; - - setPeriodBG("#88D18A", "#88D18A", "#88D18A", "#FFF8F0", "#FFF8F0") - - document.getElementById("time-teacher").innerHTML = "Lunch"; - document.getElementById("time-mins").innerHTML = `${fetchTimeLeft(hour, min, 13,7)} Minutes Left`; - - } else if (time >= 1307 && time <= 1411) { - - //4th period - period = 6; - - setPeriodBG("#88D18A", "#88D18A", "#88D18A", "#FDE74C", "#FFF8F0") - - document.getElementById("time-teacher").innerHTML = "L.Truitt"; - document.getElementById("time-mins").innerHTML = `${fetchTimeLeft(hour, min, 14,11)} Minutes Left`; - - } else if (time >= 1411 && time <= 1520) { - - // 5th period - period = 7; - - setPeriodBG("#88D18A", "#88D18A", "#88D18A", "#88D18A", "#FDE74C") - - document.getElementById("time-teacher").innerHTML = "L.Truitt"; - document.getElementById("time-mins").innerHTML = `${fetchTimeLeft(hour, min, 15,20)} Minutes Left`; - - }else if (time >= 1520) { - - //School is over - period = 8; - - setPeriodBG("#88D18A", "#88D18A", "#88D18A", "#88D18A", "#88D18A") - - document.getElementById("time-teacher").innerHTML = "School is over!"; - document.getElementById("time-mins").innerHTML = `-- Minutes Left`; - - }else if (time >= 850 && time <= 1520) { - - //Intermition - period = 9; - - document.getElementById("time-teacher").innerHTML = "Intermition"; - document.getElementById("time-mins").innerHTML = `-- Minutes Left`; - - } else { - - // School has not started - period = 0; - - document.getElementById("time-teacher").innerHTML = "School has not started yet."; - document.getElementById("time-mins").innerHTML = `-- Minutes Left`; - - } - - return period; -} - -setInterval(fetchPeriodNormal, 1000); \ No newline at end of file diff --git a/projects/tempotable/shbox/assets/js/kit.fontawesome.com_60fdb9e74a.js b/projects/tempotable/shbox/assets/js/kit.fontawesome.com_60fdb9e74a.js deleted file mode 100644 index 682c3c6..0000000 --- a/projects/tempotable/shbox/assets/js/kit.fontawesome.com_60fdb9e74a.js +++ /dev/null @@ -1,2 +0,0 @@ -window.FontAwesomeKitConfig = {"asyncLoading":{"enabled":false},"autoA11y":{"enabled":true},"baseUrl":"https://ka-f.fontawesome.com","baseUrlKit":"https://kit.fontawesome.com","detectConflictsUntil":null,"iconUploads":{},"id":90666447,"license":"free","method":"css","minify":{"enabled":true},"token":"60fdb9e74a","v4FontFaceShim":{"enabled":true},"v4shim":{"enabled":true},"v5FontFaceShim":{"enabled":true},"version":"6.4.2"}; -!function(t){"function"==typeof define&&define.amd?define("kit-loader",t):t()}((function(){"use strict";function t(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function e(e){for(var n=1;nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n-1}(t)&&("URLSearchParams"in window?(i=new URL(t)).searchParams.set("token",o):i=i+"?token="+encodeURIComponent(o)),i=i.toString(),new E((function(t,e){if("function"==typeof n)n(i,{mode:"cors",cache:"default"}).then((function(t){if(t.ok)return t.text();throw new Error("")})).then((function(e){t(e)})).catch(e);else if("function"==typeof r){var o=new r;o.addEventListener("loadend",(function(){this.responseText?t(this.responseText):e(new Error(""))}));["abort","error","timeout"].map((function(t){o.addEventListener(t,(function(){e(new Error(""))}))})),o.open("GET",i),o.send()}else{e(new Error(""))}}))}function _(t,e,n){var r=t;return[[/(url\("?)\.\.\/\.\.\/\.\./g,function(t,n){return"".concat(n).concat(e)}],[/(url\("?)\.\.\/webfonts/g,function(t,r){return"".concat(r).concat(e,"/releases/v").concat(n,"/webfonts")}],[/(url\("?)https:\/\/kit-free([^.])*\.fontawesome\.com/g,function(t,n){return"".concat(n).concat(e)}]].forEach((function(t){var e=o(t,2),n=e[0],i=e[1];r=r.replace(n,i)})),r}function F(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},o=n.document||o,i=a.bind(a,o,["fa","fab","fas","far","fal","fad","fak"]);t.autoA11y.enabled&&r(i);var u=t.subsetPath&&t.baseUrl+"/"+t.subsetPath,f=[{id:"fa-main",addOn:void 0,url:u}];if(t.v4shim&&t.v4shim.enabled&&f.push({id:"fa-v4-shims",addOn:"-v4-shims"}),t.v5FontFaceShim&&t.v5FontFaceShim.enabled&&f.push({id:"fa-v5-font-face",addOn:"-v5-font-face"}),t.v4FontFaceShim&&t.v4FontFaceShim.enabled&&f.push({id:"fa-v4-font-face",addOn:"-v4-font-face"}),!u&&t.customIconsCssPath){var s=t.customIconsCssPath.indexOf("kit-upload.css")>-1?t.baseUrlKit:t.baseUrl,l=s+"/"+t.customIconsCssPath;f.push({id:"fa-kit-upload",url:l})}var d=f.map((function(r){return new E((function(o,i){var a=r.url||c(t,{addOn:r.addOn,minify:t.minify.enabled}),u={id:r.id},f=t.subset?u:e(e(e({},n),u),{},{baseUrl:t.baseUrl,version:t.version,id:r.id,contentFilter:function(t,e){return _(t,e.baseUrl,e.version)}});P(a,n).then((function(t){o(C(t,f))})).catch(i)}))}));return E.all(d)}function C(t,e){var n=e.contentFilter||function(t,e){return t},r=document.createElement("style"),o=document.createTextNode(n(t,e));return r.appendChild(o),r.media="all",e.id&&r.setAttribute("id",e.id),e&&e.detectingConflicts&&e.detectionIgnoreAttr&&r.setAttributeNode(document.createAttribute(e.detectionIgnoreAttr)),r}function I(t,n){n.autoA11y=t.autoA11y.enabled,"pro"===t.license&&(n.autoFetchSvg=!0,n.fetchSvgFrom=t.baseUrl+"/releases/"+("latest"===t.version?"latest":"v".concat(t.version))+"/svgs",n.fetchUploadedSvgFrom=t.uploadsUrl);var r=[];return t.v4shim.enabled&&r.push(new E((function(r,o){P(c(t,{addOn:"-v4-shims",minify:t.minify.enabled}),n).then((function(t){r(U(t,e(e({},n),{},{id:"fa-v4-shims"})))})).catch(o)}))),r.push(new E((function(r,o){P(t.subsetPath&&t.baseUrl+"/"+t.subsetPath||c(t,{minify:t.minify.enabled}),n).then((function(t){var o=U(t,e(e({},n),{},{id:"fa-main"}));r(function(t,e){var n=e&&void 0!==e.autoFetchSvg?e.autoFetchSvg:void 0,r=e&&void 0!==e.autoA11y?e.autoA11y:void 0;void 0!==r&&t.setAttribute("data-auto-a11y",r?"true":"false");n&&(t.setAttributeNode(document.createAttribute("data-auto-fetch-svg")),t.setAttribute("data-fetch-svg-from",e.fetchSvgFrom),t.setAttribute("data-fetch-uploaded-svg-from",e.fetchUploadedSvgFrom));return t}(o,n))})).catch(o)}))),E.all(r)}function U(t,e){var n=document.createElement("SCRIPT"),r=document.createTextNode(t);return n.appendChild(r),n.referrerPolicy="strict-origin",e.id&&n.setAttribute("id",e.id),e&&e.detectingConflicts&&e.detectionIgnoreAttr&&n.setAttributeNode(document.createAttribute(e.detectionIgnoreAttr)),n}function T(t){var e,n=[],r=document,o=r.documentElement.doScroll,i=(o?/^loaded|^c/:/^loaded|^i|^c/).test(r.readyState);i||r.addEventListener("DOMContentLoaded",e=function(){for(r.removeEventListener("DOMContentLoaded",e),i=1;e=n.shift();)e()}),i?setTimeout(t,0):n.push(t)}function L(t){"undefined"!=typeof MutationObserver&&new MutationObserver(t).observe(document,{childList:!0,subtree:!0})}try{if(window.FontAwesomeKitConfig){var k=window.FontAwesomeKitConfig,x={detectingConflicts:k.detectConflictsUntil&&new Date<=new Date(k.detectConflictsUntil),detectionIgnoreAttr:"data-fa-detection-ignore",fetch:window.fetch,token:k.token,XMLHttpRequest:window.XMLHttpRequest,document:document},M=document.currentScript,N=M?M.parentElement:document.head;(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"js"===t.method?I(t,e):"css"===t.method?F(t,e,(function(t){T(t),L(t)})):void 0})(k,x).then((function(t){t.map((function(t){try{N.insertBefore(t,M?M.nextSibling:null)}catch(e){N.appendChild(t)}})),x.detectingConflicts&&M&&T((function(){M.setAttributeNode(document.createAttribute(x.detectionIgnoreAttr));var t=function(t,e){var n=document.createElement("script");return e&&e.detectionIgnoreAttr&&n.setAttributeNode(document.createAttribute(e.detectionIgnoreAttr)),n.src=c(t,{baseFilename:"conflict-detection",fileSuffix:"js",subdir:"js",minify:t.minify.enabled}),n}(k,x);document.body.appendChild(t)}))})).catch((function(t){console.error("".concat("Font Awesome Kit:"," ").concat(t))}))}}catch(t){console.error("".concat("Font Awesome Kit:"," ").concat(t))}})); diff --git a/projects/tempotable/shbox/assets/manifest/app.webmanifest b/projects/tempotable/shbox/assets/manifest/app.webmanifest deleted file mode 100644 index d5995a0..0000000 --- a/projects/tempotable/shbox/assets/manifest/app.webmanifest +++ /dev/null @@ -1,54 +0,0 @@ -{ - "name": "tempotable", - "short_name": "tempotable", - "start_url": "/projects/tempotable/shbox/index.html?utm_source=homescreen", - "scope": "/projects/tempotable/shbox/", - "display": "standalone", - "background_color": "#4381C1", - "theme_color": "#4381C1", - "description": "What class do I have next?", - "icons": [ - { - "src": "/projects/tempotable/shbox/assets/images/brand/maskable_icon_x48.png", - "sizes": "48x48", - "type": "image/png", - "purpose": "any maskable" - }, - { - "src": "/projects/tempotable/shbox/assets/images/brand/maskable_icon_x72.png", - "sizes": "72x72", - "type": "image/png", - "purpose": "any maskable" - }, - { - "src": "/projects/tempotable/shbox/assets/images/brand/maskable_icon_x96.png", - "sizes": "96x96", - "type": "image/png", - "purpose": "any maskable" - }, - { - "src": "/projects/tempotable/shbox/assets/images/brand/maskable_icon_x128.png", - "sizes": "128x128", - "type": "image/png", - "purpose": "any maskable" - }, - { - "src": "/projects/tempotable/shbox/assets/images/brand/maskable_icon_x192.png", - "sizes": "192x192", - "type": "image/png", - "purpose": "any maskable" - }, - { - "src": "/projects/tempotable/shbox/assets/images/brand/maskable_icon_x384.png", - "sizes": "384x384", - "type": "image/png", - "purpose": "any maskable" - }, - { - "src": "/projects/tempotable/shbox/assets/images/brand/maskable_icon_x512.png", - "sizes": "512x512", - "type": "image/png", - "purpose": "any maskable" - } - ] -} diff --git a/projects/tempotable/shbox/assets/styles/main.css b/projects/tempotable/shbox/assets/styles/main.css deleted file mode 100644 index 67931b0..0000000 --- a/projects/tempotable/shbox/assets/styles/main.css +++ /dev/null @@ -1,135 +0,0 @@ -@import url('https://fonts.googleapis.com/css2?family=Inter:wght@700;800;900&display=swap'); - -body { - font-family: 'Inter', sans-serif; - font-weight: 800; - color: #4E4B5C; - background-color: #4381C1; - margin: 0; - padding: 0; - display: flex; - justify-content: center; - align-items: center; - height: 100vh; - width: 100vw; -} - -main { - width: 100%; - display: flex; - flex-direction: column; - justify-content: center; - align-items: center; -} - -.semester-data{ - display: flex; - flex-direction: row; - justify-content: space-between; - align-items: center; - width: 75%; - margin-bottom: 1rem; -} - -.day-box{ - height: 48px; - width: 80px; - border-radius: 10px; - background: #FFF8F0; - box-shadow: 0px 5px 0px 0px rgba(0, 0, 0, 0.25); - text-align: center; - display: flex; - flex-direction: column; - justify-content: center; - align-items: center; -} - -.day-box h2{ - font-size: 3rem; - font-weight: 900; - margin: 0; -} - -h1{ - text-shadow: 0px 4px 2px rgba(0, 0, 0, 0.25); - font-size: 64px; - font-style: normal; - font-weight: 800; - line-height: normal; - margin: 0; - -} - -.class-data{ - width: 75%; - margin-bottom: 1.5rem; -} - - -.class-desc{ - display: flex; - flex-direction: row; - justify-content: center; - align-items: center; - -} - -.class{ - display: flex; - flex-direction: row; - justify-content: space-between; - align-items: center; - width: 100%; - height: 64px; - border-radius: 10px; - background: #FFF8F0; - box-shadow: 0px 5px 0px 0px rgba(0, 0, 0, 0.25); -} - -.class-icon{ - display: flex; - align-items: center; - justify-content: center; - width: 40px; - padding-left: 6px; - padding-right: 6px; -} - -i { - font-size: 28px; - text-align: center; -} - -h3{ - font-weight: 700; - font-size: 28px; - padding-right: 8px; -} - -.time-data{ - width: 75%; - margin-top: 1.5rem; -} - -.time-container{ - display: flex; - flex-direction: column; - justify-content: space-between; - align-items: center; - width: 100%; - text-align: center; - margin: 0; - padding: 0; -} - -.time-container span{ - font-size: 24px; - margin: 0; - padding: 0; -} - -.time-container h4{ - font-size: 18px; - margin: 0; - padding: 0; -} \ No newline at end of file diff --git a/projects/tempotable/shbox/index.html b/projects/tempotable/shbox/index.html deleted file mode 100644 index 5a22dc1..0000000 --- a/projects/tempotable/shbox/index.html +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - - Tempotable - - - - - - - - - -
- -
-

Sem 1

-
-

A

-
-
- -
-
-
-
- -
-

Science

-
-

10

-
-
- -
-
-
-
- -
-

English A

-
-

10

-
-
- -
-
-
-
- -
-

Math FP.

-
-

10

-
-
- -
-
-
-
- -
-

Computer Sci.

-
-

20

-
-
- -
-
-
-
- -
-

Robotics

-
-

10

-
-
- -
-
-
-

...

- -- Minutes Left -
-
-
- -

...

- -
- - - \ No newline at end of file diff --git a/projects/tempotable/zender/assets/images/brand/maskable_icon_x128.png b/projects/tempotable/zender/assets/images/brand/maskable_icon_x128.png deleted file mode 100644 index dae8e3a..0000000 Binary files a/projects/tempotable/zender/assets/images/brand/maskable_icon_x128.png and /dev/null differ diff --git a/projects/tempotable/zender/assets/images/brand/maskable_icon_x192.png b/projects/tempotable/zender/assets/images/brand/maskable_icon_x192.png deleted file mode 100644 index ccf0db5..0000000 Binary files a/projects/tempotable/zender/assets/images/brand/maskable_icon_x192.png and /dev/null differ diff --git a/projects/tempotable/zender/assets/images/brand/maskable_icon_x384.png b/projects/tempotable/zender/assets/images/brand/maskable_icon_x384.png deleted file mode 100644 index 292eb7c..0000000 Binary files a/projects/tempotable/zender/assets/images/brand/maskable_icon_x384.png and /dev/null differ diff --git a/projects/tempotable/zender/assets/images/brand/maskable_icon_x48.png b/projects/tempotable/zender/assets/images/brand/maskable_icon_x48.png deleted file mode 100644 index cae8e39..0000000 Binary files a/projects/tempotable/zender/assets/images/brand/maskable_icon_x48.png and /dev/null differ diff --git a/projects/tempotable/zender/assets/images/brand/maskable_icon_x512.png b/projects/tempotable/zender/assets/images/brand/maskable_icon_x512.png deleted file mode 100644 index a79b491..0000000 Binary files a/projects/tempotable/zender/assets/images/brand/maskable_icon_x512.png and /dev/null differ diff --git a/projects/tempotable/zender/assets/images/brand/maskable_icon_x72.png b/projects/tempotable/zender/assets/images/brand/maskable_icon_x72.png deleted file mode 100644 index e00c9e3..0000000 Binary files a/projects/tempotable/zender/assets/images/brand/maskable_icon_x72.png and /dev/null differ diff --git a/projects/tempotable/zender/assets/images/brand/maskable_icon_x96.png b/projects/tempotable/zender/assets/images/brand/maskable_icon_x96.png deleted file mode 100644 index 0cee5dd..0000000 Binary files a/projects/tempotable/zender/assets/images/brand/maskable_icon_x96.png and /dev/null differ diff --git a/projects/tempotable/zender/assets/js/fetchDay.js b/projects/tempotable/zender/assets/js/fetchDay.js deleted file mode 100644 index d674034..0000000 --- a/projects/tempotable/zender/assets/js/fetchDay.js +++ /dev/null @@ -1,166 +0,0 @@ -const weekday = ["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]; -let day = "-"; - -function fetchDay() { - const d = new Date(); - return weekday[d.getDay()]; -} - -function fetchTimeLeft(hoursNow, minutesNow, hoursEnd, minutesEnd) { - - // Add trailing 0s to the time if needed. - if(hoursNow < 10) { - hoursNow = `0${hoursNow}`; - } - - if(minutesNow < 10) { - minutesNow = `0${minutesNow}`; - } - - if(hoursEnd < 10) { - hoursEnd = `0${hoursEnd}`; - } - - if(minutesEnd < 10) { - minutesEnd = `0${minutesEnd}`; - } - - var past = new Date(`2023-01-01T00:${hoursNow}:${minutesNow}`); - var now = new Date(`2023-01-01T00:${hoursEnd}:${minutesEnd}`); - var elapsed = (now - past); - - return Math.ceil(elapsed / 1000); -} - -function setPeriodBG(p1, p2, p3, p4, p5) { - document.getElementById("period-1").style.backgroundColor = p1; - document.getElementById("period-2").style.backgroundColor = p2; - document.getElementById("period-3").style.backgroundColor = p3; - document.getElementById("period-4").style.backgroundColor = p4; - document.getElementById("period-5").style.backgroundColor = p5; -} - -function fetchDayFromAPI() { - return "A"; -} - -function fetchPeriodNormal() { - - var d = new Date(); - var day = d.getDay(); - var hour = d.getHours(); - var min = d.getMinutes(); - var time = hour.toString() + min.toString(); - - var period = 0; - - document.getElementById("time-weekday").innerHTML = `${fetchDay()}`; - - if (day == 0 || day == 6) { - - // Weekend - period = -1; - - } else if (time >= 850 && time <= 954) { - - // 1st period - period = 1; - - setPeriodBG("#FDE74C", "#FFF8F0", "#FFF8F0", "#FFF8F0", "#FFF8F0") - - // FIX THIS FOR B DAYS!!!!! - document.getElementById("time-teacher").innerHTML = "T.Matisz"; - document.getElementById("time-mins").innerHTML = `${fetchTimeLeft(hour, min, 9,54)} Minutes Left`; - - } else if (time >= 959 && time <= 1103) { - - // 2nd period - period = 2; - - setPeriodBG("#88D18A", "#FDE74C", "#FFF8F0", "#FFF8F0", "#FFF8F0") - - document.getElementById("time-teacher").innerHTML = "D.Buday"; - document.getElementById("time-mins").innerHTML = `${fetchTimeLeft(hour, min, 11,3)} Minutes Left`; - - } else if (time >= 1103 && time <= 1113) { - - //Break - period = 3; - - setPeriodBG("#88D18A", "#88D18A", "#FFF8F0", "#FFF8F0", "#FFF8F0") - - document.getElementById("time-teacher").innerHTML = "Break"; - document.getElementById("time-mins").innerHTML = `${fetchTimeLeft(hour, min, 11,13)} Minutes Left`; - - } else if (time >= 1113 && time <= 1217) { - - //3rd period - period = 4; - - setPeriodBG("#88D18A", "#88D18A", "#FDE74C", "#FFF8F0", "#FFF8F0") - - document.getElementById("time-teacher").innerHTML = "D.Humbert"; - document.getElementById("time-mins").innerHTML = `${fetchTimeLeft(hour, min, 12,17)} Minutes Left`; - - } else if (time >= 1217 && time <= 1307) { - - //Lunch - period = 5; - - setPeriodBG("#88D18A", "#88D18A", "#88D18A", "#FFF8F0", "#FFF8F0") - - document.getElementById("time-teacher").innerHTML = "Lunch"; - document.getElementById("time-mins").innerHTML = `${fetchTimeLeft(hour, min, 13,7)} Minutes Left`; - - } else if (time >= 1307 && time <= 1411) { - - //4th period - period = 6; - - setPeriodBG("#88D18A", "#88D18A", "#88D18A", "#FDE74C", "#FFF8F0") - - document.getElementById("time-teacher").innerHTML = "B.Thompson"; - document.getElementById("time-mins").innerHTML = `${fetchTimeLeft(hour, min, 14,11)} Minutes Left`; - - } else if (time >= 1411 && time <= 1520) { - - // 5th period - period = 7; - - setPeriodBG("#88D18A", "#88D18A", "#88D18A", "#88D18A", "#FDE74C") - - document.getElementById("time-teacher").innerHTML = "L.Truitt"; - document.getElementById("time-mins").innerHTML = `${fetchTimeLeft(hour, min, 15,20)} Minutes Left`; - - }else if (time >= 1520) { - - //School is over - period = 8; - - setPeriodBG("#88D18A", "#88D18A", "#88D18A", "#88D18A", "#88D18A") - - document.getElementById("time-teacher").innerHTML = "School is over!"; - document.getElementById("time-mins").innerHTML = `-- Minutes Left`; - - }else if (time >= 850 && time <= 1520) { - - //Intermition - period = 9; - - document.getElementById("time-teacher").innerHTML = "Intermition"; - document.getElementById("time-mins").innerHTML = `-- Minutes Left`; - - } else { - - // School has not started - period = 0; - - document.getElementById("time-teacher").innerHTML = "School has not started yet."; - document.getElementById("time-mins").innerHTML = `-- Minutes Left`; - - } - - return period; -} - -setInterval(fetchPeriodNormal, 1000); \ No newline at end of file diff --git a/projects/tempotable/zender/assets/js/kit.fontawesome.com_60fdb9e74a.js b/projects/tempotable/zender/assets/js/kit.fontawesome.com_60fdb9e74a.js deleted file mode 100644 index 682c3c6..0000000 --- a/projects/tempotable/zender/assets/js/kit.fontawesome.com_60fdb9e74a.js +++ /dev/null @@ -1,2 +0,0 @@ -window.FontAwesomeKitConfig = {"asyncLoading":{"enabled":false},"autoA11y":{"enabled":true},"baseUrl":"https://ka-f.fontawesome.com","baseUrlKit":"https://kit.fontawesome.com","detectConflictsUntil":null,"iconUploads":{},"id":90666447,"license":"free","method":"css","minify":{"enabled":true},"token":"60fdb9e74a","v4FontFaceShim":{"enabled":true},"v4shim":{"enabled":true},"v5FontFaceShim":{"enabled":true},"version":"6.4.2"}; -!function(t){"function"==typeof define&&define.amd?define("kit-loader",t):t()}((function(){"use strict";function t(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function e(e){for(var n=1;nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n-1}(t)&&("URLSearchParams"in window?(i=new URL(t)).searchParams.set("token",o):i=i+"?token="+encodeURIComponent(o)),i=i.toString(),new E((function(t,e){if("function"==typeof n)n(i,{mode:"cors",cache:"default"}).then((function(t){if(t.ok)return t.text();throw new Error("")})).then((function(e){t(e)})).catch(e);else if("function"==typeof r){var o=new r;o.addEventListener("loadend",(function(){this.responseText?t(this.responseText):e(new Error(""))}));["abort","error","timeout"].map((function(t){o.addEventListener(t,(function(){e(new Error(""))}))})),o.open("GET",i),o.send()}else{e(new Error(""))}}))}function _(t,e,n){var r=t;return[[/(url\("?)\.\.\/\.\.\/\.\./g,function(t,n){return"".concat(n).concat(e)}],[/(url\("?)\.\.\/webfonts/g,function(t,r){return"".concat(r).concat(e,"/releases/v").concat(n,"/webfonts")}],[/(url\("?)https:\/\/kit-free([^.])*\.fontawesome\.com/g,function(t,n){return"".concat(n).concat(e)}]].forEach((function(t){var e=o(t,2),n=e[0],i=e[1];r=r.replace(n,i)})),r}function F(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},o=n.document||o,i=a.bind(a,o,["fa","fab","fas","far","fal","fad","fak"]);t.autoA11y.enabled&&r(i);var u=t.subsetPath&&t.baseUrl+"/"+t.subsetPath,f=[{id:"fa-main",addOn:void 0,url:u}];if(t.v4shim&&t.v4shim.enabled&&f.push({id:"fa-v4-shims",addOn:"-v4-shims"}),t.v5FontFaceShim&&t.v5FontFaceShim.enabled&&f.push({id:"fa-v5-font-face",addOn:"-v5-font-face"}),t.v4FontFaceShim&&t.v4FontFaceShim.enabled&&f.push({id:"fa-v4-font-face",addOn:"-v4-font-face"}),!u&&t.customIconsCssPath){var s=t.customIconsCssPath.indexOf("kit-upload.css")>-1?t.baseUrlKit:t.baseUrl,l=s+"/"+t.customIconsCssPath;f.push({id:"fa-kit-upload",url:l})}var d=f.map((function(r){return new E((function(o,i){var a=r.url||c(t,{addOn:r.addOn,minify:t.minify.enabled}),u={id:r.id},f=t.subset?u:e(e(e({},n),u),{},{baseUrl:t.baseUrl,version:t.version,id:r.id,contentFilter:function(t,e){return _(t,e.baseUrl,e.version)}});P(a,n).then((function(t){o(C(t,f))})).catch(i)}))}));return E.all(d)}function C(t,e){var n=e.contentFilter||function(t,e){return t},r=document.createElement("style"),o=document.createTextNode(n(t,e));return r.appendChild(o),r.media="all",e.id&&r.setAttribute("id",e.id),e&&e.detectingConflicts&&e.detectionIgnoreAttr&&r.setAttributeNode(document.createAttribute(e.detectionIgnoreAttr)),r}function I(t,n){n.autoA11y=t.autoA11y.enabled,"pro"===t.license&&(n.autoFetchSvg=!0,n.fetchSvgFrom=t.baseUrl+"/releases/"+("latest"===t.version?"latest":"v".concat(t.version))+"/svgs",n.fetchUploadedSvgFrom=t.uploadsUrl);var r=[];return t.v4shim.enabled&&r.push(new E((function(r,o){P(c(t,{addOn:"-v4-shims",minify:t.minify.enabled}),n).then((function(t){r(U(t,e(e({},n),{},{id:"fa-v4-shims"})))})).catch(o)}))),r.push(new E((function(r,o){P(t.subsetPath&&t.baseUrl+"/"+t.subsetPath||c(t,{minify:t.minify.enabled}),n).then((function(t){var o=U(t,e(e({},n),{},{id:"fa-main"}));r(function(t,e){var n=e&&void 0!==e.autoFetchSvg?e.autoFetchSvg:void 0,r=e&&void 0!==e.autoA11y?e.autoA11y:void 0;void 0!==r&&t.setAttribute("data-auto-a11y",r?"true":"false");n&&(t.setAttributeNode(document.createAttribute("data-auto-fetch-svg")),t.setAttribute("data-fetch-svg-from",e.fetchSvgFrom),t.setAttribute("data-fetch-uploaded-svg-from",e.fetchUploadedSvgFrom));return t}(o,n))})).catch(o)}))),E.all(r)}function U(t,e){var n=document.createElement("SCRIPT"),r=document.createTextNode(t);return n.appendChild(r),n.referrerPolicy="strict-origin",e.id&&n.setAttribute("id",e.id),e&&e.detectingConflicts&&e.detectionIgnoreAttr&&n.setAttributeNode(document.createAttribute(e.detectionIgnoreAttr)),n}function T(t){var e,n=[],r=document,o=r.documentElement.doScroll,i=(o?/^loaded|^c/:/^loaded|^i|^c/).test(r.readyState);i||r.addEventListener("DOMContentLoaded",e=function(){for(r.removeEventListener("DOMContentLoaded",e),i=1;e=n.shift();)e()}),i?setTimeout(t,0):n.push(t)}function L(t){"undefined"!=typeof MutationObserver&&new MutationObserver(t).observe(document,{childList:!0,subtree:!0})}try{if(window.FontAwesomeKitConfig){var k=window.FontAwesomeKitConfig,x={detectingConflicts:k.detectConflictsUntil&&new Date<=new Date(k.detectConflictsUntil),detectionIgnoreAttr:"data-fa-detection-ignore",fetch:window.fetch,token:k.token,XMLHttpRequest:window.XMLHttpRequest,document:document},M=document.currentScript,N=M?M.parentElement:document.head;(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"js"===t.method?I(t,e):"css"===t.method?F(t,e,(function(t){T(t),L(t)})):void 0})(k,x).then((function(t){t.map((function(t){try{N.insertBefore(t,M?M.nextSibling:null)}catch(e){N.appendChild(t)}})),x.detectingConflicts&&M&&T((function(){M.setAttributeNode(document.createAttribute(x.detectionIgnoreAttr));var t=function(t,e){var n=document.createElement("script");return e&&e.detectionIgnoreAttr&&n.setAttributeNode(document.createAttribute(e.detectionIgnoreAttr)),n.src=c(t,{baseFilename:"conflict-detection",fileSuffix:"js",subdir:"js",minify:t.minify.enabled}),n}(k,x);document.body.appendChild(t)}))})).catch((function(t){console.error("".concat("Font Awesome Kit:"," ").concat(t))}))}}catch(t){console.error("".concat("Font Awesome Kit:"," ").concat(t))}})); diff --git a/projects/tempotable/zender/assets/manifest/app.webmanifest b/projects/tempotable/zender/assets/manifest/app.webmanifest deleted file mode 100644 index 931108f..0000000 --- a/projects/tempotable/zender/assets/manifest/app.webmanifest +++ /dev/null @@ -1,54 +0,0 @@ -{ - "name": "tempotable", - "short_name": "tempotable", - "start_url": "/projects/tempotable/zender/index.html?utm_source=homescreen", - "scope": "/projects/tempotable/zender/", - "display": "standalone", - "background_color": "#4381C1", - "theme_color": "#4381C1", - "description": "What class do I have next?", - "icons": [ - { - "src": "/projects/tempotable/zender/assets/images/brand/maskable_icon_x48.png", - "sizes": "48x48", - "type": "image/png", - "purpose": "any maskable" - }, - { - "src": "/projects/tempotable/zender/assets/images/brand/maskable_icon_x72.png", - "sizes": "72x72", - "type": "image/png", - "purpose": "any maskable" - }, - { - "src": "/projects/tempotable/zender/assets/images/brand/maskable_icon_x96.png", - "sizes": "96x96", - "type": "image/png", - "purpose": "any maskable" - }, - { - "src": "/projects/tempotable/zender/assets/images/brand/maskable_icon_x128.png", - "sizes": "128x128", - "type": "image/png", - "purpose": "any maskable" - }, - { - "src": "/projects/tempotable/zender/assets/images/brand/maskable_icon_x192.png", - "sizes": "192x192", - "type": "image/png", - "purpose": "any maskable" - }, - { - "src": "/projects/tempotable/zender/assets/images/brand/maskable_icon_x384.png", - "sizes": "384x384", - "type": "image/png", - "purpose": "any maskable" - }, - { - "src": "/projects/tempotable/zender/assets/images/brand/maskable_icon_x512.png", - "sizes": "512x512", - "type": "image/png", - "purpose": "any maskable" - } - ] -} diff --git a/projects/tempotable/zender/assets/styles/main.css b/projects/tempotable/zender/assets/styles/main.css deleted file mode 100644 index 67931b0..0000000 --- a/projects/tempotable/zender/assets/styles/main.css +++ /dev/null @@ -1,135 +0,0 @@ -@import url('https://fonts.googleapis.com/css2?family=Inter:wght@700;800;900&display=swap'); - -body { - font-family: 'Inter', sans-serif; - font-weight: 800; - color: #4E4B5C; - background-color: #4381C1; - margin: 0; - padding: 0; - display: flex; - justify-content: center; - align-items: center; - height: 100vh; - width: 100vw; -} - -main { - width: 100%; - display: flex; - flex-direction: column; - justify-content: center; - align-items: center; -} - -.semester-data{ - display: flex; - flex-direction: row; - justify-content: space-between; - align-items: center; - width: 75%; - margin-bottom: 1rem; -} - -.day-box{ - height: 48px; - width: 80px; - border-radius: 10px; - background: #FFF8F0; - box-shadow: 0px 5px 0px 0px rgba(0, 0, 0, 0.25); - text-align: center; - display: flex; - flex-direction: column; - justify-content: center; - align-items: center; -} - -.day-box h2{ - font-size: 3rem; - font-weight: 900; - margin: 0; -} - -h1{ - text-shadow: 0px 4px 2px rgba(0, 0, 0, 0.25); - font-size: 64px; - font-style: normal; - font-weight: 800; - line-height: normal; - margin: 0; - -} - -.class-data{ - width: 75%; - margin-bottom: 1.5rem; -} - - -.class-desc{ - display: flex; - flex-direction: row; - justify-content: center; - align-items: center; - -} - -.class{ - display: flex; - flex-direction: row; - justify-content: space-between; - align-items: center; - width: 100%; - height: 64px; - border-radius: 10px; - background: #FFF8F0; - box-shadow: 0px 5px 0px 0px rgba(0, 0, 0, 0.25); -} - -.class-icon{ - display: flex; - align-items: center; - justify-content: center; - width: 40px; - padding-left: 6px; - padding-right: 6px; -} - -i { - font-size: 28px; - text-align: center; -} - -h3{ - font-weight: 700; - font-size: 28px; - padding-right: 8px; -} - -.time-data{ - width: 75%; - margin-top: 1.5rem; -} - -.time-container{ - display: flex; - flex-direction: column; - justify-content: space-between; - align-items: center; - width: 100%; - text-align: center; - margin: 0; - padding: 0; -} - -.time-container span{ - font-size: 24px; - margin: 0; - padding: 0; -} - -.time-container h4{ - font-size: 18px; - margin: 0; - padding: 0; -} \ No newline at end of file diff --git a/projects/tempotable/zender/index.html b/projects/tempotable/zender/index.html deleted file mode 100644 index caef1ba..0000000 --- a/projects/tempotable/zender/index.html +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - - Tempotable - - - - - - - - - -
- -
-

Sem 1

-
-

A

-
-
- -
-
-
-
- -
-

Japanese

-
-

10

-
-
- -
-
-
-
- -
-

English A

-
-

10

-
-
- -
-
-
-
- -
-

Math FP.

-
-

10

-
-
- -
-
-
-
- -
-

Wellness

-
-

10

-
-
- -
-
-
-
- -
-

Robotics

-
-

10

-
-
- -
-
-
-

...

- -- Minutes Left -
-
-
- -

...

- -
- - - diff --git a/pubkey.asc b/pubkey.asc new file mode 100644 index 0000000..19fe7a7 --- /dev/null +++ b/pubkey.asc @@ -0,0 +1,13 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mDMEZpX5bhYJKwYBBAHaRw8BAQdAxDjNtdxeMyeULA6bubLWP43rSaTn530o28SY +db0NnXS0G3NwYXRvbiA8c3BhdG9uMDhAZ21haWwuY29tPoiZBBMWCgBBFiEE9JBK +9iCt3Ewos3gvC+uyy+cDftYFAmaV+W4CGwMFCQWjBLIFCwkIBwICIgIGFQoJCAsC +BBYCAwECHgcCF4AACgkQC+uyy+cDftZTQQEA2+F/EUf5ws7RFfZrm6ITN0Z6dk65 +MMjMwu5WMTcMbZsBAJTAuW8qTIroL9/l+MH8dDBozaIQpRGD5Ph/EvevNVwGuDgE +ZpX5bhIKKwYBBAGXVQEFAQEHQAKfEyzGsaFoIiZbNsmV4ABx+tpQDplbakiIsrjm +7KwaAwEIB4h+BBgWCgAmFiEE9JBK9iCt3Ewos3gvC+uyy+cDftYFAmaV+W4CGwwF +CQWjBLIACgkQC+uyy+cDftYnqgD/UdPb4qtGX5VZurt9ySBqdzSxLziyFL3bc1ge +eqtUQwgA/26yznW7YGQOqi+ERgbGAMOieiNF+584Ls+b1n8VqL0P +=3lxi +-----END PGP PUBLIC KEY BLOCK-----