Skip to content

Commit c50fc49

Browse files
- Added .env to the gitignore
- Added .gitkeep to the fonts folder (just in case for the future) - Created a few new sections and pages (just the files for now)
1 parent af19532 commit c50fc49

10 files changed

+91
-3
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,5 @@ dist-ssr
2222
*.njsproj
2323
*.sln
2424
*.sw?
25+
26+
.env*.local

src/assets/fonts/.gitkeep

Whitespace-only changes.

src/common/Globals.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ const Utils = {
44
}
55
}
66

7+
78
export default Utils

src/components/PetInfoCard.tsx

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
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

src/components/PetStatsSection.tsx

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
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

src/components/sections/AdoptionStepsSection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import dog_img_3 from '../../assets/images/golden_retriever_2.jpg'
66

77
const AdoptionStepsSection: React.FC = () => {
88
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'>
1010
<div className='w-full max-w-3xl px-8'>
1111
<h2 className='text-4xl mb-text-xxs text-text-50'>Looking to adopt?</h2>
1212
<p className='text-lg font-medium text-text-100'>
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
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

src/pages/AdoptionGalleryPage.tsx

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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

src/pages/AuthPage.tsx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
1-
import React from 'react'
1+
import React, { useState } from 'react'
2+
import Navbar from '../components/Navbar'
23

34
const AuthPage: React.FC = () => {
5+
const isLoginMode = useState<boolean>(true)
6+
47
return (
5-
<div>AuthPage</div>
8+
<>
9+
<Navbar />
10+
Auth Page
11+
</>
612
)
713
}
814

src/pages/HomePage.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import AboutUsSection from '../components/sections/AboutUsSection'
55
import PetStatsSection from '../components/sections/PetStatsSection'
66
import AdoptionStepsSection from '../components/sections/AdoptionStepsSection'
77
import FooterSection from '../components/sections/FooterSection'
8+
import TestimonialsSection from '../components/sections/TestimonialsSection'
89

910
const HomePage: React.FC = () => {
1011
return (
@@ -14,6 +15,7 @@ const HomePage: React.FC = () => {
1415
<AboutUsSection />
1516
<PetStatsSection />
1617
<AdoptionStepsSection />
18+
<TestimonialsSection />
1719
<FooterSection />
1820
</main>
1921
)

0 commit comments

Comments
 (0)