docs: Use smaller title on mobile (#1928)

This commit is contained in:
Marc Rousavy 2023-10-05 14:50:36 +02:00 committed by GitHub
parent b14958b1b0
commit 658695dca5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 4 deletions

View File

@ -1,6 +1,6 @@
module.exports = {
title: 'VisionCamera',
tagline: '📸 The Camera library that sees the vision.',
tagline: '📸 A powerful, high-performance React Native Camera library.',
url: 'https://react-native-vision-camera.com',
baseUrl: '/',
onBrokenLinks: 'throw',
@ -121,7 +121,7 @@ module.exports = {
},
{
name: 'og:description',
content: '📸 The Camera library that sees the vision.'
content: '📸 A powerful, high-performance React Native Camera library.'
},
{
name: 'og:image',

View File

@ -84,3 +84,9 @@ a:hover {
.theme-code-block {
display: flow-root;
}
@media (max-width: 600px) {
.hero__title {
font-size: 2.5rem;
}
}

View File

@ -58,7 +58,7 @@ function Home() {
return (
<Layout
title="VisionCamera Documentation"
description="📸 The Camera library that sees the vision.">
description="📸 A powerful, high-performance React Native Camera library.">
<header className={clsx('hero hero--primary', styles.heroBanner)}>
<div className="container">
<h1 className="hero__title">{siteConfig.title}</h1>

View File

@ -1,7 +1,7 @@
{
"name": "react-native-vision-camera",
"version": "3.3.0",
"description": "The Camera library that sees the vision.",
"description": "A powerful, high-performance React Native Camera library.",
"main": "lib/commonjs/index",
"module": "lib/module/index",
"types": "lib/typescript/index.d.ts",