Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

39 changes: 39 additions & 0 deletions src/components/Footer.astro
Original file line number Diff line number Diff line change
@@ -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';
---

<Default><slot /></Default>

<div class="site-footer">
<p class="site-footer__attribution">
{/* Kept on one line per clause: Astro strips whitespace where a line break
sits next to an element, which silently joins words. */}
UQ XNAT is operated by the <a href="https://rcc.uq.edu.au" target="_blank" rel="noopener noreferrer">Research Computing Centre</a> at <a href="https://uq.edu.au" target="_blank" rel="noopener noreferrer">The University of Queensland</a>, as part of the <a href="https://anif.org.au" target="_blank" rel="noopener noreferrer">National Imaging Facility</a> and the <a href="https://australian-imaging-service.github.io" target="_blank" rel="noopener noreferrer">Australian Imaging Service</a>.
</p>
</div>

<style>
.site-footer {
margin-top: var(--xnat-space-5);
padding-top: var(--xnat-space-5);
border-top: 1px solid var(--sl-color-hairline-light);
font-size: var(--sl-text-sm);
color: var(--sl-color-gray-3);
}
.site-footer__attribution {
margin: 0;
text-align: center;
text-wrap: balance;
}
.site-footer__attribution a {
color: var(--sl-color-gray-2);
font-weight: 600;
text-decoration: underline;
text-underline-offset: 0.2em;
}
.site-footer__attribution a:hover {
color: var(--sl-color-text-accent);
}
</style>
4 changes: 2 additions & 2 deletions src/components/NavLinks.astro
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
</svg>
<span>Link to XNAT</span>
</a>
<a href="mailto:rcc-support@uq.edu.au">
<a href="/support">
<svg aria-hidden="true" width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M4 4h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2z"></path>
<polyline points="22,6 12,13 2,6"></polyline>
</svg>
<span>Support Ticket</span>
<span>Get support</span>
</a>
</nav>

Expand Down
1 change: 0 additions & 1 deletion src/content/docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,4 @@ import HomeFeatures from '@components/HomeFeatures.astro';
<a href="https://opex.xnat.rcc.uq.edu.au">opex.xnat.rcc.uq.edu.au</a>
<a href="https://irc5.xnat.rcc.uq.edu.au">irc5.xnat.rcc.uq.edu.au</a>
</p>
<p class="home-links__ais"><a href="https://australian-imaging-service.github.io">Learn more about the Australian Imaging Service →</a></p>
</div>
44 changes: 44 additions & 0 deletions src/content/docs/support.mdx
Original file line number Diff line number Diff line change
@@ -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.

<RequestEmailForm
fields={[
{ id: 'summary', label: 'What do you need help with?', placeholder: 'e.g. Cannot upload to project Q1234' },
{ id: 'project', label: 'XNAT project name', placeholder: 'e.g. Q1234', required: false },
]}
subject="UQ XNAT: {summary}"
body={"Hello RCC support,\n\n{summary}\n\nXNAT project: {project}\n\nWhat I did:\n\nWhat I expected:\n\nWhat happened instead:\n\nThank you"}
/>

## 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.
4 changes: 0 additions & 4 deletions src/styles/components.css
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Loading