New Client: working navigation (#8131)

* initial work

* new client: working navigation and tasks showing up

* finish header menu and add avatar component

* fix sprites in new client

* initial header version

* initial styling for top menu

* more progress on the header menu

* almost complete menu and avatar

* correctly apply active class for /social and /help

* fix header colors and simplify css

* switch from Roboto to native fonts

* remove small avatar and add viewport

* fixes

* fix user menu with and progress bars

* fix avatar rendeting

* move bars colors to theme

* add site overrides

* fix tests

* shrinkwrap

* fix sprites path

* another try at fixing the sprites path

* another try at fixing the sprites path
This commit is contained in:
Matteo Pagliazzi
2016-11-18 19:20:25 +01:00
committed by GitHub
parent 3b5e4b6d84
commit 64754777ed
128 changed files with 49347 additions and 6886 deletions
+11
View File
@@ -2,6 +2,7 @@ var path = require('path');
var config = require('./config');
var utils = require('./utils');
var projectRoot = path.resolve(__dirname, '../');
var webpack = require('webpack');
var IS_PROD = process.env.NODE_ENV === 'production';
var baseConfig = {
@@ -17,6 +18,7 @@ var baseConfig = {
extensions: ['', '.js', '.vue'],
fallback: [path.join(__dirname, '../node_modules')],
alias: {
jquery: 'jquery/src/jquery',
client: path.resolve(__dirname, '../website/client'),
assets: path.resolve(__dirname, '../website/client/assets'),
components: path.resolve(__dirname, '../website/client/components'),
@@ -25,6 +27,12 @@ var baseConfig = {
resolveLoader: {
fallback: [path.join(__dirname, '../node_modules')],
},
plugins: [
new webpack.ProvidePlugin({
$: 'jquery',
jQuery: 'jquery',
}),
],
module: {
preLoaders: !IS_PROD ? [
{
@@ -79,6 +87,9 @@ var baseConfig = {
require('autoprefixer')({
browsers: ['last 2 versions'],
}),
require('postcss-easy-import')({
glob: true,
}),
],
},
};