Skip to content

Commit

Permalink
Merge pull request #32 from FuBoTeam/feature/add-contact-mailbox
Browse files Browse the repository at this point in the history
  • Loading branch information
ben196888 authored Jan 11, 2022
2 parents 40a31bf + 8ca97df commit 7bd18cc
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
5 changes: 5 additions & 0 deletions src/Board/board.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
color: $orange;
}

.gray-font {
color: #333;
font-size: small;
}

.container {
background: black;
min-height: 100%;
Expand Down
9 changes: 7 additions & 2 deletions src/Greeting/Greeting.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,13 @@ export const Greeting: React.FC<RouteComponentProps> = (props) => {
<header className="greeting-header">
<h1 className="greeting-title orange-font">祝福留言版</h1>
</header>
{!modalDisplay && <GreetingForm onSubmit={onSubmit} />}
{!modalDisplay && <a className="link orange-font" href={getUpperUrl(props.match.url)}>去照片牆瞧瞧</a>}
{ !modalDisplay &&
<>
<GreetingForm onSubmit={onSubmit} />
<a className="link orange-font" href={getUpperUrl(props.match.url)}>去照片牆瞧瞧</a>
<a className="link gray-font" href="mailto:contact@weddi.app">聯絡我們 contact@weddi.app</a>
</>
}
<Dialog user={user} show={modalDisplay} />
</div>
);
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import './index.css';
import App from './App';
import registerServiceWorker from './registerServiceWorker';

const Home = () => (<div>Weddi App</div>);
const Home = () => (<div>Weddi App <a href="mailto:contact@weddi.app">聯絡我們 contact@weddi.app</a></div>);

const Root = () => {
return (
Expand Down

0 comments on commit 7bd18cc

Please sign in to comment.