Skip to content

Commit

Permalink
Merge pull request #576 from visualize-admin/homepage-links
Browse files Browse the repository at this point in the history
fix: Update homepage chart URLs following data reset on int.lindas.admin.ch
  • Loading branch information
ptbrowne authored May 31, 2022
2 parents bddb1a6 + 76571c3 commit 7daf364
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions app/homepage/examples.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const Examples = ({
<HomepageSection>{headline}</HomepageSection>
<Example headline={example1Headline} description={example1Description}>
<ChartPublished
dataSet="https://environment.ld.admin.ch/foen/ubd003701/2"
dataSet="https://environment.ld.admin.ch/foen/ubd0037/6"
meta={{
title: {
de: "Lärmbelastung durch Verkehr",
Expand All @@ -57,11 +57,11 @@ export const Examples = ({
sortingOrder: "desc",
},
componentIri:
"https://environment.ld.admin.ch/foen/ubd003701/verkehrsart",
"https://environment.ld.admin.ch/foen/ubd0037/verkehrsart",
},
y: {
componentIri:
"https://environment.ld.admin.ch/foen/ubd003701/wert",
"https://environment.ld.admin.ch/foen/ubd0037/wert",
},
segment: {
type: "grouped",
Expand All @@ -71,31 +71,31 @@ export const Examples = ({
sortingOrder: "asc",
},
colorMapping: {
"https://environment.ld.admin.ch/foen/ubd003701/periode/D":
"https://environment.ld.admin.ch/foen/ubd0037/periode/D":
"#ff7f0e",
"https://environment.ld.admin.ch/foen/ubd003701/periode/N":
"https://environment.ld.admin.ch/foen/ubd0037/periode/N":
"#1f77b4",
},
componentIri:
"https://environment.ld.admin.ch/foen/ubd003701/periode",
"https://environment.ld.admin.ch/foen/ubd0037/periode",
},
},
filters: {
"https://environment.ld.admin.ch/foen/ubd003701/beurteilung": {
"https://environment.ld.admin.ch/foen/ubd0037/beurteilung": {
type: "single",
value:
"https://environment.ld.admin.ch/foen/ubd003701/beurteilung/%3EIGWLSV",
"https://environment.ld.admin.ch/foen/ubd0037/beurteilung/%3EIGWLSV",
},
"https://environment.ld.admin.ch/foen/ubd003701/gemeindetype": {
"https://environment.ld.admin.ch/foen/ubd0037/gemeindetype": {
type: "single",
value:
"https://environment.ld.admin.ch/foen/ubd003701/gemeindeTyp/CH",
"https://environment.ld.admin.ch/foen/ubd0037/gemeindeTyp/CH",
},
"https://environment.ld.admin.ch/foen/ubd003701/laermbelasteteeinheit":
"https://environment.ld.admin.ch/foen/ubd0037/laermbelasteteeinheit":
{
type: "single",
value:
"https://environment.ld.admin.ch/foen/ubd003701/laermbelasteteEinheit/Pers",
"https://environment.ld.admin.ch/foen/ubd0037/laermbelasteteEinheit/Pers",
},
},
chartType: "column",
Expand All @@ -116,8 +116,8 @@ export const Examples = ({
dataFilters: {
active: true,
componentIris: [
"https://environment.ld.admin.ch/foen/ubd003701/gemeindetype",
"https://environment.ld.admin.ch/foen/ubd003701/laermbelasteteeinheit",
"https://environment.ld.admin.ch/foen/ubd0037/gemeindetype",
"https://environment.ld.admin.ch/foen/ubd0037/laermbelasteteeinheit",
],
},
},
Expand All @@ -131,7 +131,7 @@ export const Examples = ({
reverse
>
<ChartPublished
dataSet="https://culture.ld.admin.ch/sfa/StateAccounts_Office/4/"
dataSet="https://culture.ld.admin.ch/sfa/StateAccounts_Office/1"
meta={{
title: {
de: "Verteilung der Ausgaben und Einnahmen nach Ämtern",
Expand Down

1 comment on commit 7daf364

@vercel
Copy link

@vercel vercel bot commented on 7daf364 May 31, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

visualization-tool – ./

visualization-tool-alpha.vercel.app
visualization-tool-git-main-ixt1.vercel.app
visualization-tool-ixt1.vercel.app

Please sign in to comment.