-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
86e366a
commit 89c782e
Showing
25 changed files
with
16,796 additions
and
253 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,37 @@ | ||
import { BrowserRouter } from "react-router-dom"; | ||
|
||
import { About, Contact, Experience, Feedbacks, Hero, Navbar, Tech, Works, StarsCanvas } from "./components"; | ||
import { | ||
About, | ||
Contact, | ||
Experience, | ||
Feedbacks, | ||
Hero, | ||
Navbar, | ||
Tech, | ||
Works, | ||
StarsCanvas, | ||
} from "./components"; | ||
|
||
const App = () => { | ||
return ( | ||
<BrowserRouter> | ||
<div className='relative z-0 bg-primary'> | ||
<div className='bg-hero-pattern bg-cover bg-no-repeat bg-center'> | ||
<div className="relative z-0 bg-primary"> | ||
<div className="bg-hero-pattern bg-cover bg-no-repeat bg-center"> | ||
<Navbar /> | ||
<Hero /> | ||
</div> | ||
<About /> | ||
<Experience /> | ||
<Tech /> | ||
<Works /> | ||
<Feedbacks /> | ||
<div className='relative z-0'> | ||
{/* <Feedbacks /> */} | ||
<div className="relative z-0"> | ||
<Contact /> | ||
<StarsCanvas /> | ||
</div> | ||
</div> | ||
</BrowserRouter> | ||
); | ||
} | ||
}; | ||
|
||
export default App; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,16 +33,16 @@ const Contact = () => { | |
|
||
emailjs | ||
.send( | ||
import.meta.env.VITE_APP_EMAILJS_SERVICE_ID, | ||
import.meta.env.VITE_APP_EMAILJS_TEMPLATE_ID, | ||
"service_28qby1o", | ||
"template_fffquih", | ||
{ | ||
from_name: form.name, | ||
to_name: "JavaScript Mastery", | ||
to_name: "Nidhin", | ||
from_email: form.email, | ||
to_email: "[email protected]", | ||
to_email: "[email protected]", | ||
message: form.message, | ||
}, | ||
import.meta.env.VITE_APP_EMAILJS_PUBLIC_KEY | ||
"eS9nVbbJaWIL2ghTj" | ||
) | ||
.then( | ||
() => { | ||
|
@@ -70,53 +70,53 @@ const Contact = () => { | |
> | ||
<motion.div | ||
variants={slideIn("left", "tween", 0.2, 1)} | ||
className='flex-[0.75] bg-black-100 p-8 rounded-2xl' | ||
className="flex-[0.75] bg-black-100 p-8 rounded-2xl" | ||
> | ||
<p className={styles.sectionSubText}>Get in touch</p> | ||
<h3 className={styles.sectionHeadText}>Contact.</h3> | ||
|
||
<form | ||
ref={formRef} | ||
onSubmit={handleSubmit} | ||
className='mt-12 flex flex-col gap-8' | ||
className="mt-12 flex flex-col gap-8" | ||
> | ||
<label className='flex flex-col'> | ||
<span className='text-white font-medium mb-4'>Your Name</span> | ||
<label className="flex flex-col"> | ||
<span className="text-white font-medium mb-4">Your Name</span> | ||
<input | ||
type='text' | ||
name='name' | ||
type="text" | ||
name="name" | ||
value={form.name} | ||
onChange={handleChange} | ||
placeholder="What's your good name?" | ||
className='bg-tertiary py-4 px-6 placeholder:text-secondary text-white rounded-lg outline-none border-none font-medium' | ||
className="bg-tertiary py-4 px-6 placeholder:text-secondary text-white rounded-lg outline-none border-none font-medium" | ||
/> | ||
</label> | ||
<label className='flex flex-col'> | ||
<span className='text-white font-medium mb-4'>Your email</span> | ||
<label className="flex flex-col"> | ||
<span className="text-white font-medium mb-4">Your email</span> | ||
<input | ||
type='email' | ||
name='email' | ||
type="email" | ||
name="email" | ||
value={form.email} | ||
onChange={handleChange} | ||
placeholder="What's your web address?" | ||
className='bg-tertiary py-4 px-6 placeholder:text-secondary text-white rounded-lg outline-none border-none font-medium' | ||
className="bg-tertiary py-4 px-6 placeholder:text-secondary text-white rounded-lg outline-none border-none font-medium" | ||
/> | ||
</label> | ||
<label className='flex flex-col'> | ||
<span className='text-white font-medium mb-4'>Your Message</span> | ||
<label className="flex flex-col"> | ||
<span className="text-white font-medium mb-4">Your Message</span> | ||
<textarea | ||
rows={7} | ||
name='message' | ||
name="message" | ||
value={form.message} | ||
onChange={handleChange} | ||
placeholder='What you want to say?' | ||
className='bg-tertiary py-4 px-6 placeholder:text-secondary text-white rounded-lg outline-none border-none font-medium' | ||
placeholder="What you want to say?" | ||
className="bg-tertiary py-4 px-6 placeholder:text-secondary text-white rounded-lg outline-none border-none font-medium" | ||
/> | ||
</label> | ||
|
||
<button | ||
type='submit' | ||
className='bg-tertiary py-3 px-8 rounded-xl outline-none w-fit text-white font-bold shadow-md shadow-primary' | ||
type="submit" | ||
className="bg-tertiary py-3 px-8 rounded-xl outline-none w-fit text-white font-bold shadow-md shadow-primary" | ||
> | ||
{loading ? "Sending..." : "Send"} | ||
</button> | ||
|
@@ -125,7 +125,7 @@ const Contact = () => { | |
|
||
<motion.div | ||
variants={slideIn("right", "tween", 0.2, 1)} | ||
className='xl:flex-1 xl:h-auto md:h-[550px] h-[350px]' | ||
className="xl:flex-1 xl:h-auto md:h-[550px] h-[350px]" | ||
> | ||
<EarthCanvas /> | ||
</motion.div> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.