Giter VIP home page Giter VIP logo

Comments (13)

ctuanle avatar ctuanle commented on May 24, 2024 1

@Khanhtran47 nếu không nhầm thì trang ni trang chủ phải k, trang này có load gì đâu nhỉ. Mà cũng thấy lạ sao nó lại có kiểu giống chưa load xong css ấy nhỉ.
Phần nơi ảnh hình như lúc click chuyển sang trang mình chưa làm rồi trở về trang trước là nó bị phải không ? Sau mình thêm code cho mấy trang đó t nghĩ chắc nó tự hết thôi :v

from sora.

Khanhtran47 avatar Khanhtran47 commented on May 24, 2024 1

@ctuanle t k chắc là đc k đều cứ thử xem sao

from sora.

Khanhtran47 avatar Khanhtran47 commented on May 24, 2024 1

@ctuanle chắc cái layout rứa là xong rồi 🥲 còn hơi lỗi đều ok đk :v
h chắc bắt đầu lm mấy cái page khác thôi

from sora.

Khanhtran47 avatar Khanhtran47 commented on May 24, 2024 1

@ctuanle do nextui chưa sup ssr nên cái web mình bị như vậy :v hiện tại mình cần thêm 1 cái theme provider hoặc đợi nextui fix :v
nextui-org/nextui#286
xài cái này https://github.com/abereghici/remix-themes thay cho next-themes

from sora.

Khanhtran47 avatar Khanhtran47 commented on May 24, 2024 1

@ctuanle t định tạo 1 cái animtion khi bắt đầu load trang chứ k hiểu sao t thêm base css cho nextui rồi mà đôi khi vẫn thấy k style nơi -_-

from sora.

Khanhtran47 avatar Khanhtran47 commented on May 24, 2024 1

@ctuanle

@Khanhtran47

t định tạo 1 cái animtion khi bắt đầu load trang chứ k hiểu sao t thêm base css cho nextui rồi mà đôi khi vẫn thấy k style nơi -_-

có cách nào để biết khi nào nó load xong không, hay là cứ bỏ đại cái animation vài giây rứa :v t thấy nó chia ra 3 giai đoạn:

  • đoạn chưa có css nhìn chưa ra form (1s ?)

ừ đoạn ni t cũng k rõ, kiểu t cop lại nguyên code của bên example của nextui rồi mà vẫn bị, đều đỡ hơn hồi trc

  • đoạn có css rồi nhưng vẫn light mode (0.5s ?) (nếu chọn light mode thì k có đoạn chuyển từ light sang dark)

đoạn ni là do cái custom theme của bên nextui chưa hỗ trợ ssr, t xài next themes để lm cái provider theme khi load nớ đều nhanh hơn nhưng nhìn vẫn thấy

  • đoạn dark mode (xong)

from sora.

Khanhtran47 avatar Khanhtran47 commented on May 24, 2024

@ctuanle ừ kiểu có code của tailwindcss đó, m nhìn nơi header vẫn có display flex đồ, cái ni do bên load nextui với stitches

from sora.

ctuanle avatar ctuanle commented on May 24, 2024

@Khanhtran47 thế giới UI thật lắm sắc màu 🥴

from sora.

Khanhtran47 avatar Khanhtran47 commented on May 24, 2024

@ctuanle hay setup theo cái example của bên remix https://github.com/remix-run/remix/tree/dev/examples/stitches

from sora.

ctuanle avatar ctuanle commented on May 24, 2024

@Khanhtran47 ừm rứa cx đc 😅

from sora.

Khanhtran47 avatar Khanhtran47 commented on May 24, 2024

@ctuanle
https://lottiefiles.com/search?q=movie&category=animations&animations-page=1

from sora.

ctuanle avatar ctuanle commented on May 24, 2024

https://lottiefiles.com/search?q=movie&category=animations&animations-page=1

@Khanhtran47 ồ, nhiều cái hay nhỉ

from sora.

ctuanle avatar ctuanle commented on May 24, 2024

@Khanhtran47

t định tạo 1 cái animtion khi bắt đầu load trang chứ k hiểu sao t thêm base css cho nextui rồi mà đôi khi vẫn thấy k style nơi -_-

có cách nào để biết khi nào nó load xong không, hay là cứ bỏ đại cái animation vài giây rứa :v
t thấy nó chia ra 3 giai đoạn:

  • đoạn chưa có css nhìn chưa ra form (1s ?)
  • đoạn có css rồi nhưng vẫn light mode (0.5s ?) (nếu chọn light mode thì k có đoạn chuyển từ light sang dark)
  • đoạn dark mode (xong)

from sora.

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.