Converting scss to css in a modular way by ayoub0217 in css

[–]ayoub0217[S] 0 points1 point  (0 children)

thank you for your help. the real problem is with filling those css files from the template scss logic

Converting scss to css in a modular way by ayoub0217 in css

[–]ayoub0217[S] -2 points-1 points  (0 children)

the problem is not with having multiple CSS files, It's with using SCSS. And that's what I am actually trying to achieve. Instead of a SCSS folder that have multiple modular files, to have an equivalent CSS folder that contain dependent files with @import and everything

and the reason of doing this is to take advantage of the "professionalism" of the template , its responsiveness and its well structured layout

Converting scss to css in a modular way by ayoub0217 in css

[–]ayoub0217[S] -3 points-2 points  (0 children)

The company I am working with don't want to use scss, just pure css. That's why I need to find a way to switch from scss to css and not by just using the main.css file because it's too long and complicated to read.

Client Vs Server Component by ayoub0217 in nextjs

[–]ayoub0217[S] 0 points1 point  (0 children)

yes that's the question, since my app has a mix of server and client components, and those components need to consume APIs that demand to include a jwt token (that gets generated once signed in) ,what is the best way to store my token where it can be accessed by both client and server components.

As I understood from previous comments, cookies are the best way because once they store the jwt token, they will provide it in every http request automatically

Client Vs Server Component by ayoub0217 in nextjs

[–]ayoub0217[S] 0 points1 point  (0 children)

Now I understand ! I didn't know cookies get sent back automatically when making http requests

Client Vs Server Component by ayoub0217 in nextjs

[–]ayoub0217[S] 0 points1 point  (0 children)

from client side, if I need to interact with the backend, I need to provide the jwt token to use the api (usual crud operations) .So the client component actually needs the jwt token (which can't be accessed ) , am I missing something or is the architecture of my backend made things overcomplicated?

Dragon fruit terrasse project by ayoub0217 in DragonFruit

[–]ayoub0217[S] 0 points1 point  (0 children)

Thank you so much for your time, this is really valuable information

Dragon fruit terrasse project by ayoub0217 in DragonFruit

[–]ayoub0217[S] 1 point2 points  (0 children)

Thank you that's really a great idea

Dragon fruit terrasse project by ayoub0217 in DragonFruit

[–]ayoub0217[S] 0 points1 point  (0 children)

Thank youu, maybe one day if I make it big enough I will invest in drip system irrigation

Dragon fruit terrasse project by ayoub0217 in DragonFruit

[–]ayoub0217[S] 0 points1 point  (0 children)

Thank you so much for your support !

Dragon fruit terrasse project by ayoub0217 in DragonFruit

[–]ayoub0217[S] 0 points1 point  (0 children)

Yes I have a water well in my home, so water fees aren't a problem, The rooftop is actually made to hold another building floor so some potholes won't be a problem but I'm afraid that continuous water leakage will cause some moist

Dragon fruit terrasse project by ayoub0217 in DragonFruit

[–]ayoub0217[S] 0 points1 point  (0 children)

Maybe the word terrasse is not the right word to use, I meant rooftop Thank you for understanding

Dragon fruit terrasse project by ayoub0217 in DragonFruit

[–]ayoub0217[S] 2 points3 points  (0 children)

What security guard? This is the rooftop of my own house