Updated dataset and made data handling in components more robust

This commit is contained in:
Moritz Kröger 2019-04-17 21:17:13 +01:00
parent 7e4c69a216
commit aaa10f3fa0
11 changed files with 1918 additions and 188 deletions

View file

@ -21,7 +21,7 @@ function createPartyPositionMap (sheetName) {
if (!sheetName) return []
const rawData = XLSX.utils.sheet_to_json(workbook.Sheets[sheetName])
return rawData.map(block => ({
thesis: block.Thesis,
thesis: parseInt(block.Thesis, 10),
position: block.Position,
statement: createLocaleMap('Statement', block)
}))
@ -85,15 +85,19 @@ async function createPartiesDataset (sheetName, partySheets) {
}
const rawData = XLSX.utils.sheet_to_json(workbook.Sheets[sheetName])
const data = rawData.map(block => ({
id: parseInt(block.ID, 10),
token: block.Token,
european_profile: {
party: createLocaleMap('European Party', block)
},
program: createLocaleMap('Program', block),
positions: createPartyPositionMap(partySheets.find(sName => sName === block.Token))
}))
const data = rawData.map(block => {
const token = block.Token.toUpperCase()
return {
id: parseInt(block.ID, 10),
token,
name: createLocaleMap('European Party', block),
european_profile: {
party: createLocaleMap('European Party', block)
},
program: createLocaleMap('Program', block),
positions: createPartyPositionMap(partySheets.find(sName => sName.toUpperCase() === token))
}
})
await writeDataset('parties.json', data)
}

Binary file not shown.

View file

@ -130,7 +130,12 @@
return `${getTranslatedUrl('party')}/${token}`
},
getPartyLogo (token) {
return require(`@/assets/svg/${token.toLowerCase()}-logo.svg`)
try {
return require(`@/assets/svg/${token.toLowerCase()}-logo.svg`)
} catch (error) {
console.warn(`No logo found for party "${token}", falling back to initials.`, error.message)
return ''
}
},
getScorePercentage (score) {
return (score / this.totalScoredPoints * 100).toFixed(2)

View file

@ -7,8 +7,12 @@ export const EMPHASIS_POINTS = 2
export function getPartyPositions (thesis) {
return parties.map(party => {
const { position } = party.positions.find(p => p.thesis === thesis)
return { type: 'party', party: party.id, position }
const position = party.positions.find(p => p.thesis === thesis)
return {
type: 'party',
party: party.id,
position: (position && position.position) || {}
}
})
}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,10 @@
/* eslint-disable */
var icon = require('vue-svgicon')
icon.register({
'diem25-logo': {
width: 189,
height: 39,
viewBox: '0 0 189 39',
data: '<defs><linearGradient x1="100%" y1="42.236%" x2="0%" y2="52.139%" id="svgicon_diem25-logo_a"><stop stop-color="#ED1D24" offset="0%"/><stop stop-color="#EC5022" offset="100%"/></linearGradient></defs><g _fill="none" fill-rule="evenodd"><path pid="0" d="M18.356 39l16.858-13.023-16.858-13.023V39zM0 39l16.857-13.023L0 12.954V39z" _fill="url(#svgicon_diem25-logo_a)"/><path pid="1" d="M66.864 19.25c0-7.881-6.556-14.422-14.645-14.422h-7.454v28.845h7.454c8.089 0 14.645-6.541 14.645-14.423zM40.059.162h12.16c10.68 0 19.35 8.579 19.35 19.088 0 10.51-8.67 19.088-19.35 19.088h-12.16V.162zM76.307 13.781h4.546v24.556h-4.546V13.781zm-.74-7.024a2.988 2.988 0 0 1 3.013-3.002c1.639 0 2.96 1.34 2.96 3.002 0 1.663-1.321 3.057-2.96 3.057-1.692 0-3.014-1.394-3.014-3.057zM86.934.162h23.791v4.612H91.692v8.953h16.6V18.5h-16.6v15.12h18.557v4.718H86.934V.162zM143.98 38.338V7.884l-12.002 16.62-11.948-16.62v30.454h-4.706V.162h4.97l11.684 16.3 11.685-16.3h5.022v38.176h-4.705zM155.108 38.337V34.31L165 22.575c.376-.556.582-1.146.582-1.77 0-1.667-1.335-3.09-2.978-3.09-1.267 0-2.397.902-2.808 2.152l-.24.729-4.381-.938.24-.902c.855-3.264 3.834-5.486 7.189-5.486 2.02 0 3.868.73 5.306 2.153a7.616 7.616 0 0 1 2.191 5.381c0 1.597-.513 3.16-1.438 4.479l-.034.035-7.052 8.436h8.524v4.583h-14.994zM173.97 36.22a6.303 6.303 0 0 1-.958-1.112l-.514-.729 3.767-2.708.479.694c.787 1.111 2.02 1.84 3.355 1.84 2.19 0 4.074-1.874 4.074-4.027 0-2.256-1.883-4.2-4.074-4.2-.616 0-1.233.208-1.815.52l-.308.139-4.176-1.18 3.15-11.874h11.468V18.2l-7.909-.035-.89 3.299h.48a8.81 8.81 0 0 1 6.162 2.5 8.487 8.487 0 0 1 1.917 2.847c.411 1.075.65 2.222.65 3.367 0 2.257-.924 4.41-2.567 6.041a9.238 9.238 0 0 1-2.842 1.875c-1.027.382-2.156.52-3.32.52-2.397 0-4.52-.763-6.128-2.395" _fill="#292F3C"/></g>'
}
})

View file

@ -1,5 +1,7 @@
/* eslint-disable */
require('./alde-logo')
require('./cdu-logo')
require('./diem25-logo')
require('./euromat-logo')
require('./european-stars')
require('./fdp-logo')

View file

@ -0,0 +1,156 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 20.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 353.9 139.3" style="enable-background:new 0 0 353.9 139.3;" xml:space="preserve">
<style type="text/css">
.st0{fill:#324093;}
.st1{fill:#E6007E;}
.st2{fill:#3F2683;}
.st3{fill:#702283;}
.st4{fill:#37AAE1;}
.st5{fill:#283B90;}
.st6{fill:#36A9E1;}
.st7{fill:url(#SVGID_5_);}
</style>
<g>
<g>
<path class="st0" d="M75.4,123.7l-0.5-1.5h-3l-0.5,1.5h-1.7l3.1-8.5H74l3.1,8.5H75.4z M73.4,117.7l-1.1,3.1h2.1L73.4,117.7z"/>
<path class="st0" d="M80.4,123.7v-8.5h1.7v7.1h3.9v1.5H80.4z"/>
<path class="st0" d="M89.5,123.7v-8.5h1.7v7.1H95v1.5H89.5z"/>
<path class="st0" d="M98.6,123.7v-8.5h1.7v8.5H98.6z"/>
<path class="st0" d="M109.3,123.7l-0.5-1.5h-3l-0.5,1.5h-1.7l3.1-8.5h1.3l3.1,8.5H109.3z M107.3,117.7l-1.1,3.1h2.1L107.3,117.7z"
/>
<path class="st0" d="M119.4,123.7l-3.4-5.2v5.2h-1.7v-8.5h1.5l3.4,5.2v-5.2h1.7v8.5H119.4z"/>
<path class="st0" d="M127.9,123.8c-0.9,0-1.7-0.3-2.3-0.9c-0.9-0.9-0.8-1.9-0.8-3.4c0-1.5,0-2.5,0.8-3.4c0.6-0.6,1.4-0.9,2.3-0.9
c1.6,0,2.8,0.9,3.1,2.7h-1.7c-0.2-0.7-0.6-1.2-1.4-1.2c-0.5,0-0.8,0.2-1.1,0.4c-0.3,0.4-0.4,0.8-0.4,2.4c0,1.6,0.1,2.1,0.4,2.4
c0.2,0.3,0.6,0.4,1.1,0.4c0.8,0,1.3-0.5,1.4-1.2h1.7C130.8,122.9,129.5,123.8,127.9,123.8z"/>
<path class="st0" d="M134.7,123.7v-8.5h5.6v1.5h-4v2h3.4v1.5h-3.4v2.1h4v1.5H134.7z"/>
<path class="st0" d="M154.4,122.8c-0.6,0.6-1.3,0.9-2.3,0.9c-1,0-1.7-0.3-2.3-0.9c-0.9-0.9-0.8-1.9-0.8-3.4c0-1.5,0-2.5,0.8-3.4
c0.6-0.6,1.3-0.9,2.3-0.9c1,0,1.7,0.3,2.3,0.9c0.9,0.9,0.9,1.9,0.9,3.4C155.2,120.9,155.2,122,154.4,122.8z M153.1,117
c-0.2-0.3-0.6-0.5-1.1-0.5s-0.8,0.2-1.1,0.5c-0.3,0.4-0.4,0.8-0.4,2.4c0,1.6,0.1,2,0.4,2.4c0.2,0.3,0.6,0.5,1.1,0.5
s0.8-0.2,1.1-0.5c0.3-0.4,0.4-0.8,0.4-2.4C153.5,117.8,153.4,117.4,153.1,117z"/>
<path class="st0" d="M160.8,116.7v2.1h3.4v1.5h-3.4v3.5h-1.7v-8.5h5.6v1.5H160.8z"/>
<path class="st0" d="M173.4,123.7v-8.5h1.7v7.1h3.9v1.5H173.4z"/>
<path class="st0" d="M182.5,123.7v-8.5h1.7v8.5H182.5z"/>
<path class="st0" d="M191.9,123.7h-3.6v-8.5h3.4c1.7,0,2.6,0.9,2.6,2.4c0,0.9-0.6,1.6-1.1,1.8c0.5,0.2,1.2,0.8,1.2,1.9
C194.6,122.8,193.5,123.7,191.9,123.7z M191.7,116.7H190v2h1.6c0.7,0,1.1-0.4,1.1-1C192.8,117.1,192.4,116.7,191.7,116.7z
M191.8,120.1H190v2.1h1.7c0.8,0,1.1-0.5,1.1-1.1C192.9,120.6,192.5,120.1,191.8,120.1z"/>
<path class="st0" d="M198.5,123.7v-8.5h5.6v1.5h-4v2h3.4v1.5h-3.4v2.1h4v1.5H198.5z"/>
<path class="st0" d="M212.5,123.7l-1.7-3.4h-1.2v3.4h-1.7v-8.5h3.3c1.7,0,2.8,1.2,2.8,2.6c0,1.2-0.7,1.9-1.6,2.2l1.9,3.7H212.5z
M211.2,116.7h-1.6v2.3h1.6c0.7,0,1.2-0.5,1.2-1.1C212.4,117.1,211.9,116.7,211.2,116.7z"/>
<path class="st0" d="M222.9,123.7l-0.5-1.5h-3l-0.5,1.5h-1.7l3.1-8.5h1.3l3.1,8.5H222.9z M220.9,117.7l-1.1,3.1h2.1L220.9,117.7z"
/>
<path class="st0" d="M227.9,123.7v-8.5h1.7v7.1h3.9v1.5H227.9z"/>
<path class="st0" d="M239.3,123.8c-1.3,0-2.3-0.3-3.1-1.1l1.1-1.1c0.5,0.5,1.3,0.7,2.1,0.7c1,0,1.5-0.4,1.5-1.1
c0-0.3-0.1-0.6-0.3-0.7c-0.2-0.2-0.4-0.2-0.8-0.3l-1-0.1c-0.7-0.1-1.3-0.3-1.7-0.7c-0.4-0.4-0.6-1-0.6-1.7c0-1.5,1.1-2.6,3-2.6
c1.2,0,2,0.3,2.8,1l-1.1,1c-0.5-0.5-1.2-0.6-1.8-0.6c-0.9,0-1.3,0.5-1.3,1.1c0,0.2,0.1,0.4,0.3,0.6c0.2,0.2,0.4,0.3,0.8,0.3l1,0.1
c0.8,0.1,1.3,0.3,1.6,0.7c0.5,0.4,0.7,1.1,0.7,1.8C242.5,122.8,241.1,123.8,239.3,123.8z"/>
<path class="st0" d="M256.1,123.7l-0.5-1.5h-3l-0.5,1.5h-1.7l3.1-8.5h1.3l3.1,8.5H256.1z M254.1,117.7l-1.1,3.1h2.1L254.1,117.7z"
/>
<path class="st0" d="M266.2,123.7l-3.4-5.2v5.2h-1.7v-8.5h1.5l3.4,5.2v-5.2h1.7v8.5H266.2z"/>
<path class="st0" d="M277.2,122.9c-0.6,0.6-1.4,0.8-2.3,0.8h-3.1v-8.5h3.1c0.9,0,1.7,0.3,2.3,0.8c1,1,0.9,2.1,0.9,3.4
S278.2,121.9,277.2,122.9z M276,117.2c-0.3-0.3-0.7-0.5-1.2-0.5h-1.3v5.6h1.3c0.6,0,1-0.2,1.2-0.5c0.3-0.4,0.4-1,0.4-2.3
S276.4,117.6,276,117.2z"/>
<path class="st0" d="M75.9,136.4c-0.6,0.6-1.4,0.8-2.3,0.8h-3.1v-8.5h3.1c0.9,0,1.7,0.3,2.3,0.8c1,1,0.9,2.1,0.9,3.4
S76.8,135.4,75.9,136.4z M74.7,130.7c-0.3-0.3-0.7-0.5-1.2-0.5h-1.3v5.6h1.3c0.6,0,1-0.2,1.2-0.5c0.3-0.4,0.4-1,0.4-2.3
S75,131.1,74.7,130.7z"/>
<path class="st0" d="M80.6,137.2v-8.5h5.6v1.5h-4v2h3.4v1.5h-3.4v2.1h4v1.5H80.6z"/>
<path class="st0" d="M96.2,137.2v-5l-1.6,3.2h-1.1l-1.6-3.2v5h-1.7v-8.5h1.6l2.2,4.6l2.2-4.6h1.6v8.5H96.2z"/>
<path class="st0" d="M107.2,136.3c-0.6,0.6-1.3,0.9-2.3,0.9c-1,0-1.7-0.3-2.3-0.9c-0.9-0.9-0.8-1.9-0.8-3.4c0-1.5,0-2.5,0.8-3.4
c0.6-0.6,1.3-0.9,2.3-0.9c1,0,1.7,0.3,2.3,0.9c0.9,0.9,0.9,1.9,0.9,3.4C108.1,134.4,108.1,135.5,107.2,136.3z M106,130.5
c-0.2-0.3-0.6-0.5-1.1-0.5c-0.5,0-0.8,0.2-1.1,0.5c-0.3,0.4-0.4,0.8-0.4,2.4c0,1.6,0.1,2,0.4,2.4c0.2,0.3,0.6,0.5,1.1,0.5
c0.5,0,0.8-0.2,1.1-0.5c0.3-0.4,0.4-0.8,0.4-2.4C106.4,131.3,106.3,130.9,106,130.5z"/>
<path class="st0" d="M114.8,137.3c-0.9,0-1.7-0.3-2.3-0.9c-0.9-0.9-0.8-1.9-0.8-3.4c0-1.5,0-2.5,0.8-3.4c0.6-0.6,1.4-0.9,2.3-0.9
c1.6,0,2.8,0.9,3.1,2.7h-1.7c-0.2-0.7-0.6-1.2-1.4-1.2c-0.5,0-0.8,0.2-1.1,0.4c-0.3,0.4-0.4,0.8-0.4,2.4c0,1.6,0.1,2.1,0.4,2.4
c0.2,0.3,0.6,0.4,1.1,0.4c0.8,0,1.3-0.5,1.4-1.2h1.7C117.7,136.4,116.4,137.3,114.8,137.3z"/>
<path class="st0" d="M126.2,137.2l-1.7-3.4h-1.2v3.4h-1.7v-8.5h3.3c1.7,0,2.8,1.2,2.8,2.6c0,1.2-0.7,1.9-1.6,2.2l1.9,3.7H126.2z
M124.9,130.2h-1.6v2.3h1.6c0.7,0,1.2-0.5,1.2-1.1C126.1,130.6,125.6,130.2,124.9,130.2z"/>
<path class="st0" d="M136.5,137.2l-0.5-1.5h-3l-0.5,1.5h-1.7l3.1-8.5h1.3l3.1,8.5H136.5z M134.6,131.2l-1.1,3.1h2.1L134.6,131.2z"
/>
<path class="st0" d="M144.1,130.2v7.1h-1.7v-7.1h-2.2v-1.5h6.1v1.5H144.1z"/>
<path class="st0" d="M152.2,137.3c-1.3,0-2.3-0.3-3.1-1.1l1.1-1.1c0.5,0.5,1.3,0.7,2.1,0.7c1,0,1.5-0.4,1.5-1.1
c0-0.3-0.1-0.6-0.3-0.7c-0.2-0.2-0.4-0.2-0.8-0.3l-1-0.1c-0.7-0.1-1.3-0.3-1.7-0.7c-0.4-0.4-0.6-1-0.6-1.7c0-1.5,1.1-2.6,3-2.6
c1.2,0,2,0.3,2.8,1l-1.1,1c-0.5-0.5-1.2-0.6-1.8-0.6c-0.9,0-1.3,0.5-1.3,1.1c0,0.2,0.1,0.4,0.3,0.6c0.2,0.2,0.4,0.3,0.8,0.3l1,0.1
c0.8,0.1,1.3,0.3,1.6,0.7c0.5,0.4,0.7,1.1,0.7,1.8C155.4,136.3,154,137.3,152.2,137.3z"/>
<path class="st0" d="M165.8,130.2v2.1h3.4v1.5h-3.4v3.5h-1.7v-8.5h5.6v1.5H165.8z"/>
<path class="st0" d="M178.4,136.3c-0.6,0.6-1.3,0.9-2.3,0.9c-1,0-1.7-0.3-2.3-0.9c-0.9-0.9-0.8-1.9-0.8-3.4c0-1.5,0-2.5,0.8-3.4
c0.6-0.6,1.3-0.9,2.3-0.9c1,0,1.7,0.3,2.3,0.9c0.9,0.9,0.9,1.9,0.9,3.4C179.2,134.4,179.3,135.5,178.4,136.3z M177.2,130.5
c-0.2-0.3-0.6-0.5-1.1-0.5s-0.8,0.2-1.1,0.5c-0.3,0.4-0.4,0.8-0.4,2.4c0,1.6,0.1,2,0.4,2.4c0.2,0.3,0.6,0.5,1.1,0.5
s0.8-0.2,1.1-0.5c0.3-0.4,0.4-0.8,0.4-2.4C177.6,131.3,177.5,130.9,177.2,130.5z"/>
<path class="st0" d="M187.7,137.2l-1.7-3.4h-1.2v3.4h-1.7v-8.5h3.3c1.7,0,2.8,1.2,2.8,2.6c0,1.2-0.7,1.9-1.6,2.2l1.9,3.7H187.7z
M186.4,130.2h-1.6v2.3h1.6c0.7,0,1.2-0.5,1.2-1.1C187.6,130.6,187.1,130.2,186.4,130.2z"/>
<path class="st0" d="M198.2,137.2v-8.5h5.6v1.5h-4v2h3.4v1.5h-3.4v2.1h4v1.5H198.2z"/>
<path class="st0" d="M210.7,137.3c-1.8,0-3.1-1.2-3.1-3v-5.6h1.7v5.6c0,1,0.6,1.6,1.5,1.6s1.5-0.6,1.5-1.6v-5.6h1.7v5.6
C213.8,136.1,212.4,137.3,210.7,137.3z"/>
<path class="st0" d="M222.4,137.2l-1.7-3.4h-1.2v3.4h-1.7v-8.5h3.3c1.7,0,2.8,1.2,2.8,2.6c0,1.2-0.7,1.9-1.6,2.2l1.9,3.7H222.4z
M221.1,130.2h-1.6v2.3h1.6c0.7,0,1.2-0.5,1.2-1.1C222.4,130.6,221.9,130.2,221.1,130.2z"/>
<path class="st0" d="M233.1,136.3c-0.6,0.6-1.3,0.9-2.3,0.9c-1,0-1.7-0.3-2.3-0.9c-0.9-0.9-0.8-1.9-0.8-3.4c0-1.5,0-2.5,0.8-3.4
c0.6-0.6,1.3-0.9,2.3-0.9c1,0,1.7,0.3,2.3,0.9c0.9,0.9,0.9,1.9,0.9,3.4C234,134.4,234,135.5,233.1,136.3z M231.9,130.5
c-0.2-0.3-0.6-0.5-1.1-0.5c-0.5,0-0.8,0.2-1.1,0.5c-0.3,0.4-0.4,0.8-0.4,2.4c0,1.6,0.1,2,0.4,2.4c0.2,0.3,0.6,0.5,1.1,0.5
c0.5,0,0.8-0.2,1.1-0.5c0.3-0.4,0.4-0.8,0.4-2.4C232.3,131.3,232.2,130.9,231.9,130.5z"/>
<path class="st0" d="M241.2,134h-1.6v3.2h-1.7v-8.5h3.3c1.8,0,2.8,1.2,2.8,2.7S243,134,241.2,134z M241.1,130.2h-1.6v2.3h1.6
c0.8,0,1.2-0.5,1.2-1.2C242.4,130.6,241.9,130.2,241.1,130.2z"/>
<path class="st0" d="M247.6,137.2v-8.5h5.6v1.5h-4v2h3.4v1.5h-3.4v2.1h4v1.5H247.6z"/>
</g>
<g>
<g>
<defs>
<path id="SVGID_1_" d="M298.8,125.1c-0.1-0.4-0.4-0.7-0.6-1c0,0-0.1-0.1-0.1-0.1l-8.1-8.1c-1.1-1.1-3-1.1-4.1,0
c-1.1,1.1-1.1,3,0,4.1l6.2,6.2l-6.2,6.2c-1.1,1.1-1.1,3,0,4.1c1.1,1.1,3,1.1,4.1,0l8-8c0.1-0.1,0.2-0.1,0.3-0.2
C299,127.4,299.2,126.2,298.8,125.1z"/>
</defs>
<use xlink:href="#SVGID_1_" style="overflow:visible;fill:#324093;"/>
<clipPath id="SVGID_2_">
<use xlink:href="#SVGID_1_" style="overflow:visible;"/>
</clipPath>
</g>
<g>
<defs>
<path id="SVGID_3_" d="M310.8,125.1c-0.1-0.4-0.4-0.7-0.6-1c0,0-0.1-0.1-0.1-0.1l-8.1-8.1c-1.1-1.1-3-1.1-4.1,0
c-1.1,1.1-1.1,3,0,4.1l6.2,6.2l-6.2,6.2c-1.1,1.1-1.1,3,0,4.1c1.1,1.1,3,1.1,4.1,0l8-8c0.1-0.1,0.2-0.1,0.3-0.2
C311,127.4,311.2,126.2,310.8,125.1z"/>
</defs>
<use xlink:href="#SVGID_3_" style="overflow:visible;fill:#E6007E;"/>
<clipPath id="SVGID_4_">
<use xlink:href="#SVGID_3_" style="overflow:visible;"/>
</clipPath>
</g>
</g>
</g>
<g>
<polyline class="st1" points="130.2,101.5 155.4,101.5 155.4,5.3 130.2,5.3 130.2,101.5 "/>
<polyline class="st0" points="130.2,44 130.2,101.5 130.2,44 130.2,44 "/>
<path class="st2" d="M130.2,44v57.6h8.9c-0.2-2.8-0.3-5.6-0.3-8.3V66C138.8,55.9,135.6,48.8,130.2,44"/>
<path class="st0" d="M251.6,35.7c-22.7,0-39.1,14-39.1,38.1c0,11.8,4.4,21.1,11.7,27.7h57.6V89.7c-7.6,4.1-15.4,5.6-22.3,5.6
c-12.3,0-20-3.9-21.4-14h50.4v-4.6C288.4,54.9,278.6,35.7,251.6,35.7 M237.7,67c0.6-8.4,4.9-15.3,14-15.3c10.1,0,14,6.9,14,15.3
H237.7"/>
<path class="st3" d="M155.4,46.5c-5.8,7.1-8.8,16.7-8.8,26.1c0,11,3,21,8.8,28.2V46.5"/>
<path class="st4" d="M212.5,75.1c0.3,11.2,4.6,20.1,11.6,26.4C217.1,95.2,212.8,86.3,212.5,75.1 M212.5,73.8
C212.5,73.8,212.5,73.8,212.5,73.8L212.5,73.8C212.5,73.8,212.5,73.8,212.5,73.8 M212.5,73.7C212.5,73.7,212.5,73.8,212.5,73.7
C212.5,73.8,212.5,73.7,212.5,73.7 M212.5,73.7C212.5,73.7,212.5,73.7,212.5,73.7C212.5,73.7,212.5,73.7,212.5,73.7 M212.5,73.6
C212.5,73.6,212.5,73.6,212.5,73.6C212.5,73.6,212.5,73.6,212.5,73.6 M212.5,73.5C212.5,73.5,212.5,73.6,212.5,73.5
C212.5,73.6,212.5,73.5,212.5,73.5 M212.5,73.5C212.5,73.5,212.5,73.5,212.5,73.5C212.5,73.5,212.5,73.5,212.5,73.5 M212.5,73.4
C212.5,73.4,212.5,73.4,212.5,73.4C212.5,73.4,212.5,73.4,212.5,73.4 M212.5,73.3C212.5,73.3,212.5,73.3,212.5,73.3
C212.5,73.3,212.5,73.3,212.5,73.3 M212.5,73.2C212.5,73.3,212.5,73.3,212.5,73.2C212.5,73.3,212.5,73.3,212.5,73.2 M212.5,73.2
C212.5,73.2,212.5,73.2,212.5,73.2C212.5,73.2,212.5,73.2,212.5,73.2 M212.5,73.1C212.5,73.1,212.5,73.1,212.5,73.1
C212.5,73.1,212.5,73.1,212.5,73.1 M212.5,73C212.5,73,212.5,73.1,212.5,73C212.5,73.1,212.5,73,212.5,73 M212.5,72.9
C212.5,72.9,212.5,72.9,212.5,72.9C212.5,72.9,212.5,72.9,212.5,72.9"/>
<path class="st5" d="M228.6,41.8c-9.8,6.2-15.9,16.8-16.1,31.1c0,0,0,0,0,0c0,0,0,0.1,0,0.1c0,0,0,0,0,0c0,0,0,0,0,0.1c0,0,0,0,0,0
c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0.1c0,0,0,0,0,0c0,0,0,0,0,0
c0,0,0,0,0,0c0,0,0,0,0,0.1c0,0,0,0,0,0c0,0,0,0,0,0.1c0,0,0,0,0,0c0,0,0,0,0,0.1c0,0,0,0,0,0c0,0,0,0,0,0.1c0,0,0,0,0,0
c0,0,0,0,0,0.1c0,0.4,0,0.8,0,1.2c0.3,11.2,4.6,20.1,11.6,26.4l0,0h4.5V41.8"/>
<path class="st6" d="M203.2,5.3v41.5H203c-6.4-8.4-15-11.1-25.1-11.1c-9.6,0-17.2,4.3-22.4,10.7v54.3c0.2,0.2,0.4,0.5,0.6,0.7h68.1
c-7.3-6.5-11.7-15.9-11.7-27.7c0-14.8,6.2-25.7,16.1-32V5.3H203.2z M188,92.8c-9.5,0-15.3-8-15.3-19.6c0-9.7,5.5-18.1,15.3-18.1
c9.2,0,15.4,8,15.4,19.1C203.4,84.8,196.4,92.8,188,92.8z"/>
<path class="st0" d="M130.2,44c-6.5-5.8-15.9-8.2-26.1-8.2c-10.8,0-20.2,1.5-29.1,5.2L75.4,58c7-3.9,15.1-5.5,23.3-5.5
c9.1,0,16.5,2.7,16.7,12.6c-3.2-0.6-7.7-1-11.8-1c-13.5,0-37.7,2.7-37.7,24.9c0,5,1.3,9.1,3.5,12.4h60.9V44z M99.8,95.3
c-5.9,0-10.4-2.9-10.4-8c0-7,6.7-9.7,15.3-9.7c3.8,0,7.4,0.3,10.7,0.4C115.3,86.6,109.3,95.3,99.8,95.3z"/>
</g>
<linearGradient id="SVGID_5_" gradientUnits="userSpaceOnUse" x1="-4.3655" y1="101.5441" x2="358.2556" y2="101.5441">
<stop offset="0" style="stop-color:#FFFFFF;stop-opacity:0"/>
<stop offset="0.1534" style="stop-color:#324093"/>
<stop offset="0.8405" style="stop-color:#324093"/>
<stop offset="0.9877" style="stop-color:#FFFFFF;stop-opacity:0"/>
</linearGradient>
<rect x="-4.4" y="100.7" class="st7" width="362.6" height="1.8"/>
</svg>

After

Width:  |  Height:  |  Size: 12 KiB

View file

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns" width="189px" height="39px" viewBox="0 0 189 39" version="1.1">
<!-- Generator: Sketch 3.5.1 (25234) - http://www.bohemiancoding.com/sketch -->
<title>Group 3</title>
<desc>Created with Sketch.</desc>
<defs>
<linearGradient x1="100%" y1="42.2357832%" x2="0%" y2="52.1389306%" id="linearGradient-1">
<stop stop-color="#ED1D24" offset="0%"/>
<stop stop-color="#EC5022" offset="100%"/>
</linearGradient>
</defs>
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
<g id="Group-3" sketch:type="MSLayerGroup">
<path d="M18.356027,39 L35.2136077,25.9768537 L18.356027,12.9541829 L18.356027,39 Z M0,39 L16.8566427,25.9768537 L0,12.9541829 L0,39 Z" id="Fill-1" fill="url(#linearGradient-1)" sketch:type="MSShapeGroup"/>
<path d="M66.8639323,19.2500195 C66.8639323,11.3686902 60.3080241,4.82762927 52.2190117,4.82762927 L44.7645328,4.82762927 L44.7645328,33.6728854 L52.2190117,33.6728854 C60.3080241,33.6728854 66.8639323,27.1318244 66.8639323,19.2500195 L66.8639323,19.2500195 Z M40.05923,0.162373171 L52.2190117,0.162373171 C62.8986841,0.162373171 71.569235,8.74094634 71.569235,19.2500195 C71.569235,29.7590927 62.8986841,38.3376659 52.2190117,38.3376659 L40.05923,38.3376659 L40.05923,0.162373171 Z" id="Fill-3" fill="#292F3C" sketch:type="MSShapeGroup"/>
<path d="M76.3067568,13.7812683 L80.8530744,13.7812683 L80.8530744,38.3374756 L76.3067568,38.3374756 L76.3067568,13.7812683 Z M75.5662333,6.75746341 C75.5662333,5.09568293 76.8878263,3.75493902 78.5799156,3.75493902 C80.2190099,3.75493902 81.540603,5.09568293 81.540603,6.75746341 C81.540603,8.41971951 80.2190099,9.81373171 78.5799156,9.81373171 C76.8878263,9.81373171 75.5662333,8.41971951 75.5662333,6.75746341 L75.5662333,6.75746341 Z" id="Fill-6" fill="#292F3C" sketch:type="MSShapeGroup"/>
<path d="M86.933528,0.162468293 L110.725017,0.162468293 L110.725017,4.77350488 L91.6918258,4.77350488 L91.6918258,13.7273341 L108.292873,13.7273341 L108.292873,18.4996024 L91.6918258,18.4996024 L91.6918258,33.6197122 L110.248531,33.6197122 L110.248531,38.337761 L86.933528,38.337761 L86.933528,0.162468293 Z" id="Fill-8" fill="#292F3C" sketch:type="MSShapeGroup"/>
<path d="M143.979731,38.3375707 L143.979731,7.88380244 L131.978466,24.504461 L120.029726,7.88380244 L120.029726,38.3375707 L115.323954,38.3375707 L115.323954,0.162278049 L120.294232,0.162278049 L131.978466,16.4623756 L143.662699,0.162278049 L148.685034,0.162278049 L148.685034,38.3375707 L143.979731,38.3375707 Z" id="Fill-9" fill="#292F3C" sketch:type="MSShapeGroup"/>
<path d="M155.107516,38.3370951 L155.107516,34.3096317 L165.001174,22.5749122 C165.377298,22.0194 165.583181,21.4291683 165.583181,20.8042171 C165.583181,19.1376805 164.247988,17.7141805 162.604673,17.7141805 C161.337951,17.7141805 160.208171,18.6168878 159.797343,19.8667902 L159.557693,20.5959 L155.175988,19.6584732 L155.415169,18.7557659 C156.271062,15.4921317 159.249571,13.2700829 162.604673,13.2700829 C164.624581,13.2700829 166.472841,13.9991927 167.911211,15.4226927 C169.314876,16.8461927 170.102298,18.7557659 170.102298,20.8042171 C170.102298,22.4013146 169.588762,23.9636927 168.663928,25.2830341 L168.630162,25.3177537 L161.577601,33.7541195 L170.102298,33.7541195 L170.102298,38.3370951 L155.107516,38.3370951 Z" id="Fill-10" fill="#292F3C" sketch:type="MSShapeGroup"/>
<path d="M173.970795,36.2191573 C173.662673,35.9414012 173.319847,35.5594866 173.012195,35.1081329 L172.49819,34.3790232 L176.264589,31.6709012 L176.743889,32.3652915 C177.531311,33.4763159 178.763798,34.2059012 180.098522,34.2059012 C182.289609,34.2059012 184.172574,32.330572 184.172574,30.1784378 C184.172574,27.9216695 182.289609,25.9773768 180.098522,25.9773768 C179.482748,25.9773768 178.866036,26.1856939 178.284028,26.4981695 L177.975907,26.6370476 L173.799616,25.4565841 L176.949304,13.582511 L188.417805,13.582511 L188.417805,18.2002061 L180.509351,18.1654866 L179.619222,21.4638402 L180.098522,21.4638402 C182.426552,21.4638402 184.617639,22.3665476 186.260954,23.9636451 C187.082611,24.7621939 187.73309,25.7343402 188.178155,26.8106451 C188.588984,27.8864744 188.828634,29.0326939 188.828634,30.1784378 C188.828634,32.4347305 187.904269,34.5873402 186.260954,36.2191573 C185.439296,37.0177061 184.480696,37.6426573 183.419388,38.094011 C182.392316,38.4759256 181.262537,38.6148037 180.098522,38.6148037 C177.702021,38.6148037 175.579874,37.8509744 173.970795,36.2191573" id="Fill-11" fill="#292F3C" sketch:type="MSShapeGroup"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.6 KiB

File diff suppressed because it is too large Load diff

View file

@ -38,8 +38,8 @@
{
"id": 3,
"category": {
"de": "Atomenergie",
"en": "Nuclear Energy"
"de": "Energiepolitik",
"en": "Energy Policy"
},
"thesis": {
"de": "Alle Mitgliedsstaaten sollen bis spätestens 2040 aus der Atomkraft aussteigen.",
@ -98,12 +98,12 @@
{
"id": 8,
"category": {
"de": "Verteilung Flüchtlinge:",
"en": "Distribution Refugees"
"de": "Verteilung von Asylbewerbern",
"en": "Asylum Seekers Allocation"
},
"thesis": {
"de": "Innerhalb der EU sollten Flüchtlinge nach einem Verteilungsschlüssel auf alle Mitgliedsstaaten verteilt werden.",
"en": "The refugees should be distributed between every member state based on a quota within the EU."
"de": "Innerhalb der EU sollten Asylbewerber nach einem Verteilungsschlüssel auf alle Mitgliedsstaaten verteilt werden.",
"en": "Asylum seekers should be distributed between every member state based on a quota within the EU."
},
"terminology": []
},
@ -122,8 +122,8 @@
{
"id": 10,
"category": {
"de": "CO2 Steuer",
"en": "CO2 Tax"
"de": "Energiepolitik",
"en": "Energy Policy"
},
"thesis": {
"de": "Es soll eine EU-weite CO2-Steuer geben.",
@ -231,7 +231,7 @@
"id": 19,
"category": {
"de": "Abschiebung",
"en": "Deportation"
"en": "Return Policy"
},
"thesis": {
"de": "Straffällig gewordene Asylbewerber und Menschen ohne anerkanntem Aufenthaltsstatus sollen aus der EU ausgewiesen werden.",
@ -243,7 +243,7 @@
"id": 20,
"category": {
"de": "Bargeld",
"en": "Cash"
"en": "Money"
},
"thesis": {
"de": "Die EU sollte langfristig Bargeld abschaffen.",