Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

register patient cms #160

Merged
merged 9 commits into from
Jan 18, 2025
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
1 change: 0 additions & 1 deletion website/src/app/[lang]/blog/[slug]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ export async function generateMetadata({
}: BlogPagePropsWithLocale): Promise<Metadata> {
const { lang, slug } = await params;

const { query } = getClient();
const { data } = await query<GetPostQuery>({
query: GetPostDocument,
variables: { locale: lang, slug },
Expand Down
71 changes: 11 additions & 60 deletions website/src/app/[lang]/register-a-patient/page-body.module.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
@use '@styles/layout';
@use '@styles/breakpoints';
@use '@styles/text-styles';
@use '@styles/icons';

.page-layout {
padding: var(--spacing-6) var(--spacing-16) var(--spacing-24);
Expand Down Expand Up @@ -71,13 +70,24 @@
}

li:not(:last-of-type) {
& p {
margin: 0;
}
margin-block-end: var(--spacing-2);
}

h2 {
@include text-styles.header-2;
margin: 0;
margin-block-end: var(--spacing-4);

@include breakpoints.small-screen {
@include text-styles.header-2__mobile;
}

@include breakpoints.medium-screen {
@include text-styles.header-2__mobile;
}
}

section {
Expand All @@ -103,62 +113,3 @@
display: none;
}
}

.accordion {
background-color: var(--background-accent-navy);
padding: 0 var(--spacing-6);

&:first-of-type {
border-top-right-radius: var(--border-radius-xl);
border-top-left-radius: var(--border-radius-xl);
}

&:last-of-type {
border-bottom-right-radius: var(--border-radius-xl);
border-bottom-left-radius: var(--border-radius-xl);
}

&:not(:first-of-type) summary {
border-block-start: 1px solid var(--border-default);
}

&[open] summary {
&::after {
background-image: url(icons.$chevron-up-navy);
}
}

summary {
@include text-styles.header-3;
padding: var(--spacing-6) 0;
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: center;
&::marker,
&::-webkit-details-marker {
display: none;
content: '';
}

&::after {
aspect-ratio: 1 / 1;
background-image: url(icons.$chevron-down-navy);
background-position: center;
background-size: contain;
content: '';
display: block;
width: var(--spacing-5);
}
}

& > div {
padding-block-end: var(--spacing-6);
& p:last-of-type {
margin-block-end: 0;
}
& li:last-of-type {
margin-block-end: 0;
}
}
}
Loading
Loading