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;
|
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>
|
<title>Seca home</title>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<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>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div class="over-background">
|
<div class="over-background">
|
||||||
<h1>la seca</h1>
|
<h1>la seca</h1>
|
||||||
<p>Bienvenido a la seca</p>
|
<button class="button-primary">Home</button>
|
||||||
</div>
|
<button class="button-primary">Ofertas</button>
|
||||||
<div class="over-background">
|
<button class="button-primary">Red</button>
|
||||||
<button class="button-primary">Ver ofertas</button>
|
<button class="button-primary">Mi perfil</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>
|
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue