-
Notifications
You must be signed in to change notification settings - Fork 11.3k
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
Created a new layout for GitHub projects #2702
base: main
Are you sure you want to change the base?
Conversation
@george-gca kindly review this as well |
I know this was previously discussed, but this is the updated version. I am using this for my projects section and it felt like a waste for it to not be a feature. Next I am thinking about adding some default badges to include Light ModeDark Modethe above are the ones for my GitHub stars Light ModeDark ModeAnd these 2 are for installs on my VS extension I was thinking about adding a little bit more like these so that they can make them easily? or should they do this themselves? |
I believe they should add them themselves. I am not sure about the layout of the icons in the desktop version, but tbh I don't currently have a counter-proposal. Have you tested it in the description as smaller icons maybe? But I like the idea of this being a different layout available for the users. Can you create (or maybe modify) a project so it uses this layout, so it can be an example of usage? |
{% if include.height %} | ||
height="{{ include.height }}" | ||
{% else %} | ||
height="40" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe it is best to use rem whenever possible. This calculator can help.
Then should I center align the title and add the icons below it? Like in the mobile version? In my opinion it will make the description look awkward, it should be with the title but if we center align it, I don't think it will give a professional look |
I think the current desktop version doesn't look very professional, but the mobile one looks nice. I agree to not center align it in the desktop version. What about putting it after the description and before the repo card? |
That was how I did it initially but it looked like I was just dumping everything to the left side |
I am also thinking about adding a divider right before the repositories, it will keep it separated from the center-aligned content |
I am using the design on my website, you can take a look directly if you want to |
Can you make it look like this? I believe left aligned keeps the layout more similar to the other ones we are already using. If the user provides an image it could be shown in the left previous to the title like in this image, if not, it could be hidden and the title and everything would be left aligned. Also I agree to adding a divider before and after the repo cards. |
I'll try to make it look like that |
Preview
Additions