hasadna / open-bus-map-search

open-bus-map-search
https://open-bus-map-search.hasadna.org.il/dashboard
MIT License
48 stars 85 forks source link

feat: implement homepage design according to figma #762

Closed itsoriki closed 1 month ago

itsoriki commented 1 month ago

Resolves #421

Description

Implemented homepage design according to Figma

Note: the footer is 100% of the whole screen (and therefore looks a bit too right right) because I couldn't find another way (oh, and I've tried to :))

screenshots

image

github-actions[bot] commented 1 month ago

Preview: https://s3.amazonaws.com/noam-gaash.co.il/9203205197/open-bus/e45f13f34084018992853ec353db6cf7c840ab28/index.html Preview Storybook: https://s3.amazonaws.com/noam-gaash.co.il/9203205197/open-bus/e45f13f34084018992853ec353db6cf7c840ab28/storybook/index.html

NoamGaash commented 1 month ago

You can add:

.ant-layout {
    position: relative;
}
.container footer {
    position:absolute;
}
main:has(footer) {
    padding-bottom: 40px;
}

to fix footer centering