Skip to content

Commit

Permalink
Updated footer to include Platinum Transparency Award. (#543)
Browse files Browse the repository at this point in the history
* Updated footer to include Platinum Transparency Award, ensuring size is maintained at each breakpoint

* Removed the physical and replaced with cloudinary link, updated alt text
  • Loading branch information
kbrandon19 authored Jan 29, 2024
1 parent 0463a4d commit 04597a8
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 11 deletions.
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="https://res.cloudinary.com/vetswhocode/image/upload/v1705549609/candid-seal-platinum-2024_wexkdk.png"
alt="Candid Seal Platinum Award"
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

1 comment on commit 04597a8

@vercel
Copy link

@vercel vercel bot commented on 04597a8 Jan 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.