Skip to content

Commit

Permalink
Updated footer to include Platinum Transparency Award, ensuring size …
Browse files Browse the repository at this point in the history
…is maintained at each breakpoint
  • Loading branch information
kbrandon19 committed Jan 25, 2024
1 parent 0463a4d commit f1c16f8
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 11 deletions.
Binary file added public/images/others/candid-seal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 5 additions & 2 deletions src/components/widgets/list-widget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,15 @@ import clsx from "clsx";
import Anchor from "@ui/anchor";
import WidgetTitle from "./widget-title";



type TProps = {
className?: string;
mode?: "light" | "dark";

};

const ListWidget = ({ className, mode }: TProps) => {
const ListWidget = ({ className, mode, }: TProps) => {
return (
<div className={clsx(className)}>
<WidgetTitle mode={mode}>Information</WidgetTitle>
Expand All @@ -20,7 +23,7 @@ const ListWidget = ({ className, mode }: TProps) => {
<li className="tw-pr-5 tw-mb-[11px]">
<Anchor path="/code-of-conduct">Code of Conduct</Anchor>
</li>
</ul>
</ul>
</div>
);
};
Expand Down
10 changes: 9 additions & 1 deletion src/layouts/footers/footer-01.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,24 @@ const Footer01 = ({ mode }: TProps) => {
<div className="tw-grid tw-grid-cols-12">
<TextWidget
mode={mode}
className="tw-col-span-12 lg:tw-col-span-5 xl:tw-col-span-6 tw-mb-[43px]"
className="tw-col-span-12 lg:tw-col-span-5 xl:tw-col-span-5 tw-mb-[43px]"
/>
<TwoColumnListWidget
mode={mode}
className="tw-col-span-12 md:tw-col-span-7 lg:tw-col-span-4 xl:tw-col-span-3 tw-mb-[25px]"
/>

<ListWidget
mode={mode}
className="tw-col-span-12 md:tw-col-span-5 lg:tw-col-span-3 tw-mb-7.5"
/>
<div className="maxSm:tw-col-span-3 sm:tw-col-span-2 xl:tw-col-span-1">
<img
src="/images/others/candid-seal.png"
alt="Not Found"
width={150}
/>
</div>
</div>
<p className="copyright tw-text-center tw-text-md tw-text-gray-400 tw-mt-5">
&copy; {new Date().getFullYear()} Vets Who Code{" "}
Expand Down
16 changes: 8 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1161,14 +1161,9 @@
dependencies:
"glob" "7.1.7"

"@next/[email protected]":
"integrity" "sha512-ir1vNadlUDj7eQk15AvfhG5BjVizuCHks9uZwBfUgT5jyeDCeRvaDCo1+Q6+0CLOAnYDR/nqSCvBgzG2UdFh9A=="
"resolved" "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-12.2.2.tgz"
"version" "12.2.2"

"@next/[email protected]":
"integrity" "sha512-bte5n2GzLN3O8JdSFYWZzMgEgDHZmRz5wiispiiDssj4ik3l8E7wq/czNi8RmIF+ioj2sYVokUNa/ekLzrESWw=="
"resolved" "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-12.2.2.tgz"
"@next/[email protected]":
"integrity" "sha512-dztDtvfkhUqiqpXvrWVccfGhLe44yQ5tQ7B4tBfnsOR6vxzI9DNPHTlEOgRN9qDqTAcFyPxvg86mn4l8bB9Jcw=="
"resolved" "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-12.2.2.tgz"
"version" "12.2.2"

"@nodelib/[email protected]":
Expand Down Expand Up @@ -4175,6 +4170,11 @@
"resolved" "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz"
"version" "1.0.0"

"fsevents@~2.3.2", "[email protected]":
"integrity" "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA=="
"resolved" "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz"
"version" "2.3.2"

"function-bind@^1.1.1":
"integrity" "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A=="
"resolved" "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz"
Expand Down

0 comments on commit f1c16f8

Please sign in to comment.