Skip to content

Commit

Permalink
Changes pending apparently?
Browse files Browse the repository at this point in the history
  • Loading branch information
ac-jorellanaf committed Dec 17, 2024
1 parent 4c08018 commit ddbd29f
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 12 deletions.
16 changes: 8 additions & 8 deletions src/app/portal/features/site-footer/site-footer.component.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<nav class="bg-primary mt-2 w-full text-white" color="primary">
<nav class="mt-2 w-full bg-primary text-white" color="primary">
<div class="flex flex-wrap justify-around divide-x pb-5 pt-2 no-underline">
<a mat-ripple routerLink="/" class="grow content-center"
><div class="flex w-full justify-center">
<img src="assets/images/GHGA_logo.png" alt="GHGA Logo" class="max-h-12" />
</div>
<div class="flex w-full justify-center">
<div
class="text-quinary border-quinary mt-3 w-fit border-t pt-1.5 text-center text-4xl uppercase"
class="mt-3 w-fit border-t border-quinary pt-1.5 text-center text-4xl uppercase text-quinary"
>
Data Portal
</div>
Expand Down Expand Up @@ -46,43 +46,43 @@
class="icons-div mb-2 flex w-full flex-wrap justify-center text-center text-4xl no-underline"
>
<a
class="text-outline me-1.5 ms-2"
class="me-1.5 ms-2 text-outline"
target="_blank"
rel="noreferrer noopener"
href="https://genomic.social/@ghga"
><mat-icon inline="true" fontSet="fab" fontIcon="fa-mastodon"></mat-icon
></a>
<a
class="text-outline me-1.5 ms-2"
class="me-1.5 ms-2 text-outline"
target="_blank"
rel="noreferrer noopener"
href="https://www.linkedin.com/company/the-german-human-genome-phenome-archive/"
><mat-icon inline="true" fontSet="fab" fontIcon="fa-linkedin"></mat-icon
></a>
<a
class="text-outline me-1.5 ms-2"
class="me-1.5 ms-2 text-outline"
target="_blank"
rel="noreferrer noopener"
href="https://bsky.app/profile/ghga.bsky.social"
>
<mat-icon inline="true" fontSet="fab" fontIcon="fa-bluesky"></mat-icon
></a>
<a
class="text-outline me-1.5 ms-2"
class="me-1.5 ms-2 text-outline"
target="_blank"
rel="noreferrer noopener"
href="https://github.com/ghga-de"
><mat-icon inline="true" fontSet="fab" fontIcon="fa-github"></mat-icon
></a>
<a
class="text-outline me-1.5 ms-2"
class="me-1.5 ms-2 text-outline"
target="_blank"
rel="noreferrer noopener"
href="https://www.youtube.com/channel/UC7Yqi4gBl86drcUxwwEe6EA"
><mat-icon inline="true" fontSet="fab" fontIcon="fa-youtube"></mat-icon
></a>
<a
class="text-outline me-1.5 ms-2"
class="me-1.5 ms-2 text-outline"
target="_blank"
rel="noreferrer noopener"
href="https://www.ghga.de/about-us/contact"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
alt="GHGA Logo"
/>
<div class="ms-2 border-l ps-2 pt-1 uppercase">
<span class="text-quinary border-quinary text-3xl leading-3 tracking-wider"
<span class="border-quinary text-3xl leading-3 tracking-wider text-quinary"
>Data</span
><br /><span>Portal</span>
</div></a
Expand Down
18 changes: 15 additions & 3 deletions src/mocks/mockServiceWorker.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
* - Please do NOT serve this file on production.
*/

const PACKAGE_VERSION = '2.6.6'
const INTEGRITY_CHECKSUM = 'ca7800994cc8bfb5eb961e037c877074'
const PACKAGE_VERSION = '2.6.9'
const INTEGRITY_CHECKSUM = '00729d72e3b82faf54ca8b9621dbb96f'
const IS_MOCKED_RESPONSE = Symbol('isMockedResponse')
const activeClientIds = new Set()

Expand Down Expand Up @@ -199,7 +199,19 @@ async function getResponse(event, client, requestId) {
// Remove the "accept" header value that marked this request as passthrough.
// This prevents request alteration and also keeps it compliant with the
// user-defined CORS policies.
headers.delete('accept', 'msw/passthrough')
const acceptHeader = headers.get('accept')
if (acceptHeader) {
const values = acceptHeader.split(',').map((value) => value.trim())
const filteredValues = values.filter(
(value) => value !== 'msw/passthrough',
)

if (filteredValues.length > 0) {
headers.set('accept', filteredValues.join(', '))
} else {
headers.delete('accept')
}
}

return fetch(requestClone, { headers })
}
Expand Down

0 comments on commit ddbd29f

Please sign in to comment.