Testausserveri / testausserveri.fi

🧪 Homepage for Testausserveri - community of young Finnish hackers
https://testausserveri.fi
MIT License
12 stars 20 forks source link

Changing text #35

Closed ahnl closed 2 years ago

ahnl commented 2 years ago
image

Someone suggested that "Nettiyhteisö nuorille hakkereille" sounds alone a bit weird. Swapping the hakkereille word each few second to a different with a nice animation could be a neat fix:

Here's a component we could use. https://www.npmjs.com/package/react-text-transition

developerfromjokela commented 2 years ago

I think that wouldn't be hard to implement in react, without a use of another dependency :-)

ahnl commented 2 years ago

Easily, if someone has time to do it.

Regardless, the dependencies are processed by webpack.

Eldemarkki commented 2 years ago

If dependencies are allowed, this seems to be perfect for the job: https://github.com/braposo/react-text-loop

Here's a small demo showing the new words with react-text-loop: https://codesandbox.io/s/react-text-loop-playground-forked-0o9fvm?file=/src/App.tsx

ahnl commented 2 years ago

If dependencies are allowed, this seems to be perfect for the job: https://github.com/braposo/react-text-loop

Here's a small demo showing the new words with react-text-loop: https://codesandbox.io/s/react-text-loop-playground-forked-0o9fvm?file=/src/App.tsx

Thanks, I ended up using this.

Feel free guys to suggest more titles such as: