Skip to content

Commit 58e9403

Browse files
Merge pull request #94 from tech-chieftain/task/firebaseupdate
enhance: update firebase and edit some styles
2 parents 5e508a7 + 8daec51 commit 58e9403

File tree

22 files changed

+67
-58
lines changed

22 files changed

+67
-58
lines changed

src/Firebase/Firebase.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ import 'firebase/firestore';
44
// Your web app's Firebase configuration
55
// For Firebase JS SDK v7.20.0 and later, measurementId is optional
66
const firebaseConfig = {
7-
apiKey: 'AIzaSyCmmGbub9jlAGiG-cR8zuu9jp5gHN_AiB0',
8-
authDomain: 'blood-donars-63da7.firebaseapp.com',
9-
databaseURL: 'https://blood-donars-63da7.firebaseio.com',
10-
projectId: 'blood-donars-63da7',
11-
storageBucket: 'blood-donars-63da7.appspot.com',
12-
messagingSenderId: '563577097714',
13-
appId: '1:563577097714:web:785bb6ea8e3a2a8025af6b',
14-
measurementId: 'G-CDGZNX7PH3',
7+
apiKey: 'AIzaSyBv7nM7ZuaZ6VZWNVngISqTpjbXXOti2-0',
8+
authDomain: 'lifevessels.firebaseapp.com',
9+
databaseURL: 'https://lifevessels.firebaseio.com',
10+
projectId: 'lifevessels',
11+
storageBucket: 'lifevessels.appspot.com',
12+
messagingSenderId: '1001070360554',
13+
appId: '1:1001070360554:web:dd31de001186f9d3eca493',
14+
measurementId: 'G-Y7EZT4BTCX',
1515
};
1616
// Initialize Firebase
1717
Firebase.initializeApp(firebaseConfig);

src/__snapshots__/App.test.js.snap

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ Array [
567567
target="_blank"
568568
>
569569
<svg
570-
className="mr-4 "
570+
className="mr-4 h-6 w-6 transform hover:scale-125 transition duration-500 ease-out"
571571
fill="none"
572572
height="32.74"
573573
viewBox="0 0 18 22"
@@ -602,7 +602,7 @@ Array [
602602
target="_blank"
603603
>
604604
<svg
605-
className="mr-4"
605+
className="mr-4 h-6 w-6 transform hover:scale-125 transition duration-500 ease-out"
606606
fill="none"
607607
height="32.74"
608608
viewBox="0 0 17 22"
@@ -637,7 +637,7 @@ Array [
637637
target="_blank"
638638
>
639639
<svg
640-
className="mr-4"
640+
className="mr-4 h-6 w-6 transform hover:scale-125 transition duration-500 ease-out"
641641
fill="none"
642642
height="32.74"
643643
viewBox="0 0 18 22"
@@ -672,7 +672,7 @@ Array [
672672
target="_blank"
673673
>
674674
<svg
675-
className="mr-4"
675+
className="mr-4 h-6 w-6 transform hover:scale-125 transition duration-500 ease-out"
676676
fill="none"
677677
height="32.74"
678678
viewBox="0 0 17 22"
@@ -707,7 +707,7 @@ Array [
707707
target="_blank"
708708
>
709709
<svg
710-
className="mr-4"
710+
className="mr-4 h-6 w-6 transform hover:scale-125 transition duration-500 ease-out"
711711
fill="none"
712712
height="32.74"
713713
viewBox="0 0 17 22"

src/components/ContactForm/ContactForm.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const ContactForm = () => {
4242
/>
4343
</div>
4444
<textarea
45-
className=" flex-1 mr-4 p-2 text-base tracking-normal placeholder-gray-500 border-2 border-gray-300 focus:outline-none "
45+
className=" flex-1 mr-4 p-2 text-base tracking-normal placeholder-gray-500 border-2 border-gray-300 focus:outline-none focus:placeholder-transparent hover:border-primary-100 transition duration-500 "
4646
rows="6"
4747
placeholder={t('AboutPage.ContectMessage')}
4848
value={form.massege}

src/components/ContactForm/__test__/__snapshots__/ContactForm.test.jsx.snap

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ exports[`renders correctly 1`] = `
1515
htmlFor="name"
1616
/>
1717
<input
18-
className="flex-1 mr-4 p-2 text-sm sm:text-base tracking-normal border-2 border-gray-300 focus:outline-none bg-white placeholder-gray-500"
18+
autoComplete="off"
19+
className="flex-1 mr-4 p-2 text-sm sm:text-base tracking-normal border-2 border-gray-300 focus:outline-none hover:border-primary-100 transition duration-500 focus:placeholder-transparent bg-white placeholder-gray-500"
1920
id="name"
2021
name="name"
2122
onChange={[Function]}
@@ -32,7 +33,8 @@ exports[`renders correctly 1`] = `
3233
htmlFor="email"
3334
/>
3435
<input
35-
className="flex-1 mr-4 p-2 text-sm sm:text-base tracking-normal border-2 border-gray-300 focus:outline-none bg-white placeholder-gray-500"
36+
autoComplete="off"
37+
className="flex-1 mr-4 p-2 text-sm sm:text-base tracking-normal border-2 border-gray-300 focus:outline-none hover:border-primary-100 transition duration-500 focus:placeholder-transparent bg-white placeholder-gray-500"
3638
id="email"
3739
name="email"
3840
onChange={[Function]}
@@ -43,7 +45,7 @@ exports[`renders correctly 1`] = `
4345
</div>
4446
</div>
4547
<textarea
46-
className=" flex-1 mr-4 p-2 text-base tracking-normal placeholder-gray-500 border-2 border-gray-300 focus:outline-none "
48+
className=" flex-1 mr-4 p-2 text-base tracking-normal placeholder-gray-500 border-2 border-gray-300 focus:outline-none focus:placeholder-transparent hover:border-primary-100 transition duration-500 "
4749
name="massege"
4850
onChange={[Function]}
4951
placeholder="AboutPage.ContectMessage"

src/components/Footer/SocialIcons/__test__/__snapshots__/SocialIcons.test.jsx.snap

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ exports[`renders correctly 1`] = `
1010
target="_blank"
1111
>
1212
<svg
13-
className="mr-4 "
13+
className="mr-4 h-6 w-6 transform hover:scale-125 transition duration-500 ease-out"
1414
fill="none"
1515
height="32.74"
1616
viewBox="0 0 18 22"
@@ -45,7 +45,7 @@ exports[`renders correctly 1`] = `
4545
target="_blank"
4646
>
4747
<svg
48-
className="mr-4"
48+
className="mr-4 h-6 w-6 transform hover:scale-125 transition duration-500 ease-out"
4949
fill="none"
5050
height="32.74"
5151
viewBox="0 0 17 22"
@@ -80,7 +80,7 @@ exports[`renders correctly 1`] = `
8080
target="_blank"
8181
>
8282
<svg
83-
className="mr-4"
83+
className="mr-4 h-6 w-6 transform hover:scale-125 transition duration-500 ease-out"
8484
fill="none"
8585
height="32.74"
8686
viewBox="0 0 18 22"
@@ -115,7 +115,7 @@ exports[`renders correctly 1`] = `
115115
target="_blank"
116116
>
117117
<svg
118-
className="mr-4"
118+
className="mr-4 h-6 w-6 transform hover:scale-125 transition duration-500 ease-out"
119119
fill="none"
120120
height="32.74"
121121
viewBox="0 0 17 22"
@@ -150,7 +150,7 @@ exports[`renders correctly 1`] = `
150150
target="_blank"
151151
>
152152
<svg
153-
className="mr-4"
153+
className="mr-4 h-6 w-6 transform hover:scale-125 transition duration-500 ease-out"
154154
fill="none"
155155
height="32.74"
156156
viewBox="0 0 17 22"

src/components/Footer/__test__/__snapshots__/Footer.test.jsx.snap

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ exports[`renders correctly 1`] = `
123123
target="_blank"
124124
>
125125
<svg
126-
className="mr-4 "
126+
className="mr-4 h-6 w-6 transform hover:scale-125 transition duration-500 ease-out"
127127
fill="none"
128128
height="32.74"
129129
viewBox="0 0 18 22"
@@ -158,7 +158,7 @@ exports[`renders correctly 1`] = `
158158
target="_blank"
159159
>
160160
<svg
161-
className="mr-4"
161+
className="mr-4 h-6 w-6 transform hover:scale-125 transition duration-500 ease-out"
162162
fill="none"
163163
height="32.74"
164164
viewBox="0 0 17 22"
@@ -193,7 +193,7 @@ exports[`renders correctly 1`] = `
193193
target="_blank"
194194
>
195195
<svg
196-
className="mr-4"
196+
className="mr-4 h-6 w-6 transform hover:scale-125 transition duration-500 ease-out"
197197
fill="none"
198198
height="32.74"
199199
viewBox="0 0 18 22"
@@ -228,7 +228,7 @@ exports[`renders correctly 1`] = `
228228
target="_blank"
229229
>
230230
<svg
231-
className="mr-4"
231+
className="mr-4 h-6 w-6 transform hover:scale-125 transition duration-500 ease-out"
232232
fill="none"
233233
height="32.74"
234234
viewBox="0 0 17 22"
@@ -263,7 +263,7 @@ exports[`renders correctly 1`] = `
263263
target="_blank"
264264
>
265265
<svg
266-
className="mr-4"
266+
className="mr-4 h-6 w-6 transform hover:scale-125 transition duration-500 ease-out"
267267
fill="none"
268268
height="32.74"
269269
viewBox="0 0 17 22"

src/components/InputField/InputField.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,14 @@ function InputForm({ labelText, placeholder, onChange, inputValue, Inputtype, in
88
{labelText}
99
</label>
1010
<input
11-
className="flex-1 mr-4 p-2 text-sm sm:text-base tracking-normal border-2 border-gray-300 focus:outline-none bg-white placeholder-gray-500"
11+
className="flex-1 mr-4 p-2 text-sm sm:text-base tracking-normal border-2 border-gray-300 focus:outline-none hover:border-primary-100 transition duration-500 focus:placeholder-transparent bg-white placeholder-gray-500"
1212
placeholder={placeholder}
1313
type={Inputtype}
1414
name={inputName}
1515
value={inputValue}
1616
onChange={onChange}
1717
id={inputName}
18+
autoComplete="off"
1819
/>
1920
</div>
2021
);

src/components/InputField/__test__/__snapshots__/InputField.test.jsx.snap

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ exports[`renders correctly 1`] = `
99
htmlFor="name"
1010
/>
1111
<input
12-
className="flex-1 mr-4 p-2 text-sm sm:text-base tracking-normal border-2 border-gray-300 focus:outline-none bg-white placeholder-gray-500"
12+
autoComplete="off"
13+
className="flex-1 mr-4 p-2 text-sm sm:text-base tracking-normal border-2 border-gray-300 focus:outline-none hover:border-primary-100 transition duration-500 focus:placeholder-transparent bg-white placeholder-gray-500"
1314
id="name"
1415
name="name"
1516
onChange={[Function]}

src/components/InputSelect/InputSelect.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function InputSelect({ city, text, onChange, name, options, classflag }) {
1313
{text}
1414
</div>
1515
<select
16-
className="form-select block w-full border-gray-300 border-2 py-2 px-4 text-sm sm:text-base md:text-lg "
16+
className="form-select block w-full border-gray-300 border-2 py-2 px-4 text-sm sm:text-base md:text-lg focus:outline-none "
1717
value={city}
1818
name={name}
1919
onChange={onChange}

src/components/InputSelect/__test__/__snapshots__/InputSelect.test.jsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ exports[`renders correctly 1`] = `
1414
3. Please select your city ?*
1515
</div>
1616
<select
17-
className="form-select block w-full border-gray-300 border-2 py-2 px-4 text-sm sm:text-base md:text-lg "
17+
className="form-select block w-full border-gray-300 border-2 py-2 px-4 text-sm sm:text-base md:text-lg focus:outline-none "
1818
name="city"
1919
onBlur={[Function]}
2020
onChange={[Function]}

0 commit comments

Comments
 (0)