From abac644b42d7f83bbc3b67db18939a9c5621af46 Mon Sep 17 00:00:00 2001 From: insanity Date: Fri, 21 Jul 2017 15:58:39 +0900 Subject: [PATCH] notification --- src/ts/@overflow/app/views/layout/LogoBar.tsx | 21 ++++-- .../commons/react/component/Notification.tsx | 68 ++++++++----------- 2 files changed, 42 insertions(+), 47 deletions(-) diff --git a/src/ts/@overflow/app/views/layout/LogoBar.tsx b/src/ts/@overflow/app/views/layout/LogoBar.tsx index 94cf6d3..494ea26 100644 --- a/src/ts/@overflow/app/views/layout/LogoBar.tsx +++ b/src/ts/@overflow/app/views/layout/LogoBar.tsx @@ -1,5 +1,11 @@ import * as React from 'react'; -import { Menu, Header, Container } from 'semantic-ui-react'; +import { + Menu, + Header, + Container, + Popup, +} from 'semantic-ui-react'; +import { Notification } from '@overflow/commons/react/component/Notification'; export class LogoBar extends React.Component { @@ -19,17 +25,20 @@ export class LogoBar extends React.Component { public render(): JSX.Element { return ( - + - {/* */} - + />} + on='click' basic wide > + + + ); diff --git a/src/ts/@overflow/commons/react/component/Notification.tsx b/src/ts/@overflow/commons/react/component/Notification.tsx index a96985f..5765dd2 100644 --- a/src/ts/@overflow/commons/react/component/Notification.tsx +++ b/src/ts/@overflow/commons/react/component/Notification.tsx @@ -1,8 +1,8 @@ import * as React from 'react'; import { Container, - Card, - Feed, + List, + Header, } from 'semantic-ui-react'; export interface Props { @@ -23,45 +23,31 @@ export class Notification extends React.Component { public render(): JSX.Element { return ( - - - - User Notifications - - - - - - - - - You added Jenny Hess to your coworker group. - - - - - - - - - - You added Molly Malone as a friend. - - - - - - - - - - You added Elliot Baker to your musicians group. - - - - - - + +
+ + + + + Semantic-Org/Semantic-UI + Updated 10 mins ago + + + + + + Semantic-Org/Semantic-UI-Docs + Updated 22 mins ago + + + + + + Semantic-Org/Semantic-UI-Meteor + Updated 34 mins ago + + + ); }