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

Add header to the GP Integrations page #600

Merged
merged 1 commit into from
Nov 3, 2023
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
31 changes: 26 additions & 5 deletions src/assets/less/pages/globalping/integrations.less
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,37 @@
display: flex;
flex-direction: column;
align-items: center;
row-gap: 24px;

@media (min-width: @screen-sm-min) {
row-gap: 48px;
}

.c-gp-top-navigation {
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .04);
}

&_header {
display: flex;
flex-direction: column;
text-align: flex-start;
row-gap: 8px;
width: 100%;
max-width: 1064px;
padding: 48px 24px 32px;

&_title, &_descr {
color: #17233a;
margin: 0;
}

&_title {
font-size: 16px;
font-weight: 600;
line-height: 24px;
}

&_descr {
font-size: 14px;
line-height: 20px;
}
}

.c-tiles {
width: 100%;
max-width: 1064px;
Expand Down
10 changes: 10 additions & 0 deletions src/views/pages/globalping/integrations.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,16 @@
<div class="p-globalping-integrations">
<c-gp-top-navigation currentName="globalping-integrations"></c-gp-top-navigation>

<div class="p-globalping-integrations_header">
<h1 class="p-globalping-integrations_header_title">
Globalping Integrations
</h1>

<h2 class="p-globalping-integrations_header_descr">
A fully-featured REST API for your own app, easy-to-use CLI for scripting, or a no-code chatbot – we have it all
</h2>
</div>

<c-tiles tilesData="{{tilesData}}"></c-tiles>
</div>

Expand Down