Skip to content

Commit

Permalink
Feat/seo changes (#24)
Browse files Browse the repository at this point in the history
* feat(seo changes): added meta data and make some changes

* feat(seo changes): removed console log

* feat(seo changes): removed title props from home page

* feat(home header): reduced home header image size
  • Loading branch information
ankitpmi authored Jul 1, 2024
1 parent 56349d7 commit 7545222
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 deletions.
6 changes: 1 addition & 5 deletions documentation/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,11 +134,7 @@ const config: Config = {
},
colorMode:{
disableSwitch: true
},
metadata: [
{name: 'description', content: 'Develop high-performance applications using our comprehensive React Native Boilerplate for a smooth development process with integrated support for TypeScript.'},
],

}
} satisfies Preset.ThemeConfig,

trailingSlash: true,
Expand Down
4 changes: 2 additions & 2 deletions documentation/src/components/HomepageHeader/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ import Link from '@docusaurus/Link';
import Heading from '@theme/Heading';
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
import styles from './styles.module.css';
import HeaderImg from '../../../static/img/hero_header_img.png'
import HeaderImg from '../../../static/img/hero_header_img.webp'

const HomepageHeader = () => {
const { siteConfig } = useDocusaurusContext();
return (
<header className={clsx('hero--primary', styles.heroBanner)}>
<div className={clsx(styles.header_img_container)}>
<div className={clsx(styles.header_img_wrapper)}>
<img src={HeaderImg} alt="header-hero-img" className={clsx(styles.header_img)} />
<img src={HeaderImg} alt="react-native-boilerplate" className={clsx(styles.header_img)} />
</div>
<div className={'container h-full flex items-start lg:items-center xl:items-center 2xl:items-center z-50'}>
<div className={clsx(styles.header_content_view)}>
Expand Down
Binary file removed documentation/static/img/hero_header_img.png
Binary file not shown.
Binary file added documentation/static/img/hero_header_img.webp
Binary file not shown.

0 comments on commit 7545222

Please sign in to comment.