diff --git a/components/Header.vue b/components/Header.vue index 04ab17cfe9d1b1384fb52dc17140e71342291a93..fd5ccb8bd0c9b2295b5a17c021917ee1ea848146 100644 --- a/components/Header.vue +++ b/components/Header.vue @@ -1,10 +1,10 @@ <template> <nav class="navbar navbar-dark bg-dark"> <div class="container-fluid"> - <a class="navbar-brand" href="/pirati-d9450fcc-e848-4adc-99f8-c4105c142df4/">🏴‍â ️ Piráti - VolebnĂ kalkulaÄŤka k primárkám do voleb EP 2024</a> - + <a class="navbar-brand" href="/">🏴‍â ️ Piráti - VolebnĂ kalkulaÄŤka k volbam do EP 2024</a> + <Menu /> - + </div> </nav> </template> diff --git a/components/Menu.vue b/components/Menu.vue index f812aa2bd13abdc863f17f6f7af85374e68fe5ec..61ce02a0bf4d0ef7d25811646178fbca025b6d4a 100644 --- a/components/Menu.vue +++ b/components/Menu.vue @@ -12,7 +12,7 @@ <div class="offcanvas-body"> <ul class="navbar-nav justify-content-end flex-grow-1 pe-3"> <li class="nav-item"> - <a class="nav-link active" aria-current="page" href="https://kalkulacka.one/pirati-d9450fcc-e848-4adc-99f8-c4105c142df4/">🏴‍â ️ Piráti: Primárky 2024</a> + <a class="nav-link active" aria-current="page" href="https://kalkulacka.pirati.cz/">🏴‍â ️ Piráti: Primárky 2024</a> </li> <!-- <li class="nav-item"> <NuxtLink class="nav-link active" aria-current="page" to="/">🚀 VolebnĂ kalkulaÄŤka "2050"</NuxtLink> @@ -37,4 +37,4 @@ width: 275px; background-color: #222; } -</style> \ No newline at end of file +</style> diff --git a/components/ResultsTable.vue b/components/ResultsTable.vue index 93d4d65aa190a6d3e072f968a3153ef1796d5fc8..b2503cddeaafcc0385a0c8e46486ce1657e36226 100644 --- a/components/ResultsTable.vue +++ b/components/ResultsTable.vue @@ -33,11 +33,11 @@ export default { methods: { comparison: function(id) { // console.log("clicked", id) - this.$router.push({ + this.$router.push({ name: 'comparison', params: { candidateId: id - } + } }) }, @@ -46,7 +46,7 @@ export default { // return "https://www.psp.cz/eknih/cdrom/2013ps/eknih/2013ps/poslanci/i" + name + ".jpg" // return "/cs/volby-2021-2050/logos/" + name + ".webp" // return '~/assets/images/' + name +'.webp' - return '/pirati-d9450fcc-e848-4adc-99f8-c4105c142df4/images/' + name +'.webp' + return '/images/' + name +'.webp' // CDN // return "https://michalskop-gitlab-io.azureedge.net/sinventura-2017-2021.volebnikalkulacka.cz/photos/" + name + ".webp" } @@ -62,4 +62,4 @@ export default { .list-group { cursor: pointer; } -</style> \ No newline at end of file +</style>