From 5fa05ed490afa7449a17464ad99afb461225b385 Mon Sep 17 00:00:00 2001 From: mvking5464 Date: Tue, 16 Apr 2024 15:30:18 +0530 Subject: [PATCH] Git logo added --- package.json | 2 +- src/components/comment/CommentInputForm.tsx | 2 +- src/components/landing/footer/footer.tsx | 10 +++++- yarn.lock | 34 ++++++++------------- 4 files changed, 23 insertions(+), 25 deletions(-) diff --git a/package.json b/package.json index 6c61a9138..96748dc64 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "db:reset": "prisma migrate reset", "prepare": "husky install", "studio": "prisma studio", - "studio:docker" : "open http://localhost:5555 || start http://localhost:5555" + "studio:docker": "open http://localhost:5555 || start http://localhost:5555" }, "dependencies": { "@auth/prisma-adapter": "^1.0.6", diff --git a/src/components/comment/CommentInputForm.tsx b/src/components/comment/CommentInputForm.tsx index 769ea1485..2c8eeabda 100644 --- a/src/components/comment/CommentInputForm.tsx +++ b/src/components/comment/CommentInputForm.tsx @@ -42,7 +42,7 @@ const CommentInputForm = ({ useEffect(() => { const handleKeyDown = (event: KeyboardEvent) => { // Prevent shortcuts from affecting video when typing in the textarea - event.stopPropagation(); + event.stopPropagation(); }; textareaRef.current?.addEventListener('keydown', handleKeyDown); diff --git a/src/components/landing/footer/footer.tsx b/src/components/landing/footer/footer.tsx index a998ed697..65b18cc7e 100644 --- a/src/components/landing/footer/footer.tsx +++ b/src/components/landing/footer/footer.tsx @@ -1,5 +1,10 @@ import Link from 'next/link'; -import { SiInstagram, SiYoutube, SiX } from '@icons-pack/react-simple-icons'; +import { + SiInstagram, + SiYoutube, + SiX, + SiGithub, +} from '@icons-pack/react-simple-icons'; import Image from 'next/image'; import playstore from '/public/platform/playstore.png'; import Logo from '../logo/logo'; @@ -67,6 +72,9 @@ const Footer = () => { + + + diff --git a/yarn.lock b/yarn.lock index 897b33742..d77c4bfb0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -293,22 +293,12 @@ resolved "https://registry.npmjs.org/@icons-pack/react-simple-icons/-/react-simple-icons-9.4.0.tgz" integrity sha512-fZtC4Zv53hE+IQE2dJlFt3EB6UOifwTrUNMuEu4hSXemtqMahd05Dpvj2K0j2ewVc+j/ibavud3xjfaMB2Nj7g== -"@img/sharp-libvips-linux-x64@1.0.1": - version "1.0.1" - resolved "https://registry.npmjs.org/@img/sharp-libvips-linux-x64/-/sharp-libvips-linux-x64-1.0.1.tgz" - integrity sha512-3NR1mxFsaSgMMzz1bAnnKbSAI+lHXVTqAHgc1bgzjHuXjo4hlscpUxc0vFSAPKI3yuzdzcZOkq7nDPrP2F8Jgw== - -"@img/sharp-libvips-linuxmusl-x64@1.0.1": - version "1.0.1" - resolved "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-x64/-/sharp-libvips-linuxmusl-x64-1.0.1.tgz" - integrity sha512-dcT7inI9DBFK6ovfeWRe3hG30h51cBAP5JXlZfx6pzc/Mnf9HFCQDLtYf4MCBjxaaTfjCCjkBxcy3XzOAo5txw== - -"@img/sharp-linux-x64@0.33.2": +"@img/sharp-darwin-arm64@0.33.2": version "0.33.2" - resolved "https://registry.npmjs.org/@img/sharp-linux-x64/-/sharp-linux-x64-0.33.2.tgz" - integrity sha512-xUT82H5IbXewKkeF5aiooajoO1tQV4PnKfS/OZtb5DDdxS/FCI/uXTVZ35GQ97RZXsycojz/AJ0asoz6p2/H/A== + resolved "https://registry.yarnpkg.com/@img/sharp-darwin-arm64/-/sharp-darwin-arm64-0.33.2.tgz#0a52a82c2169112794dac2c71bfba9e90f7c5bd1" + integrity sha512-itHBs1rPmsmGF9p4qRe++CzCgd+kFYktnsoR1sbIAfsRMrJZau0Tt1AH9KVnufc2/tU02Gf6Ibujx+15qRE03w== optionalDependencies: - "@img/sharp-libvips-linux-x64" "1.0.1" + "@img/sharp-libvips-darwin-arm64" "1.0.1" "@img/sharp-darwin-x64@0.33.2": version "0.33.2" @@ -493,15 +483,10 @@ resolved "https://registry.npmjs.org/@next/env/-/env-14.0.2.tgz" integrity sha512-HAW1sljizEaduEOes/m84oUqeIDAUYBR1CDwu2tobNlNDFP3cSm9d6QsOsGeNlIppU1p/p1+bWbYCbvwjFiceA== -"@next/swc-linux-x64-gnu@14.0.2": +"@next/swc-darwin-arm64@14.0.2": version "14.0.2" - resolved "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.0.2.tgz" - integrity sha512-WC9KAPSowj6as76P3vf1J3mf2QTm3Wv3FBzQi7UJ+dxWjK3MhHVWsWUo24AnmHx9qDcEtHM58okgZkXVqeLB+Q== - -"@next/swc-linux-x64-musl@14.0.2": - version "14.0.2" - resolved "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.0.2.tgz" - integrity sha512-KSSAwvUcjtdZY4zJFa2f5VNJIwuEVnOSlqYqbQIawREJA+gUI6egeiRu290pXioQXnQHYYdXmnVNZ4M+VMB7KQ== + resolved "https://registry.yarnpkg.com/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.0.2.tgz#eba35a1425fee5d305903c85ae0d6d2b0d512c7b" + integrity sha512-i+jQY0fOb8L5gvGvojWyZMfQoQtDVB2kYe7fufOEiST6sicvzI2W5/EXo4lX5bLUjapHKe+nFxuVv7BA+Pd7LQ== "@next/swc-darwin-x64@14.0.2": version "14.0.2" @@ -2205,6 +2190,11 @@ fs.realpath@^1.0.0: resolved "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz" integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw== +fsevents@~2.3.2: + version "2.3.3" + resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6" + integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw== + function-bind@^1.1.2: version "1.1.2" resolved "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz"