Skip to content

Commit

Permalink
social: add bluesky and pglite links. (#2013)
Browse files Browse the repository at this point in the history
  • Loading branch information
thruflo authored Nov 20, 2024
1 parent 5b25505 commit cf55ae3
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 3 deletions.
6 changes: 4 additions & 2 deletions website/.vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -257,8 +257,10 @@ export default defineConfig({
},
siteTitle: false,
socialLinks: [
{ icon: 'discord', link: 'https://discord.electric-sql.com' },
{ icon: 'github', link: 'https://github.com/electric-sql/electric' }
{ icon: 'pglite', link: 'https://pglite.dev' },
{ icon: 'github', link: 'https://github.com/electric-sql/electric' },
{ icon: 'bluesky', link: 'https://bsky.app/profile/electric-sql.com' },
{ icon: 'discord', link: 'https://discord.electric-sql.com' }
]
},
transformHead: ({ pageData, siteData }) => {
Expand Down
35 changes: 35 additions & 0 deletions website/.vitepress/theme/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,10 @@
}
}

.vpi-social-pglite {
--icon: url('/img/icons/pglite-social.svg') !important;
}

.feature-cta a .count {
margin-left: 0.25rem;
min-width: 55px;
Expand Down Expand Up @@ -283,6 +287,10 @@ a.no-visual:hover {
}
}

.VPNavBar .content-body {
margin-top: 1px;
}

.VPNavScreenMenuLink {
text-align: center;
}
Expand All @@ -303,6 +311,33 @@ a.no-visual:hover {
content: "";
}
}
@media (min-width: 1200px) {
.VPNavBarMenuLink {
padding: 0 12px 0 14px !important;
}
.VPNavBarSocialLinks::before,
.VPNavBarSocialLinks::after {
margin-left: 10px !important;
margin-right: 10px !important;
}
}
@media (min-width: 960px) and (max-width: 1040px) {
.VPNavBarMenuLink {
padding: 0 10px !important;
}
.VPSocialLink {
width: 30px !important;
}
}
@media (min-width: 768px) and (max-width: 959px) {
.VPNavBarMenuLink {
padding: 0 9px !important;
}
.VPSocialLink {
width: 29px !important;
}
}

.DocSearch-Button-Keys {
margin-right: 2px;
}
Expand Down
2 changes: 1 addition & 1 deletion website/about/community.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ If you have feature requests or want to post ideas for discussion, please post o

You can also find us on:

- Mastondon as [@electric@fosstodon.org](https://fosstodon.org/@electric)
- Bluesky as [@electric-sql.com](https://bsky.app/profile/@electric-sql.com) and [@pglite.dev](https://bsky.app/profile/@pglite.dev)
- Twitter as [@ElectricSQL](https://twitter.com/ElectricSQL)
- LinkedIn as [company/ElectricSQL](https://www.linkedin.com/company/electric-sql)

Expand Down
3 changes: 3 additions & 0 deletions website/public/img/icons/pglite-social.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit cf55ae3

Please sign in to comment.