Skip to content

Commit 59b93b4

Browse files
committed
put website in repo
1 parent bd2d887 commit 59b93b4

File tree

3 files changed

+124
-0
lines changed

3 files changed

+124
-0
lines changed

.github/workflows/website.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Build-Website
2+
on: push
3+
4+
jobs:
5+
build-site:
6+
name: Build Website
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Checkout code
10+
uses: actions/checkout@v4
11+
with:
12+
submodules: true
13+
- name: Fix permissions
14+
run: |
15+
chmod -c -R +rX "_site/" | while read line; do
16+
echo "::warning title=Invalid file permissions automatically fixed::$line"
17+
done
18+
- name: Upload
19+
uses: actions/upload-pages-artifact@v3
20+
21+
# Deploy job
22+
deploy:
23+
# Add a dependency to the build job
24+
needs: build-site
25+
26+
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
27+
permissions:
28+
pages: write # to deploy to Pages
29+
id-token: write # to verify the deployment originates from an appropriate source
30+
31+
# Deploy to the github-pages environment
32+
environment:
33+
name: github-pages
34+
url: ${{ steps.deployment.outputs.page_url }}
35+
36+
# Specify runner + deployment step
37+
runs-on: ubuntu-latest
38+
steps:
39+
- name: Deploy to GitHub Pages
40+
id: deployment
41+
uses: actions/deploy-pages@v4 # or the latest "vX.X.X" version tag for this action

_site/index.html

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
<head>
2+
<title>UnityHubNative</title>
3+
<link rel="stylesheet" type="text/css" href="style.css">
4+
<meta charset="utf-8">
5+
<meta name="description" content="">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<link id="favicon" rel="icon" href="favicon.png" type="image/x-icon">
8+
9+
<meta property="og:image" content="A lighting-fast native rewrite of the Unity Hub in C++">
10+
<meta property="og:image:type" content="image/png">
11+
<meta property="og:image:width" content="128">
12+
<meta property="og:image:height" content="128">
13+
</head>
14+
15+
<body>
16+
<h1>UnityHubNative</h1>
17+
<p>
18+
UnityHubNative is a lightweight C++ / wxWidgets alternative to the unnecessarily heavy official Unity Hub, built
19+
using wxWidgets.
20+
It uses native widgets on all platforms instead of heavy web components like the official Electron hub.
21+
</p>
22+
<p>
23+
UnityHubNative launches many times faster, uses far less memory and CPU, and is a fraction of the total size of
24+
the official Unity Hub.
25+
</p>
26+
<img class="heroimage"
27+
src="https://user-images.githubusercontent.com/22283943/193929653-a4aad2b6-229b-4438-afee-c30a7ae39949.png">
28+
29+
<h3>Features</h3>
30+
<p>
31+
<ul>
32+
<li>
33+
Add an existing project to the list using the Add Existing button
34+
</li>
35+
<li>
36+
Open projects by double-clicking them in the list, or by selecting them and pressing Enter
37+
</li>
38+
<li>
39+
Create new unity projects with templates, for any modern Unity version you have installed, with the Create
40+
New button
41+
</li>
42+
<li>
43+
View Unity installs by double clicking them in the list views in the Editor Versions section
44+
</li>
45+
<li>
46+
Manage Unity installs
47+
</li>
48+
<li>
49+
Manage Unity licenses
50+
</li>
51+
<li>
52+
Update projects to a Unity version of your choosing
53+
</li>
54+
</ul>
55+
</p>
56+
<p>
57+
UnityHubNative does not have every feature that the official hub has, but it has most of the commonly-needed features. UnityHubNative serves as a shortcut to get into your projects faster.
58+
</p>
59+
60+
<h2><a href="https://github.com/Ravbug/UnityHubNative/releases/latest">Download</a></h2>
61+
62+
<h3><a href="https://github.com/Ravbug/UnityHubNative">Source code</a></h3>
63+
</body>

_site/style.css

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
*{
2+
font-family: system-ui
3+
}
4+
@media (prefers-color-scheme: dark) {
5+
body{
6+
background-color: #323232;
7+
color: white;
8+
}
9+
a{
10+
color: rgb(83, 158, 250)
11+
}
12+
}
13+
pre{
14+
font-family: monospace;
15+
overflow: scroll;
16+
}
17+
.heroimage{
18+
width: 100%;
19+
max-width: 800px;
20+
}

0 commit comments

Comments
 (0)