r/learnjavascript • u/droid_95 • Jan 29 '22
Login page made with ReactJS, AnimeJS and TailwindCSS
13
Jan 29 '22
Good job man! Some may give you crap here and there but your better than I am at coding! Congrats on your login page and I hope you continue to progress with your coding skills!
9
u/Miserable_Decision_4 Jan 30 '22
This is the first time I've heard of AnimeJS and holy shit... Now I know what new library I'm going to play with.
6
u/zennative Jan 30 '22
Have you heard of GSAP, if not you should check it out? I personally prefer it to AnimeJS.
3
17
4
u/zennative Jan 30 '22
Nice work, if I could give any feedback it would be that the transition in is a bit too much, specifically the main element.
To keep it sublte and consistent I would use your same opacity and scale/zoom transition when loading the main element too.
3
3
5
u/falconmick Jan 30 '22
As much as I personally dislike tailwind, it’s nice to see the ethos of styling libraries getting closer and closer to just plain old css, such a nice change of pace over bootstrap everything
2
u/furtrout Jan 30 '22
Why do you dislike tailwind? I just found out about it the other day and from a cursory look it seems really powerful.
1
u/falconmick Jan 30 '22
Mostly that I just prefer to use css the way I want to use css, I have allot of experience with it and can build basically anything so it’s just another new thing. Also I just in general am not a fan of atomic css styling + when I used it for my blog I had to spend about 2-4 hours messing with versions and tooling to get Gatsby to properly cull the css file and it just felt like extra work that I shouldn’t have to do. Oh and the good thing about writing your own css via a system which scopes it to components is that you can split up the css and only deliver what is needed for the page.
Basically I don’t see any problem with people using tailwind I just don’t personally like to use it on my own stuff
4
u/unknow117 Jan 29 '22
Nice job, is there a GitHub page you want to share for this? Or any tutorial maybe?
2
4
1
u/tensorCode Feb 26 '22
my new video Complete CRUD MERN stack
https://www.youtube.com/watch?v=XwUdQ9xw9iY&t=7665s
1
u/Effective_Hope_3071 May 08 '23
hey! looks good! can you please help me configure my tailwind to see the anime.js library?
I have my "content" set to search for my main.js and I am using importScript(ANIME.JSCDN) to my main script but any animations I create and target on divs don't seem to be working.
if tailwind turns classes into utilities can I still target the classes with anime.js?
42
u/[deleted] Jan 29 '22
It's cute!
You should really change the text of the button though and make it say 'Login'.