Recent

Documentation Board

Please put documentation mutations, enhancements and errors in GitLab bugtracker, this group is for documenters  to talk over documentation and its tools.

Author Topic: Revised version of the freepascal homepage  (Read 1461 times)

Ally

  • Jr. Member
  • **
  • Posts: 80
Revised version of the freepascal homepage
« on: October 20, 2025, 04:50:58 pm »
Attached is a revised version of the freepascal homepage.

I have made the following changes:

All pages are now coded in HTML5 and created in responsive web design that also works on devices such as smartphones and tablet computers.

Text is displayed using open source fonts. These are also included in the fonts folder and ensure that the text display looks almost identical on all systems.

The layout is largely unchanged. The new top_banner is to be seen as a suggestion. If you have any requests for changes, please send me your suggestions.

The pages do not access external content. Links to other websites open in a new window.

The pictograms for “www.lazarus.freepascal.org,” “ffii.org,” “sourceforge.net,” and “gitlab.com/freepascal.org” have been updated and are stored locally.
If there are any legal concerns, they could of course also be linked externally.

The photos on the authors page are now all the same size.

I drew the files classchart.gif and timeline.png in SVG format and moved them to the pic folder.

The favicon is designed to match the top_banner. Again, if you would like it to look different, please send me your suggestions.

Some links no longer work. This also affects the “CONTRIBUTED UNITS” link in the main menu. It should be clarified whether the corresponding links should be removed or at least deactivated.

The pages and the .css file are clearly structured and easy to maintain.

The entire website is 1.1 MB in size and can also be run on a local PC.

The pages have been checked for errors using the “Nu Html Checker” [https://validator.w3.org/nu/#file].


The whole thing should be seen as a design proposal and is initially aimed at the core team. Finally, someone who is familiar with this area would need to create the appropriate templates for multilingualism.

wp

  • Hero Member
  • *****
  • Posts: 13264
Re: Revised version of the freepascal homepage
« Reply #1 on: October 20, 2025, 07:39:03 pm »
Nice!

cdbc

  • Hero Member
  • *****
  • Posts: 2516
    • http://www.cdbc.dk
Re: Revised version of the freepascal homepage
« Reply #2 on: October 20, 2025, 07:48:27 pm »
Hi
+1
Indeed Nice, Cool Ally  :)
Regards Benny
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE6/QT6 -> FPC Release -> Lazarus Release &  FPC Main -> Lazarus Main

440bx

  • Hero Member
  • *****
  • Posts: 5889
Re: Revised version of the freepascal homepage
« Reply #3 on: October 20, 2025, 08:30:25 pm »
A definite improvement... well done!.
FPC v3.2.2 and Lazarus v4.0rc3 on Windows 7 SP1 64bit.

PascalDragon

  • Hero Member
  • *****
  • Posts: 6230
  • Compiler Developer
Re: Revised version of the freepascal homepage
« Reply #4 on: October 20, 2025, 08:44:34 pm »
The layout is largely unchanged. The new top_banner is to be seen as a suggestion. If you have any requests for changes, please send me your suggestions.

First of: all in all it feels rather nice and looks rather well. Thank you for your work.

However two points of criticism: That logo that you also use for the favicon does not like a „FP” instead it looks more like a shepard's staff. The current favicon has more personality there even if it's just a sub rectangle of a frame of the cheetah animation.
Also I don't feel really happy with the background color of the banner... I know that it picks up the color from the cheetah, but it just doesn't feel good.

The whole thing should be seen as a design proposal and is initially aimed at the core team. Finally, someone who is familiar with this area would need to create the appropriate templates for multilingualism.

marcov will have to say whether that design would be usable for the template mechanism that we use.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 11911
  • Debugger - SynEdit - and more
    • wiki
Re: Revised version of the freepascal homepage
« Reply #5 on: October 20, 2025, 09:20:17 pm »
Ok, I throw in my 2 cents.

Overall, nice. Good ratio of update to conservation (keeping the existing style and flair, keeping it recognizable as the same project).

However, embracing the text-dominant style, the header is just overwhelming. To me its not just the one color as PascalDragon stated, but the mix of that orange-ish and blue => really "loud".

Wrong cheetah. That one is Lazarus. I know many people don't like the movement, but the FPC cheetah runs... Maybe it could stop after a cycle to satisfy those who get irritated. Or change on click (and store state in cookie)... if that is within what the FPC team would accept.

Also, I spent good money on a big screen. And now the content (even with the browser maximized) uses maybe 40% of its width, and cuts off lots for a quite tall header. So I get content on maybe one third of my screen.
That is way to little.
Definitely would like more width to be used. Personally wouldn't mind the header to shrink be 20% to 30% percent (the running cheetah would anyway be less tall than the sitting one).

And the last item that came to my mind is a practicality one. Menu (drop down) are fine. But for quick access they should act, if you click the menu themself. E.g. doing the same as the first item in it. For "General" that would take the user to "Home", which imho would be right.
I don't know how that works for touch screen devices though.





About the width: So that is "max-width: 62 rem".

Ignoring that I really don't get why a width needs to be relative to font-size???

The common default (root) font size for desktop is: 16px. Times 62 that is 992 pixel

My screen has 2560 pixels width. So 992 is 39%.
And I don't even have a widescreen, just a normal 16/9.

IMHO the max-width should be based on the width of the client-area (90%, 80% as absolute lowest endurable minimum), with a minimum, if that area is to small. On a handheld narrow device, it may be best to fill 100%.

GAN

  • Sr. Member
  • ****
  • Posts: 388
Re: Revised version of the freepascal homepage
« Reply #6 on: October 21, 2025, 03:32:16 am »
Great! For me, 990 pixels wide is fine. The banner should have a link to the home page. We need to discuss the logo. I like it, but I want to see other logos and then vote.
Thanks, Ally.
Linux Mint Mate (allways)
Zeos 7̶.̶2̶.̶6̶ 7.1.3a-stable - Sqlite - LazReport

Ally

  • Jr. Member
  • **
  • Posts: 80
Re: Revised version of the freepascal homepage
« Reply #7 on: October 21, 2025, 01:13:00 pm »
Thank you very much for your responses and suggestions.
As I already wrote, my proposal is intended as a basis for discussion.

@PascalDragon:
The reason for the new icon is the old one. I think that most people who are unfamiliar with FreePascal and see the icon for the first time probably won't be able to tell what it is.
At first glance, the new icon is a graphic symbol for the viewer, and at second glance, most people will probably recognize an fp for FreePascal.
Of course, you can also keep the old icon or design something completely different.

The color of the banner is defined in line 37 of the css/fp.css file. You can easily change it there and try out what you like.

35| #topbox {
36|   height: 10rem;
37|   background-color: #d79700;



@Martin_fr:
Quote
Wrong cheetah. That one is Lazarus.
I hadn't seen it that way before. But OK, then you could say that the LAZARUS cheetah is looking over at the FreePascal logo.
Quote
the FPC cheetah runs...
Yes, and that's exactly what I find a bit outdated, along with its blocky graphics. Maybe I'm wrong and the core team sees it completely differently.

Quote
Also, I spent good money on a big screen.
I based the width somewhat on other current websites.
The reason why most single-column websites are not wider is certainly because the long lines that result from continuous text are more difficult to read, and text sections with many short lines create a lot of empty space.
The design of the page is responsive, so it adapts to smaller screens and, of course, fills the entire screen on a smartphone.

Quote
Ignoring that I really don't get why a width needs to be relative to font-size???
In responsive web design, pixels are a rather rarely used unit of measurement.
Relative dimensions such as “em” or “rem” are much more important here. The screen resolution in ppi is then taken into account in the display. (Lazarus can also do this with ‘PixelsPerInch’ / “Scaled”).
An example: On a standard PC screen with a resolution of 92 ppi, a letter of 16 pixels (including ascenders and descenders) is 4.4 mm high.
On an iPhone 13 with a resolution of 457 ppi, such a 16-pixel letter would be just 0.88 mm high.


@GAN
Quote
I like it, but I want to see other logos and then vote.
Maybe you have a good idea yourself?

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 11911
  • Debugger - SynEdit - and more
    • wiki
Re: Revised version of the freepascal homepage
« Reply #8 on: October 21, 2025, 02:19:16 pm »
Quote
Also, I spent good money on a big screen.
I based the width somewhat on other current websites.
The reason why most single-column websites are not wider is certainly because the long lines that result from continuous text are more difficult to read, and text sections with many short lines create a lot of empty space.
I can get the "difficult to read", if (and only if) such a very wide paragraph had at the same time many lines at that width (at the very least 5 or more). Otherwise its easy to stay on line, imho. (And then, if width must get limited, it could be done going multi column / but that is just a generic remark, I don't think the fpc page should go multi column)

The empty spaces is a strange argument for limiting the width, since limiting the width is creating a lot of empty space.

The issue is, anyone (desktop, not mobile) can size their browser, if they don't want the page that wide.
And (imho) anyone who sized their browser to be full screen width then wants to use that width.

How many devices are there that
- have a screen that big/wide
- do not have on OS/Desktop that allows the browser to be sized to part of that screen
?
I.e. on a mobile, the "line to long = difficult to read" will hardly happen.
On a tablet, well, if the person uses a really tiny font, but then they will have a reason for that tiny font....

Quote
The design of the page is responsive, so it adapts to smaller screens and, of course, fills the entire screen on a smartphone.
I hadn't tested that, would have been my next question: Smartphone, but turned sidewards....

Quote

Quote
Ignoring that I really don't get why a width needs to be relative to font-size???
In responsive web design, pixels are a rather rarely used unit of measurement.
I wasn't advocating pixel.
Percentage (of the parent / viewport) is a relative measurement. And should work universal?

Quote
Relative dimensions such as “em” or “rem” are much more important here. The screen resolution in ppi is then taken into account in the display. (Lazarus can also do this with ‘PixelsPerInch’ / “Scaled”).
An example: On a standard PC screen with a resolution of 92 ppi, a letter of 16 pixels (including ascenders and descenders) is 4.4 mm high.
On an iPhone 13 with a resolution of 457 ppi, such a 16-pixel letter would be just 0.88 mm high.

EM/REM are good for "fixed sizes" (with scaling). E.g. a box that should have a size fitting certain content, never mind the size of the screen/viewport.

EM/REM could be used as minsize, to force scrolling, if a viewport is too small.

The viewport itself of course reports its size already "scaled", so percentage of the viewport is an equally portable measure.

I don't however see a good argument to say "a viewport is too big". Unless, there is a viewport of which it is known that the user can not control it. Otherwise the users personal settings should have the highest priority.

Ally

  • Jr. Member
  • **
  • Posts: 80
Re: Revised version of the freepascal homepage
« Reply #9 on: October 21, 2025, 04:35:23 pm »
@Martin_fr:
Quote
Otherwise the users personal settings should have the highest priority.

That is correct, of course. I included this “limitation” for the reasons mentioned above and to avoid disrupting the proportions of the page too much.
Here are a few examples where this approach is also used: [https://www.tagesschau.de], [https://www.startpage.com] und [https://www.heise.de].

But it's easy to see what the page looks like across its full width.
The definition can be found in line 32 of the css/fp.css file. If you remove it, the full width will be used.

29| #mainbox {
30|   margin: 0 auto;
31|   background-color: #253183;
32| /*  max-width: 62rem;*/
33| }

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 11911
  • Debugger - SynEdit - and more
    • wiki
Re: Revised version of the freepascal homepage
« Reply #10 on: October 21, 2025, 05:35:21 pm »
Yes, other pages may use it too. Doesn't mean I have to like it. Or that every page has to follow it.

I still find it pointless. I.e. it is only needed if the user had chosen not to want it.... And more, browser offer a "reading mode", you can try that here on the forum (well chrome has issues with it, but firefox will show it). So, if users don't wont to resize there browser they still have that option....

And yes, I looked at the page full width, between 80% and 90%  (replacing the rem) looked great to me. That is with the current content. If that was a novel to be read on the screen, then that may be different.

Anyway, I stated my opinion. In the end the fpc team has to decide which layout the want to use.

n7800

  • Hero Member
  • *****
  • Posts: 583
  • Lazarus IDE contributor
    • GitLab profile
Re: Revised version of the freepascal homepage
« Reply #11 on: October 21, 2025, 05:53:47 pm »
It looks like the forum topic got more attention than the original bug-tracker reports ))

https://gitlab.com/freepascal.org/fpc/website/-/issues/3

@Ally, it would be better to add a link to the topic description. Now they're duplicated, and it's unclear which one contains the newest files. Furthermore, there's more partial duplication in this report:

https://gitlab.com/freepascal.org/fpc/website/-/issues/1

The discussion is already divided between them...

n7800

  • Hero Member
  • *****
  • Posts: 583
  • Lazarus IDE contributor
    • GitLab profile
Re: Revised version of the freepascal homepage
« Reply #12 on: October 21, 2025, 06:18:18 pm »
However two points of criticism: That logo that you also use for the favicon does not like a „FP” instead it looks more like a shepard's staff. The current favicon has more personality there even if it's just a sub rectangle of a frame of the cheetah animation.
Also I don't feel really happy with the background color of the banner... I know that it picks up the color from the cheetah, but it just doesn't feel good.

The logo and colors were already discussed in this issue:

https://gitlab.com/freepascal.org/fpc/documentation/-/issues/39439

GAN

  • Sr. Member
  • ****
  • Posts: 388
Re: Revised version of the freepascal homepage
« Reply #13 on: October 22, 2025, 03:30:16 am »
....

@GAN
Quote
I like it, but I want to see other logos and then vote.
Maybe you have a good idea yourself?

I'm sorry, but I'm the least qualified person in the world to design a logo.
Linux Mint Mate (allways)
Zeos 7̶.̶2̶.̶6̶ 7.1.3a-stable - Sqlite - LazReport

Ally

  • Jr. Member
  • **
  • Posts: 80
Re: Revised version of the freepascal homepage
« Reply #14 on: October 29, 2025, 03:39:31 pm »
Hello,

I've been working on the layout a bit more (font sizes, spacing, color scheme, etc.).
There have also been some changes to the responsive web design. I would be particularly grateful for feedback on whether the pages display correctly on your smartphone/tablet.
To make it easy to try out on mobile devices, I'm putting the site online for a few days at https://www.rhsoft.de/fp/.

 

TinyPortal © 2005-2018