Skip to content

Commit

Permalink
Add Settings Page (#116)
Browse files Browse the repository at this point in the history
* Add Starter Settings Page

* Add Settings Subsection Component

* Update Preview Step in Integrate Workflow

* Add Theme Settings

* Add Miscellaneous Theme Settings

* Add Profile Settings

* Add Profile Info Settings

* Add Firebase Storage Rules

* Add Profile Picture Upload Functionality

* Add User Field to Contact Form Upload

* Minor Styling Changes
  • Loading branch information
YashTotale authored Oct 17, 2021
1 parent bd38480 commit 003329b
Show file tree
Hide file tree
Showing 25 changed files with 1,109 additions and 98 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@
.snyk linguist-language=YAML

.firebaserc linguist-language=JSON
firebase.storage.rules linguist-language=Cloud-Firestore-Security-Rules
1 change: 1 addition & 0 deletions .github/workflows/integrate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ jobs:
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_YASH_TOTALE }}"
target: public
projectId: yash-totale
env:
FIREBASE_CLI_PREVIEWS: hostingchannels
2 changes: 1 addition & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"recommendations": ["hack4impact.h4i-recommendations"]
"recommendations": ["hack4impact.h4i-recommendations", "toba.vsfire"]
}
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
".snyk": "yaml",
".imgbotconfig": "json",

".firebaserc": "json"
".firebaserc": "json",
"firebase.storage.rules": "firerules"
}
}
3 changes: 3 additions & 0 deletions firebase.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"rules": "firestore.rules",
"indexes": "firestore.indexes.json"
},
"storage": {
"rules": "firebase.storage.rules"
},
"hosting": [
{
"target": "public",
Expand Down
8 changes: 8 additions & 0 deletions firebase.storage.rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
rules_version = '2';
service firebase.storage {
match /b/{bucket}/o {
match /{allPaths=**} {
allow read, write: if request.auth != null;
}
}
}
171 changes: 104 additions & 67 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 003329b

Please sign in to comment.