Giter Club home page Giter Club logo

Comments (8)

Julia-Alberici avatar Julia-Alberici commented on May 22, 2024 1

Heyy @Aminur-Application thanks for sharing your solution, i was going crazy about it 🤣. Great work with the portfolio btw! Just a heads up, idk if you seen it but on my screen the portfolio have an overflow-x
image
You can solve this by changing this property w-screen on the section highlighted tag to w-full 😊
image

from project_3d_developer_portfolio.

Aminur-Application avatar Aminur-Application commented on May 22, 2024 1

What version of react do you have because react-type-animation does not support react-18. There is work arounds to install it without using -force but still types out glitchy text for me.

"react": "^18.2.0"
"react-type-animation": "^3.0.1"

from project_3d_developer_portfolio.

Aminur-Application avatar Aminur-Application commented on May 22, 2024

Heyy @Aminur-Application thanks for sharing your solution, i was going crazy about it 🤣. Great work with the portfolio btw! Just a heads up, idk if you seen it but on my screen the portfolio have an overflow-x image You can solve this by changing this property w-screen on the section highlighted tag to w-full 😊 image

Thanks @Julia-Alberici :)

from project_3d_developer_portfolio.

hady-dev avatar hady-dev commented on May 22, 2024

hey do you mind sharing how you animated the text to get typed out because when trying to do so all the libraries that I can find are outdated for react-18 and if i force install them they type in a very laggy way.

from project_3d_developer_portfolio.

Aminur-Application avatar Aminur-Application commented on May 22, 2024

@hady-dev
hey, i used a package called react-type-animation;

import { TypeAnimation } from 'react-type-animation';

<p className={`${styles.heroSubText} mt-2 text-white-100`}>
        <span>I develop</span>
        <TypeAnimation
          cursor={false} // omit the default css typing animation class, otherwise we won't be able to manipulate it manually

          className={"text-[#915eff]"} // pass custom cursor className that will be manipulated (defaults below)
          sequence={[
            ' Web Applications',
            500,
            ' Desktop Applications',
            500,
            ' User Interfaces',
            500,
            ' ',
            100,
            () => setDisplayText(true)
          ]}
          repeat={0}
        />
</p>

from project_3d_developer_portfolio.

hady-dev avatar hady-dev commented on May 22, 2024

@hady-dev
hey, i used a package called react-type-animation;

import { TypeAnimation } from 'react-type-animation';

<p className={`${styles.heroSubText} mt-2 text-white-100`}>
        <span>I develop</span>
        <TypeAnimation
          cursor={false} // omit the default css typing animation class, otherwise we won't be able to manipulate it manually

          className={"text-[#915eff]"} // pass custom cursor className that will be manipulated (defaults below)
          sequence={[
            ' Web Applications',
            500,
            ' Desktop Applications',
            500,
            ' User Interfaces',
            500,
            ' ',
            100,
            () => setDisplayText(true)
          ]}
          repeat={0}
        />
</p>

What version of react do you have because react-type-animation does not support react-18. There is work arounds to install it without using -force but still types out glitchy text for me.

from project_3d_developer_portfolio.

ArsenKakasyan avatar ArsenKakasyan commented on May 22, 2024

Hey, I saw that you kind-of reorganized the Hero component, you mind sharing what you did to it and App.jsx? @Aminur-Application

from project_3d_developer_portfolio.

Thebigjoe10 avatar Thebigjoe10 commented on May 22, 2024

What version of react do you have because react-type-animation does not support react-18. There is work arounds to install it without using -force but still types out glitchy text for me.

"react": "^18.2.0" "react-type-animation": "^3.0.1"

use npm install --legacy-peer-deps react-type-animation
this works me no glitchy

from project_3d_developer_portfolio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.