diff --git a/composables/use-get-network-data.ts b/composables/use-get-network-data.ts index ff199c90..6d483886 100644 --- a/composables/use-get-network-data.ts +++ b/composables/use-get-network-data.ts @@ -14,7 +14,11 @@ export function useGetNetworkData(params: MaybeRef) { return useQuery({ queryKey: ["network-data", params] as const, async queryFn({ queryKey, signal }) { - const [, params] = queryKey; + const [, queryParams] = queryKey; + const params = { + ...defaultFilterParams, + ...queryParams, + }; const response = await api.GET("/network_visualisation/", { params: { diff --git a/config/search.config.ts b/config/search.config.ts index 8217a2f0..32ea7e5e 100644 --- a/config/search.config.ts +++ b/config/search.config.ts @@ -3,4 +3,4 @@ import type { GetSearchResultsParams } from "@/composables/use-get-search-result /** Default filters to be applied to all queries, e.g. when a DB is shared. * @example { type_id: [0] } */ -export const defaultFilterParams: GetSearchResultsParams = {}; +export const defaultFilterParams: GetSearchResultsParams = { type_id: [362] }; diff --git a/content/system-pages/en/index.md b/content/system-pages/en/index.md index 27c6fbec..2cace917 100644 --- a/content/system-pages/en/index.md +++ b/content/system-pages/en/index.md @@ -2,14 +2,15 @@ title: Approaching Byzantium navigation: false image: - light: /approaching_byzantium_logo.png - dark: /approaching_byzantium_logo.png -leadIn: >- - The [Approaching Byzantium in Ottoman Istanbul](https://www.byzanz-mainz.de/): the Reception of - the Byzantine Heritage of Constantinople by Scholars from the Holy Roman Empire in the 16th - century project analyzes how visiting the city of Constantinople affected the reception of - Byzantium by humanists from the Holy Roman Empire in the 16th century, when the former Byzantine - capital was the seat of the Ottoman Empire. + light: /assets/images/approaching_byzantium_logo.png + dark: /assets/images/apbyz_logo_inv.png +leadIn: "The [Approaching Byzantium in Ottoman + Istanbul](https://www.byzanz-mainz.de/): the Reception of the Byzantine + Heritage of Constantinople by Scholars from the Holy Roman Empire in the 16th + century project analyzes how visiting the city of Constantinople affected the + reception of Byzantium by humanists from the Holy Roman Empire in the 16th + century, when the former Byzantine capital was the seat of the Ottoman + Empire." links: - label: View data href: /data diff --git a/project.config.json b/project.config.json index e7621bf0..665ec233 100644 --- a/project.config.json +++ b/project.config.json @@ -3,30 +3,30 @@ "brand": "#e63875", "geojson": "#e63875", "entityColors": { + "stratigraphic_unit": "#9723c1", "place": "#69c0ef", - "source": "#D60C19", - "person": "#ffca3a", - "group": "#f48c06", - "move": "#e85d04", - "event": "#ff595e", - "activity": "#9d0208", "acquisition": "#6a040f", - "feature": "#b8cf5b", - "human_remains": "#3d0066", - "stratigraphic_unit": "#9723c1", + "activity": "#9d0208", + "move": "#e85d04", "artifact": "#ee6c4d", + "human_remains": "#3d0066", + "person": "#ffca3a", + "feature": "#b8cf5b", + "event": "#ff595e", + "type": "#6a4c93", + "source": "#D60C19", "file": "#9d4edd", - "type": "#6a4c93" + "group": "#f48c06" }, "entityDefaultColor": "#666", "disabledNodeColor": "rgb(400, 400, 400)" }, "defaultLocale": "en", "logos": { - "light": "/approaching_byzantium_logo.png", - "dark": "/approaching_byzantium_logo.png", - "withTextLight": "/approaching_byzantium_logo.png", - "withTextDark": "/approaching_byzantium_logo.png" + "light": "/assets/images/approaching_byzantium_logo.png", + "dark": "/assets/images/apbyz_logo_inv.png", + "withTextLight": "/assets/images/approaching_byzantium_logo.png", + "withTextDark": "/assets/images/apbyz_logo_inv.png" }, "imprint": "acdh-ch", "twitter": "" diff --git a/public/admin/config.yml b/public/admin/config.yml index 26ec1353..6f92dfdc 100644 --- a/public/admin/config.yml +++ b/public/admin/config.yml @@ -214,6 +214,7 @@ collections: i18n: true # hint: The content widget: markdown + required: false modes: # - raw - rich_text diff --git a/public/assets/images/apbyz_logo_inv.png b/public/assets/images/apbyz_logo_inv.png new file mode 100644 index 00000000..e2a12104 Binary files /dev/null and b/public/assets/images/apbyz_logo_inv.png differ diff --git a/public/approaching_byzantium_logo.png b/public/assets/images/approaching_byzantium_logo.png similarity index 100% rename from public/approaching_byzantium_logo.png rename to public/assets/images/approaching_byzantium_logo.png