updated api mocks and new appeal pages
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
const { createServer } = require('https');
|
||||
const { parse } = require('url');
|
||||
const { readFileSync } = require('fs');
|
||||
const next = require('next');
|
||||
|
||||
const port = 3000;
|
||||
const dev = process.env.NODE_ENV !== 'production';
|
||||
const app = next({ dev });
|
||||
const handle = app.getRequestHandler();
|
||||
|
||||
const httpsOptions = {
|
||||
key: readFileSync('./certificates/privateKey.key'),
|
||||
cert: readFileSync('./certificates/certificate.crt')
|
||||
};
|
||||
|
||||
app.prepare()
|
||||
.then(() => {
|
||||
createServer(httpsOptions, (req, res) => {
|
||||
const parsedUrl = parse(req.url, true);
|
||||
handle(req, res, parsedUrl);
|
||||
}).listen(port, err => {
|
||||
if (err) throw err;
|
||||
console.log(`> Ready on https://localhost:${port}`);
|
||||
})
|
||||
});
|
||||
@@ -199,7 +199,8 @@ html[data-useragent*="MSIE 10.0"] .flex-container {
|
||||
padding-top: 20%;
|
||||
}
|
||||
|
||||
.card-3 .card-body {
|
||||
.card-3 .card-body,
|
||||
.appealModule.card-body {
|
||||
display: inline-flex;
|
||||
flex-direction: column;
|
||||
min-height: 30vh;
|
||||
|
||||
@@ -231,3 +231,11 @@ nav {
|
||||
.case .govuk-grid-column-full .govuk-summary-list__key {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.appealModule {
|
||||
width: 94%;
|
||||
min-height: 20vh;
|
||||
.appealCTA {
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user