Skip to content
Snippets Groups Projects
Commit b0809ca0 authored by Saket Agrahari's avatar Saket Agrahari
Browse files

initial COMP-2 draft

parent 5e1b8ab9
No related branches found
No related tags found
No related merge requests found
...@@ -13,3 +13,42 @@ thead { ...@@ -13,3 +13,42 @@ thead {
.state_false { .state_false {
background-color: red; background-color: red;
} }
$border-color: #064c6e !default;
$text-color: #377592 !default;
$queue_link_hover: #ffffff !default;
.title-background {
background-image: url("images/compendium_header.png");
background-color: #064c6e;
vertical-align: center;
padding-bottom: 15px;
padding-bottom: 15px;
}
$footer-height: 75px !default;
.footer-img{
width: 55px;
height:38px
}
.footer {
margin-top: 8px;
background-color: #064c6e;
font-size: 8px;
height:75px;
color: black;
width:100%;
padding:15px;
clear:both;
}
.footer-text {
color: white;
margin-left: 30px;
}
.px {
padding-left: 55px;
}
...@@ -36,10 +36,40 @@ const config: webpack.Configuration = { ...@@ -36,10 +36,40 @@ const config: webpack.Configuration = {
{ loader: 'css-loader' } { loader: 'css-loader' }
] ]
}, },
{
test: /\.(png|svg|jpe?g|gif)$/,
include: /images/,
use: [
{
loader: 'file-loader',
options: {
name: '[name].[ext]',
outputPath: 'images/',
publicPath: 'images/'
}
},
{
loader: 'image-webpack-loader',
options: {
query: {
mozjpeg: {
progressive: true,
},
gifsicle: {
interlaced: true,
},
optipng: {
optimizationLevel: 7,
}
}
}
},
]
},
], ],
}, },
resolve: { resolve: {
extensions: [".tsx", ".ts", ".js"], extensions: [".tsx", ".ts", ".js", ".html"],
}, },
output: { output: {
path: path.resolve(__dirname, "..", "compendium_v2", "static"), path: path.resolve(__dirname, "..", "compendium_v2", "static"),
...@@ -54,7 +84,9 @@ const config: webpack.Configuration = { ...@@ -54,7 +84,9 @@ const config: webpack.Configuration = {
new ForkTsCheckerWebpackPlugin({ new ForkTsCheckerWebpackPlugin({
async: false, async: false,
eslint: { eslint: {
files: "./src/**/*", files: [
"./src/**/*\.tsx",
]
}, },
}), }),
], ],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment