Base: Add a little welcome page for the browser at ~/www/welcome.html

This commit is contained in:
Andreas Kling 2019-10-05 10:29:06 +02:00
parent 319f0d2d18
commit 31e361b827
Notes: sideshowbarker 2024-07-19 11:48:50 +09:00
2 changed files with 26 additions and 1 deletions

View file

@ -90,7 +90,7 @@ int main(int argc, char** argv)
window->set_main_widget(widget);
window->show();
html_widget->load("file:///home/anon/www/phint.html");
html_widget->load("file:///home/anon/www/welcome.html");
return app.exec();
}

View file

@ -0,0 +1,25 @@
<html>
<head>
<title>Welcome!</title>
<style type="text/css">
body {
background-color: #ffffff;
color: #000000;
}
h1 {
color: #800000;
}
</style>
</head>
<body>
<h1>Welcome to the Serenity Browser!</h1>
<p>This is a very simple browser built on the LibHTML engine.</p>
<p>Some small test pages:</p>
<ul>
<li><a href="small.html">small</a></li>
<li><a href="css.html">css</a></li>
<li><a href="lorem.html">lorem ipsum</a></li>
<li><a href="phint.html">presentational hints</a></li>
</ul>
</body>
</html>