Skip to content
Open
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
258 changes: 258 additions & 0 deletions assets/scss/_community.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,258 @@
/* Community page — section layout (ported from tekton-website-refresh) */

.td-community {
.td-outer,
.td-main {
padding: 0;
}

.tekton-footer {
margin-right: 0;
margin-left: 0;
}
}

.community-section {
padding: 3rem 1.5rem;

&--alt {
background: #f8fafc;
}

&__inner {
max-width: 62.5rem;
margin: 0 auto;
}

&__label {
display: block;
margin-bottom: .25rem;
color: #6b7280;
font-size: $font-size-xs;
font-weight: 600;
letter-spacing: .1em;
text-transform: uppercase;
}

&__heading {
margin: 0 0 1.5rem;
color: #0f172a;
font-size: $font-size-lg;
font-weight: 700;
}
}

.community-pills {
display: flex;
flex-wrap: wrap;
gap: .75rem;
}

.community-pill {
display: inline-flex;
align-items: center;
gap: .5rem;
padding: .5rem 1rem;
color: #374151;
background: #fff;
border: 1px solid #e5e7eb;
border-radius: 2rem;
font-size: $font-size-sm;
font-weight: 500;
text-decoration: none;
transition: border-color .15s, box-shadow .15s, color .15s;

&:hover,
&:focus {
color: #4f46e5;
border-color: #818cf8;
box-shadow: 0 2px 8px rgba(79, 70, 229, .1);
text-decoration: none;
}

&__icon {
font-size: 1rem;
line-height: 1;
}
}

.community-grid {
display: grid;
gap: 1.5rem;

&--2 {
grid-template-columns: repeat(2, 1fr);
}

&--3 {
grid-template-columns: repeat(3, 1fr);
}
}

.community-card {
padding: 1.5rem;
background: #fff;
border: 1px solid #e5e7eb;
border-radius: .75rem;
transition: box-shadow .2s, border-color .2s;

&:hover {
border-color: #c7d2fe;
box-shadow: 0 4px 16px rgba(0, 0, 0, .07);
}

&__header {
display: flex;
align-items: center;
gap: .625rem;
margin-bottom: .75rem;

h3 {
margin: 0;
font-size: $font-size-md;
font-weight: 700;
}
}

&__icon {
display: flex;
flex-shrink: 0;
align-items: center;
justify-content: center;
width: 2rem;
height: 2rem;
border-radius: .5rem;
font-size: 1.1rem;

&--blue { background: #eef2ff; color: #4f46e5; }
&--amber { background: #fef3c7; color: #d97706; }
&--purple { background: #ede9fe; color: #7c3aed; }
&--teal { background: #ecfdf5; color: #059669; }
&--orange { background: #fff7ed; color: #ea580c; }
}

p {
margin: 0 0 .75rem;
color: #6b7280;
font-size: $font-size-sm;
line-height: 1.5;
}

ul {
display: flex;
flex-direction: column;
gap: .375rem;
margin: 0;
padding: 0;
list-style: none;
}

li a {
display: flex;
align-items: center;
gap: .5rem;
padding: .375rem .625rem;
color: #374151;
border-radius: .375rem;
font-size: $font-size-sm;
text-decoration: none;
transition: background .15s, color .15s;

&::before {
content: "→";
flex-shrink: 0;
opacity: .4;
font-size: $font-size-xs;
}

&:hover,
&:focus {
color: $primary;
background: #f0f0ff;
text-decoration: none;

&::before {
opacity: 1;
}
}
}

&__cta {
display: inline-block;
color: #4f46e5;
font-size: $font-size-sm;
font-weight: 500;
text-decoration: none;
transition: color .15s;

&:hover,
&:focus {
color: $primary;
text-decoration: none;
}
}
}

.community-adopters {
border-top: 1px solid #e5e7eb;

&__heading {
text-align: center;
}

&__logos {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
gap: 2rem 2.5rem;
}

&__logo {
width: auto;
max-width: 8.75rem;
height: 2rem;
object-fit: contain;
opacity: .7;
transition: opacity .2s;

&:hover {
opacity: 1;
}
}

&__link {
margin-top: 1.5rem;
text-align: center;
}
}

@media (max-width: 900px) {
.community-grid--3 {
grid-template-columns: repeat(2, 1fr);
}
}

@media (max-width: $mobile-width) {
.community-section {
padding: 2rem 1rem;

&__heading {
font-size: $font-size-xl;
}
}

.community-grid--2,
.community-grid--3 {
grid-template-columns: 1fr;
}

.community-adopters__logos {
gap: 1.25rem 1.5rem;
}

.community-adopters__logo {
max-width: 6.25rem;
height: 1.5rem;
}
}
2 changes: 2 additions & 0 deletions assets/scss/_styles_project.scss
Original file line number Diff line number Diff line change
Expand Up @@ -790,3 +790,5 @@ body > header {
}
}
}
@import "community";

5 changes: 3 additions & 2 deletions content/en/community/_index.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
---
title: Community
type: community
description: "Join the Tekton community — Slack, working groups, contribution guides, and governance."
menu:
main:
weight: 50
---

Find more information on the [Tekton Community
repository](https://github.com/tektoncd/community).
Tekton is built in the open by contributors from dozens of organizations. Whether you're fixing a typo, proposing a feature, or joining a working group, there's a place for you here.
19 changes: 19 additions & 0 deletions layouts/community/baseof.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<!doctype html>
<html lang="{{ .Site.Language.Lang }}" class="no-js">
<head>
{{ partial "head.html" . }}
</head>
<body class="td-{{ .Kind }} td-community">
<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>
{{ partial "privacy-notice.html" }}
{{ partialCached "scripts.html" . }}
</body>
</html>
15 changes: 0 additions & 15 deletions layouts/community/list.html
Original file line number Diff line number Diff line change
@@ -1,20 +1,5 @@
{{ define "main" }}

<a class="td-offset-anchor"></a>
<section class="row td-box td-box--1 position-relative td-box--danger td-box--gradient td-box--height-auto">
<div class="container text-center td-arrow-down">
<span class="h4 mb-0">
<h1>Welcome to the Tekton Community!</h1>
<p>Our mission is to be the industry-standard, cloud-native CI/CD
platform components and ecosystem.</p>
</span>
</div>
</section>

{{ partial "community-links.html" . }}

<div class="td-content">
{{ .Content }}
</div>

{{ end }}
Loading