diff --git a/public/aboutImage.webp b/public/aboutImage.webp new file mode 100644 index 0000000..b6219a1 Binary files /dev/null and b/public/aboutImage.webp differ diff --git a/public/carson.webp b/public/carson.webp deleted file mode 100644 index adf13fa..0000000 Binary files a/public/carson.webp and /dev/null differ diff --git a/src/Components/About/About.scss b/src/Components/About/About.scss index 136adc7..b4d8f5d 100644 --- a/src/Components/About/About.scss +++ b/src/Components/About/About.scss @@ -22,7 +22,8 @@ $tools-item-tint: darken($list-item-color, 40%); .AboutContainer { width: auto; - padding: 20px; + padding: 40px; + margin-top: 20px; } .AboutContentContainer { @@ -39,7 +40,6 @@ $tools-item-tint: darken($list-item-color, 40%); color: $secondary-color; background-color: rgba(darken($background-color, 10%), 0.25); border-radius: $border-radius; - margin-left: 20px; } .AboutText { @@ -50,12 +50,6 @@ $tools-item-tint: darken($list-item-color, 40%); padding: 0px 40px 0px 30px; /* top, right, bottom, left */ } -.AboutImage { - width: 45%; - border-radius: $border-radius; - box-shadow: $box-shadow; -} - @media screen and (max-width: 768px) { .AboutContentContainer { flex-direction: column; @@ -74,9 +68,6 @@ $tools-item-tint: darken($list-item-color, 40%); padding-right: 20px; text-align: center; } - .AboutContainer { - margin-right: 20px; - } } .hoverLink { @@ -110,3 +101,26 @@ $tools-item-tint: darken($list-item-color, 40%); -webkit-text-fill-color: transparent; animation: gradientAnimation 5s ease infinite; } + +.AboutImageContainer { + display: flex; + justify-content: center; + align-items: center; + height: 100%; + margin: 0 auto; +} + +.AboutImage { + width: 90%; + border-radius: $border-radius; + box-shadow: $box-shadow; +} + +@media screen and (max-width: 768px) { + .AboutImage { + width: 100%; + } + .AboutImageContainer { + width: 90%; + } +} \ No newline at end of file diff --git a/src/Components/About/About.tsx b/src/Components/About/About.tsx index ea974b1..40795f8 100644 --- a/src/Components/About/About.tsx +++ b/src/Components/About/About.tsx @@ -72,13 +72,10 @@ const About: React.FC = () => {
- {/*
-
+