pidgin/nest

Use learn theme's notice CSS for notification bar

19 months ago, Elliott Sales de Andrade
a2d18308f054
Use learn theme's notice CSS for notification bar

The CSS from the [learn theme's notice shortcode](https://learn.netlify.app/en/shortcodes/notice/) can be used to style the notification bar instead of doing it ourselves.

I set the current one to be a "Tip", but it could be a "Note", "Info", or "Warning".

Testing Done:
Delete the cookie, and opened a page that showed the notification. Clicked the X and the notification went away as expected, and the cookie was set.

Reviewed at https://reviews.imfreedom.org/r/1934/
{
"private": true,
"dependencies": {
"js-beautify": "^1.8.9",
"js-yaml": "^3.13.1"
},
"devDependencies": {
"@types/jquery": "^3.3.31",
"cspell": "^4.0.23",
"differencify": "^1.5.3",
"eslint": "^6.8.0",
"eslint-plugin-prettier": "^3.1.2",
"front-matter": "^3.0.1",
"prettier": "^1.18.2",
"prettier-plugin-toml": "^0.3.1"
},
"scripts": {
"regression": "node tools/visual-diff.js",
"tidy": "node tools/pre-prod",
"lint": "npm run eslint && npm run prettier",
"eslint": "eslint hugo/static/**/*.js tools/**/*.js",
"prettier": "prettier --write ./**/*.{js,md,toml,css,json}",
"docker": "npm run docker:build && npm run docker:run",
"docker:build": "docker build -t pidgin/nest:latest .",
"docker:run": "docker run -it --rm -p 3000:3000 pidgin/nest:latest",
"hugo": "hugo -s hugo -D -v --verboseLog",
"hugo:new": "hugo -s hugo new",
"hugo:server": "hugo server -s hugo -D --disableFastRender -v --verboseLog --noHTTPCache",
"spelling": "cspell \"**/*\"",
"migration-tracker": "node tools/migrate-tracker.js"
}
}