-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplan.txt
75 lines (50 loc) · 1.57 KB
/
plan.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
Pages
=====
- Main page {
Contains side bar?
}
- Current recipe page {
}
Components
==========
- Header {
Contains favicon?, search button w/Icon, and profile button w/Icon.
}
- Sidebar {
}
- Current recipe {
Might use grid for this.
Contains picture on the left, info on the right.
On mobile, picture takes full width of container;
on large screens, there will be padding in the container.
Title at top, share button w/Icon at top right,
and icons at the bottom: stars, ?, time, and calories.
}
-
- Primary button {
Has hover and active.
Login button and new recipe button look very different in terms of button Content.
The only similarities I can see are the background and pill shape.
For the new recipe button it might be easier to use an icon.
Wraps inside another component as a render prop, so the outer component can provide
functionality such as logging in or adding a new recipe.
}
- Button w/Icon {
Uses a toggle hook and will modify a simple boolean state value,
which will determine if a component such as the search box or profile tab will
appear.
}
- Ingredient input form {
Deletable
2 inputs, 1 for the ingredient and 1 for calories
}
- Step description form {
Resizable text area;
Goes into a list of stepsData
}
Note: I don't see any submit buttons for the 2 above forms
so I will assume for now that they submit on enter
- Log in form {
Has hide/show functionality for password; password is serialized when hidden.
Submits an ajax request to the server to log in.
}