Skip to content

Commit

Permalink
Merge pull request #12 from sup3rUman/dev
Browse files Browse the repository at this point in the history
firebase init
  • Loading branch information
SammyMusyoki authored Oct 12, 2024
2 parents 9b0c6a9 + d19a0cf commit 236fff1
Show file tree
Hide file tree
Showing 37 changed files with 1,140 additions and 14 deletions.
1 change: 1 addition & 0 deletions .firebase/hosting.YnVpbGQ.cache
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
index.html,1720732024138,de53f948d34420aaa6664cdb50473891b8307b318ebe5f65c66155e03e4c1739
24 changes: 24 additions & 0 deletions .firebase/hosting.ZGlzdA.cache
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
index.html,1725529528476,d20a2970e1a7b529c5a51ad48b09a8401911c8d53e94c129572cc9b481b2ffca
assets/index-CUNoK1L1.css,1725529528475,d2b38f48a322334c573d1e31a9b570c79adc552adf2817d4af57f3b71f14e880
assets/beauty3-DMOFrYsw.png,1725529528473,0c22668821f5d1d8aa79a43b3a73b6ac4a80aca8a2b1e12a1cbdbad2118e89b0
assets/beauty1-C-9sQMgR.png,1725529528473,14aec38cb65fbc82945e0669505d9af52dca7c907ba1c4ea53b36f02897940e7
assets/manicure-DmRLG97Y.jpg,1725529528473,f5a839e831efd2881dc0cbf83f7da50f0d0da0460670998e1efce3166586de98
assets/living-room-BxEhVTZE.jpg,1725529528473,5943b62405dae7f6f6b112610bc9e500d0fb1489b6432ae7eb259061b5d5f61d
assets/kitchen-DI0_eLYQ.jpg,1725529528473,d9f91a3e8296ba38511e55608b35d72e37a1e2457134a285fd92a0a4c80993d7
assets/bedroom-CyPzGI4d.jpg,1725529528473,dd94dad5a866cf42896b58c1143109abb115bb7f9c7e3e9776de300e11a8fe19
assets/dining-room-DcxEEewE.jpg,1725529528473,f40a350eba2d2e5a2dbc0e4c6d0dd4602cf26b0f29f39bd692b2a5848bd165db
assets/service-cleaning-C7Z1Zx8X.png,1725529528473,0aece17dd624baa8dfb8e5a338831bb2f9636f8f5aaed138c97ad3cd1417f9de
assets/bathrooms-HxWDkw-2.jpg,1725529528473,e11e081ea776fb5a49525d964527cf3c8e82698f15954e47fd22fb6b26d3bf58
assets/hero-area-women-DguvdCl9.jpg,1725529528473,41536738c0cc7232947fb1f3184d5583ee0af40f8066ead4990b3f505c1bb9a3
assets/hair-CT_V7o24.jpg,1725529528474,e549a72203baa62408541e5f8965deb5c0d3079b729059977ce44a846dbef736
assets/faux-locs-Bmw_hROy.jpg,1725529528473,591d91285322a80a3c9f34e9ca79c5b999e92e5852f1cf5ac418e9bbb8c12b56
assets/Melodrama-Bold-CPGNVA0a.ttf,1725529528473,92382586a930217c98a8000bf847299bce22aaffe48795cc8d37b4e8c923542d
assets/additional-area-ldTiE90E.jpg,1725529528473,455177867eb3f17071765f3cabc15feba413f65031997f0987f7d35fb5ef5324
assets/waxing-DPcAVyFq.jpg,1725529528473,988d74d9f45ce4de6cef24a824ccdc7c9a2a2f0c01931f2a628172cdac1bead8
assets/skincare-DlFb4AaK.jpg,1725529528473,516d056589ab1d41485fd042fcc249255afd641b2e5fad5f6c30a49039d645c4
assets/index-C0SKHQO4.js,1725529528476,1ec3fc480e024b716ec989551991e5e76d9f01ceffd5ffcf16de4a5bf395091d
assets/facemask-CMd6GXsf.jpg,1725529528473,f9a500e568b68904c0b97ac5bb667ebdd5107876e8441f20069b4b71a125f50e
assets/oceanly-oceanly-svg-400-Caq3_HsQ.otf,1725529528476,935516c7b677c2f6ca5883a00334784ce088f160ffdffeb1c3047ecd8c438fd3
assets/insurance-CcwfFJ2I.jpg,1725529528481,f7ab234225c16ba9a4b1af7a63de5bb38c5acdb657182a52ba269d99a1507178
assets/cleaning-BA2pnkzG.jpg,1725529528484,b61da4671354a22635554496c1edb07b449ef5dd9762d96ecdfb1996f73a7773
assets/beauty-DsBBnXqi.jpg,1725529528487,c0a7fe29827987cdfe04924c208d98463ce9a2823906ef24eb1cfe4d9001bc12
5 changes: 5 additions & 0 deletions .firebaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"projects": {
"default": "px-0-d6b35"
}
}
29 changes: 29 additions & 0 deletions .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# 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:
- main
jobs:
build_and_deploy:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.19.1]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: ${{ secrets.GITHUB_TOKEN }}
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT }}
channelId: live
projectId: px-0-d6b35
27 changes: 27 additions & 0 deletions .github/workflows/firebase-hosting-pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# 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
permissions:
checks: write
contents: read
pull-requests: write
jobs:
build_and_preview:
if: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: use Node.js 18.19.1
uses: actions/setup-node@v3
with:
node-version: 18.19.1

- run: npm ci
- run: npm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: ${{ secrets.GITHUB_TOKEN }}
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT }}
projectId: px-0-d6b35
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,15 @@
.env.development.local
.env.test.local
.env.production.local
.env

npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Ignore Dockerfile and docker-compose.yml
Dockerfile
docker-compose.yml

# Optional: Ignore any Docker-related directories (adjust this based on your needs)
/docker
Binary file added dist/assets/Melodrama-Bold-CPGNVA0a.ttf
Binary file not shown.
Binary file added dist/assets/additional-area-ldTiE90E.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/assets/bathrooms-HxWDkw-2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/assets/beauty-DsBBnXqi.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/assets/beauty1-C-9sQMgR.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/assets/beauty3-DMOFrYsw.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/assets/bedroom-CyPzGI4d.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/assets/cleaning-BA2pnkzG.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/assets/dining-room-DcxEEewE.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/assets/facemask-CMd6GXsf.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/assets/faux-locs-Bmw_hROy.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/assets/hair-CT_V7o24.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/assets/hero-area-women-DguvdCl9.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
98 changes: 98 additions & 0 deletions dist/assets/index-D-Q6-M8i.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/assets/index-D1iksOQz.css

Large diffs are not rendered by default.

Binary file added dist/assets/insurance-CcwfFJ2I.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/assets/kitchen-DI0_eLYQ.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/assets/living-room-BxEhVTZE.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/assets/manicure-DmRLG97Y.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/assets/oceanly-oceanly-svg-400-Caq3_HsQ.otf
Binary file not shown.
Binary file added dist/assets/service-cleaning-C7Z1Zx8X.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/assets/skincare-DlFb4AaK.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/assets/waxing-DPcAVyFq.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions dist/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap"
rel="stylesheet">
<title>Denlly Spark Agency</title>
<script type="module" crossorigin src="/assets/index-D-Q6-M8i.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-D1iksOQz.css">
</head>
<body>
<div id="root"></div>
</body>
</html>
7 changes: 7 additions & 0 deletions firebase init functions
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Merge branch 'main' of https://github.com/sup3rUman/denlly-spark-agency into dev
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
firebase init
16 changes: 16 additions & 0 deletions firebase.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"hosting": {
"public": "dist",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
}
}
18 changes: 18 additions & 0 deletions firebaseConfig.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// Import the functions you need from the SDKs you need
import { initializeApp } from "firebase/app";
import { getAnalytics } from "firebase/analytics";

// Your web app's Firebase configuration using environment variables
const firebaseConfig = {
apiKey: import.meta.env.VITE_FIREBASE_API_KEY,
authDomain: import.meta.env.VITE_FIREBASE_AUTH_DOMAIN,
projectId: import.meta.env.VITE_FIREBASE_PROJECT_ID,
storageBucket: import.meta.env.VITE_FIREBASE_STORAGE_BUCKET,
messagingSenderId: import.meta.env.VITE_FIREBASE_MESSAGING_SENDER_ID,
appId: import.meta.env.VITE_FIREBASE_APP_ID,
measurementId: import.meta.env.VITE_FIREBASE_MEASUREMENT_ID,
};

// Initialize Firebase
const app = initializeApp(firebaseConfig);
const analytics = getAnalytics(app);
Loading

0 comments on commit 236fff1

Please sign in to comment.