Skip to content

Commit 71e2f85

Browse files
committed
Added download button to hero
1 parent 83d0a33 commit 71e2f85

File tree

3 files changed

+12
-8
lines changed

3 files changed

+12
-8
lines changed

components/common/layout/Column.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ const Column = styled.div`
1414
max-width: ${Number(val ?? 1)/12*100}%;
1515
`) : `
1616
flex: 1;
17+
max-width: 100%;
1718
`}
1819
${({ offset }) => getResponsivePropStyles(offset, (val) => `
1920
margin-left: ${Number(val ?? 1)/12*100}%;

components/pages/home/sections/HeroSection.jsx

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { Parallax } from 'react-parallax';
55
import Typography from '@/components/common/Typography';
66
import { Row, Column, Section, Stack } from '@/components/common/layout';
77
import HeroImage from '../HeroImage';
8+
import Button from '../../../common/Button';
89

910
const ProductIconWrap = styled.div`
1011
width: 128px;
@@ -19,9 +20,9 @@ const HeroSection = () => {
1920
renderLayer={(percentage) => {
2021
return (
2122
<Section contained gutterTop>
22-
<Row align="center">
23+
<Row align="center" style={{ position: 'relative', zIndex: 1 }}>
2324
<Column width={{ md: 12, lg: 8 }}>
24-
<Stack gap={2}>
25+
<Stack gap={2} align="center">
2526
<ProductIconWrap>
2627
<Image
2728
width={128}
@@ -38,16 +39,18 @@ const HeroSection = () => {
3839
entirely and unapologetically for macOS. Open-source, free
3940
forever.
4041
</Typography>
41-
<Typography variant="body" color="tertiary">
42+
<Typography variant="body" color="tertiary" gutterBottom>
4243
Features include syntax highlighting, code completion, project
4344
find and replace, snippets, terminal, task running, debugging,
4445
git integration, code review, extensions, and more.
4546
</Typography>
47+
<Button>Download Preview</Button>
48+
<Typography variant="body-reduced" color="tertiary">v0.0.1 | macOS 13+</Typography>
4649
</Stack>
4750
</Column>
4851
</Row>
4952
<Row align="center">
50-
<Column style={{ width: '100%'}}>
53+
<Column>
5154
<HeroImage percentage={percentage} />
5255
</Column>
5356
</Row>

components/pages/home/sections/IntroFeaturesSection.jsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Sliders } from 'react-feather';
1+
import { Feather, GitHub, Sliders, Zap } from 'react-feather';
22
import Tile from '@/components/common/Tile';
33
import Typography from '@/components/common/Typography';
44
import { Grid, GridItem, Section, Stack } from '@/components/common/layout';
@@ -9,7 +9,7 @@ const IntroFeaturesSection = () => {
99
<Grid columns={{ xs: 1, md: 2, lg: 4 }} gap>
1010
<GridItem as={Tile}>
1111
<Stack gap={2}>
12-
<Sliders />
12+
<Zap />
1313
<Typography variant="eyebrow-reduced">macOS Native</Typography>
1414
<Typography variant="body-reduced">
1515
Harness the full power of your Mac.
@@ -18,7 +18,7 @@ const IntroFeaturesSection = () => {
1818
</GridItem>
1919
<GridItem as={Tile}>
2020
<Stack gap={2}>
21-
<Sliders />
21+
<Feather />
2222
<Typography variant="eyebrow-reduced">
2323
Lightweight Yet Powerful
2424
</Typography>
@@ -29,7 +29,7 @@ const IntroFeaturesSection = () => {
2929
</GridItem>
3030
<GridItem as={Tile}>
3131
<Stack gap={2}>
32-
<Sliders />
32+
<GitHub />
3333
<Typography variant="eyebrow-reduced">
3434
Completely Open Source
3535
</Typography>

0 commit comments

Comments
 (0)