Skip to content

Commit

Permalink
tiny adjustments throughout
Browse files Browse the repository at this point in the history
  • Loading branch information
danilo-leal committed Sep 21, 2023
1 parent d8f9904 commit 83ea683
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 29 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 1 addition & 2 deletions docs/src/components/about/AboutEnd.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,13 @@ import SectionHeadline from 'docs/src/components/typography/SectionHeadline';

export default function AboutEnd() {
return (
<Section bg="gradient" sx={{ p: { xs: 4, sm: 8 } }}>
<Section bg="gradient" sx={{ p: { sm: 8 } }}>
<Box
sx={{
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
position: 'relative',
zIdex: 10,
}}
>
<SectionHeadline
Expand Down
38 changes: 12 additions & 26 deletions docs/src/components/about/AboutHero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { styled, keyframes } from '@mui/material/styles';
import Section from 'docs/src/layouts/Section';
import GradientText from 'docs/src/components/typography/GradientText';
import TeamStatistics from 'docs/src/components/about/TeamStatistics';
import SectionHeadline from 'docs/src/components/typography/SectionHeadline';

const teamPhotos = [
{
Expand Down Expand Up @@ -148,32 +149,17 @@ function PhotoGallery() {
export default function AboutHero() {
return (
<Section cozy bg="gradient">
<Box
sx={{
display: 'flex',
flexDirection: 'column',
justifyContent: 'center',
alignItems: 'center',
}}
>
<Typography color="primary.main" variant="body2" fontWeight="bold">
About us
</Typography>
<Typography component="h1" variant="h2" sx={{ my: 1, textAlign: 'center' }}>
We&apos;re on a mission to make <br />{' '}
<GradientText>building better UIs effortless</GradientText>
</Typography>
<Typography
color="text.secondary"
textAlign="center"
sx={{
maxWidth: { md: 450 },
}}
>
We aim high at enabling developers & designers to bring stunning UIs to life with
unrivalled speed and ease.
</Typography>
</Box>
<SectionHeadline
alwaysCenter
overline="About us"
title={
<Typography variant="h2" sx={{ maxWidth: 600, mx: 'auto' }}>
We&apos;re on a mission to make <br />{' '}
<GradientText>building better UIs effortless</GradientText>
</Typography>
}
description="Together, we are enabling developers & designers to bring stunning UIs to life with unrivalled speed and ease."
/>
<PhotoGallery />
<TeamStatistics />
</Section>
Expand Down
2 changes: 1 addition & 1 deletion docs/src/components/about/TeamStatistics.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import Typography from '@mui/material/Typography';
const data = [
{ number: '2014', metadata: 'The starting year' },
{ number: '100%', metadata: 'Remote global team' },
{ number: '+20', metadata: 'Countries represented' },
{ number: '20+', metadata: 'Countries represented' },
];

export default function TeamStatistics() {
Expand Down

0 comments on commit 83ea683

Please sign in to comment.