Hmm
Hmm
KPCKevin Powell - Community
Created by Hmm on 6/26/2023 in #back-end
Express with tailwindcss Issue
I am using tailwindcss for the express project , I have done the required steps - created tailwind.config.js , postcss config file and import tailwind directives in style.css . But the tailwind is not getting applied to .pug files Code - https://github.com/Tribhuwan-Joshi/inventory
4 replies
KPCKevin Powell - Community
Created by Hmm on 3/29/2023 in #front-end
React Routing
How can I solve this react-routing problem . So I have 3 pages /signup , /login and /todos . Now if a user is already sign in I want it to redirect to /todos and if its a new user I want it to direct to /signup . BUT I don't want the user to access /todos without sign up like changing url to /todos should give the default 404 . One way is to remove the /todos route and conditionally render the component but then how can I redirect user to /todos when user successfully signup/login . My question is how should I create a better routing system https://pastecord.com/dogahesaqi.js
6 replies
KPCKevin Powell - Community
Created by Hmm on 3/23/2023 in #back-end
File not found
Can someone help in node issue. I building basic info site project . The site is working ok when run locally but when I am hosting it on replit , its only showing the main page , on clicking other links it throws error https://replit.com/@Tribhuwan-Joshi/BasicSite-3
2 replies
KPCKevin Powell - Community
Created by Hmm on 3/17/2023 in #front-end
Underline animation
hey , I want to add underline transition but its not working https://codepen.io/tribhuwan-joshi/pen/mdGqqYy?editors=1111 using tailwindcss
4 replies
KPCKevin Powell - Community
Created by Hmm on 3/15/2023 in #front-end
Fixed Navbar
Is there any way to fix the navbar at the top while the sibling container shouldn't overlap with nav , it should start after nav
<div class="parent">
<nav></nav>
<div class="sibling"></div>
</div>
<div class="parent">
<nav></nav>
<div class="sibling"></div>
</div>
Currently I am using position fixed on nav but sibling div is overlapping . Since nav don't have a fixed hieght so I can't give fixed pixel margin-top to sibling
4 replies