some visual edits
This commit is contained in:
parent
9aa569281b
commit
0d737aa5fb
3 changed files with 40 additions and 11 deletions
|
|
@ -61,4 +61,14 @@ router.get(
|
|||
}
|
||||
);
|
||||
|
||||
router.get(
|
||||
'/offers',
|
||||
redirectIfNotAuthorizedMiddleware,
|
||||
attachPublicKeyMiddleware,
|
||||
redirectIfMissingProfileDetailsMiddleware,
|
||||
(req, res) => {
|
||||
res.render('offers', {});
|
||||
}
|
||||
);
|
||||
|
||||
module.exports = router;
|
||||
|
|
|
|||
25
src/views/createOffer.ejs
Normal file
25
src/views/createOffer.ejs
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Seca home</title>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<link rel="stylesheet" href="/css/seca.css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="over-background">
|
||||
<h1>la seca</h1>
|
||||
<button class="button-primary">Home</button>
|
||||
<button class="button-primary">Ofertas</button>
|
||||
<button class="button-primary">Red</button>
|
||||
<button class="button-primary">Mi perfil</button>
|
||||
</div>
|
||||
<div id="offers-section" class="over-background">
|
||||
<button class="button-primary">Crear oferta</button>
|
||||
</div>
|
||||
<div id="offers-section" class="over-background" style="display: none">
|
||||
<h2>Crear oferta</h2>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -4,22 +4,16 @@
|
|||
<title>Seca home</title>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<link rel="stylesheet" href="/css/seca.css">
|
||||
<link rel="stylesheet" href="/css/seca.css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="over-background">
|
||||
<h1>la seca</h1>
|
||||
<p>Bienvenido a la seca</p>
|
||||
</div>
|
||||
<div class="over-background">
|
||||
<button class="button-primary">Ver ofertas</button>
|
||||
<button class="button-primary">Crear oferta</button>
|
||||
<button class="button-primary">Buscar confiados</button>
|
||||
</div>
|
||||
<div class="over-background">
|
||||
<h2>Compraventas activas</h2>
|
||||
<p>Vaya, parece que no hay nada...</p>
|
||||
<button class="button-primary">Home</button>
|
||||
<button class="button-primary">Ofertas</button>
|
||||
<button class="button-primary">Red</button>
|
||||
<button class="button-primary">Mi perfil</button>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue