diff --git a/astro.config.mjs b/astro.config.mjs index 9026bab..308688f 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -163,6 +163,8 @@ export default defineConfig({ SocialIcons: './src/components/NavLinks.astro', // Cycling theme toggle (auto → light → dark) instead of the dropdown. ThemeSelect: './src/components/ThemeSelect.astro', + // Wraps the built-in footer to add RCC / NIF / AIS attribution. + Footer: './src/components/Footer.astro', }, // Single axis: every group is a task, ordered the way a new user meets // them. Labels are free to change; slugs are not, since the legacy diff --git a/package-lock.json b/package-lock.json index 994b12c..d3266c8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5287,9 +5287,9 @@ "license": "MIT" }, "node_modules/nanoid": { - "version": "3.3.17", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.17.tgz", - "integrity": "sha512-xQLf0A3HOMlgHq0n247/LRuAOYmB7dXJ/DvAxGvsSBij45XtBSmQycu+F8ODbHwns/XyFZagyL1+J0Offw1E0g==", + "version": "3.3.18", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.18.tgz", + "integrity": "sha512-DTg4MJbGMWkfi6VZFdNt2/caMbQy4Ou+Op/hJQvGEWcnVfoA1QA+xzRKAzw9jD6+GVOOeYr/mIcuDSdug6F6+w==", "funding": [ { "type": "github", diff --git a/src/components/Footer.astro b/src/components/Footer.astro new file mode 100644 index 0000000..fc43a01 --- /dev/null +++ b/src/components/Footer.astro @@ -0,0 +1,39 @@ +--- +// Wraps Starlight's own footer rather than replacing it, so Pagination, +// EditLink and LastUpdated are preserved. Renders on splash pages too. +import Default from '@astrojs/starlight/components/Footer.astro'; +--- + + + + + + diff --git a/src/components/NavLinks.astro b/src/components/NavLinks.astro index c2e3a5d..880d92d 100644 --- a/src/components/NavLinks.astro +++ b/src/components/NavLinks.astro @@ -12,12 +12,12 @@ Link to XNAT - + - Support Ticket + Get support diff --git a/src/content/docs/index.mdx b/src/content/docs/index.mdx index ff7e108..e1d90d5 100644 --- a/src/content/docs/index.mdx +++ b/src/content/docs/index.mdx @@ -28,5 +28,4 @@ import HomeFeatures from '@components/HomeFeatures.astro'; opex.xnat.rcc.uq.edu.au irc5.xnat.rcc.uq.edu.au

- diff --git a/src/content/docs/support.mdx b/src/content/docs/support.mdx new file mode 100644 index 0000000..a5aad52 --- /dev/null +++ b/src/content/docs/support.mdx @@ -0,0 +1,44 @@ +--- +title: Get support +description: How to contact RCC support about UQ XNAT, and what to include so your request can be actioned quickly +--- + +import RequestEmailForm from '@components/RequestEmailForm.astro'; + +Before contacting support, it is worth checking the guides — the most common +questions have their own pages: + +- [I cannot see my project](/user-guides/using-xnat/projects/your-project) +- [My upload has not appeared](/user-guides/managing-data/uploading-data/prearchive) +- [I have run out of storage](/user-guides/using-xnat/projects/request-storage) + +## Contacting RCC support + +Email `rcc-support@uq.edu.au`. Fill in the form below and copy the result into +your mail client. + + + +## What to include + +The more of this you provide, the less back and forth: + +- The **XNAT project name**, and the subject or session if it is specific to one +- **What you did**, step by step, and what you expected to happen +- **What happened instead**, including the exact wording of any error +- A **screenshot** if the problem is visible on screen — with no patient + identifiers in it +- Whether it worked before, and roughly when it stopped + +## Data acquired at a facility + +If your question is about data acquired at HIRF, CAI or TRI — whether a session +has been sent, or when a project will be created — contact the facility that +acquired it. They can see the acquisition side, which RCC cannot. diff --git a/src/styles/components.css b/src/styles/components.css index 51bd6b4..9f6d071 100644 --- a/src/styles/components.css +++ b/src/styles/components.css @@ -19,10 +19,6 @@ .home-links__repos a { margin: 0 0.6rem; } -.home-links__ais { - margin-top: var(--xnat-space-5) !important; - font-size: var(--sl-text-sm); -} /* Sidebar: keep only the top-level headers bold/large. Normalise every nested expandable group label so it matches the plain single-page links beside it.