Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: improve SEO #51

Merged
merged 2 commits into from
Nov 15, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
11 changes: 6 additions & 5 deletions src/components/Hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@ export const Hero = () => {
transition={{ duration: 0.5, delay: 0 }}
>
<div className="text-7xl lg:text-8xl xl:text-8xl font-extrabold tracking-wide text-white px-8 sm:px-8 md:px-20 lg:px-4 sm:mt-32 mt-16">
<div className="text-7xl lg:text-8xl xl:text-8xl font-extrabold tracking-wide text-white px-8 sm:px-8 md:px-20 lg:px-4">
<h1 className="text-7xl lg:text-8xl xl:text-8xl font-extrabold tracking-wide text-white px-8 sm:px-8 md:px-20 lg:px-4">
<span className="">Flutter</span>
</div>
<span className="bg-gradient-to-r text-transparent bg-clip-text from-blue-400 to-orange-500 via-purple-500 animate-gradient-xy inline">
Code Push
</span>
<br />
<span className="bg-gradient-to-r text-transparent bg-clip-text from-blue-400 to-orange-500 via-purple-500 animate-gradient-xy inline">
Code Push
</span>
</h1>
</div>
</motion.div>
</div>
Expand Down
1 change: 1 addition & 0 deletions src/config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export const config = {
app: 'Shorebird',
tagline: 'Build and deploy amazing multi-platform experiences with Flutter',
felangel marked this conversation as resolved.
Show resolved Hide resolved
discordUrl: 'https://discord.gg/shorebird',
githubUrl: 'https://github.com/shorebirdtech/shorebird',
twitterUrl: 'https://twitter.com/shorebirddev',
Expand Down
6 changes: 4 additions & 2 deletions src/layouts/MainLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import '@fontsource/inter/700.css';
import '@fontsource/inter/800.css';
import '@fontsource/inter/900.css';

import { config } from '../config';

export interface Props {
title: string;
}
Expand All @@ -20,8 +22,8 @@ const { title } = Astro.props;
<meta name="viewport" content="width=device-width" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="generator" content={Astro.generator} />
<meta name="description" content="Code Push for Flutter" />
<meta property="og:description" content="Code Push for Flutter" />
<meta name="description" content={config.tagline} />
<meta property="og:description" content={config.tagline} />
<meta property="og:image" content="/open-graph.png" />
<meta property="og:url" content="https://shorebird.dev" />
<meta name="twitter:image" content="/open-graph.png" />
Expand Down