Skip to content

Commit d9755cd

Browse files
reveurguyjsilvelasxd
authored
chore: a dd social links to website along with a few minor changes (#319)
The links to social networks BlueSky and Mastodon were added, and a little improvement was made to the footer of the webpage Signed-off-by: Priyanshu Singh <[email protected]> Signed-off-by: Jonathan Gonzalez V. <[email protected]> Co-authored-by: Jaime Silvela <[email protected]> Co-authored-by: Jonathan Gonzalez V. <[email protected]>
1 parent c8a2b1b commit d9755cd

File tree

6 files changed

+105
-54
lines changed

6 files changed

+105
-54
lines changed

assets/icons/bluesky.svg

Lines changed: 3 additions & 0 deletions
Loading

assets/icons/mastodon.svg

Lines changed: 3 additions & 0 deletions
Loading

layouts/index.html

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@
2828
<!--Section starts here-->
2929
<div class="text-center bg-cnp-blue md:py-36 py-14">
3030
<h1 class="md:text-xl text-white text-base">This open source project has been originally created by</h1>
31-
<a href="https://www.enterprisedb.com/products/cloud-native-postgresql-kubernetes-ha-clusters-k8s-containers-scalable"><img src="logo/edb_landscape_color_grey.svg" alt="EDB logo" class="mx-auto pt-6 h-20 md:h-24"></a>
31+
<a
32+
href="https://www.enterprisedb.com/products/cloud-native-postgresql-kubernetes-ha-clusters-k8s-containers-scalable"><img
33+
src="logo/edb_landscape_color_grey.svg" alt="EDB logo" class="mx-auto pt-6 h-20 md:h-24"></a>
3234
<div class="mx-auto md:py-24 md:px-56 px-4 py-8">
3335
<hr>
3436
</div>
@@ -42,10 +44,5 @@ <h1 class="md:text-5xl font-bold text-white leading-10 md:pt-4 text-3xl">Open So
4244
on <a href="https://github.com/cloudnative-pg/cloudnative-pg" class="text-rose-600">GitHub</a>.</p>
4345
</div>
4446
<!--Section ends here-->
45-
46-
<div class="text-center pt-24">
47-
<a href="https://github.com/cloudnative-pg/cloudnative-pg"
48-
class="bg-red-1 py-4 px-12 rounded-full text-white text-xl">View on GitHub</a>
49-
</div>
5047
</section>
5148
{{ end }}

layouts/partials/footer.html

Lines changed: 66 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,73 @@
1-
<footer class="text-center pb-24">
2-
<p class="text-sm charcoal md:w-1/2 mx-auto md:pt-10 px-6 pt-12">
1+
<footer class="section pb-0">
32

4-
Copyright &copy; CloudNativePG a Series of LF Projects, LLC.<br />
5-
For website terms of use, trademark policy and other project policies please see <a href="https://lfprojects.org/policies/">LF Projects, LLC Policies</a>.<br /><br />
3+
<div class="pt-16">
4+
<div
5+
class="max-w-6xl mx-auto grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-10 pb-10 border-b border-b-zinc-200">
6+
7+
<!-- Learn -->
8+
<div>
9+
<h3 class="text-3xl font-semibold mb-0">Learn</h3>
10+
<div class="space-y-2 text-base text-red-500">
11+
<div><a href="/docs" class="hover:text-red-700 transition">Documentation</a></div>
12+
<div><a href="https://cloudnative-pg.io/documentation/current/quickstart/"
13+
class="hover:text-red-600 transition">Quickstart Guide</a></div>
14+
<div><a href="/tags/tutorial" class="hover:text-red-600 transition">Tutorials</a></div>
15+
</div>
16+
</div>
17+
18+
<!-- Community -->
19+
<div>
20+
<h3 class="text-3xl font-semibold mb-0">Community</h3>
21+
<div class="space-y-2 text-base text-red-500">
22+
<div><a href="/blog" class="hover:text-red-700 transition">Blog</a></div>
23+
<div><a href="/releases" class="hover:text-red-600 transition">Releases</a></div>
24+
<div><a href="https://github.com/cloudnative-pg/cloudnative-pg/blob/main/CONTRIBUTING.md"
25+
class="hover:text-red-600 transition">How to Contribute</a></div>
26+
</div>
27+
</div>
628

7-
<a href="https://www.linuxfoundation.org/trademark-usage/" class="red-1">The Linux Foundation has registered trademarks and uses trademarks</a>.<br /><br />
29+
<!-- Logo + Social -->
30+
<div class="flex flex-col items-center">
31+
<a href="https://cloudnative-pg.io/">
32+
<img src="/logo/large_logo.svg" alt="CloudNativePG Logo" class="mb-2">
33+
</a>
34+
<div class="flex space-x-4 mb-2">
35+
<a href="https://cloud-native.slack.com/archives/C08MAUJ7NPM">
36+
<img src="/icons/Slack.svg" alt="Slack" title="Join our Slack channel now!">
37+
</a>
38+
<a href="https://twitter.com/CloudNativePg">
39+
<img src="/icons/Twitter.svg" alt="Twitter">
40+
</a>
41+
<a href="https://www.youtube.com/channel/UCTGH88W1BiuRRPTzJUDPJyA">
42+
<img src="/icons/YouTube.svg" alt="YouTube">
43+
</a>
44+
<a href="https://mastodon.social/@CloudNativePG" class="px-1">
45+
<img src="/icons/mastodon.svg" alt="Mastodon">
46+
</a>
47+
<a href="https://bsky.app/profile/cloudnativepg.bsky.social" class="px-1">
48+
<img src="/icons/bluesky.svg" alt="Bluesky">
49+
</a>
50+
</div>
51+
<div class="text-center pt-4">
52+
<a href="https://github.com/cloudnative-pg/cloudnative-pg"
53+
class="bg-red-1 py-2 px-12 rounded-full text-white text-xl">View on GitHub</a>
54+
</div>
55+
</div>
56+
</div>
57+
</div>
858

9-
<a href="https://www.postgresql.org/about/policies/trademarks"
10-
class="red-1">Postgres, PostgreSQL and the Slonik Logo are trademarks or
59+
<!-- Legal Text Section -->
60+
<div class="text-center pb-4">
61+
<p class="text-sm charcoal md:w-1/2 mx-auto md:pt-10 px-6 pt-12">
62+
Copyright &copy; CloudNativePG a Series of LF Projects, LLC.<br />
63+
For website terms of use, trademark policy and other project policies please see
64+
<a href="https://lfprojects.org/policies/">LF Projects, LLC Policies</a>.<br /><br />
65+
<a href="https://www.linuxfoundation.org/trademark-usage/" class="red-1">The Linux Foundation has registered
66+
trademarks and uses trademarks</a>.<br /><br />
67+
<a href="https://www.postgresql.org/about/policies/trademarks" class="red-1">Postgres, PostgreSQL and the Slonik
68+
Logo are trademarks or
1169
registered trademarks of the PostgreSQL Community Association of Canada, and
1270
used with their permission</a>.
13-
1471
</p>
72+
</div>
1573
</footer>

layouts/partials/nav.html

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!--Navbar starts here-->
22
<nav>
33
<header>
4-
<div class="md:flex md:flex-row md:px-16 md:justify-between py-5">
4+
<div class="md:flex md:flex-row md:px-16 md:justify-between py-5 items-center">
55
<div class="flex justify-between px-4 md:hidden">
66
<div>
77
{{ $image := resources.Get "logo/large_logo.svg" }}
@@ -20,7 +20,7 @@
2020
</div>
2121

2222
<div class="hidden md:block">
23-
<ul class="md:flex gap-14 text-2xl medium-gray my-5">
23+
<ul class="md:flex gap-14 text-2xl medium-gray my-5 pb-0">
2424
<li><a href="/blog">Blog</a></li>
2525
<li><a href="/tags/tutorial">Tutorials</a></li>
2626
<li><a href="/releases">Releases</a></li>
@@ -56,19 +56,10 @@
5656
</div>
5757
<!--For hamburger click -->
5858

59-
<div class="flex gap-5 my-4 fill-cnp-blue hidden md:flex">
59+
<div class="my-4 hidden md:flex">
6060
<a class="github-button" href="https://github.com/cloudnative-pg/cloudnative-pg"
6161
data-color-scheme="no-preference: light; light: light; dark: dark;" data-size="large" data-show-count="true"
6262
aria-label="Star cloudnative-pg/cloudnative-pg on GitHub">Star</a>
63-
<a href="https://cloud-native.slack.com/archives/C08MAUJ7NPM">
64-
<img src="/icons/Slack.svg" alt="Slack" title="Join our Slack channel now!">
65-
</a>
66-
<a href="https://twitter.com/CloudNativePg">
67-
<img src="/icons/Twitter.svg" alt="Twitter">
68-
</a>
69-
<a href="https://www.youtube.com/channel/UCTGH88W1BiuRRPTzJUDPJyA">
70-
<img src="/icons/YouTube.svg" alt="YouTube">
71-
</a>
7263
</div>
7364
</div>
7465
</header>

package.json

Lines changed: 27 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,29 @@
11
{
2+
"name": "cloudnative-pg",
3+
"version": "1.0.0",
4+
"description": "",
5+
"homepage": "https://github.com/cloudnative-pg/cloudnative-pg.github.io#readme",
6+
"bugs": {
7+
"url": "https://github.com/cloudnative-pg/cloudnative-pg.github.io/issues"
8+
},
9+
"repository": {
10+
"type": "git",
11+
"url": "git+https://github.com/cloudnative-pg/cloudnative-pg.github.io.git"
12+
},
13+
"license": "ASF v2",
14+
"author": "",
15+
"main": "postcss.config.js",
16+
"scripts": {
17+
"build": "NODE_ENV=production npm run css && hugo -e production",
18+
"build-dev": "NODE_ENV=development npm run css && hugo -D -e development --disableFastRender",
19+
"css": "npx tailwindcss build -i assets/css/main.css -o assets/css/output.css",
20+
"dev": "NODE_ENV=development npm run css && hugo server -D -e development --disableFastRender",
21+
"prod": "NODE_ENV=production npm run css && hugo server -e production"
22+
},
23+
"dependencies": {
24+
"postcss": "^8.3.11",
25+
"postcss-scss": "^4.0.2"
26+
},
227
"devDependencies": {
328
"@babel/cli": "^7.12.8",
429
"@babel/core": "^7.12.9",
@@ -8,33 +33,7 @@
833
"postcss-cli": "^8.3.0",
934
"postcss-nested": "^5.0.1",
1035
"postcss-object-fit-images": "^1.1.2",
11-
"postcss-preset-env": "^6.7.0",
12-
"tailwindcss": "^3.0.23"
13-
},
14-
"dependencies": {
15-
"postcss": "^8.3.11",
16-
"postcss-scss": "^4.0.2",
36+
"postcss-preset-env": "^10.2.4",
1737
"tailwindcss": "^3.0.23"
18-
},
19-
"name": "cloudnative-pg",
20-
"description": "",
21-
"version": "1.0.0",
22-
"main": "postcss.config.js",
23-
"scripts": {
24-
"css": "npx tailwindcss build -i assets/css/main.css -o assets/css/output.css",
25-
"prod": "NODE_ENV=production npm run css && hugo server -e production",
26-
"build": "NODE_ENV=production npm run css && hugo -e production",
27-
"dev": "NODE_ENV=development npm run css && hugo server -D -e development --disableFastRender",
28-
"build-dev": "NODE_ENV=development npm run css && hugo -D -e development --disableFastRender"
29-
},
30-
"repository": {
31-
"type": "git",
32-
"url": "git+https://github.com/EnterpriseDB/temp-cnp-webpage.git"
33-
},
34-
"author": "",
35-
"license": "ASF v2",
36-
"bugs": {
37-
"url": "https://github.com/EnterpriseDB/temp-cnp-webpage/issues"
38-
},
39-
"homepage": "https://github.com/EnterpriseDB/temp-cnp-webpage#readme"
38+
}
4039
}

0 commit comments

Comments
 (0)