-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomponent---src-pages-socialmedia-js-c3105a5366f79df8b691.js
2 lines (2 loc) · 3.76 KB
/
component---src-pages-socialmedia-js-c3105a5366f79df8b691.js
1
2
(window.webpackJsonp=window.webpackJsonp||[]).push([[9],{Gcv0:function(e,t,n){"use strict";n.r(t);var a=n("q1tI"),i=n.n(a),l=n("Zttt"),o=n("Wbzz"),r=n("vOnD"),d=r.b.div.withConfig({displayName:"Gallerystyled__StyledGallery",componentId:"sc-17y5ncd-0"})(["display:grid;grid-template-columns:1fr 1fr 1fr 1fr;grid-template-rows:auto auto;grid-gap:10px 10px;justify-content:center;@media (max-width:1200px){grid-template-columns:1fr 1fr;grid-template-rows:auto auto auto auto;}@media (max-width:700px){display:flex;flex-direction:column;}"]),c=n("9eSz"),s=n.n(c),m=r.b.div.withConfig({displayName:"Imagestyled__ImageWrapper",componentId:"sc-8ekb2g-0"})(["position:relative;"]),p=Object(r.b)(s.a).withConfig({displayName:"Imagestyled__StyledImage",componentId:"sc-8ekb2g-1"})(["position:absolute;z-index:1;"]),f=r.b.p.withConfig({displayName:"Imagestyled__Caption",componentId:"sc-8ekb2g-2"})(["position:absolute;margin:0;top:0;left:0;z-index:10;width:100%;height:100%;color:white;background:rgba(0,0,0,0.8);font-size:1vw;line-height:1.5vw;display:flex;align-items:center;text-align:center;@media (max-width:1200px){font-size:1.8vw;line-height:2.6vw;}@media (max-width:700px){font-size:5vw;line-height:7.5vw;}"]),u=n("wEEd"),g=Object(u.a)(f),w=function(e){var t=Object(a.useState)(!1),n=t[0],l=t[1],o=Object(u.b)({opacity:n?1:0}),r=e.fluid,d=e.caption;return i.a.createElement(m,{onMouseEnter:function(){return l(!0)},onMouseLeave:function(){return l(!1)}},i.a.createElement(p,{fluid:r}),i.a.createElement(g,{style:o},d))},h=function(){var e=Object(o.d)("3865596330");return i.a.createElement("div",null,i.a.createElement(d,null,e.allInstaNode.grams.map((function(e,t){return e.gram.localFile?i.a.createElement(w,{fluid:e.gram.localFile.childImageSharp.fluid,size:"400",key:t,caption:e.gram.caption}):i.a.createElement("div",null,"Nothing to show")}))))},y=r.b.div.withConfig({displayName:"TweetListstyled__StyledTweetList",componentId:"sc-1tmmd5m-0"})(["display:flex;flex-wrap:wrap;flex-direction:row;justify-content:flex-start;gap:10px;"]),x=r.b.div.withConfig({displayName:"Tweetstyled__StyledTweet",componentId:"ddq9tx-0"})(["display:flex;flex-direction:column;max-width:400px;background:black;color:white;border-radius:10px;"]),b=r.b.p.withConfig({displayName:"Tweetstyled__Content",componentId:"ddq9tx-1"})(["font-size:0.8rem;padding:20px 20px;"]),E=r.b.div.withConfig({displayName:"Tweetstyled__Date",componentId:"ddq9tx-2"})(["font-size:0.6rem;font-style:italic;align-self:end;padding:0 10px 10px 0;"]);function v(e){var t=e.content,n=t.full_text,a=t.created_at;return i.a.createElement(x,null,i.a.createElement(b,null,n),i.a.createElement(E,null,a))}var _=function(){var e=Object(o.d)("3139920214");return i.a.createElement(y,null,e.allTwitterStatusesUserTimelineMyTweets.tweets.map((function(e,t){return i.a.createElement(v,{id:t,content:e.tweet})})))},I=r.b.p.withConfig({displayName:"socialmedia__Note",componentId:"sc-188hfif-0"})(["font-size:0.6rem;font-style:italic;"]),k=r.b.a.withConfig({displayName:"socialmedia__Link",componentId:"sc-188hfif-1"})(["text-decoration:none;color:black;"]);t.default=function(){return i.a.createElement(l.a,null,i.a.createElement("h1",null,"Social Media"),i.a.createElement("h2",null,i.a.createElement(k,{href:"https://twitter.com/FilipeEstacio",target:"_blank",rel:"noopener noreferrer"},"Twitter")),i.a.createElement(_,null),i.a.createElement(I,null,"This is my twitter feed, filtered by posts containing #portfolio"),i.a.createElement("h2",null,i.a.createElement(k,{href:"https://www.instagram.com/adventures.of.figo/",target:"_blank",rel:"noopener noreferrer"},"Instagram")),i.a.createElement(h,null),i.a.createElement(I,null,"This is my dog's intstagram. I had to ask for his, since mine is set to private!"))}}}]);
//# sourceMappingURL=component---src-pages-socialmedia-js-c3105a5366f79df8b691.js.map