mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-13 16:22:59 +10:00
bump to v2.7.9
This commit is contained in:
@ -102,7 +102,7 @@ npm install
|
|||||||
|
|
||||||
You can get these by setting up a firebase web app [here](https://console.firebase.google.com/u/0/).
|
You can get these by setting up a firebase web app [here](https://console.firebase.google.com/u/0/).
|
||||||
|
|
||||||
Also note that you'll need to set up a Realtime Database, *not* a Firestore Database, to get the correct value for `FIREBASE_DATABASEURL`. Be sure to set it to test mode so you can read/write data. Just remember to either revert these or remove the database after your testing is completed.
|
Also note that you'll need to set up a Realtime Database, _not_ a Firestore Database, to get the correct value for `FIREBASE_DATABASEURL`. Be sure to set it to test mode so you can read/write data. Just remember to either revert these or remove the database after your testing is completed.
|
||||||
|
|
||||||
```
|
```
|
||||||
FIREBASE_APIKEY=""
|
FIREBASE_APIKEY=""
|
||||||
|
|||||||
@ -45,9 +45,8 @@ class Auth {
|
|||||||
this.onAuthStateChangedObservers.push(observer);
|
this.onAuthStateChangedObservers.push(observer);
|
||||||
|
|
||||||
return () => {
|
return () => {
|
||||||
this._onAuthStateChangedObservers = this.onAuthStateChangedObservers.filter(
|
this._onAuthStateChangedObservers =
|
||||||
(obs) => obs !== observer,
|
this.onAuthStateChangedObservers.filter((obs) => obs !== observer);
|
||||||
);
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -23,9 +23,8 @@ class Functions {
|
|||||||
this._uuid = uuidv4();
|
this._uuid = uuidv4();
|
||||||
|
|
||||||
this._httpsCallables = {};
|
this._httpsCallables = {};
|
||||||
this._httpsCallables[
|
this._httpsCallables[FunctionsConstants.deleteUserFunctionName] =
|
||||||
FunctionsConstants.deleteUserFunctionName
|
deleteUser;
|
||||||
] = deleteUser;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static get instance() {
|
static get instance() {
|
||||||
|
|||||||
1
functions/package-lock.json
generated
1
functions/package-lock.json
generated
@ -4,6 +4,7 @@
|
|||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
|
"name": "functions",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"firebase-admin": "^9.9.0",
|
"firebase-admin": "^9.9.0",
|
||||||
"firebase-functions": "^3.14.1",
|
"firebase-functions": "^3.14.1",
|
||||||
|
|||||||
@ -5,7 +5,7 @@ module.exports = {
|
|||||||
title: 'Reactive Resume',
|
title: 'Reactive Resume',
|
||||||
siteUrl: 'https://rxresu.me',
|
siteUrl: 'https://rxresu.me',
|
||||||
description: 'A free and open source resume builder.',
|
description: 'A free and open source resume builder.',
|
||||||
version: '2.7.8',
|
version: '2.7.9',
|
||||||
},
|
},
|
||||||
flags: { PRESERVE_WEBPACK_CACHE: true },
|
flags: { PRESERVE_WEBPACK_CACHE: true },
|
||||||
plugins: [
|
plugins: [
|
||||||
|
|||||||
@ -142,61 +142,20 @@
|
|||||||
"language": "en",
|
"language": "en",
|
||||||
"layout": {
|
"layout": {
|
||||||
"castform": [
|
"castform": [
|
||||||
[
|
["awards", "certifications", "languages", "hobbies"],
|
||||||
"awards",
|
["objective", "work", "education", "skills", "projects", "references"]
|
||||||
"certifications",
|
|
||||||
"languages",
|
|
||||||
"hobbies"
|
|
||||||
],
|
|
||||||
[
|
|
||||||
"objective",
|
|
||||||
"work",
|
|
||||||
"education",
|
|
||||||
"skills",
|
|
||||||
"projects",
|
|
||||||
"references"
|
|
||||||
]
|
|
||||||
],
|
],
|
||||||
"celebi": [
|
"celebi": [
|
||||||
[
|
["awards", "certifications", "languages", "hobbies"],
|
||||||
"awards",
|
["objective", "work", "education", "skills", "projects", "references"]
|
||||||
"certifications",
|
|
||||||
"languages",
|
|
||||||
"hobbies"
|
|
||||||
],
|
|
||||||
[
|
|
||||||
"objective",
|
|
||||||
"work",
|
|
||||||
"education",
|
|
||||||
"skills",
|
|
||||||
"projects",
|
|
||||||
"references"
|
|
||||||
]
|
|
||||||
],
|
],
|
||||||
"gengar": [
|
"gengar": [
|
||||||
[
|
["objective", "skills"],
|
||||||
"objective",
|
["awards", "certifications", "languages", "references", "hobbies"],
|
||||||
"skills"
|
["work", "education", "projects"]
|
||||||
],
|
|
||||||
[
|
|
||||||
"awards",
|
|
||||||
"certifications",
|
|
||||||
"languages",
|
|
||||||
"references",
|
|
||||||
"hobbies"
|
|
||||||
],
|
|
||||||
[
|
|
||||||
"work",
|
|
||||||
"education",
|
|
||||||
"projects"
|
|
||||||
]
|
|
||||||
],
|
],
|
||||||
"glalie": [
|
"glalie": [
|
||||||
[
|
["awards", "certifications", "hobbies"],
|
||||||
"awards",
|
|
||||||
"certifications",
|
|
||||||
"hobbies"
|
|
||||||
],
|
|
||||||
[
|
[
|
||||||
"objective",
|
"objective",
|
||||||
"work",
|
"work",
|
||||||
@ -208,37 +167,13 @@
|
|||||||
]
|
]
|
||||||
],
|
],
|
||||||
"onyx": [
|
"onyx": [
|
||||||
[
|
["objective", "work", "education", "projects"],
|
||||||
"objective",
|
["hobbies", "languages", "awards", "certifications"],
|
||||||
"work",
|
["skills", "references"]
|
||||||
"education",
|
|
||||||
"projects"
|
|
||||||
],
|
|
||||||
[
|
|
||||||
"hobbies",
|
|
||||||
"languages",
|
|
||||||
"awards",
|
|
||||||
"certifications"
|
|
||||||
],
|
|
||||||
[
|
|
||||||
"skills",
|
|
||||||
"references"
|
|
||||||
]
|
|
||||||
],
|
],
|
||||||
"pikachu": [
|
"pikachu": [
|
||||||
[
|
["skills", "languages", "hobbies", "awards", "certifications"],
|
||||||
"skills",
|
["work", "education", "projects", "references"]
|
||||||
"languages",
|
|
||||||
"hobbies",
|
|
||||||
"awards",
|
|
||||||
"certifications"
|
|
||||||
],
|
|
||||||
[
|
|
||||||
"work",
|
|
||||||
"education",
|
|
||||||
"projects",
|
|
||||||
"references"
|
|
||||||
]
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"template": "castform"
|
"template": "castform"
|
||||||
|
|||||||
@ -32,7 +32,8 @@ async function setup(signInWithGoogle, failReauthentication) {
|
|||||||
mockFirebaseCurrentUserReauthenticateWithPopupErrorMessage,
|
mockFirebaseCurrentUserReauthenticateWithPopupErrorMessage,
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
FirebaseStub.auth().currentUser.reauthenticateWithPopup = mockFirebaseCurrentUserReauthenticateWithPopup;
|
FirebaseStub.auth().currentUser.reauthenticateWithPopup =
|
||||||
|
mockFirebaseCurrentUserReauthenticateWithPopup;
|
||||||
} else {
|
} else {
|
||||||
mockFirebaseCurrentUserReauthenticateWithPopupErrorMessage = null;
|
mockFirebaseCurrentUserReauthenticateWithPopupErrorMessage = null;
|
||||||
mockFirebaseCurrentUserReauthenticateWithPopup = jest.spyOn(
|
mockFirebaseCurrentUserReauthenticateWithPopup = jest.spyOn(
|
||||||
|
|||||||
@ -3,17 +3,17 @@ label {
|
|||||||
}
|
}
|
||||||
|
|
||||||
label > span:first-child {
|
label > span:first-child {
|
||||||
@apply mb-1 text-primary-600 font-semibold tracking-wide text-xs uppercase;
|
@apply mb-1 text-xs font-semibold tracking-wide uppercase text-primary-600;
|
||||||
}
|
}
|
||||||
|
|
||||||
label > p {
|
label > p {
|
||||||
@apply mt-1 text-red-600 text-xs;
|
@apply mt-1 text-xs text-red-600;
|
||||||
}
|
}
|
||||||
|
|
||||||
label input,
|
label input,
|
||||||
label textarea,
|
label textarea,
|
||||||
label select {
|
label select {
|
||||||
@apply w-full py-3 px-4 rounded text-primary-900 bg-primary-200 border border-transparent appearance-none;
|
@apply w-full px-4 py-3 border border-transparent rounded appearance-none text-primary-900 bg-primary-200;
|
||||||
}
|
}
|
||||||
|
|
||||||
label input::placeholder,
|
label input::placeholder,
|
||||||
|
|||||||
@ -32,7 +32,7 @@ a:hover {
|
|||||||
}
|
}
|
||||||
|
|
||||||
hr {
|
hr {
|
||||||
@apply w-full border-primary-200 h-1;
|
@apply w-full h-1 border-primary-200;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul {
|
ul {
|
||||||
@ -117,7 +117,7 @@ section {
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type="range"]::-webkit-slider-thumb {
|
input[type='range']::-webkit-slider-thumb {
|
||||||
cursor: ew-resize;
|
cursor: ew-resize;
|
||||||
box-shadow: -405px 0 0 400px #605e5c;
|
box-shadow: -405px 0 0 400px #605e5c;
|
||||||
|
|
||||||
|
|||||||
@ -1,31 +1,38 @@
|
|||||||
@tailwind base;
|
@tailwind base;
|
||||||
@tailwind components;
|
@tailwind components;
|
||||||
@tailwind utilities;
|
@tailwind utilities;
|
||||||
|
|
||||||
#page .text-xs {
|
#page .text-xs {
|
||||||
font-size: var(--text-xs-size);
|
font-size: var(--text-xs-size);
|
||||||
line-height: var(--text-xs-line-height);
|
line-height: var(--text-xs-line-height);
|
||||||
}
|
}
|
||||||
|
|
||||||
#page .text-sm {
|
#page .text-sm {
|
||||||
font-size: var(--text-sm-size);
|
font-size: var(--text-sm-size);
|
||||||
line-height: var(--text-sm-line-height);
|
line-height: var(--text-sm-line-height);
|
||||||
}
|
}
|
||||||
|
|
||||||
#page .text-lg {
|
#page .text-lg {
|
||||||
font-size: var(--text-lg-size);
|
font-size: var(--text-lg-size);
|
||||||
line-height: var(--text-lg-line-height);
|
line-height: var(--text-lg-line-height);
|
||||||
}
|
}
|
||||||
|
|
||||||
#page .text-xl {
|
#page .text-xl {
|
||||||
font-size: var(--text-xl-size);
|
font-size: var(--text-xl-size);
|
||||||
line-height: var(--text-xl-line-height);
|
line-height: var(--text-xl-line-height);
|
||||||
}
|
}
|
||||||
|
|
||||||
#page .text-2xl {
|
#page .text-2xl {
|
||||||
font-size: var(--text-2xl-size);
|
font-size: var(--text-2xl-size);
|
||||||
line-height: var(--text-2xl-line-height);
|
line-height: var(--text-2xl-line-height);
|
||||||
}
|
}
|
||||||
|
|
||||||
#page .text-3xl {
|
#page .text-3xl {
|
||||||
font-size: var(--text-3xl-size);
|
font-size: var(--text-3xl-size);
|
||||||
line-height: var(--text-3xl-line-height);
|
line-height: var(--text-3xl-line-height);
|
||||||
}
|
}
|
||||||
|
|
||||||
#page .text-4xl {
|
#page .text-4xl {
|
||||||
font-size: var(--text-4xl-size);
|
font-size: var(--text-4xl-size);
|
||||||
line-height: var(--text-4xl-line-height);
|
line-height: var(--text-4xl-line-height);
|
||||||
}
|
}
|
||||||
@ -1,7 +1,7 @@
|
|||||||
@import "~react-toastify/dist/ReactToastify.css";
|
@import '~react-toastify/dist/ReactToastify.css';
|
||||||
|
|
||||||
.Toastify__toast {
|
.Toastify__toast {
|
||||||
@apply px-8 py-6 shadow rounded;
|
@apply px-8 py-6 rounded shadow;
|
||||||
}
|
}
|
||||||
|
|
||||||
.Toastify__toast--default {
|
.Toastify__toast--default {
|
||||||
@ -9,7 +9,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.Toastify__toast-body {
|
.Toastify__toast-body {
|
||||||
font-family: "Montserrat", sans-serif;
|
font-family: 'Montserrat', sans-serif;
|
||||||
|
|
||||||
@apply font-medium;
|
@apply font-medium;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -64,7 +64,7 @@ const Castform = ({ data }) => {
|
|||||||
>
|
>
|
||||||
<div className="grid grid-cols-12">
|
<div className="grid grid-cols-12">
|
||||||
<div
|
<div
|
||||||
className="col-span-4 py-8 pr-8 pl-5"
|
className="col-span-4 py-8 pl-5 pr-8"
|
||||||
style={{
|
style={{
|
||||||
color: data.metadata.colors.background,
|
color: data.metadata.colors.background,
|
||||||
backgroundColor: data.metadata.colors.primary,
|
backgroundColor: data.metadata.colors.primary,
|
||||||
@ -86,7 +86,7 @@ const Castform = ({ data }) => {
|
|||||||
})}
|
})}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="col-span-8 py-8 pr-8 pl-5">
|
<div className="col-span-8 py-8 pl-5 pr-8">
|
||||||
<div className="grid gap-4">
|
<div className="grid gap-4">
|
||||||
{layout[1] &&
|
{layout[1] &&
|
||||||
layout[1].map((x) => {
|
layout[1].map((x) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user