From cc9ee6ebbfd5bd6dfe300d00c5e621022a262b32 Mon Sep 17 00:00:00 2001 From: kevin3656 Date: Wed, 15 May 2024 03:53:18 -0700 Subject: [PATCH] footer links moved to CONFIG --- package-lock.json | 16 ++++++++-------- package.json | 4 ++-- src/app/page.tsx | 2 +- src/components/Footer/index.tsx | 6 +++--- src/components/Footer/styles.tsx | 2 +- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1c1399e4..eebddddd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "0.1.0", "dependencies": { "@calblueprint/prettier-config": "^0.0.1", - "@hookform/resolvers": "^3.3.4", + "@hookform/resolvers": "^3.4.0", "@radix-ui/react-slot": "^1.0.2", "@supabase/supabase-js": "^2.36.0", "@types/node": "20.6.3", @@ -28,7 +28,7 @@ "react-select-async-paginate": "^0.7.3", "styled-components": "^6.0.8", "validator": "^13.11.0", - "zod": "^3.22.4" + "zod": "^3.23.8" }, "devDependencies": { "@calblueprint/eslint-config-react": "^0.0.3", @@ -2220,9 +2220,9 @@ "integrity": "sha512-OfX7E2oUDYxtBvsuS4e/jSn4Q9Qb6DzgeYtsAdkPZ47znpoNsMgZw0+tVijiv3uGNR6dgNlty6r9rzIzHjtd/A==" }, "node_modules/@hookform/resolvers": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/@hookform/resolvers/-/resolvers-3.3.4.tgz", - "integrity": "sha512-o5cgpGOuJYrd+iMKvkttOclgwRW86EsWJZZRC23prf0uU2i48Htq4PuT73AVb9ionFyZrwYEITuOFGF+BydEtQ==", + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/@hookform/resolvers/-/resolvers-3.4.0.tgz", + "integrity": "sha512-+oAqK3okmoEDnvUkJ3N/mvNMeeMv5Apgy1jkoRmlaaAF4vBgcJs9tHvtXU7VE4DvPosvAUUkPOaNFunzt1dbgA==", "peerDependencies": { "react-hook-form": "^7.0.0" } @@ -6924,9 +6924,9 @@ } }, "node_modules/zod": { - "version": "3.22.4", - "resolved": "https://registry.npmjs.org/zod/-/zod-3.22.4.tgz", - "integrity": "sha512-iC+8Io04lddc+mVqQ9AZ7OQ2MrUKGN+oIQyq1vemgt46jwCwLfhq7/pwnBnNXXXZb8VTVLKwp9EDkx+ryxIWmg==", + "version": "3.23.8", + "resolved": "https://registry.npmjs.org/zod/-/zod-3.23.8.tgz", + "integrity": "sha512-XBx9AXhXktjUqnepgTiE5flcKIYWi/rme0Eaj+5Y0lftuGBq+jyRu/md4WnuxqgP1ubdpNCsYEYPxrzVHD8d6g==", "funding": { "url": "https://github.com/sponsors/colinhacks" } diff --git a/package.json b/package.json index a80a58b3..11bc3859 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ }, "dependencies": { "@calblueprint/prettier-config": "^0.0.1", - "@hookform/resolvers": "^3.3.4", + "@hookform/resolvers": "^3.4.0", "@radix-ui/react-slot": "^1.0.2", "@supabase/supabase-js": "^2.36.0", "@types/node": "20.6.3", @@ -33,7 +33,7 @@ "react-select-async-paginate": "^0.7.3", "styled-components": "^6.0.8", "validator": "^13.11.0", - "zod": "^3.22.4" + "zod": "^3.23.8" }, "devDependencies": { "@calblueprint/eslint-config-react": "^0.0.3", diff --git a/src/app/page.tsx b/src/app/page.tsx index e8f535af..dbadf669 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -3,9 +3,9 @@ import { useMemo } from 'react'; import Image from 'next/image'; import { LinkButton } from '@/components/Buttons'; +import Footer from '@/components/Footer'; import CONFIG from '@/lib/configs'; import COLORS from '@/styles/colors'; -import Footer from '@/components/Footer'; import { H2, H3, H4 } from '@/styles/text'; import { useAuth } from '@/utils/AuthProvider'; import { useProfile } from '@/utils/ProfileProvider'; diff --git a/src/components/Footer/index.tsx b/src/components/Footer/index.tsx index 5efb868f..63a0016a 100644 --- a/src/components/Footer/index.tsx +++ b/src/components/Footer/index.tsx @@ -2,13 +2,13 @@ import Image from 'next/image'; import Link from 'next/link'; -import { P } from '@/styles/text'; +import CONFIG from '@/lib/configs'; import { IconType } from '@/lib/icons'; import { Flex } from '@/styles/containers'; -import CONFIG from '@/lib/configs'; +import { P } from '@/styles/text'; import FooterImage from '../../../public/images/footer-image.webp'; -import * as Styles from './styles'; import Icon from '../Icon'; +import * as Styles from './styles'; type SocialLink = { href: string; diff --git a/src/components/Footer/styles.tsx b/src/components/Footer/styles.tsx index f439a0d9..7771bde8 100644 --- a/src/components/Footer/styles.tsx +++ b/src/components/Footer/styles.tsx @@ -1,7 +1,7 @@ import styled from 'styled-components'; import COLORS from '@/styles/colors'; -import { LinkColored } from '@/styles/text'; import { sans } from '@/styles/fonts'; +import { LinkColored } from '@/styles/text'; export const FooterContainer = styled.div` width: 100%;