Skip to content

Commit c077292

Browse files
committed
Hire me modal fonts and ui updates
1 parent d42a9e4 commit c077292

File tree

2 files changed

+14
-24
lines changed

2 files changed

+14
-24
lines changed

src/components/HireMeModal.js

+6-6
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const HireMeModal = ({ onClose, onRequest }) => {
1414
initial={{ opacity: 0 }}
1515
animate={{ opacity: 1 }}
1616
exit={{ opacity: 0 }}
17-
className="fixed inset-0 z-30 transition-all duration-500"
17+
className="font-general-medium fixed inset-0 z-30 transition-all duration-500"
1818
>
1919
{/* Modal Background */}
2020
<div className="bg-filter bg-black bg-opacity-50 fixed inset-0 w-full h-full z-20"></div>
@@ -24,7 +24,7 @@ const HireMeModal = ({ onClose, onRequest }) => {
2424
<div className="modal-wrapper flex items-center z-30">
2525
<div className="modal max-w-md mx-5 xl:max-w-xl lg:max-w-xl md:max-w-xl bg-secondary-light dark:bg-primary-dark max-h-screen shadow-lg flex-row rounded-lg relative">
2626
<div className="modal-header flex justify-between gap-10 p-5 border-b border-ternary-light dark:border-ternary-dark">
27-
<h5 className=" text-primary-dark dark:text-primary-light text-2xl">
27+
<h5 className=" text-primary-dark dark:text-primary-light text-xl">
2828
What project are you looking for?
2929
</h5>
3030
<button
@@ -43,7 +43,7 @@ const HireMeModal = ({ onClose, onRequest }) => {
4343
>
4444
<div className="">
4545
<input
46-
className="w-full px-5 py-2 border dark:border-secondary-dark rounded-md text-md dark:font-medium bg-secondary-light dark:bg-ternary-dark text-primary-dark dark:text-ternary-light"
46+
className="w-full px-5 py-2 border dark:border-secondary-dark rounded-md text-md bg-secondary-light dark:bg-ternary-dark text-primary-dark dark:text-ternary-light"
4747
id="name"
4848
name="name"
4949
type="text"
@@ -54,7 +54,7 @@ const HireMeModal = ({ onClose, onRequest }) => {
5454
</div>
5555
<div className="mt-6">
5656
<input
57-
className="w-full px-5 py-2 border dark:border-secondary-dark rounded-md text-md dark:font-medium bg-secondary-light dark:bg-ternary-dark text-primary-dark dark:text-ternary-light"
57+
className="w-full px-5 py-2 border dark:border-secondary-dark rounded-md text-md bg-secondary-light dark:bg-ternary-dark text-primary-dark dark:text-ternary-light"
5858
id="email"
5959
name="email"
6060
type="text"
@@ -65,7 +65,7 @@ const HireMeModal = ({ onClose, onRequest }) => {
6565
</div>
6666
<div className="mt-6">
6767
<select
68-
className="w-full px-5 py-2 border dark:border-secondary-dark rounded-md text-md dark:font-medium bg-secondary-light dark:bg-ternary-dark text-primary-dark dark:text-ternary-light"
68+
className="w-full px-5 py-2 border dark:border-secondary-dark rounded-md text-md bg-secondary-light dark:bg-ternary-dark text-primary-dark dark:text-ternary-light"
6969
id="subject"
7070
name="subject"
7171
type="text"
@@ -85,7 +85,7 @@ const HireMeModal = ({ onClose, onRequest }) => {
8585

8686
<div className="mt-6">
8787
<textarea
88-
className="w-full px-5 py-2 border dark:border-secondary-dark rounded-md text-md dark:font-medium bg-secondary-light dark:bg-ternary-dark text-primary-dark dark:text-ternary-light"
88+
className="w-full px-5 py-2 border dark:border-secondary-dark rounded-md text-md bg-secondary-light dark:bg-ternary-dark text-primary-dark dark:text-ternary-light"
8989
id="message"
9090
name="message"
9191
cols="14"

src/components/shared/AppHeader.js

+8-18
Original file line numberDiff line numberDiff line change
@@ -114,30 +114,29 @@ const AppHeader = () => {
114114
>
115115
<Link
116116
to="/projects"
117-
className="block text-left text-lg font-medium text-primary-dark dark:text-ternary-light hover:text-secondary-dark dark:hover:text-secondary-light sm:mx-4 mb-2 sm:py-2"
117+
className="block text-left text-lg text-primary-dark dark:text-ternary-light hover:text-secondary-dark dark:hover:text-secondary-light sm:mx-4 mb-2 sm:py-2"
118118
aria-label="Projects"
119119
>
120120
Projects
121121
</Link>
122122
<Link
123123
to="/about"
124-
className="block text-left text-lg font-medium text-primary-dark dark:text-ternary-light hover:text-secondary-dark dark:hover:text-secondary-light sm:mx-4 mb-2 sm:py-2 border-t-2 pt-3 sm:pt-2 sm:border-t-0 border-primary-light dark:border-secondary-dark"
124+
className="block text-left text-lg text-primary-dark dark:text-ternary-light hover:text-secondary-dark dark:hover:text-secondary-light sm:mx-4 mb-2 sm:py-2 border-t-2 pt-3 sm:pt-2 sm:border-t-0 border-primary-light dark:border-secondary-dark"
125125
aria-label="About Me"
126126
>
127127
About Me
128128
</Link>
129129
<Link
130130
to="/contact"
131-
className="block text-left text-lg font-medium text-primary-dark dark:text-ternary-light hover:text-secondary-dark dark:hover:text-secondary-light sm:mx-4 mb-2 sm:py-2 border-t-2 pt-3 sm:pt-2 sm:border-t-0 border-primary-light dark:border-secondary-dark"
131+
className="block text-left text-lg text-primary-dark dark:text-ternary-light hover:text-secondary-dark dark:hover:text-secondary-light sm:mx-4 mb-2 sm:py-2 border-t-2 pt-3 sm:pt-2 sm:border-t-0 border-primary-light dark:border-secondary-dark"
132132
aria-label="Contact"
133133
>
134134
Contact
135135
</Link>
136136
<div className="border-t-2 pt-3 sm:pt-0 sm:border-t-0 border-primary-light dark:border-secondary-dark">
137137
<button
138138
onClick={showHireMeModal}
139-
className="sm:hidden block text-left text-md font-medium bg-indigo-500 hover:bg-indigo-600 text-white shadow-sm rounded-md px-4 py-2 mt-2"
140-
aria-label="Hire Me Button"
139+
className="font-general-medium sm:hidden block text-left text-md bg-indigo-500 hover:bg-indigo-600 text-white shadow-sm rounded-sm px-4 py-2 mt-2"
141140
>
142141
Hire Me
143142
</button>
@@ -149,34 +148,25 @@ const AppHeader = () => {
149148
<div className="font-general-medium hidden m-0 sm:ml-4 mt-5 sm:mt-3 sm:flex p-5 sm:p-0 justify-center items-center shadow-lg sm:shadow-none">
150149
<Link
151150
to="/projects"
152-
className="block text-left text-lg font-medium text-primary-dark dark:text-ternary-light hover:text-secondary-dark dark:hover:text-secondary-light sm:mx-4 mb-2 sm:py-2"
151+
className="block text-left text-lg text-primary-dark dark:text-ternary-light hover:text-secondary-dark dark:hover:text-secondary-light sm:mx-4 mb-2 sm:py-2"
153152
aria-label="Projects"
154153
>
155154
Projects
156155
</Link>
157156
<Link
158157
to="/about"
159-
className="block text-left text-lg font-medium text-primary-dark dark:text-ternary-light hover:text-secondary-dark dark:hover:text-secondary-light sm:mx-4 mb-2 sm:py-2 border-t-2 pt-3 sm:pt-2 sm:border-t-0 border-primary-light dark:border-secondary-dark"
158+
className="block text-left text-lg text-primary-dark dark:text-ternary-light hover:text-secondary-dark dark:hover:text-secondary-light sm:mx-4 mb-2 sm:py-2 border-t-2 pt-3 sm:pt-2 sm:border-t-0 border-primary-light dark:border-secondary-dark"
160159
aria-label="About Me"
161160
>
162161
About Me
163162
</Link>
164163
<Link
165164
to="/contact"
166-
className="block text-left text-lg font-medium text-primary-dark dark:text-ternary-light hover:text-secondary-dark dark:hover:text-secondary-light sm:mx-4 mb-2 sm:py-2 border-t-2 pt-3 sm:pt-2 sm:border-t-0 border-primary-light dark:border-secondary-dark"
165+
className="block text-left text-lg text-primary-dark dark:text-ternary-light hover:text-secondary-dark dark:hover:text-secondary-light sm:mx-4 mb-2 sm:py-2 border-t-2 pt-3 sm:pt-2 sm:border-t-0 border-primary-light dark:border-secondary-dark"
167166
aria-label="Contact"
168167
>
169168
Contact
170169
</Link>
171-
<div className="border-t-2 pt-3 sm:pt-0 sm:border-t-0 border-primary-light dark:border-secondary-dark">
172-
<button
173-
onClick={showHireMeModal}
174-
className="sm:hidden block text-left text-md font-medium bg-indigo-500 hover:bg-indigo-600 text-white shadow-sm rounded-md px-4 py-2 mt-2"
175-
aria-label="Hire Me Button"
176-
>
177-
Hire Me
178-
</button>
179-
</div>
180170
</div>
181171
{/* Header links small screen end */}
182172

@@ -186,7 +176,7 @@ const AppHeader = () => {
186176
<div className="hidden md:flex">
187177
<button
188178
onClick={showHireMeModal}
189-
className="text-md font-medium bg-indigo-500 hover:bg-indigo-600 text-white shadow-sm rounded-md px-5 py-2.5"
179+
className="text-md font-general-medium bg-indigo-500 hover:bg-indigo-600 text-white shadow-sm rounded-md px-5 py-2.5"
190180
aria-label="Hire Me Button"
191181
>
192182
Hire Me

0 commit comments

Comments
 (0)