From 71533526bfb6beebad8e8c959313ac1cfdc57eeb Mon Sep 17 00:00:00 2001 From: Denis Ah-Kang Date: Tue, 18 Mar 2025 09:15:18 +0400 Subject: [PATCH 1/3] update W3C logo + review navigation --- lib/views.js | 18 ------------------ public/css/specberus.css | 28 +++++++++++++++++++--------- public/img/favicon.ico | Bin 5430 -> 0 bytes public/img/logo-w3c.svg | 25 ------------------------- public/img/logo.svg | 10 ---------- views/help.handlebars | 9 --------- views/layouts/main.handlebars | 8 +++----- views/wip.handlebars | 10 ---------- 8 files changed, 22 insertions(+), 86 deletions(-) delete mode 100644 public/img/favicon.ico delete mode 100644 public/img/logo-w3c.svg delete mode 100644 public/img/logo.svg delete mode 100644 views/wip.handlebars diff --git a/lib/views.js b/lib/views.js index cdb0df4c9..c21fefd42 100644 --- a/lib/views.js +++ b/lib/views.js @@ -14,7 +14,6 @@ const BASE_URI = `${process.env.BASE_URI ? process.env.BASE_URI : ''}/`.replace( const { version } = importJSON('../package.json', import.meta.url); const nav = `

- About · Site map · Github · Help @@ -34,20 +33,6 @@ const serveStraight = function (req, res) { }); }; -/** - * @TODO Document. - */ - -const handleWIP = function (req, res) { - res.render('wip', { - DEBUG, - BASE_URI, - version, - nav, - title: 'coming soon', - }); -}; - /** * @TODO Document. */ @@ -232,9 +217,6 @@ export const setUp = function (app) { app.get('/sitemap', serveStraight); app.get('/help', serveStraight); - // Pending sections: - app.get('/about', handleWIP); - // Catch-all: app.get(/(.*)/, handleWrongPage); }; diff --git a/public/css/specberus.css b/public/css/specberus.css index d042028fa..84c58a62b 100644 --- a/public/css/specberus.css +++ b/public/css/specberus.css @@ -1,6 +1,6 @@ -body { +/* body { padding-top: 70px; -} +} */ .container-fluid { max-width: 1170px; @@ -12,8 +12,12 @@ img.filler { box-shadow: 0 2px 12px #404040; } +.navbar { + min-height: 150px; +} + .navbar img { - height: 40px; + height: 120px; } .navbar .contribute a { @@ -39,6 +43,11 @@ img.filler { 0 -2px 16px #ffffff; } +.navbar-brand { + font-size: 1.5em; + font-weight: bold; +} + #infoLink { display: none; opacity: 1; @@ -54,11 +63,11 @@ img.filler { background-color: #ff8080; } -.navbar-inverse .navbar-brand, +/* .navbar-inverse .navbar-brand, .navbar-inverse .navbar-brand a, .contribute { color: #fff; -} +} */ .contribute { padding: 25px 0 0 0; @@ -68,13 +77,14 @@ img.filler { padding-bottom: 30px; } -header.navbar-inverse { +/* header.navbar-inverse { background: linear-gradient( to bottom, - rgb(7, 62, 128) 0px, - rgb(0, 45, 80) 100% + #FDFDFD 0px, + #EBEBEB 100% ); -} + border: 0; +} */ ul.error, ul.warning, diff --git a/public/img/favicon.ico b/public/img/favicon.ico deleted file mode 100644 index 34dd19bacc0a85e825644ba935dcdb8f4a759970..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5430 zcmeI0>uZl;7{?!y*ZzdPl0U;+N%BIHv`8XJdEt$Om`Dz5rsj}SSV>~Dnl(#iB63(x z&D3np4a=#Wp3D8&?YrmRy=T7}+V72D-Q9=lcwhH*dVWbVC7GJcn31@-Bv~~rNoFQV zQc~jg)$V++JDcUs+|ptAb2sJw1_!Oojb1lwf}`&j?Z5=-LOFjTH>4l2zV#xtmiFu( z*W1k6-ueBp8)kFL)1guSD8mVL-%)3_`BDbkaNZ2uCvQAm%>%PNSN!_o{R~e$mY* z)RrDKYkXpM?vCFtK5T|vgxmbw^DS@8&Va2wYgXBm8h2cI%I_Ncpc)(XY&Y_3nSxUfsfFZxWa(V9YOnG+=h#Xzp*?leYZJ5SC!H6XYabS-K?XdrE4pGY?oXeB zZ9?AEWbO|By6WGP46yUKtMf5_s4q0SqwwgxB%3+x&4d%r z^d{h9hZq*`=@mo%ta%UNiI;HT8TLKG3uoP*cnr_;))iO1ZI>N4+jzn2LJWh8UlG^H zrZ2@dtm8Ng`Qr2RF5sa@2#eRmn)*34{r6vuU~8GrSL;TVs37Qx1(|rJmmx6fe#&bmuz&+ z%b~Gs;##)G&VuvKk_%7#L;R2>n}oi_8;BQgBwmGP-dj5J*1`>QEAaRmh5K=iyfDAZ zSAhLa?U64Lqp_cabuH$lZxQ5#-yl8Tv-rS2Wi#C?obhw{DsdgcSnDo%xdy(at`;Mo zdKc1?%k*~gj}Wdky$19Q-a+Tg*q_(|Ml6RgtyO2ykM|&sG&qBnIeZ_{GLt{R!N+49 z{0|r-@B12heJcuYta)F grI_D9$S&sh=T0YI-`|sIhvDz0` - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/public/img/logo.svg b/public/img/logo.svg deleted file mode 100644 index 4fd1bce34..000000000 --- a/public/img/logo.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/views/help.handlebars b/views/help.handlebars index 5635f2c30..9e44e3450 100644 --- a/views/help.handlebars +++ b/views/help.handlebars @@ -4,15 +4,6 @@

↑ up to Pubrules home

Help

-

Introduction to Pubrules

-

[@TODO]

- -

Tutorial & howto's

-

[@TODO]

- -

FAQ

-

[@TODO]

-

Reference (manual use and API)