File tree Expand file tree Collapse file tree 6 files changed +42
-25
lines changed Expand file tree Collapse file tree 6 files changed +42
-25
lines changed Original file line number Diff line number Diff line change @@ -74,15 +74,15 @@ const Experience = () => {
7474 initial = { { opacity : 0 } }
7575 animate = { { opacity : 1 } }
7676 transition = { { ease : 'easeInOut' , duration : 0.9 , delay : 0.2 } }
77- className = " sm:justify-between items-center sm:flex-row md:mt-2 "
77+ className = " section sm:justify-between items-center sm:flex-row "
7878 >
7979
8080
81- < motion . div className = "mt-20 text-center sm:text-left leading-normal text-custom-purple text-center sm:text-left text-ternary-dark dark:text-primary-light " >
81+ < motion . div className = " text-center sm:text-left leading-normal text-custom-purple text-center sm:text-left text-ternary-dark dark:text-primary-light " >
8282 < p className = { `${ styles . sectionSubText } text-center font-general-medium mt-4 text-lg md:text-lg lg:text-xl xl:text-2xl text-center leading-normal text-gray-500` } >
8383 What I have done so far
8484 </ p >
85- < h2 className = { `${ styles . sectionHeadText } text-hero font-general-bold text-center leading-normal text-ternary-dark dark:text-primary-light` } >
85+ < h2 className = { `${ styles . sectionHeadText } text-heroExp text-lg md:text-lg lg:text-xl xl:text-2xl font-general-bold text-center leading-normal text-ternary-dark dark:text-primary-light` } >
8686 Education & Experience .
8787 </ h2 >
8888 </ motion . div >
Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ const ProjectsGrid = () => {
1919
2020 return (
2121 < section className = "py-5 mt-5" >
22- < motion . div className = "textProj mt-20 leading-normal text-custom-purple text-ternary-dark dark:text-primary-light" >
23- < p className = { `${ styles . sectionHeadText } text-hero font-general-bold leading-normal text-ternary-dark dark:text-primary-light` } >
22+ < motion . div className = " mt-20 leading-normal text-custom-purple text-ternary-dark dark:text-primary-light" >
23+ < p className = { `${ styles . sectionHeadText } text-heroExp font-general-bold leading-normal text-ternary-dark dark:text-primary-light` } >
2424 Projects.
2525 </ p >
2626 < div className = "flex" >
@@ -33,17 +33,17 @@ const ProjectsGrid = () => {
3333 </ div >
3434 </ motion . div >
3535 < div className = "mt-10 sm:mt-16" >
36- < h3
37- className = "font-general-regular
38- text-center text-secondary-dark
36+ < p
37+ className = "font-general-normal text-balance text-pretty leading-normal
38+ text-center text-white-500
3939 dark:text-ternary-light
4040 text-md
4141 sm:text-xl
42- mb-3
42+ mb-3 leading-normal
4343 "
4444 >
4545 Search projects by title or filter by category
46- </ h3 >
46+ </ p >
4747 < div
4848 className = "
4949 flex
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ const AppBanner = () => {
6969 initial = { { opacity : 0 , y : - 180 } }
7070 animate = { { opacity : 1 , y : 0 } }
7171 transition = { { ease : 'easeInOut' , duration : 0.9 , delay : 0.2 } }
72- className = "w-full sm:w-1/2 justify-center align-middle mt-8 sm:mt-0"
72+ className = "w-full sm:w-1/2 justify-center align-middle sm:mt-0"
7373 >
7474 < img
7575 src = {
Original file line number Diff line number Diff line change @@ -68,24 +68,25 @@ const AppHeader = () => {
6868 </ div >
6969
7070 { /* Theme switcher small screen */ }
71+
72+
73+ { /* Small screen hamburger menu */ }
74+ < div className = "sm:hidden flex " >
7175 < div
7276 onClick = { toggleTheme }
7377 aria-label = "Theme Switcher"
74- className = "block sm:hidden ml-0 bg-primary-light dark:bg-ternary-dark p-3 shadow-sm rounded-xl cursor-pointer"
78+ className = "block themSwitch sm:hidden mt-2 bg-primary-light dark:bg-ternary-dark p-2 shadow-sm rounded-xl cursor-pointer"
7579 >
7680 { theme === 'dark' ? (
7781 < FiMoon className = "text-ternary-dark hover:text-gray-400 dark:text-ternary-light dark:hover:text-primary-light text-xl" />
7882 ) : (
7983 < FiSun className = "text-gray-200 hover:text-gray-50 text-xl" />
8084 ) }
8185 </ div >
82-
83- { /* Small screen hamburger menu */ }
84- < div className = "sm:hidden" >
8586 < button
8687 onClick = { toggleMenu }
8788 type = "button"
88- className = "focus:outline-none"
89+ className = "focus:outline-none "
8990 aria-label = "Hamburger Menu"
9091 >
9192 < svg
@@ -100,6 +101,7 @@ const AppHeader = () => {
100101 ) }
101102 </ svg >
102103 </ button >
104+
103105 </ div >
104106 </ div >
105107
Original file line number Diff line number Diff line change @@ -12,10 +12,10 @@ const styles = {
1212 heroHeadText :
1313 "font-black text-white lg:text-[80px] sm:text-[60px] xs:text-[50px] text-[40px] lg:leading-[98px] mt-2" ,
1414 heroSubText :
15- "text-[#dfd9ff] font-medium lg:text-[30px] sm:text-[26px] xs:text-[20px] text-[16px] lg:leading-[40px]" ,
15+ " lg:text-[30px] sm:text-[26px] xs:text-[20px] text-[16px] lg:leading-[40px]" ,
1616
1717 sectionHeadText :
18- " font-black md:text-[60px] sm:text-[50px] xs:text-[40px] text-[30px] " ,
18+ " font-black " ,
1919 sectionSubText :
2020 "sm:text-[18px] text-[14px] tracking-wider " ,
2121} ;
Original file line number Diff line number Diff line change @@ -947,24 +947,32 @@ Ensure the default browser behavior of the `hidden` attribute.
947947
948948.small-image {
949949
950- padding : 4 em ;
950+ padding : 2.5 em ;
951951margin : auto;
952952}
953+ .themSwitch {
954+ margin-right : 0.5em ;
955+ }
953956.text-hero {
954957
955- font-size : 4.54em ; /* Default size */
958+ font-size : 4.5em ; /* Default size */
959+ }
960+ .text-heroExp {
961+
962+ font-size : 3em ; /* Default size */
956963}
957964.section {
958- margin-bottom : 5em ;
959- margin-top : 5em ;
965+ margin : 5.2em 0em ;
960966
967+ align-items : center;
968+
961969}
962970@media (max-width : 1024px ) {
963971 .section {
964972 margin-bottom : 5em ;
965973 }
966974 .text-hero {
967- font-size : 3 em ; /* Adjust for lg screens */
975+ font-size : 4 em ; /* Adjust for lg screens */
968976 }
969977
970978}
@@ -974,18 +982,25 @@ margin: auto;
974982 margin-bottom : 5em ;
975983 }
976984 .text-hero {
977- font-size : 2.5 em ; /* Adjust for md screens */
985+ font-size : 3 em ; /* Adjust for md screens */
978986 }
979987}
980988
981989@media (max-width : 480px ) {
990+ .section {
991+ margin : 3em 0em ;
992+
993+ align-items : center;
994+
995+ }
982996 .small-image {
983997
984998 padding : 1em ;
985999 margin : auto;
9861000 }
9871001 .text-hero {
988- font-size : 2.5em ; /* Adjust for sm screens */
1002+ font-size : 3em ;
1003+ /* Adjust for sm screens */
9891004 }
9901005}
9911006
You can’t perform that action at this time.
0 commit comments