-
Notifications
You must be signed in to change notification settings - Fork 381
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add banner and move tetragon slides
Signed-off-by: Anna Artemova <[email protected]>
- Loading branch information
1 parent
b97f5b3
commit 6e4101e
Showing
7 changed files
with
139 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
@import "button"; | ||
@import "community-banner"; | ||
@import "home"; | ||
@import "header"; | ||
@import "footer"; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
.td-community-banner { | ||
font-size: 14px; | ||
text-align: center; | ||
|
||
a { | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
padding: 9px 14px; | ||
color: #253737; | ||
background-color: #E2F7F7; | ||
border-bottom: 1px solid #42D7D74F; | ||
|
||
|
||
&:hover, | ||
&:focus-visible { | ||
background-color: #B0EDED80; | ||
} | ||
|
||
@media screen and (max-width: 767px) {} | ||
} | ||
|
||
svg { | ||
flex-shrink: 0; | ||
} | ||
} | ||
|
||
.td-community-banner__text { | ||
max-width: calc(100% - 18px); | ||
text-wrap: nowrap; | ||
text-overflow: ellipsis; | ||
overflow: hidden; | ||
} | ||
|
||
.td-community-banner__main-text { | ||
margin-left: 14px; | ||
margin-right: 4px; | ||
padding-left: 14px; | ||
font-weight: 700; | ||
letter-spacing: -0.28px; | ||
border-left: 1px solid #253737A6; | ||
|
||
a:hover &, | ||
a:focus-visible & { | ||
color: #5C6D70; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<!doctype html> | ||
<html itemscope itemtype="http://schema.org/WebPage" lang="{{ .Site.Language.Lang }}" class="no-js"> | ||
<head> | ||
{{ partial "head.html" . }} | ||
</head> | ||
<body class="td-{{ .Kind }}{{ with .Page.Params.body_class }} {{ . }}{{ end }}"> | ||
{{ partial "community-banner.html" . }} | ||
<header> | ||
{{ partial "navbar.html" . }} | ||
</header> | ||
<div class="container-fluid td-default td-outer"> | ||
<main role="main" class="td-main"> | ||
{{ block "main" . }}{{ end }} | ||
</main> | ||
{{ partial "footer.html" . }} | ||
</div> | ||
{{ partialCached "scripts.html" . }} | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<div class="td-community-banner"> | ||
<a class="td-community-banner__link" href="https://isogo.to/tetragon-meeting-notes" target="_blank" | ||
rel="noopener noreferrer"> | ||
<span class="td-community-banner__text"> | ||
Join us at the monthly Tetragon Community Meeting! | ||
<span class="td-community-banner__main-text"> | ||
Learn more | ||
</span> | ||
</span> | ||
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 15 14" fill="none"> | ||
<path | ||
d="M2.5 6.62891C2.08579 6.62891 1.75 6.96469 1.75 7.37891C1.75 7.79312 2.08579 8.12891 2.5 8.12891V6.62891ZM13.5 6.62891L2.5 6.62891V8.12891L13.5 8.12891V6.62891Z" | ||
fill="currentColor" /> | ||
<path d="M8.61133 2.5L13.5002 7.2735L8.61133 12.2444" stroke="currentColor" stroke-width="1.5" | ||
stroke-linecap="round" stroke-linejoin="round" /> | ||
</svg> | ||
</a> | ||
</div> |