File tree 10 files changed +91
-3
lines changed 10 files changed +91
-3
lines changed Original file line number Diff line number Diff line change @@ -22,3 +22,5 @@ dist-ssr
22
22
* .njsproj
23
23
* .sln
24
24
* .sw ?
25
+
26
+ .env * .local
Original file line number Diff line number Diff line change @@ -4,4 +4,5 @@ const Utils = {
4
4
}
5
5
}
6
6
7
+
7
8
export default Utils
Original file line number Diff line number Diff line change
1
+ import React from 'react'
2
+
3
+ interface PetInfoCardProps {
4
+ }
5
+
6
+ const PetInfoCard : React . FC < PetInfoCardProps > = ( ) => {
7
+ return (
8
+ < div >
9
+ </ div >
10
+ )
11
+ }
12
+
13
+ export default PetInfoCard
Original file line number Diff line number Diff line change
1
+ import React from 'react'
2
+ import PercentageCircle from './PercentageCircle'
3
+
4
+ const PetStatsSection : React . FC = ( ) => {
5
+ return (
6
+ < section className = 'min-h-96 flex justify-center items-center' >
7
+ < div className = '
8
+ my-text-l
9
+ flex flex-col justify-start items-center gap-xxl
10
+ lg:flex-row lg:justify-center lg:items-start
11
+ ' >
12
+ < PercentageCircle
13
+ animTimeSeconds = { 2 }
14
+ statText = "of pets are abandoned"
15
+ radius = { 130 }
16
+ fillPercent = { 69 } fillColor = 'var(--accent-500)' fillWidth = { 5 }
17
+ bgColor = 'lightgray' bgWidth = { 3 }
18
+ />
19
+ < PercentageCircle
20
+ animTimeSeconds = { 2 }
21
+ statText = "of dogs are eventually able to find a permanent home"
22
+ radius = { 130 }
23
+ fillPercent = { 25 } fillColor = 'var(--accent-500)' fillWidth = { 5 }
24
+ bgColor = 'lightgray' bgWidth = { 3 }
25
+ />
26
+ < PercentageCircle
27
+ animTimeSeconds = { 2 }
28
+ statText = "are euthanized every year due to overcrowding of shelters"
29
+ radius = { 130 }
30
+ fillPercent = { 58 } fillColor = 'var(--accent-500)' fillWidth = { 5 }
31
+ bgColor = 'lightgray' bgWidth = { 3 }
32
+ />
33
+ </ div >
34
+ </ section >
35
+ )
36
+ }
37
+
38
+ export default PetStatsSection
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import dog_img_3 from '../../assets/images/golden_retriever_2.jpg'
6
6
7
7
const AdoptionStepsSection : React . FC = ( ) => {
8
8
return (
9
- < section className = 'flex flex-col justify-start items-center bg-blue-50 py-margin-3xl' >
9
+ < section className = 'flex flex-col justify-start items-center bg-background-900 py-margin-3xl' >
10
10
< div className = 'w-full max-w-3xl px-8' >
11
11
< h2 className = 'text-4xl mb-text-xxs text-text-50' > Looking to adopt?</ h2 >
12
12
< p className = 'text-lg font-medium text-text-100' >
Original file line number Diff line number Diff line change
1
+ import React from 'react'
2
+
3
+ const TestimonialsSection : React . FC = ( ) => {
4
+ return (
5
+ < section className = 'min-h-96 bg-gray-600' >
6
+ Testimonials
7
+ </ section >
8
+ )
9
+ }
10
+
11
+ export default TestimonialsSection
Original file line number Diff line number Diff line change
1
+ import React , { useEffect } from 'react'
2
+
3
+ const AdoptionGalleryPage : React . FC = ( ) => {
4
+ useEffect ( ( ) => {
5
+
6
+ } , [ ] )
7
+
8
+ return (
9
+ < main className = 'relative h-screen w-screen outline outline-red-500' >
10
+
11
+ </ main >
12
+ )
13
+ }
14
+
15
+ export default AdoptionGalleryPage
Original file line number Diff line number Diff line change 1
- import React from 'react'
1
+ import React , { useState } from 'react'
2
+ import Navbar from '../components/Navbar'
2
3
3
4
const AuthPage : React . FC = ( ) => {
5
+ const isLoginMode = useState < boolean > ( true )
6
+
4
7
return (
5
- < div > AuthPage</ div >
8
+ < >
9
+ < Navbar />
10
+ Auth Page
11
+ </ >
6
12
)
7
13
}
8
14
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import AboutUsSection from '../components/sections/AboutUsSection'
5
5
import PetStatsSection from '../components/sections/PetStatsSection'
6
6
import AdoptionStepsSection from '../components/sections/AdoptionStepsSection'
7
7
import FooterSection from '../components/sections/FooterSection'
8
+ import TestimonialsSection from '../components/sections/TestimonialsSection'
8
9
9
10
const HomePage : React . FC = ( ) => {
10
11
return (
@@ -14,6 +15,7 @@ const HomePage: React.FC = () => {
14
15
< AboutUsSection />
15
16
< PetStatsSection />
16
17
< AdoptionStepsSection />
18
+ < TestimonialsSection />
17
19
< FooterSection />
18
20
</ main >
19
21
)
You can’t perform that action at this time.
0 commit comments