diff --git a/src/components/Resources/WriteUps/WriteUps.jsx b/src/components/Resources/WriteUps/WriteUps.jsx index b581e9cf..a791361c 100644 --- a/src/components/Resources/WriteUps/WriteUps.jsx +++ b/src/components/Resources/WriteUps/WriteUps.jsx @@ -1,5 +1,5 @@ import React from 'react'; -import {Section, AuthorImage, AuthorUsername, Date,Content, Heading, Paragraph, Image, Tag, MinRead, Bookmark} from './WriteUpsElements'; +import {Section, AuthorImage, AuthorUsername, Date,Content, Heading, Paragraph, ImageSection,Image, Tag, MinRead, Bookmark} from './WriteUpsElements'; import {BsBookmarkPlus, BsBookmarkCheck, BsBookmarkDash} from 'react-icons/bs'; @@ -23,7 +23,10 @@ const WriteUps = () => { - Bootcamp + + Bootcamp + + Bug Bounty diff --git a/src/components/Resources/WriteUps/WriteUpsElements.jsx b/src/components/Resources/WriteUps/WriteUpsElements.jsx index 311cdd50..00f0f04e 100644 --- a/src/components/Resources/WriteUps/WriteUpsElements.jsx +++ b/src/components/Resources/WriteUps/WriteUpsElements.jsx @@ -34,9 +34,14 @@ export const Paragraph = styled.p` display: inline-block; ` -export const Image = styled.div` +export const ImageSection = styled.div` + display: inline-block; + align-self: center; width: 30%; + ` +export const Image = styled.img` display: inline-block; + align-self: center; `