figoyouwei / taipy_success

This is a sample code that tests the deployment on heroku
2 stars 2 forks source link

datauv.asia #25

Closed figoyouwei closed 1 month ago

figoyouwei commented 1 month ago

Hey,

I have uploaded the code for datauv https://github.com/figoyouwei/taipy_success/blob/main/datauv.asia/README.md

Two goals:

  1. better mobile rendering
  2. rendering about content while the url stays datauv.asia

uv pip is basically a much fast version of pip, so it shall work without issues. It is better than poetry.

AlexandreSajus commented 1 month ago

About the redirection to "About" issue. I just deployed your application using Azure: https://develop-datauv.taipy.cloud/ When I try to access it on both Desktop and Mobile, it redirects to the About page, as we want. Can you test this?

I'll try to figure out a way to get better mobile rendering with R&D, let me come back to you

AlexandreSajus commented 1 month ago

There is a way to put the sidebar above when you're in mobile by using in static/css/main.css:

.sidebar {
    left: 2.0rem;
    height: auto;
    position: static !important;
}

This should fix your issue. Let me know if you need anything else 🫡

figoyouwei commented 1 month ago

ok, thanks, I will try the css.

figoyouwei commented 1 month ago

Yes, it is much better now. Thanks for your effort. One more last thing, could you help me make the menu also a bit nicer in terms of styling? e.g. remove the underline and make the text bold white. Thanks.

Screenshot 2024-10-11 at 16 21 41
AlexandreSajus commented 1 month ago

Sure! Add this to main.css:

.css-tpnvp2 {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.css-7627tz {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

image

figoyouwei commented 1 month ago

Perfect, thanks.