Giter VIP home page Giter VIP logo

Comments (11)

notpx avatar notpx commented on July 30, 2024 1

focusly-gradient

Added the gradient on the border, but need to add it only when the user clicks meditate tab.
1.Thinking of changing the name of class of card for meditate
2. Using states when the user clicks the meditate button, and the color gradient gets added after the click.

Guide me through this, need few hints and will get the work finished

from focusly.

notpx avatar notpx commented on July 30, 2024 1

Few questions,

  1. After adding another parameter into the info array, how do I add css specifically for that particular element in the array with that parameter?
  2. Drop some topics which might help me in order to get this done, I'll learn them and finish the pending code.

from focusly.

Utkarshn10 avatar Utkarshn10 commented on July 30, 2024 1

You can refer this to add condition in tailwind css.

And if you want to dive deep then you can further look into this topic.

from focusly.

notpx avatar notpx commented on July 30, 2024

!assign

from focusly.

Utkarshn10 avatar Utkarshn10 commented on July 30, 2024

Hey @notpx Issue assigned.

from focusly.

Utkarshn10 avatar Utkarshn10 commented on July 30, 2024

This looks great.

Some additions:

  1. How about decreasing width of border and keeping it around 5-7px.

  2. We only need these gradient border for cards in new tab so we can add a parameter in 'info' array and mention there that whether this particular card belongs to new or not.

And then we can add gradient to it.

from focusly.

agustintrossero avatar agustintrossero commented on July 30, 2024

hello!. is this issue still open? I want to contribute to several of the open issues in this project but when I run npm install it won't let me deploy the project
as

from focusly.

Utkarshn10 avatar Utkarshn10 commented on July 30, 2024

hello!. is this issue still open? I want to contribute to several of the open issues in this project but when I run npm install it won't let me deploy the project
as

Hey @agustintrossero. Try running npm install --legacy-peer-deps.

Thanks for contributing to Focusly.

from focusly.

notpx avatar notpx commented on July 30, 2024
  1. I need to know where to put this function, because chakra UI manages the class names and we can't know what class is it without checking inspect element. Even after finding out the class of the box... I need to figure out where that class generates from, is it from the Card.js or Meditate has its own box.

I figured out how to use the class name library as you mentioned...but help me out with the placement of the function at the right place so it gets called.

If that gets clear code will work. Need help with this lads.image

from focusly.

Utkarshn10 avatar Utkarshn10 commented on July 30, 2024

Hey @notpx, you can call the function on button click using the onClick function

from focusly.

KSSaiTeja avatar KSSaiTeja commented on July 30, 2024

if the issue still open i will start work. if shared some pictorial explaination..

from focusly.

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.