Skip to content

Commit

Permalink
fix: update title, description banner main document
Browse files Browse the repository at this point in the history
  • Loading branch information
thuankg1752 committed Oct 25, 2024
1 parent ab8681a commit d2360a5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion repos/laravel-like-docs
3 changes: 2 additions & 1 deletion src/pages/home/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,15 @@
padding: 0 20px;
line-height: 38px;
font-size: 1rem;
font-weight: 600;
text-decoration: unset !important;
background: var(--ifm-color-primary);
transition: color .25s, border-color .25s, background-color .25s;
color: #fff
}

.main_docs__get_started:hover {
background: var(--ifm-color-primary-light);
background: var(--ifm-color-primary-darkest);
color: #fff
}

Expand Down
7 changes: 3 additions & 4 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import styles from './home/index.module.css';
import Head from '@docusaurus/core/lib/client/exports/Head';

function HomepageHeader() {
const { siteConfig } = useDocusaurusContext();
return (
<>
<Head>
Expand Down Expand Up @@ -41,11 +40,11 @@ function HomepageHeader() {
<div className={styles.main_docs__banner}>
<div className={styles.main_docs__left_header}>
<Heading as="h1" className={`hero__title text--left ${styles.main_docs__title_banner}`}>
{siteConfig.title}
Documentation
</Heading>
<p className={`hero__subtitle text--left ${styles.main_docs__content_banner}`}>{siteConfig.tagline}</p>
<p className={`hero__subtitle text--left ${styles.main_docs__content_banner}`}>Documentation offers detailed guidelines and resources to help developers seamlessly utilize CSlant's convenient tools and features within your projects.</p>
<div className={styles.main_docs__get_started_container}>
<a href={'https://cslant.com/'} className={styles.main_docs__get_started}>Get Started</a>
<a href={'https://cslant.com'} className={styles.main_docs__get_started}>Get Started</a>
</div>
</div>
<div className={styles.main_docs__image_container}>
Expand Down

0 comments on commit d2360a5

Please sign in to comment.