docs: Use smaller title on mobile (#1928)
This commit is contained in:
parent
b14958b1b0
commit
658695dca5
@ -1,6 +1,6 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
title: 'VisionCamera',
|
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',
|
url: 'https://react-native-vision-camera.com',
|
||||||
baseUrl: '/',
|
baseUrl: '/',
|
||||||
onBrokenLinks: 'throw',
|
onBrokenLinks: 'throw',
|
||||||
@ -121,7 +121,7 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'og:description',
|
name: 'og:description',
|
||||||
content: '📸 The Camera library that sees the vision.'
|
content: '📸 A powerful, high-performance React Native Camera library.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'og:image',
|
name: 'og:image',
|
||||||
|
@ -84,3 +84,9 @@ a:hover {
|
|||||||
.theme-code-block {
|
.theme-code-block {
|
||||||
display: flow-root;
|
display: flow-root;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: 600px) {
|
||||||
|
.hero__title {
|
||||||
|
font-size: 2.5rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -58,7 +58,7 @@ function Home() {
|
|||||||
return (
|
return (
|
||||||
<Layout
|
<Layout
|
||||||
title="VisionCamera Documentation"
|
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)}>
|
<header className={clsx('hero hero--primary', styles.heroBanner)}>
|
||||||
<div className="container">
|
<div className="container">
|
||||||
<h1 className="hero__title">{siteConfig.title}</h1>
|
<h1 className="hero__title">{siteConfig.title}</h1>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "react-native-vision-camera",
|
"name": "react-native-vision-camera",
|
||||||
"version": "3.3.0",
|
"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",
|
"main": "lib/commonjs/index",
|
||||||
"module": "lib/module/index",
|
"module": "lib/module/index",
|
||||||
"types": "lib/typescript/index.d.ts",
|
"types": "lib/typescript/index.d.ts",
|
||||||
|
Loading…
Reference in New Issue
Block a user