Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .firebase/hosting.cHVibGlj.cache
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
404.html,1665154913824,daa499dd96d8229e73235345702ba32f0793f0c8e5c0d30e40e37a5872be57aa
index.html,1665154916000,937880b49ca8edeed2b1428dcdc264026b29fbbdf89fba35964856d426880ba0
vercel.svg,1664905011911,9037ef16021ef1084c9550ce599472709dcd399b2ce74682cd4c2db680b5b2b7
favicon.ico,1664905011911,43127f4210c52bcd0f30f291f1ee296ab41ddd1566905dc27fe1129e0175c8f1
2 changes: 2 additions & 0 deletions .firebase/hosting.cHVibGljLXJlYWN0LWNoYXQ.cache
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
404.html,1665154320390,daa499dd96d8229e73235345702ba32f0793f0c8e5c0d30e40e37a5872be57aa
index.html,1665154320487,937880b49ca8edeed2b1428dcdc264026b29fbbdf89fba35964856d426880ba0
2 changes: 2 additions & 0 deletions .firebase/hosting.cmVhY3Q.cache
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
index.html,1665154203982,937880b49ca8edeed2b1428dcdc264026b29fbbdf89fba35964856d426880ba0
404.html,1665154203823,daa499dd96d8229e73235345702ba32f0793f0c8e5c0d30e40e37a5872be57aa
5 changes: 5 additions & 0 deletions .firebaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"projects": {
"default": "react-chat-d6887"
}
}
20 changes: 20 additions & 0 deletions .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools

name: Deploy to Firebase Hosting on merge
'on':
push:
branches:
- website-branch
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: yarn build && yarn start
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_REACT_CHAT_D6887 }}'
channelId: live
projectId: react-chat-d6887
17 changes: 17 additions & 0 deletions .github/workflows/firebase-hosting-pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools

name: Deploy to Firebase Hosting on PR
'on': pull_request
jobs:
build_and_preview:
if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: yarn build && yarn start
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_REACT_CHAT_D6887 }}'
projectId: react-chat-d6887
2 changes: 2 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
force=true
legacy-peer-deps=true
2 changes: 1 addition & 1 deletion components/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export default function Sidebar() {
return (
<Box>
<Flex pos="fixed" top="20%" left="5%">
{sign ? (<Text>You are logged as: <Heading size="sm">{docState}</Heading> </Text>) : (<Text text-align="center " fontSize="14px">Don't have an account? <a href="/signup">Sign up</a> </Text> )}
{sign ? (<Text><Heading size="sm">{docState}</Heading> </Text>) : (<Text text-align="center " fontSize="14px">Don't have an account? <a href="/signup">Sign up</a> </Text> )}
</Flex>
</Box>
)
Expand Down
10 changes: 10 additions & 0 deletions firebase.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"hosting": {
"public": "public",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
]
}
}
Loading