Removed /about from todo example.

This commit is contained in:
Martin Sosic 2020-02-06 14:02:11 +01:00
parent ebfeb33330
commit 43c80f8d9c
2 changed files with 0 additions and 33 deletions

View File

@ -55,17 +55,3 @@ button.selected {
.todos__footer__filters .filter:not(:last-child) {
margin-right: 10px;
}
.mainPage__nav {
text-align: center;
margin-top: 30px;
}
.mainPage__nav__aboutLink {
color: lightgray;
font-size: 12px;
text-decoration: none;
}
.mainPage__nav__aboutLink:hover {
text-decoration: underline;
}

View File

@ -23,28 +23,9 @@ page Main {
removeTask={this.props.removeTask}
>
</Todo>
<div className="mainPage__nav">
<a href="/about" className="mainPage__nav__aboutLink"> About </a>
</div>
</> jsx=}
}
page About {
route: "/about",
style: {=css
.aboutPage { color: black; text-align: center; }
css=},
content: {=jsx
<div className="aboutPage">
<h1> About </h1>
<p>This page was built with <a href="https://wasp-lang.dev">Wasp</a>!</p>
<p> Check out source code &nbsp;
<a href="https://github.com/wasp-lang/wasp/tree/master/examples/todoApp">here</a>.
</p>
</div>
jsx=}
}
entity-form<Task> NewTaskForm {
fields: {
description: {