diff --git a/src/components/HomepageFeatures/index.js b/src/components/HomepageFeatures/index.js index acc7621..b8e7d9f 100644 --- a/src/components/HomepageFeatures/index.js +++ b/src/components/HomepageFeatures/index.js @@ -1,50 +1,66 @@ import clsx from 'clsx'; import Heading from '@theme/Heading'; import styles from './styles.module.css'; +import Link from '@docusaurus/Link'; +import useBaseUrl from '@docusaurus/useBaseUrl'; const FeatureList = [ { - title: 'Easy to Use', - Svg: require('@site/static/img/undraw_docusaurus_mountain.svg').default, + title: 'European Union', + image: '/img/Flag_of_Europe.svg', + redirectUrl : 'docs/europe/introduction-to-eu-privacy', description: ( <> - Docusaurus was designed from the ground up to be easily installed and - used to get your website up and running quickly. + Introduction to privacy regulations in European Union. ), }, { - title: 'Focus on What Matters', - Svg: require('@site/static/img/undraw_docusaurus_tree.svg').default, + title: 'United States of America', + image: '/img/Flag_of_the_United_States.svg', + redirectUrl : 'docs/usa/introduction-to-privacy-in-usa', description: ( <> - Docusaurus lets you focus on your docs, and we'll do the chores. Go - ahead and move your docs into the docs directory. + Introduction to privacy regulations in United States of America. ), }, { - title: 'Powered by React', - Svg: require('@site/static/img/undraw_docusaurus_react.svg').default, + title: 'United Kingdom', + image: '/img/Flag_of_the_United_Kingdom.svg', + redirectUrl : 'docs/uk/introduction-to-uk-privacy', description: ( <> - Extend or customize your website layout by reusing React. Docusaurus can - be extended while reusing the same header and footer. + Introduction to privacy regulations in United Kingdom. + + ), + }, + { + title: 'Commonwealth of Australia', + image: '/img/Flag_of_Australia.svg', + redirectUrl : 'docs/australia/introduction-to-privacy-in-australia', + description: ( + <> + Introduction to privacy regulations in Commonwealth of Australia. ), }, ]; -function Feature({Svg, title, description}) { +function Feature({title, description, redirectUrl, image}) { return ( -
-
- -
-
- {title} -

{description}

-
+
+ +
+
+ {title} +
+
+ {title} +

{description}

+
+
+
); } @@ -52,7 +68,7 @@ function Feature({Svg, title, description}) { export default function HomepageFeatures() { return (
-
+
{FeatureList.map((props, idx) => ( diff --git a/src/components/HomepageFeatures/styles.module.css b/src/components/HomepageFeatures/styles.module.css index b248eb2..3e5841f 100644 --- a/src/components/HomepageFeatures/styles.module.css +++ b/src/components/HomepageFeatures/styles.module.css @@ -9,3 +9,14 @@ height: 200px; width: 200px; } + +.card { + background-color: #E6E8EC; + padding: 25px 15px; + min-height: 300px; + margin-bottom: 20px; +} + +.features:hover { + text-decoration: none; +} diff --git a/src/css/custom.css b/src/css/custom.css index 0c9fdae..43ba266 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -123,3 +123,7 @@ font-size: 18px; font-weight: 600; } + +.py-100 { + padding: 100px 0 !important; +} diff --git a/static/img/Flag_of_Australia.svg b/static/img/Flag_of_Australia.svg new file mode 100644 index 0000000..3d1060d --- /dev/null +++ b/static/img/Flag_of_Australia.svg @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/static/img/Flag_of_Europe.svg b/static/img/Flag_of_Europe.svg new file mode 100644 index 0000000..0f22db6 --- /dev/null +++ b/static/img/Flag_of_Europe.svg @@ -0,0 +1,4 @@ +European flag + + + \ No newline at end of file diff --git a/static/img/Flag_of_the_United_Kingdom.svg b/static/img/Flag_of_the_United_Kingdom.svg new file mode 100644 index 0000000..56487b0 --- /dev/null +++ b/static/img/Flag_of_the_United_Kingdom.svg @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/static/img/Flag_of_the_United_States.svg b/static/img/Flag_of_the_United_States.svg new file mode 100644 index 0000000..85c398e --- /dev/null +++ b/static/img/Flag_of_the_United_States.svg @@ -0,0 +1 @@ + \ No newline at end of file