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

Fixed CodeBlock on Mobile Devices, Updated Background in About Us, Added Community Forum #79

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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions src/data/footer.ts
Expand Up @@ -60,6 +60,7 @@ const getFooterData = async (): Promise<FooterData> => {
badge: 'New!',
badgeColor: 'success'
},
{ href: 'https://community.neptunemutual.com/', includeTheme: false, text: 'Community Forum', isExternal: false },
{ href: '/ecosystem/', text: 'Ecosystem', isExternal: false },
{ href: '/docs/', text: 'Documentation', isExternal: false },
{ href: '/web3-tools/', text: 'Web3 Tools', isExternal: false },
Expand Down
32 changes: 32 additions & 0 deletions src/elements/content/Content.scss
Expand Up @@ -428,6 +428,31 @@
word-break: break-all;
}

.hljs {
table th,
table td {
border: none !important;
}

table {
width: 100% !important;

tr:first-child {
background-color: transparent !important;

td {
background-color: transparent !important;

}
}
}

td.hljs-ln-line.hljs-ln-numbers {
width: 20px;
border-right: 1px solid colors.$gray-800 !important;
}
}

table {
tr:first-child {
background-color: colors.$white;
Expand Down Expand Up @@ -768,6 +793,13 @@
word-break: break-word;
}

.hljs {
table th,
table td {
border: none !important;
}
}

table {
tr:first-child {
background-color: colors.$gray-900;
Expand Down
6 changes: 6 additions & 0 deletions src/pages/docs/index.scss
@@ -1,5 +1,11 @@
@import "../../styles/global.scss";

@import "../../elements/buttons/Button.scss";
@import "../../elements/buttons/PrimaryButton.scss";
@import "../../elements/buttons/_base/index.scss";
@import "../../elements/buttons/LinkGrayButton.scss";
@import "../../elements/buttons/SecondaryGrayButton.scss";

@import "../../elements/Input.scss";
@import "../../elements/Breadcrumb.scss";
@import "../../elements/tooltip/Tooltip.scss";
Expand Down
4 changes: 4 additions & 0 deletions src/views/about/Roadmap.scss
Expand Up @@ -24,6 +24,10 @@
margin-top: 96px;
padding-top: 56px;

@media (max-width: 767px) {
margin-top: 0px;
}

@include utils.full-width-container;
}

Expand Down
18 changes: 8 additions & 10 deletions src/views/about/Team.astro
Expand Up @@ -32,16 +32,14 @@ const t = (x: string): string => x;
</p>
</div>
<div class="team members center">
<Slider gap={8}>
<div class="team member list container">
<div class="ui team member list">
{
team.map((member) => {
return <Member className="with slider" member={member} />;
})
}
</div>
<div class="team member list container">
<div class="ui team member list">
{
team.map((member) => {
return <Member className="with slider" member={member} />;
})
}
</div>
</Slider>
</div>
</div>
</div>
26 changes: 7 additions & 19 deletions src/views/about/Team.scss
Expand Up @@ -15,11 +15,9 @@
flex-direction: column;
gap: 64px;

background-color: colors.$white;

@media screen and (max-width: 767px) {
margin-top: 64px;
margin-bottom: 64px;
margin-bottom: 0;
padding-bottom: 0;
}

Expand Down Expand Up @@ -68,32 +66,22 @@
.ui.team.member.list {
display: inline-flex;
flex-direction: row;
gap: 8px;
flex-wrap: wrap;

@media (max-width: 767px) {
gap: 32px;
}
}
}

.team.members.center {
display: flex;
flex-direction: column;
}

.slider.container {
max-width: 100%;
width: auto;
display: inline-flex;
flex-direction: column;
margin-left: auto;
margin-right: auto;
gap: 64px;

.arrows {
justify-content: center;
}
align-items: center;
}
}

.dark .about.us.section .team.full.width.container {
background-color: colors.$black;

> .content {

Expand Down