Announce open source on the welcome screen with a GitHub link
This commit is contained in:
@@ -55,6 +55,7 @@
|
||||
<div class="welcome-sticker" aria-hidden="true">now with fire<small>(security alerts)</small></div>
|
||||
<p>Every file is a building, every folder a street. <b>Fly over it, walk around it, get lost in it.</b> Search every symbol, follow imports door to door, and watch the insecure bits smoulder.</p>
|
||||
<div class="welcome-actions"><button type="button" class="button-primary" id="welcomeOpen">Open a codebase →</button><span>or hit <kbd>Ctrl</kbd> <kbd>O</kbd></span></div>
|
||||
<a class="welcome-oss" href="https://github.com/andydixon/CodeNavigator" target="_blank" rel="noopener"><svg viewBox="0 0 16 16" aria-hidden="true"><path fill="currentColor" d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"/></svg><span><b>It's open source now!</b> Poke around the code →</span><small>GPLv3 · free forever · PRs welcome</small></a>
|
||||
<div class="welcome-features"><span>public + private GitHub</span><span class="local-only">local folders</span><span>walkable cities</span><span>import routes</span><span>things on fire</span><span>little people</span></div>
|
||||
</div>
|
||||
<div class="empty-state" id="emptyState" hidden>
|
||||
|
||||
@@ -111,6 +111,11 @@ kbd { display: inline-block; min-width: 18px; padding: 0 4px; border: 2px solid
|
||||
.welcome p { max-width: 540px; margin: 20px 0 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
|
||||
.welcome p b { color: var(--paper); }
|
||||
.welcome-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 30px; color: var(--dim); font: 11px var(--mono); }
|
||||
.welcome-oss { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; margin-top: 22px; padding: 9px 14px; border: 2px solid var(--black); border-radius: 8px; background: var(--sky); color: var(--black); box-shadow: var(--hard); text-decoration: none; font: 400 14px var(--display); transform: rotate(-1.5deg); transition: transform .1s, box-shadow .1s, background-color .1s; }
|
||||
.welcome-oss svg { grid-row: span 2; width: 30px; height: 30px; animation: bob 3.2s ease-in-out infinite; }
|
||||
.welcome-oss b { font-weight: 400; background: var(--pink); padding: 0 .2em; }
|
||||
.welcome-oss small { font: 700 10px var(--mono); text-transform: uppercase; letter-spacing: .06em; }
|
||||
.welcome-oss:hover { background: var(--lime); box-shadow: var(--hard-lg); transform: translate(-2px, -2px) rotate(1deg); }
|
||||
.welcome-features { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 38px; }
|
||||
.welcome-features span { padding: 5px 10px; border: 2px solid var(--line); border-radius: 999px; color: var(--muted); font: 700 11px var(--mono); }
|
||||
.welcome-features span:nth-child(4n+1) { border-color: var(--lime); transform: rotate(-2deg); }
|
||||
|
||||
Reference in New Issue
Block a user