mirror of
https://github.com/rjNemo/meal_planner
synced 2026-06-12 13:26:45 +00:00
daily brush
This commit is contained in:
parent
162857407d
commit
85f6f9efc1
4 changed files with 24 additions and 21 deletions
|
|
@ -84,5 +84,7 @@ Free meal planner for cooks short on ideas! (like me …)
|
||||||
|
|
||||||
- put a preloader
|
- put a preloader
|
||||||
- route bad request to notFOund (exple: /categories/string, when search results is null)
|
- route bad request to notFOund (exple: /categories/string, when search results is null)
|
||||||
|
- Use ErrorBoundaries component ?
|
||||||
- add sidenav on mobile
|
- add sidenav on mobile
|
||||||
- contact form
|
- contact form
|
||||||
|
- override Router with scoll to top function
|
||||||
|
|
|
||||||
|
|
@ -169,7 +169,6 @@ const App = () => {
|
||||||
searchResults={searchResults}
|
searchResults={searchResults}
|
||||||
/>
|
/>
|
||||||
</Route>
|
</Route>
|
||||||
|
|
||||||
<Route path="/404">
|
<Route path="/404">
|
||||||
<NotFound handleClick={getRandomMeal} />
|
<NotFound handleClick={getRandomMeal} />
|
||||||
</Route>
|
</Route>
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ const CardEntry = props => {
|
||||||
<div className="card-image">
|
<div className="card-image">
|
||||||
<img src={strMealThumb} alt={strMeal} />
|
<img src={strMealThumb} alt={strMeal} />
|
||||||
</div>
|
</div>
|
||||||
<div class="card-content">
|
<div className="card-content">
|
||||||
<h4>{strMeal}</h4>
|
<h4>{strMeal}</h4>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@ import { Link } from "react-router-dom";
|
||||||
const SearchBar = props => {
|
const SearchBar = props => {
|
||||||
return (
|
return (
|
||||||
<div className="row">
|
<div className="row">
|
||||||
|
<form>
|
||||||
<input
|
<input
|
||||||
className="input-field col s10"
|
className="input-field col s10"
|
||||||
type="text"
|
type="text"
|
||||||
|
|
@ -23,6 +24,7 @@ const SearchBar = props => {
|
||||||
<i className="material-icons right">send</i>
|
<i className="material-icons right">send</i>
|
||||||
</button>
|
</button>
|
||||||
</Link>
|
</Link>
|
||||||
|
</form>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue