Skip to content

Commit fd4008b

Browse files
committed
added announcements, credits, other websites, and fixed css
1 parent 24dcd0e commit fd4008b

26 files changed

+690
-59
lines changed
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
announcement.html,1712783151777,42e9939ff0d46f247f281b7c931142beb1c3b65a3150e07d2540a5c90587a299
2+
about.html,1712783151774,d7ca62cccd302bc69ce10ecf2ecbdecf601ac1354625c10b336fafa85d745979
3+
favicon.png,1712675079028,18c34d9b1690069c518429175997e685fd60c7b5ad922d6b714a329738bb5cc7
4+
coolpeople.html,1712783151786,6560628ccba0f729411f3f6d4e4ef442275da26ac8d6e6ea5a26899b6a9587fa
5+
index.js,1712675079038,1ea6ef595ba8b05feb8301b259dfedfaa73e7e5a000d9a736fc0efaca48fab53
6+
index.html,1712783151766,3f1c8bfe61fc80718f091c4672f30b5d59403898ef2abdeb83cef45b7493f50b
7+
loadingSpinner.webp,1712675079046,5fbfc2acc2cb4c8a7cdc4136bf1630007f2fd7448426b9b13cef8053526d2bea
8+
main.css.map,1712675079046,34a84a7bf82179723c10dd10b55e140ffedcef6e0285583ce864a65b888a1a52
9+
links.html,1712783151794,4efec3fbde272453c6c3971ee5ecc8d3ce9a1370d3e7ebe7c2ba264171930f8b
10+
login.png,1712675079046,e7cd650a74f40ca1ddc264da491d5b65cd5c286ed1f9f99dc33a7edb68c4e0c4
11+
posts.html,1712783151805,07480b1219b240c12807c8ecdbd6317975bf8ece5e0457614ac88bef460c12c6
12+
signup.png,1712675079049,341130774769b3f50fdc7909b74223eca298b96e2f53fc983c0ce688869bedd2
13+
signin.html,1712783151812,bd411b67f0a640394f0e66499d1064955b5bb97a7a50352f96423cc82b116471
14+
signout.html,1712783151816,8c55e251cf967b8c93164c8a192c5337c3de0379cf0c36159122f8d50934e5fe
15+
verifyemail.html,1712783151823,698b934157bc6d5bb7aa6cccfafbb48a66f714c68761da360fb8696deed2f19d
16+
_app/version.json,1712783151598,cac9a24822eebae262c5bbff0cdd58bdcf8fa26baeb7b5f4abfc8786f21313d9
17+
_app/env.js,1712783151838,5fc256ec821ae732d7aae739da6dfa7fffbd8d04568c5025e17d7c4762c3555b
18+
_app/immutable/assets/2.DEaQ7SoL.css,1712783151595,0f7455e0ccc6053a5ddcf29a3800da3146f33246583907510d08caeacbb2fa33
19+
_app/immutable/assets/10.BOaoS75w.css,1712783151595,6845d8374ef5f94d8fb77b7e52d88ce807d54c6bde0ebf5c79dc0f16174e080b
20+
_app/immutable/assets/7.Drx81YWf.css,1712783151588,e94fd14fc5cc383cf817fa7dcc4a539905ff0f6dd0d5760d037658c5384af176
21+
_app/immutable/assets/5.C26237Q1.css,1712783151588,d3879491d2bd14e11831e08fa25b4e8c54c1c0aa3af3c0e05ca87a854d3deea2
22+
_app/immutable/assets/0.BuFGHP14.css,1712783151588,64c7549090dc3cf3362fccbbe602ee143eeabea855b6f20ae08038eb2b91664c
23+
_app/immutable/assets/3.DvTBJp7w.css,1712783151585,1d2543900b38680796e3ecaf1fb687c1e4a72040d6b58647159265905b5ce35e
24+
_app/immutable/assets/8.0zYkiSlQ.css,1712783151595,1c348d478917b875564c7ce0d580410a7e445c4a453c88b32b67c52085e36df8
25+
_app/immutable/assets/_page.C1MUhkO0.css,1712783149304,55d45d765548ac46322f93dd8c6bf13bce2c6ae337dd62ba5d87f2243c4a8415
26+
_app/immutable/assets/6.DHipOa0e.css,1712783151588,0adc16e7770f34d9b94a7808525d318caa944042d12ece7177cbffbe90d02f9d
27+
courses.json,1712675079028,5f5ec46d348b9d78175b0eb8206ab92e0d25bffc3531d3a2ae550c6ef9cf6396
28+
_app/immutable/assets/4.C1MUhkO0.css,1712783151595,55d45d765548ac46322f93dd8c6bf13bce2c6ae337dd62ba5d87f2243c4a8415
29+
_app/immutable/assets/_page.0zYkiSlQ.css,1712783149304,1c348d478917b875564c7ce0d580410a7e445c4a453c88b32b67c52085e36df8
30+
_app/immutable/assets/_page.DEaQ7SoL.css,1712783149296,0f7455e0ccc6053a5ddcf29a3800da3146f33246583907510d08caeacbb2fa33
31+
_app/immutable/assets/_page.C26237Q1.css,1712783149304,d3879491d2bd14e11831e08fa25b4e8c54c1c0aa3af3c0e05ca87a854d3deea2
32+
_app/immutable/assets/_page.DHipOa0e.css,1712783149304,0adc16e7770f34d9b94a7808525d318caa944042d12ece7177cbffbe90d02f9d
33+
_app/immutable/assets/_layout.BuFGHP14.css,1712783149304,64c7549090dc3cf3362fccbbe602ee143eeabea855b6f20ae08038eb2b91664c
34+
_app/immutable/assets/_page.BOaoS75w.css,1712783149304,6845d8374ef5f94d8fb77b7e52d88ce807d54c6bde0ebf5c79dc0f16174e080b
35+
_app/immutable/assets/_page.DvTBJp7w.css,1712783149296,1d2543900b38680796e3ecaf1fb687c1e4a72040d6b58647159265905b5ce35e
36+
_app/immutable/chunks/each.DsFjstwQ.js,1712783151588,b5e0e5f418b37ede0ee67aba37369eb75960f673c43d2958f63abeaa17e6e701
37+
_app/immutable/assets/_page.Drx81YWf.css,1712783149304,e94fd14fc5cc383cf817fa7dcc4a539905ff0f6dd0d5760d037658c5384af176
38+
_app/immutable/chunks/await_block.DLnI9jfX.js,1712783151595,45b4bee7eda9ea302589908b5361d0ad65dd5c63a6db34e346d5fbbd9576df6f
39+
t.ico,1712675079049,9af384ce4dec7604f3d011b4890de095cc221c9b0d006cc85f508604baffb27c
40+
tuskylogo.png,1712675079056,919b534cc8b1496c9a71ed0a131c153646ece2864ec73a5afff8888edf753351
41+
_app/immutable/chunks/entry.CEthd0Ds.js,1712783151598,2a1615e722388687f0c61fb7db264106304b5b16d33090179bf4df0553d3f25f
42+
googlelogo.png,1712675079036,c2cd3d9921330d031019471e56eb806137e694c09f1e8137e56e5feab2951b52
43+
_app/immutable/chunks/index.Bm1rbKw8.js,1712783151588,a0637a7dc53c7fb144b5f44e66793ee58dc8cafc0e82a0997345a3ecd4685d41
44+
_app/immutable/chunks/preload-helper.BQ24v_F8.js,1712783151595,afe30f94293bd81f156674932038d286df386978afc3290d49710b5726b3850d
45+
_app/immutable/chunks/index.g86Z-yHV.js,1712783151598,3f5b7e8a1f1bcb0a8159833b33fdedcbfcd809e776bd683508f108c049df58e3
46+
_app/immutable/chunks/scheduler.CSWht8NW.js,1712783151598,104cfea64c776b4fc9cec5e894e207a3b5b5e2d77ed45d57513098c0d5ac55ea
47+
_app/immutable/entry/start.Ebo3uZst.js,1712783151588,6a3015ee3db3e7b1e3c61ee45654fcfdf7f3682ef803fa6f619d6d93dc388b58
48+
_app/immutable/nodes/1.nBJAJgIQ.js,1712783151588,1de7276155c11f318bc5a8e8c033504c1198ad6a9338f98d1524f8d0a190e01d
49+
_app/immutable/entry/app.WA3wTsqN.js,1712783151595,aaa9ac4bf88093f2343371fb506d22bc7918d66c0a8971c41929b857e6bdc312
50+
_app/immutable/nodes/0.CbWg4fQO.js,1712783151598,82d59f0569ecc53ba1960e317e7c8b840fd4b4c686f16d3384f3113f1c142ed4
51+
_app/immutable/nodes/3.CCXB-V6r.js,1712783151595,47efe100e8b48dbb3ed0e19e920a8392d324cde9d2ee2e343e1ffae887806b78
52+
_app/immutable/nodes/10.Dnf4UKo0.js,1712783151588,84e8ddbae9333504ee55151469cbbc2441cc329f7573781954c18a73390ed3c8
53+
_app/immutable/nodes/5.DJ-EuJXh.js,1712783151595,8c89374a2e7cc57e145c416e6a48c9f22a50081e1928bc2eb402a1e522d4e365
54+
_app/immutable/nodes/6.D0QAbdXw.js,1712783151595,d51544806e9d795201bcbdd41f698dde40f00383debce4b250be4d9aea24ee1b
55+
_app/immutable/nodes/7.MToWIzxk.js,1712783151598,00305bfa43e65ca1cb70e255afc3b0f21859870f2068c9c9f40e4584867570ce
56+
_app/immutable/nodes/9.BdrX_dTm.js,1712783151595,af2d5a485e2ea1b11ff8b34713a6d767ecd60c5fc5f8b4f33853ba5f1ee73e08
57+
_app/immutable/nodes/4.B7Laxnb7.js,1712783151598,2a213acb3ba0c9a4eb4536442463ae8f773991e267d9983ea810f54d07828972
58+
_app/immutable/nodes/8.CK4j0kCx.js,1712783151598,9beb6b6bcadfeaba0c440929ad7afe7fcf2ca62a037226dd5d717c9fdf62ae63
59+
christmas_advert.png,1712675079028,a45eb22910e06f2b2725c6fa781dae87f25c63dbdc55878d969780cd2f1353a8
60+
teacheradvert.png,1712675079049,bd1d2a1212fb4a6d876d77e923a4c45dc5a07cbe004556a595a0935889b377c0
61+
_app/immutable/nodes/2.B3KsoBer.js,1712783151598,8bf22f47d421002ebf4d0c1ba0d6df6e668ca1e6425ddc2a8ed04aa3ffbbd765
62+
studentadvert.png,1712675079049,6933fdb4ed4d0aa9d76802c4ea9f1cc8a0035d47280ae2f325cb0a5c05331b85
63+
trashbin.png,1712675079056,beb6e4e29c1ef5bc49286491be23179f6d2cac32798333297663e5dbb53f93a5
64+
school.png,1712675079049,afcfb61351b1027b967d5afbb540bd6e13ac2cffdfa1c293bf3961696307b11b
65+
gravestone.png,1712675079038,b927851724ea0edeec9fa8b5c06580907fc5437992474db0da4cba7b568db541
66+
baboon.jpg,1712675079028,a335f3ec97382d5064316a6f07e9f72ab3f079689f6ae1f5e86e31f8770c639c
67+
gravestone.pdn,1712675079038,87d694c0ec67d97c46892a0923042e092b86fb34208b25412faac99e2b6b118b
68+
_app/immutable/chunks/useFirebase.gAXFnYyt.js,1712783151598,40ca2ed5ac16fb8be8e8fd485fd3efcd05114e0318b8c8194e513df05b77d0d0
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
404.html,1712783262295,daa499dd96d8229e73235345702ba32f0793f0c8e5c0d30e40e37a5872be57aa
2+
index.html,1712783262370,9dcce7f80ae6195bfbe1384a3210f9941a15789cea8b59f7db9bedc24f41d003

β€Ž.firebasercβ€Ž

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"projects": {
3+
"default": "tuskytime"
4+
}
5+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# This file was auto-generated by the Firebase CLI
2+
# https://github.com/firebase/firebase-tools
3+
4+
name: Deploy to Firebase Hosting on PR
5+
'on': pull_request
6+
jobs:
7+
build_and_preview:
8+
if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}'
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v3
12+
- run: npm ci && npm run build
13+
- uses: FirebaseExtended/action-hosting-deploy@v0
14+
with:
15+
repoToken: '${{ secrets.GITHUB_TOKEN }}'
16+
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_TUSKYTIME }}'
17+
projectId: tuskytime

β€Ždatabase.rules.jsonβ€Ž

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"rules": {
3+
".read": "true",
4+
".write": "false",
5+
"posts": {
6+
".read": true,
7+
".write": false,
8+
"$postId": {
9+
".write": "(auth.uid == root.child('posts').child($postId).child('author_id').val()) || (!root.child('posts').child($postId).exists() && auth.uid != null)"
10+
}
11+
12+
},
13+
"users": {
14+
".read": true,
15+
".write": false,
16+
"$userId": {
17+
".write": "auth.uid == $userId || (!root.child('posts').child($userId).exists() && auth.uid != null)"
18+
}
19+
20+
},
21+
"whitelist": {
22+
".write": "false",
23+
".read": "true"
24+
}
25+
}
26+
}

β€Žfirebase.jsonβ€Ž

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"database": {
3+
"rules": "database.rules.json"
4+
},
5+
"hosting": {
6+
"public": "build",
7+
"ignore": [
8+
"firebase.json",
9+
"**/.*",
10+
"**/node_modules/**"
11+
]
12+
}
13+
}

β€Žpackage-lock.jsonβ€Ž

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Žpackage.jsonβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
},
1212
"devDependencies": {
1313
"@sveltejs/adapter-auto": "^3.0.0",
14+
"@sveltejs/adapter-static": "^3.0.1",
1415
"@sveltejs/kit": "^2.0.0",
1516
"@sveltejs/vite-plugin-svelte": "^3.0.0",
1617
"autoprefixer": "^10.4.16",

β€Žpublic/404.htmlβ€Ž

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1">
6+
<title>Page Not Found</title>
7+
8+
<style media="screen">
9+
body { background: #ECEFF1; color: rgba(0,0,0,0.87); font-family: Roboto, Helvetica, Arial, sans-serif; margin: 0; padding: 0; }
10+
#message { background: white; max-width: 360px; margin: 100px auto 16px; padding: 32px 24px 16px; border-radius: 3px; }
11+
#message h3 { color: #888; font-weight: normal; font-size: 16px; margin: 16px 0 12px; }
12+
#message h2 { color: #ffa100; font-weight: bold; font-size: 16px; margin: 0 0 8px; }
13+
#message h1 { font-size: 22px; font-weight: 300; color: rgba(0,0,0,0.6); margin: 0 0 16px;}
14+
#message p { line-height: 140%; margin: 16px 0 24px; font-size: 14px; }
15+
#message a { display: block; text-align: center; background: #039be5; text-transform: uppercase; text-decoration: none; color: white; padding: 16px; border-radius: 4px; }
16+
#message, #message a { box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24); }
17+
#load { color: rgba(0,0,0,0.4); text-align: center; font-size: 13px; }
18+
@media (max-width: 600px) {
19+
body, #message { margin-top: 0; background: white; box-shadow: none; }
20+
body { border-top: 16px solid #ffa100; }
21+
}
22+
</style>
23+
</head>
24+
<body>
25+
<div id="message">
26+
<h2>404</h2>
27+
<h1>Page Not Found</h1>
28+
<p>The specified file was not found on this website. Please check the URL for mistakes and try again.</p>
29+
<h3>Why am I seeing this?</h3>
30+
<p>This page was generated by the Firebase Command-Line Interface. To modify it, edit the <code>404.html</code> file in your project's configured <code>public</code> directory.</p>
31+
</div>
32+
</body>
33+
</html>

β€Žpublic/index.htmlβ€Ž

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1">
6+
<title>Welcome to Firebase Hosting</title>
7+
8+
<!-- update the version number as needed -->
9+
<script defer src="/__/firebase/10.10.0/firebase-app-compat.js"></script>
10+
<!-- include only the Firebase features as you need -->
11+
<script defer src="/__/firebase/10.10.0/firebase-auth-compat.js"></script>
12+
<script defer src="/__/firebase/10.10.0/firebase-database-compat.js"></script>
13+
<script defer src="/__/firebase/10.10.0/firebase-firestore-compat.js"></script>
14+
<script defer src="/__/firebase/10.10.0/firebase-functions-compat.js"></script>
15+
<script defer src="/__/firebase/10.10.0/firebase-messaging-compat.js"></script>
16+
<script defer src="/__/firebase/10.10.0/firebase-storage-compat.js"></script>
17+
<script defer src="/__/firebase/10.10.0/firebase-analytics-compat.js"></script>
18+
<script defer src="/__/firebase/10.10.0/firebase-remote-config-compat.js"></script>
19+
<script defer src="/__/firebase/10.10.0/firebase-performance-compat.js"></script>
20+
<!--
21+
initialize the SDK after all desired features are loaded, set useEmulator to false
22+
to avoid connecting the SDK to running emulators.
23+
-->
24+
<script defer src="/__/firebase/init.js?useEmulator=true"></script>
25+
26+
<style media="screen">
27+
body { background: #ECEFF1; color: rgba(0,0,0,0.87); font-family: Roboto, Helvetica, Arial, sans-serif; margin: 0; padding: 0; }
28+
#message { background: white; max-width: 360px; margin: 100px auto 16px; padding: 32px 24px; border-radius: 3px; }
29+
#message h2 { color: #ffa100; font-weight: bold; font-size: 16px; margin: 0 0 8px; }
30+
#message h1 { font-size: 22px; font-weight: 300; color: rgba(0,0,0,0.6); margin: 0 0 16px;}
31+
#message p { line-height: 140%; margin: 16px 0 24px; font-size: 14px; }
32+
#message a { display: block; text-align: center; background: #039be5; text-transform: uppercase; text-decoration: none; color: white; padding: 16px; border-radius: 4px; }
33+
#message, #message a { box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24); }
34+
#load { color: rgba(0,0,0,0.4); text-align: center; font-size: 13px; }
35+
@media (max-width: 600px) {
36+
body, #message { margin-top: 0; background: white; box-shadow: none; }
37+
body { border-top: 16px solid #ffa100; }
38+
}
39+
</style>
40+
</head>
41+
<body>
42+
<div id="message">
43+
<h2>Welcome</h2>
44+
<h1>Firebase Hosting Setup Complete</h1>
45+
<p>You're seeing this because you've successfully setup Firebase Hosting. Now it's time to go build something extraordinary!</p>
46+
<a target="_blank" href="https://firebase.google.com/docs/hosting/">Open Hosting Documentation</a>
47+
</div>
48+
<p id="load">Firebase SDK Loading&hellip;</p>
49+
50+
<script>
51+
document.addEventListener('DOMContentLoaded', function() {
52+
const loadEl = document.querySelector('#load');
53+
// // πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯
54+
// // The Firebase SDK is initialized and available here!
55+
//
56+
// firebase.auth().onAuthStateChanged(user => { });
57+
// firebase.database().ref('/path/to/ref').on('value', snapshot => { });
58+
// firebase.firestore().doc('/foo/bar').get().then(() => { });
59+
// firebase.functions().httpsCallable('yourFunction')().then(() => { });
60+
// firebase.messaging().requestPermission().then(() => { });
61+
// firebase.storage().ref('/path/to/ref').getDownloadURL().then(() => { });
62+
// firebase.analytics(); // call to activate
63+
// firebase.analytics().logEvent('tutorial_completed');
64+
// firebase.performance(); // call to activate
65+
//
66+
// // πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯
67+
68+
try {
69+
let app = firebase.app();
70+
let features = [
71+
'auth',
72+
'database',
73+
'firestore',
74+
'functions',
75+
'messaging',
76+
'storage',
77+
'analytics',
78+
'remoteConfig',
79+
'performance',
80+
].filter(feature => typeof app[feature] === 'function');
81+
loadEl.textContent = `Firebase SDK loaded with ${features.join(', ')}`;
82+
} catch (e) {
83+
console.error(e);
84+
loadEl.textContent = 'Error loading the Firebase SDK, check the console.';
85+
}
86+
});
87+
</script>
88+
</body>
89+
</html>

0 commit comments

Comments
Β (0)