|
22 | 22 | <link rel="stylesheet" href="../src/styles/components/loader.css"> |
23 | 23 | <link rel="stylesheet" href="../src/styles/components/loader-container.css"> |
24 | 24 |
|
25 | | - |
| 25 | + <link rel="stylesheet" href="../src/styles/components/buttons.css"> |
26 | 26 | </head> |
27 | 27 |
|
28 | 28 | <body> |
29 | | - |
30 | 29 | <div class="navbar"></div> |
31 | 30 |
|
32 | | - <h1>Create Post</h1> |
33 | | - |
34 | | - <div class="loader-container"> |
35 | | - <div class="loader hidden"></div> |
36 | | - </div> |
37 | | - |
38 | | - <div class="notifications"></div> |
| 31 | + <main> |
| 32 | + <h1>Create Post</h1> |
39 | 33 |
|
40 | | - <form id="createPostForm" class="form"></form> |
41 | | -<!-- <form id="createPostForm" class="form"> |
42 | | - <label for="post-image">Photo: </label> |
43 | | - <input type="file" id="post-image" name="photo" accept="image/*"> |
44 | | -
|
45 | | - <label for="post-name">Product Name: </label> |
46 | | - <input required id="post-name" name="post-name" type="text" maxlength="120" |
47 | | - placeholder="Introduce the name of your post." /> |
48 | | -
|
49 | | - <label for="post-description">Description: </label> |
50 | | - <textarea required name="post-description" id="post-description" maxlength="300" |
51 | | - placeholder="Max. Length 300"></textarea> |
| 34 | + <div class="loader-container"> |
| 35 | + <div class="loader hidden"></div> |
| 36 | + </div> |
52 | 37 |
|
53 | | - <label for="post-price">Price: </label> |
54 | | - <input required id="post-price" name="post-price" type="number" min="1" max="9999999" step="0.01" |
55 | | - placeholder="Introduce the price of your product." /> |
| 38 | + <div class="notifications"></div> |
56 | 39 |
|
57 | | - <div> |
58 | | - <label for="purchase"> |
59 | | - <input required type="radio" id="purchase" name="transactionType" value="purchase"> |
60 | | - Purchase |
61 | | - </label> |
| 40 | + <form id="create-post-form" class="form"></form> |
| 41 | + </main> |
62 | 42 |
|
63 | | - <label for="sale"> |
64 | | - <input required type="radio" id="sale" name="transactionType" value="sale"> |
65 | | - Sale |
66 | | - </label> |
67 | | - </div> |
68 | 43 |
|
69 | | - <button>Create Post</button> |
70 | | - </form> --> |
71 | 44 |
|
72 | 45 | <div class="footer"></div> |
73 | 46 | <script type="module" src="../src/js/main.js"></script> |
|
0 commit comments