Skip to content

Commit

Permalink
Website: SEO tags
Browse files Browse the repository at this point in the history
  • Loading branch information
mnapoli committed Oct 10, 2023
1 parent ffc488d commit 53a6fb5
Show file tree
Hide file tree
Showing 30 changed files with 74 additions and 27 deletions.
4 changes: 3 additions & 1 deletion docs/community.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
export const introduction = 'A collection of links to places where to discuss and learn about Bref.';
import { NextSeo } from 'next-seo';

<NextSeo description="A collection of links to places where to discuss and learn about Bref." />

# Community

Expand Down
3 changes: 2 additions & 1 deletion docs/default/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ import { Cards, Card } from 'nextra/components';
// Path relative to the copy in the `website/` folder
import { LaravelIcon } from '../../../components/icons/LaravelIcon';
import { SymfonyIcon } from '../../../components/icons/SymfonyIcon';
import { NextSeo } from 'next-seo';

export const introduction = 'Run PHP serverless on AWS Lambda using Bref.';
<NextSeo description="Run PHP serverless on AWS Lambda using Bref." />

# Getting started - Bref with any framework

Expand Down
3 changes: 2 additions & 1 deletion docs/environment/database-planetscale.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Callout } from 'nextra/components';
import { NextSeo } from 'next-seo';

export const introduction = 'Configure Bref to use a PlanetScale database in your PHP application on AWS Lambda.';
<NextSeo description="Configure Bref to use a PlanetScale database in your PHP application on AWS Lambda." />

# Using PlanetScale with Bref on AWS Lambda

Expand Down
3 changes: 2 additions & 1 deletion docs/environment/database.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Callout } from 'nextra/components';
import { NextSeo } from 'next-seo';

export const introduction = 'Configure Bref to use a database in your PHP application on AWS Lambda.';
<NextSeo description="Configure Bref to use a database in your PHP application on AWS Lambda." />

# Using a database

Expand Down
4 changes: 3 additions & 1 deletion docs/environment/logs.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
export const introduction = 'Learn how to write and read PHP logs on AWS Lambda using Bref.';
import { NextSeo } from 'next-seo';

<NextSeo description="Learn how to write and read PHP logs on AWS Lambda using Bref." />

# Logs

Expand Down
3 changes: 2 additions & 1 deletion docs/environment/performances.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Callout } from 'nextra/components';
import { NextSeo } from 'next-seo';

export const introduction = 'Performance tuning and optimizations for serverless PHP applications on AWS Lambda.';
<NextSeo description="Performance tuning and optimizations for serverless PHP applications on AWS Lambda." />

# Performance

Expand Down
3 changes: 2 additions & 1 deletion docs/environment/php.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Callout } from 'nextra/components';
import { NextSeo } from 'next-seo';

export const introduction = 'Configure PHP versions, extensions and options for your serverless application using Bref.';
<NextSeo description="Configure PHP versions, extensions and options for your serverless application using Bref." />

# Configuring PHP

Expand Down
4 changes: 3 additions & 1 deletion docs/environment/serverless-yml.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
export const introduction = 'Configure your application with the serverless.yml file.';
import { NextSeo } from 'next-seo';

<NextSeo description="Configure your application with the serverless.yml file." />

# serverless.yml

Expand Down
4 changes: 3 additions & 1 deletion docs/environment/storage.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
export const introduction = 'Learn how to store data and files in serverless PHP applications running on AWS Lambda.';
import { NextSeo } from 'next-seo';

<NextSeo description="Learn how to store data and files in serverless PHP applications running on AWS Lambda." />

# Storage on AWS Lambda

Expand Down
3 changes: 2 additions & 1 deletion docs/environment/variables.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Callout } from 'nextra/components';
import { NextSeo } from 'next-seo';

export const introduction = 'Define environment variables for your Bref application.';
<NextSeo description="Define environment variables for your Bref application." />

# Environment variables

Expand Down
4 changes: 3 additions & 1 deletion docs/index.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
export const introduction = 'An introduction to what serverless and Bref can offer for PHP applications.';
import { NextSeo } from 'next-seo';

<NextSeo description="An introduction to what serverless and Bref can offer for PHP applications." />

# What is Bref and serverless?

Expand Down
3 changes: 2 additions & 1 deletion docs/laravel/getting-started.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Callout } from 'nextra/components';
import { NextSeo } from 'next-seo';

export const introduction = 'Run Laravel serverless on AWS Lambda using Bref.';
<NextSeo description="Run Laravel serverless on AWS Lambda using Bref." />

# Serverless Laravel - Getting started

Expand Down
4 changes: 3 additions & 1 deletion docs/laravel/octane.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
export const introduction = 'Run Laravel with Octane on AWS Lambda using Bref.';
import { NextSeo } from 'next-seo';

<NextSeo description="Run Laravel with Octane on AWS Lambda using Bref." />

# Laravel Octane

Expand Down
3 changes: 2 additions & 1 deletion docs/laravel/passport.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Steps } from 'nextra/components';
import { NextSeo } from 'next-seo';

export const introduction = 'Laravel Passport on AWS Lambda with Bref';
<NextSeo description="Laravel Passport on AWS Lambda with Bref" />

# Laravel Passport

Expand Down
3 changes: 2 additions & 1 deletion docs/laravel/queues.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Callout } from 'nextra/components';
import { NextSeo } from 'next-seo';

export const introduction = 'Run Laravel Queues on AWS Lambda and SQS using Bref.';
<NextSeo description="Run Laravel Queues on AWS Lambda and SQS using Bref." />

# Laravel Queues

Expand Down
4 changes: 3 additions & 1 deletion docs/runtimes.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import { Callout } from 'nextra/components';
export const introduction = 'Bref provides runtimes to bring support for PHP on AWS Lambda.';
import { NextSeo } from 'next-seo';

<NextSeo description="PHP runtimes for PHP on AWS Lambda, provided by the Bref open-source project." />

# PHP runtimes for AWS Lambda

Expand Down
4 changes: 3 additions & 1 deletion docs/runtimes/console.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
export const introduction = 'Learn how to run serverless console commands on AWS Lambda with Symfony Console or Laravel Artisan.';
import { NextSeo } from 'next-seo';

<NextSeo description="Learn how to run serverless console commands on AWS Lambda with Symfony Console or Laravel Artisan." />

# Console runtime

Expand Down
4 changes: 3 additions & 1 deletion docs/runtimes/fpm-runtime.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import { Callout } from 'nextra/components';
export const introduction = 'Learn how to run serverless HTTP applications with PHP on AWS Lambda using Bref.';
import { NextSeo } from 'next-seo';

<NextSeo description="Learn how to run serverless HTTP applications with PHP on AWS Lambda using Bref." />

# PHP-FPM runtime for AWS Lambda

Expand Down
4 changes: 3 additions & 1 deletion docs/runtimes/function.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import { Callout, Tab, Tabs } from 'nextra/components';
export const introduction = 'Run serverless event-driven PHP functions on AWS Lambda using Bref.';
import { NextSeo } from 'next-seo';

<NextSeo description="Run serverless event-driven PHP functions on AWS Lambda using Bref." />

# PHP functions runtime for AWS Lambda

Expand Down
3 changes: 2 additions & 1 deletion docs/serverless-costs.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { useState } from 'react';
import { NextSeo } from 'next-seo';

export const introduction = 'Calculate the costs of running your PHP application on AWS Lambda.';
<NextSeo description="Calculate the costs of running your PHP application on AWS Lambda." />

# Costs of a serverless application

Expand Down
3 changes: 2 additions & 1 deletion docs/setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ import { Callout, Steps, Cards, Card } from 'nextra/components';
// Path relative to the copy in the `website/` folder
import { LaravelIcon } from '../../components/icons/LaravelIcon';
import { SymfonyIcon } from '../../components/icons/SymfonyIcon';
import { NextSeo } from 'next-seo';

export const introduction = 'Getting ready to use Bref.';
<NextSeo description="Getting ready to use Bref." />

# Setup

Expand Down
3 changes: 2 additions & 1 deletion docs/setup/aws-keys.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Callout } from 'nextra/components';
import { NextSeo } from 'next-seo';

export const introduction = 'How to create AWS access keys for Bref';
<NextSeo description="How to create AWS access keys for Bref" />

# Creating AWS access keys

Expand Down
3 changes: 2 additions & 1 deletion docs/symfony/getting-started.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Callout } from 'nextra/components';
import { NextSeo } from 'next-seo';

export const introduction = 'Run Symfony serverless on AWS Lambda using Bref.';
<NextSeo description="Run Symfony serverless on AWS Lambda using Bref." />

# Serverless Symfony - Getting started

Expand Down
3 changes: 2 additions & 1 deletion docs/symfony/messenger.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Callout } from 'nextra/components';
import { NextSeo } from 'next-seo';

export const introduction = 'Run Symfony Messenger on AWS Lambda with SQS using Bref.';
<NextSeo description="Run Symfony Messenger on AWS Lambda with SQS using Bref." />

# Symfony Messenger

Expand Down
4 changes: 3 additions & 1 deletion docs/use-cases/cron.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import { Tab, Tabs } from 'nextra/components';
export const introduction = 'Learn how to create serverless cron functions with PHP on AWS Lambda.';
import { NextSeo } from 'next-seo';

<NextSeo description="Learn how to create serverless cron functions with PHP on AWS Lambda." />

# Cron tasks on AWS Lambda

Expand Down
3 changes: 2 additions & 1 deletion docs/use-cases/http/custom-domains.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Callout } from 'nextra/components';
import { NextSeo } from 'next-seo';

export const introduction = 'Configure custom domain names for your web applications.';
<NextSeo description="Configure custom domain names for your web applications." />

# Custom domain names

Expand Down
3 changes: 2 additions & 1 deletion docs/use-cases/websites.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Callout, Tab, Tabs } from 'nextra/components';
import { NextSeo } from 'next-seo';

export const introduction = 'Learn how to deal with assets and static files to deploy serverless PHP websites.';
<NextSeo description="Learn how to deal with assets and static files to deploy serverless PHP websites." />

# Serverless PHP websites

Expand Down
3 changes: 3 additions & 0 deletions website/src/pages/credits.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import { useData } from 'nextra/data';
import { getContributors, mergeAndSortContributors } from '../github/contributors';
import { getSponsors } from '../github/sponsors';
import { NextSeo } from 'next-seo';

<NextSeo description="Bref credits: all the awesome people behind Bref." />

export const getStaticProps = async () => {
let sponsors;
Expand Down
3 changes: 3 additions & 0 deletions website/src/pages/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ import Sponsors from '../components/home/sponsors';
import Intro from '../components/home/intro';
import { useData } from 'nextra/data';
import { getBrefInvocations } from '../aws/invocations';
import { NextSeo } from 'next-seo';

<NextSeo description="Bref is a framework to write and deploy serverless PHP applications on AWS Lambda." />

export async function getStaticProps() {
let invocations;
Expand Down
3 changes: 3 additions & 0 deletions website/src/pages/support.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
import Plans from '../components/support/plans';
import { NextSeo } from 'next-seo';

<NextSeo description="Support plans for serverless migrations to AWS with Bref and PHP." />

<div className="py-24 sm:py-32">
<div className="mx-auto max-w-7xl px-6 lg:px-8">
Expand Down

0 comments on commit 53a6fb5

Please sign in to comment.