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

feat: the return of "your questions answered!" (#56) #58

Merged
merged 1 commit into from
Sep 13, 2024
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
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { mediaTabletUp } from "@databiosphere/findable-ui/lib/styles/common/mixins/breakpoints";
import { inkLight } from "@databiosphere/findable-ui/lib/styles/common/mixins/colors";
import {
textBodyLarge4002Lines,
Expand All @@ -12,6 +13,11 @@ export const Grid = styled.div`
${sectionGrid};
grid-column: 1 / -1;
grid-template-columns: 1fr;

${mediaTabletUp} {
grid-column: 6 / -1;
grid-template-columns: repeat(7, 1fr);
}
`;

export const StyledAccordion = styled(MAccordion)`
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { mediaTabletUp } from "@databiosphere/findable-ui/lib/styles/common/mixins/breakpoints";
import {
smokeMain,
white,
Expand All @@ -7,6 +8,11 @@ import {
sectionGrid,
SectionLayout as DefaultLayout,
} from "../../../../../Layout/components/AppLayout/components/Section/section.styles";
import {
SectionHeadline,
SectionSubtitle,
SectionTitle,
} from "../../section.styles";

export const Section = styled.section`
background-color: ${white};
Expand All @@ -18,3 +24,31 @@ export const SectionLayout = styled(DefaultLayout)`
${sectionGrid};
padding: 85px 16px 150px;
`;

export const Headline = styled(SectionHeadline)`
align-content: flex-start;
grid-column: 1 / -1;
max-width: 504px;

${mediaTabletUp} {
grid-column: 1 / 5;
max-width: unset;
}
`;

export const StyledSectionTitle = styled(SectionTitle)`
max-width: 276px;
`;

export const StyledSectionSubTitle = styled(SectionSubtitle)`
line-height: 28px;

.MuiLink-root {
color: #28285b;
text-decoration: underline;

&:hover {
text-decoration: none;
}
}
`;
Original file line number Diff line number Diff line change
@@ -1,10 +1,28 @@
import { Link as DXLink } from "@databiosphere/findable-ui/lib/components/Links/components/Link/link";
import { Questions } from "./components/Questions/questions";
import { Section, SectionLayout } from "./sectionHelp.styles";
import {
Headline,
Section,
SectionLayout,
StyledSectionSubTitle,
StyledSectionTitle,
} from "./sectionHelp.styles";

export const SectionHelp = (): JSX.Element => {
return (
<Section>
<SectionLayout>
<Headline>
<StyledSectionTitle>Your questions, answered</StyledSectionTitle>
<StyledSectionSubTitle>
If you need further assistance, feel free to reach out to us at{" "}
<DXLink
label="[email protected]"
url="mailto:[email protected]"
/>
. We&#39;re here to help!
</StyledSectionSubTitle>
</Headline>
<Questions />
</SectionLayout>
</Section>
Expand Down
Loading