Skip to content

Commit ff62cd1

Browse files
committed
GitHub Star CTA
- Added a "star our GitHub Repo" CTA above the footer - Links and buttons are now "accent" - Other minor style changes Signed-off-by: Jean-Baptiste Bianchi <[email protected]>
1 parent 3609949 commit ff62cd1

File tree

6 files changed

+34
-26
lines changed

6 files changed

+34
-26
lines changed

Diff for: src/components/BlogPostsList.astro

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const { posts } = Astro.props;
2020
<p>
2121
{post.data.description}
2222
</p>
23-
<a href={`/blog/${post.id}/`} class="not-prose link link-primary">Read More...</a>
23+
<a href={`/blog/${post.id}/`} class="not-prose link link-accent">Read More...</a>
2424
</li>
2525
))
2626
}

Diff for: src/components/Footer.astro

+4
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,12 @@ import {
77
DEV_MAILING_LIST_LINK,
88
RSS_LINK
99
} from "../consts";
10+
import Section from "./Section.astro";
1011
---
1112

13+
<Section title="💕 Love ServerlessWorkflow? Give us a Star on GitHub! ⭐" subTitle="Help us grow and show your support! Starring our repository helps more people discover and join our community.">
14+
<p class="text-center text-xl">👉<a class="link link-accent" target="_blank" rel="noopener" href={GITHUB_LINK}>Star our GitHub Repository</a></p>
15+
</Section>
1216
<footer class="bg-neutral text-neutral-content p-10">
1317
<div class="footer max-w-7xl mx-auto">
1418
<aside>

Diff for: src/components/Header.astro

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import ThemeIcon from './ThemeIcon.astro';
55
<div class="navbar max-w-7xl mx-auto px-4">
66
<div class="navbar-start">
77
<div class="flex gap-2">
8-
<div class="logo-header mt-1"></div>
8+
<div class="logo-header"></div>
99
<a class="text-xl font-bold" href="/">Serverless Workflow</a>
1010
</div>
1111
</div>

Diff for: src/components/Section.astro

+4-4
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ const {
3030
`py-16`
3131
),
3232
(
33-
paddingX === 'large' ? `px-16` :
33+
paddingX === 'small' ? `px-4` :
3434
paddingX === 'medium' ? `px-8` :
35-
`px-4`
35+
`px-16`
3636
),
3737
]}
3838
>
@@ -45,8 +45,8 @@ const {
4545
`max-w-7xl`
4646
),
4747
]}>
48-
{ title && <h2 class:list={['text-3xl', 'font-bold', 'text-center', !subTitle ? 'mb-12' : '']}>{ title }</h2> }
49-
{ subTitle && <p class="text-1xl text-center mb-4">{ subTitle }</p> }
48+
{ title && <h2 class:list={['text-primary', 'text-3xl', 'font-bold', 'text-center', !subTitle ? 'mb-12' : '']}>{ title }</h2> }
49+
{ subTitle && <p class="text-xl text-center mb-12">{ subTitle }</p> }
5050
{ isGrid ?
5151
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
5252
<slot />

Diff for: src/pages/community.astro

+5-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@ import Section from '../components/Section.astro';
55
---
66

77
<Layout title="Community">
8-
<Section title="Join the Serverless Workflow community" subTitle="Serverless Workflow is an open source project that anyone in the community can use, improve, and enjoy. We'd love you to join us! Here's a few ways to find out what's happening and get involved." class="bg-primary text-primary-content" />
8+
<Section title="" subTitle="" class="bg-primary text-primary-content">
9+
<!-- didn't use title/subTitle props because of the primary text on primary bg color -->
10+
<h2 class="text-3xl font-bold text-center">Join the Serverless Workflow community</h2>
11+
<p class="text-xl text-center">Serverless Workflow is an open source project that anyone in the community can use, improve, and enjoy. We'd love you to join us! Here's a few ways to find out what's happening and get involved.</p>
12+
</Section>
913
<Section>
1014
<div class="grid grid-cols-2 gap-8">
1115
<div class="prose">

Diff for: src/pages/index.astro

+19-19
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ import { Code } from 'astro:components';
1818
<img src="/img/logos/sw-logo.png" width="150px" class="mb-4 mx-auto" />
1919
<h1 class="text-5xl font-bold">Serverless Workflow</h1>
2020
<p class="pt-6">Serverless Workflow presents a vendor-neutral, open-source, and entirely community-driven ecosystem tailored for defining and executing DSL-based workflows in the realm of Serverless technology.</p>
21-
<p class="py-6">The current version is 1.0.0-alpha5, get the JSON Schema here: <a class="link link-primary" href="/schemas/1.0.0-alpha5/workflow.yaml" target="_blank" rel="noopener">YAML</a> or <a class="link link-primary" href="/schemas/1.0.0-alpha5/workflow.json" target="_blank" rel="noopener">JSON</a></p>
22-
<a class="btn btn-primary" href={GITHUB_LINK + 'blob/main/README.md'} target="_blank" rel="noopener">Learn More</a>
21+
<p class="py-6">The current version is <span class="font-bold">1.0.0-alpha5</span>, get the JSON Schema here: <a class="link link-accent" href="/schemas/1.0.0-alpha5/workflow.yaml" target="_blank" rel="noopener">YAML</a> or <a class="link link-accent" href="/schemas/1.0.0-alpha5/workflow.json" target="_blank" rel="noopener">JSON</a></p>
22+
<a class="btn btn-accent border-accent bg-base-100 text-accent" href={GITHUB_LINK + 'blob/main/README.md'} target="_blank" rel="noopener">Learn More</a>
2323
</div>
2424
</div>
2525
</div>
@@ -97,65 +97,65 @@ do:
9797

9898
<!-- Reach out -->
9999
<Section title="Reach out to us!" isGrid={true}>
100-
<Card title="Join our Meetings!" icon="fa-solid fa-users text-primary text-2xl">
100+
<Card title="Join our Meetings!" icon="fa-solid fa-users text-primary text-3xl">
101101
<p>Add the schedule to your calendar and become a part of our discussions!</p>
102-
<a class="link link-primary" href={GITHUB_LINK + 'discussions/799'} target="_blank" rel="noopener">How To Join</a>
102+
<a class="link link-accent" href={GITHUB_LINK + 'discussions/799'} target="_blank" rel="noopener">How To Join</a>
103103
</Card>
104-
<Card title="Contributions welcome!" icon="fab fa-github text-primary text-2xl">
104+
<Card title="Contributions welcome!" icon="fab fa-github text-primary text-3xl">
105105
<p>We do a <a href={GITHUB_LINK + 'pulls'} target="_blank" rel="noopener">Pull Request</a> contributions workflow on <strong>GitHub</strong>. New users are always welcome!</p>
106-
<a class="link link-primary" href={GITHUB_LINK} target="_blank" rel="noopener">To Repository</a>
106+
<a class="link link-accent" href={GITHUB_LINK} target="_blank" rel="noopener">To Repository</a>
107107
</Card>
108-
<Card title="Join us on Slack!" icon="fab fa-slack text-primary text-2xl">
108+
<Card title="Join us on Slack!" icon="fab fa-slack text-primary text-3xl">
109109
<p>Chat with our community and follow announcements at <strong>#serverless-workflow</strong></p>
110-
<a class="link link-primary" href="https://slack.cncf.io/" target="_blank" rel="noopener">Open Slack</a>
110+
<a class="link link-accent" href="https://slack.cncf.io/" target="_blank" rel="noopener">Open Slack</a>
111111
</Card>
112112
</Section>
113113

114114
<!-- Projects -->
115115
<Section title="Open Source projects supporting our DSL" class="bg-base-200" isGrid={true}>
116116
<Card title="Apache EventMesh Workflow" image="img/logos/eventmesh.png">
117117
<p>Apache EventMesh Workflow is a cloud vendor-independent, cloud-native-oriented Serverless Workflow Runtime based on Serverless Workflow specification, and provides durability, reliability, scalability, and observability capabilities.</p>
118-
<a class="link link-primary" href="https://github.com/apache/eventmesh-workflow" target="_blank" rel="noopener">Get Started</a>
118+
<a class="link link-accent" href="https://github.com/apache/eventmesh-workflow" target="_blank" rel="noopener">Get Started</a>
119119
</Card>
120120
<Card title="Apache KIE SonataFlow" image="img/logos/kogito.png">
121121
<p>SonataFlow is a powerful tool for building cloud-native workflow applications, enabling seamless orchestration and choreography of services and events.</p>
122-
<a class="link link-primary" href="https://sonataflow.org" target="_blank" rel="noopener">Get Started</a>
122+
<a class="link link-accent" href="https://sonataflow.org" target="_blank" rel="noopener">Get Started</a>
123123
</Card>
124124
<Card title="Synapse" image="img/logos/synapselogo.png">
125125
<p>Synapse is a vendor-neutral, free, open-source, and community-driven Workflow Management System (WFMS) implementing the Serverless Workflow specification. You can deploy Synapse on Docker, Kubernetes, or natively on Windows, Mac, and Linux.</p>
126-
<a class="link link-primary" href="https://github.com/serverlessworkflow/synapse" target="_blank" rel="noopener">Get Started</a>
126+
<a class="link link-accent" href="https://github.com/serverlessworkflow/synapse" target="_blank" rel="noopener">Get Started</a>
127127
</Card>
128128
</Section>
129129

130130
<!-- Adopters -->
131131
<Section title="Trusted by top brands in workflow technologies" subTitle="Already using Serverless Workflow? Join our list of top brands by letting us know here!" isGrid={true}>
132132
<Card title="Apache EventMesh" image="img/logos/eventmesh2.png" imageSize="medium">
133133
<p>A new generation serverless event middleware for building distributed event-driven applications.</p>
134-
<a class="link link-primary" href="https://github.com/apache/eventmesh" target="_blank" rel="noopener">Learn More</a>
134+
<a class="link link-accent" href="https://github.com/apache/eventmesh" target="_blank" rel="noopener">Learn More</a>
135135
</Card>
136136
<Card title="Caf" image="img/logos/caf.png" imageSize="medium">
137137
<p>Serverless Workflow is the core technology behind every KYC/KYB solution allowing them to customize it for their clients seamlessly.</p>
138-
<a class="link link-primary" href="https://caf.io/" target="_blank" rel="noopener">Learn More</a>
138+
<a class="link link-accent" href="https://caf.io/" target="_blank" rel="noopener">Learn More</a>
139139
</Card>
140140
<Card title="FaasNet" image="img/logos/faasnet.png" imageSize="medium">
141141
<p>FaasNet makes it easy to deploy functions and API to Kubernetes without repetitive, boiler-plate coding.</p>
142-
<a class="link link-primary" href="https://github.com/simpleidserver/FaasNet" target="_blank" rel="noopener">Learn More</a>
142+
<a class="link link-accent" href="https://github.com/simpleidserver/FaasNet" target="_blank" rel="noopener">Learn More</a>
143143
</Card>
144144
<Card title="Huawei" image="img/logos/huawei.png" imageSize="medium">
145145
<p>Huawei FunctionGraph hosts event-driven functions in a serverless context while ensuring high availability, high scalability, and zero maintenance.</p>
146-
<a class="link link-primary" href="https://www.huaweicloud.com/intl/en-us/product/functiongraph.html" target="_blank" rel="noopener">Learn More</a>
146+
<a class="link link-accent" href="https://www.huaweicloud.com/intl/en-us/product/functiongraph.html" target="_blank" rel="noopener">Learn More</a>
147147
</Card>
148148
<Card title="Neuroglia" image="img/logos/neuroglia.png" imageSize="medium">
149149
<p>Neuroglia is a consultancy and solution design company for the digital transformation of companies and their services.</p>
150-
<a class="link link-primary" href="https://neuroglia.io/" target="_blank" rel="noopener">Learn More</a>
150+
<a class="link link-accent" href="https://neuroglia.io/" target="_blank" rel="noopener">Learn More</a>
151151
</Card>
152152
<Card title="Red Hat" image="img/logos/redhat.png" imageSize="medium">
153153
<p>Red Hat sponsors Apache KIE SonataFlow, a tool for creating cloud-native workflows. SonataFlow supports service and event orchestration, integrating with your architecture using CloudEvents, REST calls, and other standard components.</p>
154-
<a class="link link-primary" href="https://www.redhat.com/en/technologies/cloud-computing/openshift/serverless" target="_blank" rel="noopener">Learn More</a>
154+
<a class="link link-accent" href="https://www.redhat.com/en/technologies/cloud-computing/openshift/serverless" target="_blank" rel="noopener">Learn More</a>
155155
</Card>
156156
<Card title="Warrify" image="img/logos/warrify.png" imageSize="medium">
157157
<p>Warrify offers a leading data platform for the retail industry. With "warrify Journeys" (powered by Serverless Workflows) retailers are discovering new ways how to engage their customers in real time.</p>
158-
<a class="link link-primary" href="https://www.warrify.com" target="_blank" rel="noopener">Learn More</a>
158+
<a class="link link-accent" href="https://www.warrify.com" target="_blank" rel="noopener">Learn More</a>
159159
</Card>
160160
</Section>
161161

@@ -165,7 +165,7 @@ do:
165165
<div class="mx-auto w-full md:w-1/2 lg:w-1/3 card text-center">
166166
<Card title="Neuroglia" image="img/logos/neuroglia.png" imageSize="medium">
167167
<p>Neuroglia is a consultancy and solution design company for the digital transformation of companies and their services.</p>
168-
<a class="link link-primary" href="https://neuroglia.io/" target="_blank" rel="noopener">Learn More</a>
168+
<a class="link link-accent" href="https://neuroglia.io/" target="_blank" rel="noopener">Learn More</a>
169169
</Card>
170170
</div>
171171
</Section>

0 commit comments

Comments
 (0)