Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comments #21

Merged
merged 24 commits into from
Feb 19, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add comments components
  • Loading branch information
CatsAreMLG committed Feb 19, 2019
commit 007dfc55bb13d005e3bc4820fc13712544ae2785
7 changes: 7 additions & 0 deletions artfolio/src/components/comment/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import React from "react";

const Comment = props => {
return <div>comment</div>;
};

export default Comment;
13 changes: 13 additions & 0 deletions artfolio/src/components/comments/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import React from "react";

import Comment from "../comment";

const Comments = () => {
return (
<div>
<Comment />
</div>
);
};

export default Comments;
46 changes: 26 additions & 20 deletions artfolio/src/components/mobileModal/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React from "react";
import { FaRegHeart, FaRegComment, FaRegBookmark } from "react-icons/fa";
import { FiShare } from "react-icons/fi";

import Comments from "../comments";
import Error404 from "../Error404";

export default function MobileModal(props) {
Expand All @@ -26,26 +27,31 @@ export default function MobileModal(props) {
<div className="mobile_modal_likes">42 likes</div>
<div className="mobile_modal_date">FEBRUARY 2</div>
<div className="mobile_modal_comments">
<b>yes_way_jose.jpg </b>
Gtfo
<br />
📷-me
<br />
Car owner: @carlosdaman96
<br />
<b>shrimpcx</b> Okay :(
<br />
<b>yes_way_jose.jpg</b> @shrimpcx not you bb👀
<br />
<b>yes_way_jose.jpg</b>
#photography #photo #photos #photographer #igphoto #welit
#toomuchsauce #dontgetlostinthesauce #photooftheday #igsanmarcos
#events #electronicmedia #changes #limitless #igdaily #photogram
#mustang_freakzz #mustang #ecoboostmustang #ecobeast #ecoboost
<br />
<b>6zj6</b>
🌸🌸🌸🌸🌸🌸🌸 ┏━━╮┏┓┏┓╭━┓┏━┓ ┃┏╮┃┃┃┃┃┃╭┛┃┗┓ ┃┃┃╰┛┃┃┃┃╰┓┃┗┓
┗┛╰━━┛┗┛╰━┛┗━┛ Big Like 🌸🌸🌸🌸🌸🌸🌸
{props.src.description || (
<>
<b>yes_way_jose.jpg </b>
Gtfo
<br />
📷-me
<br />
Car owner: @carlosdaman96
<br />
<b>shrimpcx</b> Okay :(
<br />
<b>yes_way_jose.jpg</b> @shrimpcx not you bb👀
<br />
<b>yes_way_jose.jpg</b>
#photography #photo #photos #photographer #igphoto #welit
#toomuchsauce #dontgetlostinthesauce #photooftheday #igsanmarcos
#events #electronicmedia #changes #limitless #igdaily #photogram
#mustang_freakzz #mustang #ecoboostmustang #ecobeast #ecoboost
<br />
<b>6zj6</b>
🌸🌸🌸🌸🌸🌸🌸 ┏━━╮┏┓┏┓╭━┓┏━┓ ┃┏╮┃┃┃┃┃┃╭┛┃┗┓ ┃┃┃╰┛┃┃┃┃╰┓┃┗┓
┗┛╰━━┛┗┛╰━┛┗━┛ Big Like 🌸🌸🌸🌸🌸🌸🌸
<Comments />
</>
)}
</div>
</div>
<input type="text" placeholder="Add a comment..." />
Expand Down
3 changes: 3 additions & 0 deletions artfolio/src/components/modal/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import React from "react";
import { FaRegHeart, FaRegComment, FaRegBookmark } from "react-icons/fa";
import { FiShare, FiX } from "react-icons/fi";

import Comments from "../comments";

export default function Modal(props) {
const image = require("../../images/profile/42696764_388532598354278_2259473674702684160_n.jpg");
return (
Expand Down Expand Up @@ -53,6 +55,7 @@ export default function Modal(props) {
┗┛╰━━┛┗┛╰━┛┗━┛ Big Like 🌸🌸🌸🌸🌸🌸🌸
</>
)}
<Comments />
</div>
<div className="modal_icons">
<FaRegHeart size="24px" />
Expand Down