bump to v2.7.9

This commit is contained in:
Amruth Pillai 2021-10-24 13:36:40 +02:00
parent 41a9ce2b06
commit ba11af887c
12 changed files with 48 additions and 106 deletions

View File

@ -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/).
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=""

View File

@ -45,9 +45,8 @@ class Auth {
this.onAuthStateChangedObservers.push(observer);
return () => {
this._onAuthStateChangedObservers = this.onAuthStateChangedObservers.filter(
(obs) => obs !== observer,
);
this._onAuthStateChangedObservers =
this.onAuthStateChangedObservers.filter((obs) => obs !== observer);
};
}

View File

@ -23,9 +23,8 @@ class Functions {
this._uuid = uuidv4();
this._httpsCallables = {};
this._httpsCallables[
FunctionsConstants.deleteUserFunctionName
] = deleteUser;
this._httpsCallables[FunctionsConstants.deleteUserFunctionName] =
deleteUser;
}
static get instance() {

View File

@ -4,6 +4,7 @@
"requires": true,
"packages": {
"": {
"name": "functions",
"dependencies": {
"firebase-admin": "^9.9.0",
"firebase-functions": "^3.14.1",

View File

@ -5,7 +5,7 @@ module.exports = {
title: 'Reactive Resume',
siteUrl: 'https://rxresu.me',
description: 'A free and open source resume builder.',
version: '2.7.8',
version: '2.7.9',
},
flags: { PRESERVE_WEBPACK_CACHE: true },
plugins: [

View File

@ -142,61 +142,20 @@
"language": "en",
"layout": {
"castform": [
[
"awards",
"certifications",
"languages",
"hobbies"
],
[
"objective",
"work",
"education",
"skills",
"projects",
"references"
]
["awards", "certifications", "languages", "hobbies"],
["objective", "work", "education", "skills", "projects", "references"]
],
"celebi": [
[
"awards",
"certifications",
"languages",
"hobbies"
],
[
"objective",
"work",
"education",
"skills",
"projects",
"references"
]
["awards", "certifications", "languages", "hobbies"],
["objective", "work", "education", "skills", "projects", "references"]
],
"gengar": [
[
"objective",
"skills"
],
[
"awards",
"certifications",
"languages",
"references",
"hobbies"
],
[
"work",
"education",
"projects"
]
["objective", "skills"],
["awards", "certifications", "languages", "references", "hobbies"],
["work", "education", "projects"]
],
"glalie": [
[
"awards",
"certifications",
"hobbies"
],
["awards", "certifications", "hobbies"],
[
"objective",
"work",
@ -208,37 +167,13 @@
]
],
"onyx": [
[
"objective",
"work",
"education",
"projects"
],
[
"hobbies",
"languages",
"awards",
"certifications"
],
[
"skills",
"references"
]
["objective", "work", "education", "projects"],
["hobbies", "languages", "awards", "certifications"],
["skills", "references"]
],
"pikachu": [
[
"skills",
"languages",
"hobbies",
"awards",
"certifications"
],
[
"work",
"education",
"projects",
"references"
]
["skills", "languages", "hobbies", "awards", "certifications"],
["work", "education", "projects", "references"]
]
},
"template": "castform"
@ -409,4 +344,4 @@
}
]
}
}
}

View File

@ -32,7 +32,8 @@ async function setup(signInWithGoogle, failReauthentication) {
mockFirebaseCurrentUserReauthenticateWithPopupErrorMessage,
);
});
FirebaseStub.auth().currentUser.reauthenticateWithPopup = mockFirebaseCurrentUserReauthenticateWithPopup;
FirebaseStub.auth().currentUser.reauthenticateWithPopup =
mockFirebaseCurrentUserReauthenticateWithPopup;
} else {
mockFirebaseCurrentUserReauthenticateWithPopupErrorMessage = null;
mockFirebaseCurrentUserReauthenticateWithPopup = jest.spyOn(

View File

@ -3,17 +3,17 @@ label {
}
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 {
@apply mt-1 text-red-600 text-xs;
@apply mt-1 text-xs text-red-600;
}
label input,
label textarea,
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,

View File

@ -32,7 +32,7 @@ a:hover {
}
hr {
@apply w-full border-primary-200 h-1;
@apply w-full h-1 border-primary-200;
}
ul {
@ -117,7 +117,7 @@ section {
font-weight: bold;
}
input[type="range"]::-webkit-slider-thumb {
input[type='range']::-webkit-slider-thumb {
cursor: ew-resize;
box-shadow: -405px 0 0 400px #605e5c;

View File

@ -1,31 +1,38 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
#page .text-xs {
font-size: var(--text-xs-size);
font-size: var(--text-xs-size);
line-height: var(--text-xs-line-height);
}
#page .text-sm {
font-size: var(--text-sm-size);
font-size: var(--text-sm-size);
line-height: var(--text-sm-line-height);
}
#page .text-lg {
font-size: var(--text-lg-size);
font-size: var(--text-lg-size);
line-height: var(--text-lg-line-height);
}
#page .text-xl {
font-size: var(--text-xl-size);
font-size: var(--text-xl-size);
line-height: var(--text-xl-line-height);
}
#page .text-2xl {
font-size: var(--text-2xl-size);
font-size: var(--text-2xl-size);
line-height: var(--text-2xl-line-height);
}
#page .text-3xl {
font-size: var(--text-3xl-size);
font-size: var(--text-3xl-size);
line-height: var(--text-3xl-line-height);
}
#page .text-4xl {
font-size: var(--text-4xl-size);
font-size: var(--text-4xl-size);
line-height: var(--text-4xl-line-height);
}
}

View File

@ -1,7 +1,7 @@
@import "~react-toastify/dist/ReactToastify.css";
@import '~react-toastify/dist/ReactToastify.css';
.Toastify__toast {
@apply px-8 py-6 shadow rounded;
@apply px-8 py-6 rounded shadow;
}
.Toastify__toast--default {
@ -9,7 +9,7 @@
}
.Toastify__toast-body {
font-family: "Montserrat", sans-serif;
font-family: 'Montserrat', sans-serif;
@apply font-medium;
}

View File

@ -64,7 +64,7 @@ const Castform = ({ data }) => {
>
<div className="grid grid-cols-12">
<div
className="col-span-4 py-8 pr-8 pl-5"
className="col-span-4 py-8 pl-5 pr-8"
style={{
color: data.metadata.colors.background,
backgroundColor: data.metadata.colors.primary,
@ -86,7 +86,7 @@ const Castform = ({ data }) => {
})}
</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">
{layout[1] &&
layout[1].map((x) => {