Compare commits

...

3 commits

Author SHA1 Message Date
Janne Heß c4b2a854e7
frontend: Show nixpkgs tree instead of commit (#794)
Some checks failed
Build flake-info / build-flake-info (push) Failing after 12s
Frontend: Build & Deploy to Netlify / build-and-deploy (push) Failing after 7s
2024-06-11 23:32:39 +02:00
Janne Heß 01ce288a54
frontend: Optimize production builds (#795) 2024-06-11 23:32:06 +02:00
Janne Heß 61302d7112
frontend: Fix magnifying glass position and font (#796) 2024-06-11 23:31:45 +02:00
5 changed files with 8 additions and 8 deletions

View file

@ -6,7 +6,7 @@ const HtmlWebpackPlugin = require('html-webpack-plugin');
const {CleanWebpackPlugin} = require('clean-webpack-plugin');
module.exports = (withDebug) => {
module.exports = (withDebug, optimize) => {
return {
entry: './src/index.js',
output: {
@ -45,7 +45,7 @@ module.exports = (withDebug) => {
options: {
// add Elm's debug overlay to output
debug: withDebug,
optimize: false
optimize: optimize,
}
}
]

View file

@ -29,5 +29,5 @@ const dev = {
module.exports = env => {
const withDebug = !env.nodebug;
return merge(common(withDebug), dev);
return merge(common(withDebug, false), dev);
}

View file

@ -61,4 +61,4 @@ const prod = {
};
module.exports = merge(common(false), prod);
module.exports = merge(common(false, true), prod);

View file

@ -1078,7 +1078,7 @@ viewResults nixosChannels model result viewSuccess _ outMsg categoryName =
Just commit ->
[
text "Data from nixpkgs "
, a [ href ("https://github.com/NixOS/nixpkgs/commit/" ++ commit) ]
, a [ href ("https://github.com/NixOS/nixpkgs/tree/" ++ commit) ]
[ (code [] [ text (String.slice 0 8 commit) ]) ]
, text "."
]

View file

@ -471,14 +471,14 @@ header .navbar.navbar-static-top {
&:before {
content: "\2315";
display: inline-block;
font-size: 1.5em;
font-size: 2em;
margin-right: 0.2em;
-moz-transform: scale(-1, 1);
-webkit-transform: scale(-1, 1);
-o-transform: scale(-1, 1);
-ms-transform: scale(-1, 1);
transform: scale(-1, 1);
vertical-align: text-bottom;
transform: translateY(0.15em) scaleX(-1);
font-family: monospace;
}
}