-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HDDS-9577. Add HomePage Banner, Styles and Responsive Design #65
base: HDDS-9225-website-v2
Are you sure you want to change the base?
Conversation
will-sh
commented
Jan 28, 2024
- Added responsive design for mobile devices.
- Included a replaceable banner image.
- Incorporated new CSS stylesheets and components.
- Added responsive design for mobile devices. - Included a replaceable banner image. - Incorporated new CSS stylesheets and components.
Thanks for working on this @will-sh. Just a few questions:
|
Thanks @errose28 for the review.
In the banner.css file, we've implemented a responsive layout that adjusts to different screen sizes. For larger screens like desktops or laptops, we use a flex layout, as detailed in this guide to flexbox. For smaller screens, such as those on mobile devices, we've added CSS media queries to ensure the components adapt to the screen size. This approach allows the page layout to respond dynamically to various device sizes, enhancing usability across devices.
The banner image, banner.png, was created from scratch using Figma, a popular design tool known for its versatility and ease of use. As the image is an original design and not derived from existing internet resources, there are no licensing issues. We used the Helvetica font, which is a standard option in Figma’s font library. The advantage of designing in Figma or Adobe Illustrator is not only creative freedom but also the avoidance of licensing complications often associated with using pre-existing images. Also, another advantage of using Figma is easy to adjust the PNG size according to different screen sizes. Feedback and suggestions are welcome regarding the banner style. If anyone has thoughts on its design or ideas for improvement, I'd greatly appreciate the input. We can discuss potential changes to ensure the banner effectively aligns with our project's aesthetic and functional goals.
Yes, ozone-logo-hug.svg is a cropped version of ozone-logo.svg, tailored using Figma to achieve a more appropriate and tight size. This adjustment makes it easier to align with other components in the layout. I agree with your suggestion to adopt this tighter-cropped version as the new ozone-logo.svg. This change should streamline our asset library and ensure consistency in our visual presentations. |
@errose28 Is there any else I could help with? |
Hi @will-sh sorry for the late response. I was busy working on CI for the website and did not have time to review this. Thanks for providing the info about figma, flexbox, and CSS media queries. I don't know a lot about this area so every pointer helps. For the overall styling, can we try something with a more minimal color palette? Maybe just grays, greens, and white since these are the main colors used in Ozone's logo. I would like to try some banner designs in Figma myself but have not had the time to learn the tool yet. Maybe we can do simpler (gray?) banner with a more subtle design in the background. For reference, here are two other apache homepages I like but are simple enough that I think we can get something similar: https://nifi.apache.org/ https://airflow.apache.org/ Don't worry too much about the subtask breakdown I put under the main homepage Jira. We may end up with a design more organically that doesn't exactly line up with what is described there. I like your approach here of defining a blueprint that we can fill in with text and image content later. |
Also, could you add your cropped ozone svg logo as a separate pull request? I think we should incorporate that portion right away while we iterate on other design aspects here. |
Hi @errose28 I created subtask (https://issues.apache.org/jira/browse/HDDS-10426) with PR (#80) |
I like your idea about simpler banners and styles, please bear with me I'm not an expert in design.
|
I have no design experience either, so thanks for taking a stab at this! Figma looks like a good tool, but I will need to find some bandwidth to figure out how to properly use it before I can be of much help on content generation. |
Just moving this to draft since we are still brainstorming ideas here. |