Skip to content

Commit 7554977

Browse files
committed
SEO optimisations including social card, landing page title and description, and relevant config changes
This commit 1. Created a homemade 1200x630 SVG social card for display 2. Changed the config to use that SVG 3. Changed standalone pages' (index, community and publication) `title` and `description` field to allow social medias to generate more informative description
1 parent f4335ec commit 7554977

File tree

5 files changed

+297
-6
lines changed

5 files changed

+297
-6
lines changed

docusaurus.config.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,7 @@ const config: Config = {
6666
],
6767

6868
themeConfig: {
69-
// Replace with your project's social card
70-
image: 'img/docusaurus-social-card.jpg',
69+
image: 'img/lf-social-card.svg',
7170
navbar: {
7271
logo: {
7372
alt: 'The Lingua Franca Logo',

src/components/Community/index.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,10 @@ export const SocialMediaCard = ({
4949
export default function Community(): JSX.Element {
5050
const { siteConfig } = useDocusaurusContext();
5151
return (
52-
<Layout>
52+
<Layout
53+
title="Community"
54+
description="Intuitive concurrent programming in any language"
55+
>
5356
{/* Social media */}
5457
{/* Active contributors */}
5558
<div className="section">

src/components/Publications/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const notablePapers = [
4949

5050
export default () => {
5151
return (
52-
<Layout description="Publications of the Lingua Franca">
52+
<Layout title="Publications" description="Intuitive concurrent programming in any language">
5353
<div className="section">
5454
<div className="container">
5555
<Heading

src/pages/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ export default function Home(): JSX.Element {
146146
const { siteConfig } = useDocusaurusContext();
147147
return (
148148
<Layout
149-
title={`Welcome`}
150-
description="Intuitive concurrent programming in any language"
149+
title="Intuitive concurrent programming in any language"
150+
description="Build time-sensitive, concurrent, and distributed systems effortlessly"
151151
>
152152
<main>
153153
<HeroBanner />

0 commit comments

Comments
 (0)