diff --git a/web/src/components/EmojiReaction/EmojiReaction.js b/web/src/components/EmojiReaction/EmojiReaction.js index 83fb7b3..0f2d162 100644 --- a/web/src/components/EmojiReaction/EmojiReaction.js +++ b/web/src/components/EmojiReaction/EmojiReaction.js @@ -38,12 +38,15 @@ const EmojiReaction = ({ emotes, callback = () => {} }) => { return [
- - - + +
+ +
+
+
- {emotes.map((emote) => ( - handleEmojiClick(emote.emoji)}> + {emotes.map((emote, i) => ( + handleEmojiClick(emote.emoji)}> {emote.emoji} {emote.count} ))} @@ -63,8 +66,8 @@ const EmojiReaction = ({ emotes, callback = () => {} }) => { horizontal: 'center', }} > - {emojiMenu.map((emoji) => ( - handleEmojiClick(emoji)}>{emoji} + {emojiMenu.map((emoji, i) => ( + handleEmojiClick(emoji)}>{emoji} ))} , ] diff --git a/web/src/components/PartForm/ImageUploader.js b/web/src/components/PartForm/ImageUploader.js index 4809ec0..b88023e 100644 --- a/web/src/components/PartForm/ImageUploader.js +++ b/web/src/components/PartForm/ImageUploader.js @@ -9,7 +9,7 @@ import 'react-image-crop/dist/ReactCrop.css' import Svg from 'src/components/Svg/Svg.js' const CLOUDINARY_UPLOAD_PRESET = "CadHub_project_images"; -const CLOUDINARY_UPLOAD_URL = "https://api.cloudinary.com/v1_1/irevdev/upload/?custom_coordinates=10,10,20,20"; +const CLOUDINARY_UPLOAD_URL = "https://api.cloudinary.com/v1_1/irevdev/upload"; export default function ImageUploader({ onImageUpload, imageUrl }) { const [isModalOpen, setIsModalOpen] = useState(false) diff --git a/web/src/components/Svg/Svg.js b/web/src/components/Svg/Svg.js index 43ec2ff..0e03c06 100644 --- a/web/src/components/Svg/Svg.js +++ b/web/src/components/Svg/Svg.js @@ -11,7 +11,7 @@ const Svg = ({name, className: className2, strokeWidth = 2}) => { , "dots-vertical": - + } diff --git a/web/src/index.css b/web/src/index.css index eed36d4..5b01aec 100644 --- a/web/src/index.css +++ b/web/src/index.css @@ -36,7 +36,7 @@ body { /* TODO can I use a tailwind class here? */ - background-color: #4a5568; + background-color: #E5E5E5; } button, input, label, textarea { diff --git a/web/src/layouts/MainLayout/MainLayout.js b/web/src/layouts/MainLayout/MainLayout.js index 8621647..ae55bd0 100644 --- a/web/src/layouts/MainLayout/MainLayout.js +++ b/web/src/layouts/MainLayout/MainLayout.js @@ -23,6 +23,7 @@ const MainLayout = ({ children }) => {
  • + {/* Because of how specific these styles are to this heading/logo and it doesn't need to be replicated else where as well as it's very precise with the placement of "pre-alpha" I think it's appropriate. */}

    CadHub

    pre-alpha