Skip to content

Commit

Permalink
Update: Maintain Slug Hierarchy
Browse files Browse the repository at this point in the history
Add Description of the project beneath the `Slogan` component
maintaining visual hierarchy and align the description text to the left
of the page for mobile view
  • Loading branch information
hemanth-kotagiri committed Feb 9, 2023
1 parent c237c22 commit 9cead8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/Hero/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ const Hero = () => {
<div className={`container ${styles.container}`}>
<div className={styles.heroContent}>
<h1 className={`hero__title ${styles.heroTitle}`}>LunarVim</h1>
<Slogan />
<p className={`hero__description ${styles.heroDescription} `}>
An IDE layer for{' '}
<a href='https://neovim.io' target={'_blank'}>
Neovim
</a>{' '}
with sane defaults. Completely free and community driven.
</p>
<Slogan />
<div className={styles.buttons}>
<Link
className={`button button--primary button--lg ${
Expand Down
5 changes: 1 addition & 4 deletions src/components/Hero/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
}

.heroDescription {
text-align: center;
text-align: left;
}

.heroBanner > .container {
Expand Down Expand Up @@ -141,7 +141,4 @@
.heroContent {
max-width: unset;
}
.heroDescription {
text-align: left;
}
}

0 comments on commit 9cead8a

Please sign in to comment.