Commit a92a10e1 authored by quentin.vrel's avatar quentin.vrel

build test

parent 1d8bf9cf
.DS_Store
node_modules
/dist
#/dist
# local env files
......
#app{font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-align:center;color:#2c3e50}#nav{padding:30px}#nav a{font-weight:700;color:#2c3e50}#nav a.router-link-exact-active{color:#42b983}html{background-color:#000};.vue-user-ribon--wrap{display:flex;right:0;position:absolute}.vue-user-ribon--wrap *{align-self:center;margin:5px}.vue-user-ribon--wrap strong{margin:0}p{color:#fff}.home{display:flex;flex-direction:column}
\ No newline at end of file
<svg width="53" height="48" viewBox="0 0 53 48" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M31.9998 2.66669H34.4998C34.4998 1.28598 33.3805 0.166687 31.9998 0.166687V2.66669ZM31.9998 45.3333V47.8333C33.3805 47.8333 34.4998 46.7141 34.4998 45.3333H31.9998ZM2.6665 45.3333H0.166504C0.166504 46.7141 1.28579 47.8333 2.6665 47.8333L2.6665 45.3333ZM2.6665 2.66669V0.166687C1.28579 0.166687 0.166504 1.28598 0.166504 2.66669L2.6665 2.66669ZM25.3333 21.5C23.9525 21.5 22.8333 22.6193 22.8333 24C22.8333 25.3807 23.9525 26.5 25.3333 26.5V21.5ZM49.3332 24L51.101 25.7678L52.8688 24L51.101 22.2322L49.3332 24ZM39.5655 30.2322C38.5892 31.2085 38.5892 32.7915 39.5655 33.7678C40.5418 34.7441 42.1247 34.7441 43.101 33.7678L39.5655 30.2322ZM43.101 14.2322C42.1247 13.2559 40.5418 13.2559 39.5655 14.2322C38.5892 15.2085 38.5892 16.7915 39.5655 17.7678L43.101 14.2322ZM29.4998 2.66669V45.3333H34.4998V2.66669H29.4998ZM31.9998 42.8333H2.6665V47.8333H31.9998V42.8333ZM5.1665 45.3333V2.66669H0.166504V45.3333H5.1665ZM2.6665 5.16669H31.9998V0.166687H2.6665V5.16669ZM25.3333 26.5H49.3332V21.5H25.3333V26.5ZM43.101 33.7678L51.101 25.7678L47.5655 22.2322L39.5655 30.2322L43.101 33.7678ZM51.101 22.2322L43.101 14.2322L39.5655 17.7678L47.5655 25.7678L51.101 22.2322Z" fill="#CCCCCC"/>
</svg>
\ No newline at end of file
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><title>frontend</title><link href="/js/about.c6955b34.js" rel="prefetch"><link href="/css/app.780c45f7.css" rel="preload" as="style"><link href="/js/app.b85903d7.js" rel="preload" as="script"><link href="/js/chunk-vendors.0925a24c.js" rel="preload" as="script"><link href="/css/app.780c45f7.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but frontend doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="/js/chunk-vendors.0925a24c.js"></script><script src="/js/app.b85903d7.js"></script></body></html>
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["about"],{"722f":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},s=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"about"},[n("h1",[t._v("This is an about page")])])}],u=n("da2b"),c={},i=Object(u["a"])(c,a,s,!1,null,null,null);e["default"]=i.exports}}]);
//# sourceMappingURL=about.c6955b34.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///C:/Users/quent/Documents/CDAW/projet-cdaw/frontend/src/views/About.vue?c4da","webpack:///C:/Users/quent/Documents/CDAW/projet-cdaw/frontend/src/views/About.vue"],"names":["render","_vm","this","_h","$createElement","_self","_c","_m","staticRenderFns","staticClass","_v","script","component"],"mappings":"gHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAsBH,EAAII,MAAMC,GAAO,OAAOL,EAAIM,GAAG,IACnGC,EAAkB,CAAC,WAAa,IAAIP,EAAIC,KAASC,EAAGF,EAAIG,eAAmBE,EAAGL,EAAII,MAAMC,IAAIH,EAAG,OAAOG,EAAG,MAAM,CAACG,YAAY,SAAS,CAACH,EAAG,KAAK,CAACL,EAAIS,GAAG,+B,YCAtJC,EAAS,GAKTC,EAAY,eACdD,EACAX,EACAQ,GACA,EACA,KACA,KACA,MAIa,aAAAI,E","file":"js/about.c6955b34.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _vm._m(0)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"about\"},[_c('h1',[_vm._v(\"This is an about page\")])])}]\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./About.vue?vue&type=template&id=3d1d883e&\"\nvar script = {}\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}
\ No newline at end of file
(function(t){function e(e){for(var r,i,s=e[0],u=e[1],c=e[2],l=0,f=[];l<s.length;l++)i=s[l],Object.prototype.hasOwnProperty.call(o,i)&&o[i]&&f.push(o[i][0]),o[i]=0;for(r in u)Object.prototype.hasOwnProperty.call(u,r)&&(t[r]=u[r]);p&&p(e);while(f.length)f.shift()();return a.push.apply(a,c||[]),n()}function n(){for(var t,e=0;e<a.length;e++){for(var n=a[e],r=!0,i=1;i<n.length;i++){var u=n[i];0!==o[u]&&(r=!1)}r&&(a.splice(e--,1),t=s(s.s=n[0]))}return t}var r={},o={app:0},a=[];function i(t){return s.p+"js/"+({about:"about"}[t]||t)+"."+{about:"c6955b34"}[t]+".js"}function s(e){if(r[e])return r[e].exports;var n=r[e]={i:e,l:!1,exports:{}};return t[e].call(n.exports,n,n.exports,s),n.l=!0,n.exports}s.e=function(t){var e=[],n=o[t];if(0!==n)if(n)e.push(n[2]);else{var r=new Promise((function(e,r){n=o[t]=[e,r]}));e.push(n[2]=r);var a,u=document.createElement("script");u.charset="utf-8",u.timeout=120,s.nc&&u.setAttribute("nonce",s.nc),u.src=i(t);var c=new Error;a=function(e){u.onerror=u.onload=null,clearTimeout(l);var n=o[t];if(0!==n){if(n){var r=e&&("load"===e.type?"missing":e.type),a=e&&e.target&&e.target.src;c.message="Loading chunk "+t+" failed.\n("+r+": "+a+")",c.name="ChunkLoadError",c.type=r,c.request=a,n[1](c)}o[t]=void 0}};var l=setTimeout((function(){a({type:"timeout",target:u})}),12e4);u.onerror=u.onload=a,document.head.appendChild(u)}return Promise.all(e)},s.m=t,s.c=r,s.d=function(t,e,n){s.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},s.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},s.t=function(t,e){if(1&e&&(t=s(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(s.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)s.d(n,r,function(e){return t[e]}.bind(null,r));return n},s.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return s.d(e,"a",e),e},s.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},s.p="/",s.oe=function(t){throw console.error(t),t};var u=window["webpackJsonp"]=window["webpackJsonp"]||[],c=u.push.bind(u);u.push=e,u=u.slice();for(var l=0;l<u.length;l++)e(u[l]);var p=c;a.push([0,"chunk-vendors"]),n()})({0:function(t,e,n){t.exports=n("e4f7")},2643:function(t,e,n){},"461a":function(t,e,n){},a1ee:function(t,e,n){"use strict";n("461a")},aa3d:function(t,e,n){},b747:function(t,e,n){"use strict";n("2643")},e4f7:function(t,e,n){"use strict";n.r(e);var r=n("187b"),o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{id:"app"}},[n("router-view")],1)},a=[],i=(n("fa77"),n("da2b")),s={},u=Object(i["a"])(s,o,a,!1,null,null,null),c=u.exports,l=(n("8b36"),n("3844")),p=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"home"},[n("user-ribbon",{attrs:{username:"Josie Péritel",pathToImage:"avatar/criquette.jpg"}})],1)},f=[],h=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vue-user-ribon--wrap",attrs:{"aria-hidden":"true"}},[n("p",[t._v("Vous êtres connecté "),n("strong",[t._v(t._s(t.username))]),t._v(".")]),n("avatar",{attrs:{username:this.username,src:this.pathToImage}}),n("img",{attrs:{src:"icons/logout.svg",height:"40"}})],1)},d=[],m=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{style:t.style,attrs:{"aria-hidden":"true"}},[this.isImage?n("img",{staticStyle:{display:"none"},attrs:{src:this.src}}):t._e(),n("span",{directives:[{name:"show",rawName:"v-show",value:!this.isImage,expression:"!this.isImage"}]},[t._v(t._s(t.userInitial))])])},g=[],b=(n("e6a8"),n("fcc8"),n("7d6b"),n("d9ef"),n("4587"),n("6f08"),n("493d"),n("6762"),function(t){for(var e=t.split(/[ -]/),n="",r=0;r<e.length;r++)n+=e[r].charAt(0);return n.length>3&&-1!==n.search(/[A-Z]/)&&(n=n.replace(/[a-z]+/g,"")),n=n.substr(0,3).toUpperCase(),n}),v={name:"avatar",props:{username:{type:String},inline:{type:Boolean},size:{type:Number,default:50},src:{type:String},rounded:{type:Boolean,default:!0},lighten:{type:Number,default:80},parser:{type:Function,default:b,validator:function(t){return"string"===typeof t("John",b)}}},data:function(){return{backgroundColor:"#CCCCCC",imgError:!1}},mounted:function(){this.isImage||this.$emit("avatar-initials",this.username,this.userInitial)},computed:{background:function(){return this.isImage?"":this.backgroundColor||this.randomBackgroundColor(this.username.length,this.backgroundColors)},isImage:function(){return console.log("caca"),!this.imgError&&Boolean(this.src)},style:function(){var t={display:"flex",width:"".concat(this.size,"px"),height:"".concat(this.size,"px"),borderRadius:this.rounded?"50%":0,lineHeight:"".concat(this.size+Math.floor(this.size/20),"px"),fontWeight:"bold",alignItems:"center",justifyContent:"center",textAlign:"center",userSelect:"none"},e={background:"transparent url('".concat(this.src,"') no-repeat scroll 0% 0% / ").concat(this.size,"px ").concat(this.size,"px content-box border-box")},n={backgroundColor:this.background,font:"".concat(Math.floor(this.size/2.5),"px/").concat(this.size,"px Helvetica, Arial, sans-serif"),color:this.fontColor},r=this.isImage?e:n;return Object.assign(t,r),t},userInitial:function(){if(!this.isImage){var t=this.initials||this.parser(this.username,b);return t}return""}},methods:{initial:b,onImgError:function(){this.imgError=!0},randomBackgroundColor:function(t,e){return e[t%e.length]},lightenColor:function(t,e){var n=!1;"#"===t[0]&&(t=t.slice(1),n=!0);var r=parseInt(t,16),o=(r>>16)+e;o>255?o=255:o<0&&(o=0);var a=(r>>8&255)+e;a>255?a=255:a<0&&(a=0);var i=(255&r)+e;return i>255?i=255:i<0&&(i=0),(n?"#":"")+(i|a<<8|o<<16).toString(16)}}},y=v,x=Object(i["a"])(y,m,g,!1,null,null,null),w=x.exports,_={name:"Home",props:{username:{type:String},pathToImage:{type:String}},components:{Avatar:w}},C=_,j=(n("a1ee"),Object(i["a"])(C,h,d,!1,null,null,null)),I=j.exports,O={name:"Home",components:{UserRibbon:I}},k=O,S=(n("b747"),Object(i["a"])(k,p,f,!1,null,null,null)),E=S.exports;r["a"].use(l["a"]);var z=[{path:"/",name:"Home",component:E},{path:"/about",name:"About",component:function(){return n.e("about").then(n.bind(null,"722f"))}}],P=new l["a"]({routes:z}),T=P;r["a"].config.productionTip=!1,new r["a"]({router:T,render:function(t){return t(c)}}).$mount("#app")},fa77:function(t,e,n){"use strict";n("aa3d")}});
//# sourceMappingURL=app.b85903d7.js.map
\ No newline at end of file
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment