diff --git a/src/assets/codepen.svg b/src/assets/codepen.svg deleted file mode 100644 index 7e154c0..0000000 --- a/src/assets/codepen.svg +++ /dev/null @@ -1,10 +0,0 @@ - \ No newline at end of file diff --git a/src/assets/codepen.tsx b/src/assets/codepen.tsx new file mode 100644 index 0000000..e6388ca --- /dev/null +++ b/src/assets/codepen.tsx @@ -0,0 +1,21 @@ +import * as React from 'react'; + +function SvgCodepen() { + return ( + + + + + + + + + ); +} + +export default SvgCodepen; + diff --git a/src/assets/github.jpg b/src/assets/github.jpg deleted file mode 100644 index c5b234a..0000000 Binary files a/src/assets/github.jpg and /dev/null differ diff --git a/src/assets/github.svg b/src/assets/github.svg deleted file mode 100644 index 8a75650..0000000 --- a/src/assets/github.svg +++ /dev/null @@ -1,6 +0,0 @@ - \ No newline at end of file diff --git a/src/assets/github.tsx b/src/assets/github.tsx new file mode 100644 index 0000000..d350218 --- /dev/null +++ b/src/assets/github.tsx @@ -0,0 +1,20 @@ +import * as React from 'react'; + +function SvgGithub() { + return ( + + + + + ); +} + +export default SvgGithub; + diff --git a/src/assets/linkedin.svg b/src/assets/linkedin.svg deleted file mode 100644 index 8558ec9..0000000 --- a/src/assets/linkedin.svg +++ /dev/null @@ -1,7 +0,0 @@ - \ No newline at end of file diff --git a/src/assets/linkedin.tsx b/src/assets/linkedin.tsx new file mode 100644 index 0000000..a113e40 --- /dev/null +++ b/src/assets/linkedin.tsx @@ -0,0 +1,20 @@ +import * as React from 'react'; + +function SvgLinkedin() { + return ( + + + + + + + ); +} + +export default SvgLinkedin; + diff --git a/src/assets/stackoverflow.svg b/src/assets/stackoverflow.svg deleted file mode 100644 index 6a21879..0000000 --- a/src/assets/stackoverflow.svg +++ /dev/null @@ -1,6 +0,0 @@ - \ No newline at end of file diff --git a/src/assets/stackoverflow.tsx b/src/assets/stackoverflow.tsx new file mode 100644 index 0000000..1e2e234 --- /dev/null +++ b/src/assets/stackoverflow.tsx @@ -0,0 +1,22 @@ +import * as React from 'react'; + +function SvgStackoverflow() { + return ( + + + + + ); +} + +export default SvgStackoverflow; + diff --git a/src/demo/Content.tsx b/src/demo/Content.tsx index 753c7dc..13f0e76 100644 --- a/src/demo/Content.tsx +++ b/src/demo/Content.tsx @@ -32,18 +32,18 @@ export const ChangingBackground: FC = ({ ); -export const MediaContent: FC = ({ imgSrc, description }) => ( +export const MediaContent: FC = ({ children }) => (
- {description} - {description} + {children}
); diff --git a/src/demo/data.tsx b/src/demo/data.tsx index 4d8f92c..646819e 100644 --- a/src/demo/data.tsx +++ b/src/demo/data.tsx @@ -2,10 +2,10 @@ import React from 'react'; -import codepenlogo from '../assets/codepen.svg'; -import githublogo from '../assets/github.svg'; -import likedinlogo from '../assets/linkedin.svg'; -import stackoverflowlogo from '../assets/stackoverflow.svg'; +import CodePen from '../assets/codepen'; +import Github from '../assets/github'; +import Linkedin from '../assets/linkedin'; +import StacOverflow from '../assets/stackoverflow'; import type { Configuration } from '../types/Configuration.types'; import Content, { ChangingBackground, MediaContent } from './Content'; @@ -163,23 +163,34 @@ export const configuration4: Configuration = { items: [ { id: 'green', - content: + content: ( + + + + ) }, { id: 'red', - content: + content: ( + + + + ) }, { id: 'blue', - content: + content: ( + + + + ) }, { id: 'yellow', content: ( - + + + ) } ], @@ -187,15 +198,18 @@ export const configuration4: Configuration = { height: 400, timing: 3000, cardStyles: { - borderRadius: '0', + borderRadius: '56px', padding: '0', - backgroundColor: 'none' + backgroundColor: 'none', + boxShadow: 'none' }, stackCardStyles: { secondColor: '#b0521f', thirdColor: '#8c4018' }, - containerStyles + containerStyles: { + padding: '0% 5% 0' + } }; export default configuration;