You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/08/24 04:38:38 UTC

[GitHub] [apisix-website] bzp2010 commented on a change in pull request #503: chore: remove shanghai meetup floating

bzp2010 commented on a change in pull request #503:
URL: https://github.com/apache/apisix-website/pull/503#discussion_r694485667



##########
File path: website/src/pages/index.js
##########
@@ -258,40 +258,6 @@ const NewsletterSection = () => {
   );
 };
 
-const EventPosterCard = () => {
-  const [display, setDisplay] = useState(false);
-
-  useEffect(() => {
-    if (!localStorage.getItem('SHOW_EVENT_ENTRY')) {
-      setDisplay(true);
-    };
-  }, []);
-
-  const onClose = () => {
-    setDisplay(false);
-    if (typeof window !== 'undefined') {
-      localStorage.setItem('SHOW_EVENT_ENTRY', 'true');
-    }
-  };
-
-  if (!display) {
-    return null;
-  }
-
-  return (
-    <div className="pic-wrapper">
-      <button className="pic-wrapper-close" onClick={onClose}>
-        <svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="times" className="svg-inline--fa fa-times fa-w-11" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 352 512">
-          <path fill="currentColor" d="M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"></path>
-        </svg>
-      </button>
-      <a href="/events/2021/08/21/shanghai-meetup" onClick={onClose}>
-        <img src="/img/meetup-card.jpg" alt="" />

Review comment:
       done




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org