-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* socials are part of the graph footer * terms and conditions
- Loading branch information
1 parent
f2fe470
commit 66375f0
Showing
9 changed files
with
40 additions
and
3 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { FC } from "react"; | ||
import Socials from "./socials"; | ||
import TermsAndConditions from "./terms_and_conditions"; | ||
|
||
const Footer: FC = () => { | ||
return ( | ||
<footer className="flex absolute bottom-0 z-10 h-fit w-full justify-between items-center transition-all duration-300 ease-in-out mb-3"> | ||
<Socials className="flex-none ml-3 items-center" /> | ||
<TermsAndConditions className="text-gray-500" /> | ||
{/* Keep this div to maintain the spacing */} | ||
<div className="flex-none w-20"></div> | ||
</footer> | ||
) | ||
} | ||
|
||
export default Footer; |
Empty file.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
18 changes: 18 additions & 0 deletions
18
src/components/footer/terms_and_conditions/TermsAndConditions.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import { FC } from "react"; | ||
import termsAndConditionsPDF from "../../../assets/WardAnalytics-Terms-and-Conditions.pdf"; | ||
|
||
interface TermsAndConditionsProps { | ||
className?: string; | ||
} | ||
|
||
const TermsAndConditions: FC<TermsAndConditionsProps> = ({ | ||
className | ||
}) => { | ||
return ( | ||
<div className={className}> | ||
<a href={termsAndConditionsPDF} target="_blank">Terms & Conditions</a> | ||
</div> | ||
) | ||
} | ||
|
||
export default TermsAndConditions; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import TermsAndConditions from "./TermsAndConditions"; | ||
|
||
export default TermsAndConditions; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters