-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Improved view: welcome_message.php #2550
Conversation
Various changes, solved some w3 validator warnings and erros, edited js for mobile menu (using toggle instead of if/else), some margin/padding and color adjustment about mobile navigation and a bit of css transitions for css hover effects. Cursor pointer on toggle menu button/link. I think both validator and graphic changes improve the current one. Fixed reverse menu items on mobile or desktop version.
Thank you for the suggestions, but: Do not mistake yourself, I am open to any suggestion. But I take a lot of time to write and review each line of code I produce, so I like to discuss and understand precisely what is wrong or could be improved. Even spaces and tabs :-) |
Thanks for the feedback!
Ok, I considered a forum comment but you're right, I removed # on toggle. BUt I think it may be ok for the home link.
Removed lang, thanks!
No problem, I want suggestions as your ones, in any case. Thank again! |
OK, thanks ! I think it’s better when you explain things like this. And choosing the same indentation makes it easier to read changes. My comments: 1/ Removed duplicated alt on IMG… All right :-) I have to split your next point, because these are separated things in fact… 4/ Removed menu reverse… I noticed it. But I thought it was not important, and doesn’t worth more development/code. You did it. Why not. |
Please add @lonnieezell to reviewers on top right of your pull request ;-) |
Ah ok, I hadn't considered the previous style. Let's wait, maybe we can learn something new about this or at least understand why.
Yes, surely first one was easier but we can avoid about 10+ lines here if you count js and css. And I think it would be good if someone approach to new code, I learn a lot using CI, this could be useful for others too. At the end, it isn't that hard too.
Yeah, a lot subjective. I just thought about reducing code if/where it is possible.
Maybe im looking in wrong dir, but I cant see it now on toggle: http://prntscr.com/r2al0f
Done, thank you. I'm like newbie to do things on Github, need to learn it, step by step. :D |
For what it is worth I have uploaded the source code to : https://ci4-strict.tk/welcome_new. I think that any validation errors or warnings reflect upon the CodeIgniter4 Project and cast serious doubt upon attention to detail. I also think that:
[off-topic] Also there was talk quite some time ago about using the Google Raleway font although I think this would add an unnecessary overhead. |
Where were you guys when we were working on this the previous days ? 😀🙃 1/ Sorry, I’m french. I did not understand or followed you on this. And what do you mean by « cast serious doubt upon attention to details » ? For graphics, we use what we have. What we find on the internet. There is no official repo with assets (I believe). That’s actually a good question because I was thinking about suggesting a « Press » section on the website, so that people get the official graphic charter and logos... Regarding the font-stack, as I said, it is Github’s one (sans-serif). On the other project (future website) they use another Google font. I chose not to include any external source as it is a constraint for this page. No external image, stylesheet, font... this is the reason 🙂 It has to work locally, without any internet connection. |
This broke the navigation to me, page reload on clic, menu open and close instantly for the reload (chrome/brave on desktop + android). Maybe better, at this point, to convert it to button or just generic div at all, so we don't have to put href for any reason... Not seen this before, I agree, also if it works without it. I prefer lonnieezell reply about this. Clearly all vendor attributes isn't really necessary here. Sure, I use it always and it give no problem also if isnt needed, For the moment I think to put it back, than wait for lonniee comments.. I agree, has been removed in this proposal yet. Here demo of last changes: |
Little fixes and: - converted toggle menu link to button - hover colors change mainly in menu and footer like codeigniter.com ones (better contrast and readability) - css focus added (navigate using tab) - a bit bigger logo (setup using height only, its adaptive, removed width attribute) - quotes around font names - lang attribute back
I'm not familiar with the replacement you're talking about. Typically SVG requires a vector version of the file that I am not sure we have access to.
I agree with not using external resources here. |
I think it is updated as received suggestions. |
Looks good to me. Thanks! Merging. |
Description
Various changes, solved some w3 validator warnings and erros, edited js for mobile menu (using toggle instead of if/else), some margin/padding and color adjustment about mobile navigation and a bit of css transitions for css hover effects. Cursor pointer on toggle menu button/link. I think both validator and graphic changes improve the current one. Fixed reverse menu items on mobile or desktop version.
Checklist:
Update V3: