mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-24 21:45:20 +00:00
Base: Add a little welcome page for the browser at ~/www/welcome.html
This commit is contained in:
parent
319f0d2d18
commit
31e361b827
Notes:
sideshowbarker
2024-07-19 11:48:50 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/31e361b8271
2 changed files with 26 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
|
25
Base/home/anon/www/welcome.html
Normal file
25
Base/home/anon/www/welcome.html
Normal 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>
|
Loading…
Add table
Reference in a new issue