mirror of
https://github.com/wasp-lang/wasp.git
synced 2024-12-25 18:13:52 +03:00
Removed /about from todo example.
This commit is contained in:
parent
ebfeb33330
commit
43c80f8d9c
@ -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;
|
||||
}
|
||||
|
@ -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
|
||||
<a href="https://github.com/wasp-lang/wasp/tree/master/examples/todoApp">here</a>.
|
||||
</p>
|
||||
</div>
|
||||
jsx=}
|
||||
}
|
||||
|
||||
entity-form<Task> NewTaskForm {
|
||||
fields: {
|
||||
description: {
|
||||
|
Loading…
Reference in New Issue
Block a user