Skip to content

Commit

Permalink
Mino adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
LekoArts committed Jun 7, 2018
1 parent ff36369 commit 88ed6dc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/SVG.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { width as twWidth } from '../../tailwind';
const Wrapper = styled.svg`
${tw('stroke-current absolute')};
color: ${props => props.stroke};
width: ${props => props.width};
width: ${props => props.svgWidth};
fill: ${props => props.fill};
left: ${props => props.left};
top: ${props => props.top};
Expand Down Expand Up @@ -72,7 +72,7 @@ const SVG = ({ stroke, fill, width, icon, left, top, className }) => (
viewBox={icons[icon].viewBox}
stroke={stroke}
fill={fill}
width={twWidth[`${width}`]}
svgWidth={twWidth[`${width}`]}
left={left}
top={top}
className={className}
Expand Down
5 changes: 4 additions & 1 deletion src/pages/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ const ProjectsWrapper = styled.div`
display: grid;
grid-gap: 4rem;
grid-template-columns: repeat(2, 1fr);
@media (max-width: 1200px) {
grid-gap: 3rem;
}
@media (max-width: 900px) {
grid-template-columns: 1fr;
grid-gap: 2rem;
Expand Down Expand Up @@ -218,7 +221,7 @@ const Index = ({ data: { p1, p2, p3, p4 } }) => (
<SVG icon="circle" width={6} fill={colors.white} left="4%" top="20%" />
<SVG icon="circle" width={12} fill={colors.pink} left="80%" top="60%" />
<SVG icon="box" width={6} fill={colors.orange} left="10%" top="10%" />
<SVG icon="box" width={12} fill={colors.yellow} left="20%" top="30%" />
<SVG icon="box" width={12} fill={colors.yellow} left="29%" top="26%" />
<SVG icon="hexa" width={16} stroke={colors.red} left="75%" top="30%" />
<SVG icon="hexa" width={8} stroke={colors.yellow} left="80%" top="70%" />
</Divider>
Expand Down
2 changes: 1 addition & 1 deletion src/styles/animations.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@ export const UpDownWide = styled.div`
`;

export const waveAnimation = css`
animation: ${wave} 25s linear infinite alternate;
animation: ${wave} 20s linear infinite alternate;
`;

0 comments on commit 88ed6dc

Please sign in to comment.