Skip to content

Commit

Permalink
Reworked landing page
Browse files Browse the repository at this point in the history
  • Loading branch information
karurochari committed Dec 19, 2024
1 parent e104107 commit 05618cc
Show file tree
Hide file tree
Showing 8 changed files with 447 additions and 115 deletions.
1 change: 0 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
mkdir dist
doxygen
mkdocs build
echo "<a href=\"./website\">Website</a> or <a href=\"./docs/html\">Doxygen</a>" > ./dist/index.html
bun install -g gh-pages
- name: Deploy
run: |
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ subprojects/*
!subprojects/packagefiles/
*.autogen.*
*.autofrag.*
/dist/
/dist/*
!/dist/website/
/node_modules/
/bun.lockb
/private/
Expand Down
2 changes: 1 addition & 1 deletion Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ PROJECT_LOGO =
# entered, it will be relative to the location where doxygen was started. If
# left blank the current directory will be used.

OUTPUT_DIRECTORY = dist/docs
OUTPUT_DIRECTORY = dist/doxygen

# If the CREATE_SUBDIRS tag is set to YES then doxygen will create up to 4096
# sub-directories (in 2 levels) under the output directory of each output format
Expand Down
222 changes: 111 additions & 111 deletions commons/assets/logos/vs.dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
66 changes: 66 additions & 0 deletions dist/website/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
<!DOCTYPE html>
<html>

<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="color-scheme" content="light dark">
<meta name="description" content="Documentation for vs.fltk, the lightweight UI builder and runtime based on fltk">
<meta name="keywords" content="fltk, UI, builder, xml, SFC">
<meta name="author" content="karurochari">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@picocss/pico@2/css/pico.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css"
integrity="sha512-Evv84Mr4kqVGRNSgIGL/F/aIDqQb7xQ2vcrdIwxfjThSH8CSR7PBEakCr51Ck+w+/U6swU2Im1vVX0SVk9ABhg=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<title>Documentation of vs.fltk</title>
<style>
figure {
text-align: center;
max-width: 600px;

}

nav {
gap: 1.0em;
flex-direction: column;
max-width: 600px;
}

nav button {
width: 100%;
}

main {
justify-items: center;
}
</style>
</head>

<body class="container">

<header>

</header>
<main>
<figure>
<img src="./public/vs.light.svg" />
</figure>
<hr />
<nav>
<a href="https://github.com/KaruroChori/vs-fltk/releases"><button><i class="fa-solid fa-download"></i>
Releases</button></a>
<a href="https://github.com/KaruroChori/vs-fltk"><button><i class="fa-brands fa-github"></i>
Source</button></a>
<a href="./docs"><button><i class="fa-solid fa-book"></i> Main documentation</button></a>
<a href="./doxygen"><button><i class="fa-solid fa-book"></i> Doxygen reference</button></a>
<button disabled>Online demo</button>
<button disabled><i class="fa-solid fa-comment"></i> Help</button>
</nav>
</main>
<footer>

</footer>

</body>

</html>
133 changes: 133 additions & 0 deletions dist/website/public/vs.dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 05618cc

Please sign in to comment.