Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions apps/portfolio-ui/src/components/footer/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const Footer: React.FC = () => {
whileInView={{ y: 0 }}
transition={{ duration: 0.8, type: "tween", stiffness: 100 }}
viewport={{ once: true }}
style={{ willChange: "transform, opacity" }}
>
<div className="footer-div">
<p className={isDark ? "dark-mode footer-text" : "footer-text"}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ const StartupProject = (): React.ReactElement | null => {
<motion.div
initial={{ y: 300 }}
whileInView={{ y: 0 }}
transition={{ duration: 0.8, type: "twean", stiffness: 100 }}
transition={{ duration: 0.8, type: "tween", stiffness: 100 }}
viewport={{ once: true }}
style={{ willChange: "transform, opacity" }}
>
<div className="main" id="projects">
<div>
Expand Down
3 changes: 2 additions & 1 deletion apps/portfolio-ui/src/containers/achievement/Achievement.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ const Achievement = (): ReactElement => {
<motion.div
initial={{ y: 300 }}
whileInView={{ y: 0 }}
transition={{ duration: 1, type: "twean", stiffness: 100 }}
transition={{ duration: 1, type: "tween", stiffness: 100 }}
viewport={{ once: true }}
style={{ willChange: "transform, opacity" }}
>
<div className="main" id="achievements">
<div className="achievement-main-div">
Expand Down
3 changes: 2 additions & 1 deletion apps/portfolio-ui/src/containers/blogs/Blogs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,9 @@ const Blogs = (): ReactElement => {
<motion.div
initial={{ y: 300 }}
whileInView={{ y: 0 }}
transition={{ duration: 1, type: "twean", stiffness: 100 }}
transition={{ duration: 1, type: "tween", stiffness: 100 }}
viewport={{ once: true }}
style={{ willChange: "transform, opacity" }}
>
<div className="main" id="blogs">
<div className="blog-header">
Expand Down
3 changes: 2 additions & 1 deletion apps/portfolio-ui/src/containers/contact/Contact.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ const Contact: React.FC = (): React.ReactElement => {
<motion.div
initial={{ y: 300 }}
whileInView={{ y: 0 }}
transition={{ duration: 0.8, type: "twean", stiffness: 100 }}
transition={{ duration: 0.8, type: "tween", stiffness: 100 }}
viewport={{ once: true }}
style={{ willChange: "transform, opacity" }}
>
<div className="main contact-margin-top" id="contact">
<div className="contact-div-main">
Expand Down
3 changes: 2 additions & 1 deletion apps/portfolio-ui/src/containers/education/Education.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ const Education: React.FC = () => {
<motion.div
initial={{ y: 300 }}
whileInView={{ y: 0 }}
transition={{ duration: 1, type: "twean", stiffness: 100 }}
transition={{ duration: 1, type: "tween", stiffness: 100 }}
viewport={{ once: true }}
style={{ willChange: "transform, opacity" }}
>
<div className="education-section" id="education">
<h1 className="education-heading">Education</h1>
Expand Down
3 changes: 2 additions & 1 deletion apps/portfolio-ui/src/containers/greeting/Greeting.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ const Greeting: React.FC = () => {
<motion.div
initial={{ y: 300 }}
whileInView={{ y: 0 }}
transition={{ duration: 1, type: "twean", stiffness: 100 }}
transition={{ duration: 1, type: "tween", stiffness: 100 }}
viewport={{ once: true }}
style={{ willChange: "transform, opacity" }}
>
<div className="greet-main" id="greeting">
<div className="greeting-main">
Expand Down
2 changes: 1 addition & 1 deletion apps/portfolio-ui/src/containers/loading/Loading.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { ReactElement } from "react";
import "./loading.scss";

const Loading = (): React.ReactElement => {
const renderCircles = (): React.ReactNodeArray => {
const renderCircles = (): React.ReactNode[] => {
const circles: React.ReactNode[] = [];
for (let i = 1; i <= 12; i++) {
circles.push(<div key={`circle${i}`} className={`sk-circle${i} sk-child`} />);
Expand Down
3 changes: 2 additions & 1 deletion apps/portfolio-ui/src/containers/projects/Projects.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ const Projects: React.FC = (): React.ReactElement => {
<motion.div
initial={{ y: 300 }}
whileInView={{ y: 0 }}
transition={{ duration: 1, type: "twean", stiffness: 100 }}
transition={{ duration: 1, type: "tween", stiffness: 100 }}
viewport={{ once: true }}
style={{ willChange: "transform, opacity" }}
>
<div className="main" id="opensource">
<h1 className="project-title">Open Source Projects</h1>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ const StackProgress: React.FC = (): React.ReactElement | null => {
whileInView={{ x: 0 }}
transition={{ duration: 0.9, type: "tween", stiffness: 100 }}
viewport={{ once: true }}
style={{ willChange: "transform, opacity" }}
className="skills-bar">
<h1 className="skills-heading">Proficiency</h1>
{techStack.experience.map((exp, i) => {
Expand All @@ -35,6 +36,7 @@ const StackProgress: React.FC = (): React.ReactElement | null => {
whileInView={{ x: 0 }}
transition={{ duration: 0.9, type: "tween", stiffness: 100 }}
viewport={{ once: true }}
style={{ willChange: "transform, opacity" }}
className="skills-image"
>
{illustration.animated ? (
Expand Down
2 changes: 2 additions & 0 deletions apps/portfolio-ui/src/containers/skills/Skills.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ const Skills: React.FC = (): React.ReactElement | null => {
whileInView={{ x: 0, y: "-12%" }}
transition={{ delay: 1, type: "tween", stiffness: 100 }}
viewport={{ once: true }}
style={{ willChange: "transform, opacity" }}
>
<div className="skills-image-div">
{illustration.animated ? (
Expand All @@ -39,6 +40,7 @@ const Skills: React.FC = (): React.ReactElement | null => {
whileInView={{ x: 0 }}
transition={{ duration: 0.9, type: "tween", stiffness: 100 }}
viewport={{ once: true }}
style={{ willChange: "transform, opacity" }}
>
<div className="skills-text-div">
<h1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ const WorkExperience: React.FC = () => {
<motion.div
initial={{ y: 300 }}
whileInView={{ y: 0 }}
transition={{ duration: 1, type: "twean", stiffness: 100 }}
transition={{ duration: 1, type: "tween", stiffness: 100 }}
viewport={{ once: true }}
style={{ willChange: "transform, opacity" }}
>
<div className="experience-container" id="workExperience">
<div>
Expand Down
Loading