Skip to content

Commit 71fef75

Browse files
committed
Add Source 2 logo, use vectors for game icons
1 parent de65419 commit 71fef75

9 files changed

Lines changed: 19 additions & 27 deletions

File tree

index.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
</script>
8181
</head>
8282
<body>
83-
<svg xmlns="http://www.w3.org/2000/svg" style="display:none" hidden>
83+
<svg style="display:none" hidden>
8484
<symbol id="s2v-logo" viewBox="0 0 160 160">
8585
<circle cx="75.25" cy="72.75" r="64.58" fill="#242a40"/>
8686
<path fill="#458fff" d="M143.69 21.16q0 1.04-.12 2.04s-4.59 27.94-7.58 45.96c-.5 3.03-1.46 9.4-1.66 10.01v.02a7.06 7.06 0 0 1-9.48 4.27 6.8 6.8 0 0 1-4.18-6.39v-.08c0-.38.21-3.16.22-4.18a48 48 0 0 0-.25-4.82 44 44 0 0 0-1.58-8.09 45.7 45.7 0 0 0-38.68-32.5 47 47 0 0 0-5.07-.29c-.84 0-4.1.21-4.19.19a7 7 0 0 1-1.68-13.74c.46-.14 6.66-1.18 9.68-1.72 18.25-3.24 44.55-7.88 44.55-7.88a17.3 17.3 0 0 1 11.74 2.35 17.4 17.4 0 0 1 8.29 14.83Z"/>
@@ -97,11 +97,11 @@
9797
<a href="#features">Features</a>
9898
<a href="#changelog">Changelog</a>
9999
<a href="https://discord.gg/s9QQ7Wg7r4" class="nav-social">
100-
<svg aria-hidden="true" viewBox="0 0 16 16" width="16" height="16"><path d="M13.54 2.9a13.2 13.2 0 00-3.25-1c-.02 0-.04 0-.05.02-.15.25-.3.58-.41.83a12.18 12.18 0 00-3.66 0 8.4 8.4 0 00-.41-.83.05.05 0 00-.05-.02 13.16 13.16 0 00-3.28 1.03 13.5 13.5 0 00-2.34 9.14c1.37 1 2.7 1.61 4 2.02.01 0 .04 0 .05-.02.3-.42.58-.86.82-1.33a.05.05 0 00-.03-.07 8.76 8.76 0 01-1.25-.6.05.05 0 010-.08l.24-.2a.05.05 0 01.05 0 9.46 9.46 0 008.05 0h.05l.25.2c.03.02.02.07 0 .09-.4.23-.82.43-1.26.59a.05.05 0 00-.02.07c.24.47.51.91.81 1.33.02.02.04.03.06.02a13.23 13.23 0 004.02-2.06 13.41 13.41 0 00-2.39-9.12zm-8.2 7.31c-.78 0-1.43-.72-1.43-1.6 0-.9.64-1.62 1.44-1.62.8 0 1.45.73 1.43 1.61 0 .89-.63 1.61-1.43 1.61zm5.32 0c-.79 0-1.43-.72-1.43-1.6 0-.9.63-1.62 1.43-1.62.81 0 1.45.73 1.44 1.61 0 .89-.63 1.61-1.44 1.61z"></path></svg>
100+
<svg aria-hidden="true" viewBox="0 0 16 16" width="16" height="16"><path d="M13.54 2.9a13.2 13.2 0 00-3.25-1c-.02 0-.04 0-.05.02-.15.25-.3.58-.41.83a12.18 12.18 0 00-3.66 0 8.4 8.4 0 00-.41-.83.05.05 0 00-.05-.02 13.16 13.16 0 00-3.28 1.03 13.5 13.5 0 00-2.34 9.14c1.37 1 2.7 1.61 4 2.02.01 0 .04 0 .05-.02.3-.42.58-.86.82-1.33a.05.05 0 00-.03-.07 8.76 8.76 0 01-1.25-.6.05.05 0 010-.08l.24-.2a.05.05 0 01.05 0 9.46 9.46 0 008.05 0h.05l.25.2c.03.02.02.07 0 .09-.4.23-.82.43-1.26.59a.05.05 0 00-.02.07c.24.47.51.91.81 1.33.02.02.04.03.06.02a13.23 13.23 0 004.02-2.06 13.41 13.41 0 00-2.39-9.12zm-8.2 7.31c-.78 0-1.43-.72-1.43-1.6 0-.9.64-1.62 1.44-1.62.8 0 1.45.73 1.43 1.61 0 .89-.63 1.61-1.43 1.61zm5.32 0c-.79 0-1.43-.72-1.43-1.6 0-.9.63-1.62 1.43-1.62.81 0 1.45.73 1.44 1.61 0 .89-.63 1.61-1.44 1.61z"/></svg>
101101
Discord
102102
</a>
103103
<a href="https://github.com/ValveResourceFormat/ValveResourceFormat" class="nav-social">
104-
<svg aria-hidden="true" viewBox="0 0 16 16" width="16" height="16"><path d="M8 0c4.42 0 8 3.58 8 8a8.013 8.013 0 0 1-5.45 7.59c-.4.08-.55-.17-.55-.38 0-.27.01-1.13.01-2.2 0-.75-.25-1.23-.54-1.48 1.78-.2 3.65-.88 3.65-3.95 0-.88-.31-1.59-.82-2.15.08-.2.36-1.02-.08-2.12 0 0-.67-.22-2.2.82-.64-.18-1.32-.27-2-.27-.68 0-1.36.09-2 .27-1.53-1.03-2.2-.82-2.2-.82-.44 1.1-.16 1.92-.08 2.12-.51.56-.82 1.28-.82 2.15 0 3.06 1.86 3.75 3.64 3.95-.23.2-.44.55-.51 1.07-.46.21-1.61.55-2.33-.66-.15-.24-.6-.83-1.23-.82-.67.01-.27.38.01.53.34.19.73.9.82 1.13.16.45.68 1.31 2.69.94 0 .67.01 1.3.01 1.49 0 .21-.15.45-.55.38A7.995 7.995 0 0 1 0 8c0-4.42 3.58-8 8-8Z"></path></svg>
104+
<svg aria-hidden="true" viewBox="0 0 16 16" width="16" height="16"><path d="M8 0c4.42 0 8 3.58 8 8a8.013 8.013 0 0 1-5.45 7.59c-.4.08-.55-.17-.55-.38 0-.27.01-1.13.01-2.2 0-.75-.25-1.23-.54-1.48 1.78-.2 3.65-.88 3.65-3.95 0-.88-.31-1.59-.82-2.15.08-.2.36-1.02-.08-2.12 0 0-.67-.22-2.2.82-.64-.18-1.32-.27-2-.27-.68 0-1.36.09-2 .27-1.53-1.03-2.2-.82-2.2-.82-.44 1.1-.16 1.92-.08 2.12-.51.56-.82 1.28-.82 2.15 0 3.06 1.86 3.75 3.64 3.95-.23.2-.44.55-.51 1.07-.46.21-1.61.55-2.33-.66-.15-.24-.6-.83-1.23-.82-.67.01-.27.38.01.53.34.19.73.9.82 1.13.16.45.68 1.31 2.69.94 0 .67.01 1.3.01 1.49 0 .21-.15.45-.55.38A7.995 7.995 0 0 1 0 8c0-4.42 3.58-8 8-8Z"/></svg>
105105
GitHub
106106
</a>
107107
</nav>
@@ -125,7 +125,7 @@ <h3>Fully open-source and reverse-engineered.</h3>
125125
<div class="download">
126126
<a href="https://github.com/ValveResourceFormat/ValveResourceFormat/releases" class="btn" id="js-download">
127127
<span class="download-text">Download</span>
128-
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 17V3"/><path d="m6 11 6 6 6-6"/><path d="M19 21H5"/></svg>
128+
<svg width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 17V3"/><path d="m6 11 6 6 6-6"/><path d="M19 21H5"/></svg>
129129
</a>
130130
<div class="download-footer">
131131
<a href="https://nightly.link/ValveResourceFormat/ValveResourceFormat/workflows/build/master/Source2Viewer.zip">Download dev build</a>
@@ -139,11 +139,11 @@ <h3>Fully open-source and reverse-engineered.</h3>
139139
<div class="supported">
140140
<span>Supports all Source 2 games</span>
141141
<div class="game-icons">
142-
<a href="https://www.counter-strike.net"><img alt="Counter-Strike 2" width="24" height="24" src="static/games/cs2.png"></a>
143-
<a href="https://www.dota2.com"><img alt="Dota 2" width="24" height="24" src="static/games/dota2.png"></a>
144-
<a href="https://half-life.com"><img alt="Half-Life: Alyx" width="24" height="24" src="static/games/alyx.png"></a>
145-
<a href="https://playdeadlock.com"><img alt="Deadlock" width="24" height="24" src="static/games/deadlock.png"></a>
146-
<a href="https://www.steamvr.com"><img alt="SteamVR" width="24" height="24" src="static/games/steamvr.png"></a>
142+
<a href="https://developer.valvesoftware.com/wiki/Source_2" title="Source 2"><svg viewBox="0 0 128 128" width="24" height="24"><path fill="#f79a10" d="M106.4 0a21.5 21.5 0 0 1 19.9 29.6L100 93.8a68 68 0 0 1-17.3 24.6 6.5 6.5 0 0 1-8.7-9.7l1-1q.2 0 .3-.2l.3-.3.2-.2 2.5-2.6.1-.1A55 55 0 0 0 36.2 13q-14.8.4-26.7 7.4A6.5 6.5 0 0 1 3.3 9c10.3-6 22-9 33.8-9zm-3.9 6.2q-4.5 0-7.7 2.3-3 2.4-3.6 7.8l6.5.7q.2-3 1.4-4.2t3.3-1.2q2 0 3.2 1.2t1.2 3.4q0 2-1.4 4-1 1.4-5.4 5.6a43 43 0 0 0-7.4 8.2q-1.9 3-2.2 6.5h23v-6h-13q.4-1 1.3-1.9l4-3.8a42 42 0 0 0 4.2-4.3q1.8-2.4 2.6-4.4t.9-4.4q0-4-3-6.8-2.8-2.7-7.9-2.7"/><path fill="#666" d="M36.5 27.8q9 0 15.5 2.7 6.3 2.6 9.8 7.7 3.4 5.2 4 13H48.3q-.3-3.3-1.8-5.4a9 9 0 0 0-4-3.1q-2.5-1.1-6.4-1.1-3.4 0-5.9.9a8 8 0 0 0-3.8 2.5 7 7 0 0 0-1.3 4.2q0 2 1 3.5a8 8 0 0 0 2.9 2.6 26 26 0 0 0 5.6 2.1l13.2 3.3q7 1.7 11.6 4.9 4.5 3 6.8 7.6t2.3 10.6q0 7.5-3.6 12.9-3.7 5.4-10.6 8.4-7 3-17 3-9.8 0-16.7-3-7-3-10.8-9t-4.5-15h17.9q.3 4.4 2 7.2 1.8 2.7 4.9 4a21 21 0 0 0 7.7 1.3q4.3 0 7-1a8 8 0 0 0 4.2-3 8 8 0 0 0 1.4-4.8q0-2.6-1-4.4a9 9 0 0 0-3.3-3 26 26 0 0 0-6-2.3l-13-3.2q-6.2-1.5-10.5-4.1-4.4-2.6-6.8-6.9a21 21 0 0 1-2.5-10.4q0-6.8 3.2-11.9 3-5 9.6-7.9t16.3-2.9"/></svg></a>
143+
<a href="https://www.counter-strike.net" title="Counter-Strike 2"><svg viewBox="0 0 32 32" width="24" height="24"><path fill="#28397e" d="M0 0h32v32H0z"/><path fill="#faac19" d="m17 22-3 10H.02L0 0h17l-4 15 4 7Z"/><path fill="#f2efef" d="M15.21.52c-.16.16-.29.35-.4.55l-.13.3-.06.32.07 1.34s.02.1.06.13l.47.2-.27.45s-.04.05-.07.05c0 0-.56.01-.83.03-.5.02-1.65.67-2.49 2.52l-.96 2.13c-.02.03-.05.06-.09.05h-.77s-.1.04-.12.09l-1.2 3.48s0 .1.03.15l.83.54s.03.05.03.08l-.44 1.32-.03.08-.57.53-.04.05-.01.03-.8 2.1s-.03.05-.07.05H6.9c-.11 0-.2.1-.21.2l-.26 3.13a.9.9 0 0 1-.02.16l-.22 1.25-.04.07-.74.59c-.33.33-.72.53-1 1.36L2.2 28.98a.96.96 0 0 0-.1.44l-.1.56c0 .11.16.28.1.38L1.2 32H4.3l.12-1.51.1-.32 4.42-5.74c.13-.16.3-.44.38-.62l2.27-5.18c.04-.06.08-.1.14-.12l.14-.05c.09-.03.18 0 .24.07.2.24.67 1.07.89 1.4.2.29 1.12 1.69 1.54 2.15.1.13.46.27.62.36.05.04.07.1.04.16l-1.37 2.47-.55 2.87a1.5 1.5 0 0 0-.05.2l-.6 2.1c0 .25-.18.39-.2.68l-.14 1.07h5.27c.08-.1.14-.22.16-.35v-.1a.2.2 0 0 0-.02-.08v-.03a.14.14 0 0 0-.05-.04l-.03-.01-1.56-.49a.46.46 0 0 1-.26-.18l-.42-.64s-.01-.1.02-.13l.82-.83s.05-.06.06-.1l2.52-6.14c.12-.4.08-.83 0-1.3-.07-.34-.91-1.8-1.14-2.22l-1.7-3.08a.37.37 0 0 0-.13-.15c-.04-.03-.08-.06-.1-.1a.32.32 0 0 1-.07-.13l-.1-1.53s.02-.07.06-.07l.43-.04s.09-.03.1-.07l1.52-2.94s.02-.1 0-.13l-.31-.4s-.02-.08 0-.12l.46-.52s.07-.05.1-.03l1.24.72c.07.04.16.07.24.07.35 0 .91-.21 1.2-.4a.5.5 0 0 0 .19-.2l.54-1.32c.03-.06.12-.05.13.01l.14.67c0 .05.05.08.1.07l1.79-.42s.08-.06.07-.1l-.43-1.85.01-.07.18-.28.05-.11.21-1s.03-.03.05-.03h4.94c.07 0 .12-.06.12-.13V4.8s0-.03.03-.03h1.9s.06-.03.06-.06v-.4s-.03-.05-.06-.05h-1.9s-.03-.01-.03-.03v-.58c0-.1-.07-.18-.15-.18-.05 0-.1.03-.13.07 0 .02-.19.3-.3.45L28.1 4h-8.67s-.06-.03-.06-.06l-.02-.24s.03-.07.07-.06l.45.04s.07-.02.08-.06l.32-1.35s0-.07-.04-.08l-.3-.1s-.03-.03-.03-.05A2.95 2.95 0 0 0 17.76 0h-1.78a2.5 2.5 0 0 0-.82.54l.05-.02Z"/></svg></a>
144+
<a href="https://www.dota2.com" title="Dota 2"><svg viewBox="0 0 32 32" width="24" height="24"><path fill="#262324" d="M0 0h32v32H0z"/><path fill-rule="evenodd" fill="#bf0000" d="M0 0h32v32H0V0Zm5.7 19.53 6.82 6.39-5.4 1.67-3.75-2.66 2.33-5.4ZM6 5.02l-3 .9 19.03 20.76h4.72l1.5-6.08L6 5.02Zm19.18 6.46.9-4.8-2.1-1.36-5.17 1.37 6.37 4.79Z"/></svg></a>
145+
<a href="https://half-life.com" title="Half-Life: Alyx"><svg viewBox="0 0 48 48" width="24" height="24"><path fill="#813010" d="M0 0h48v48H0z"/><path fill="#cccece" d="M14.5 5v5.8h4.9l1.9 4.8L6 41.4h7.8l10.8-16.9 7 18.5L43 39.5l-2-6-5.2 1.8L24.3 5z"/></svg></a>
146+
<a href="https://playdeadlock.com" title="Deadlock"><svg viewBox="0 0 32 32" width="24" height="24"><path fill="#262324" d="M0 0h32v32H0z"/><path fill="#f0dfbf" d="M20.11 22.52c.4-.07.72.39 1.04.64 1.23.98 2.22 2.18 3.56 3.04.22.14.8.18 1 .41.2.25.24.6.43.87.13.19.56.18.35.52-.03.05-.12.03-.17.07-.67.48-1.3 1.03-2 1.47a17.6 17.6 0 0 1-6.94 2.37c-.6.09-.61-.1-.59-.7.06-1.57-.06-1.55.14-3.12.14-1.04.08-1.64.08-2.82 0-.6-.25-1.25 0-1.79.13-.27.6-.06.9-.13.5-.12 1-.28 1.48-.46.25-.1.45-.32.72-.37Zm-6.52 9.27c-3.08-.7-5.97-1.77-8.31-3.97-.14-.14-.1-.27.04-.4.25-.22.54-.39.8-.6 1.38-1.14 2.75-2.3 4.11-3.46.13-.11.7-.8.97-.76 1.1.18 2.68.06 3.18 1.06.08.16.01.64.02.73.19 1.89.33 3.77.53 5.66.07.71.07.7-.08 1.39-.03.15.1.38-.02.47-.34.24-.84-.24-1.24-.12Zm.9-23.7c-.11.15-.75.12-.87.15-.57.16-1.14.36-1.7.57-.19.07-.55.38-.8.26-.23-.11-.36-.36-.55-.53C8.9 7.12 8.42 6.88 6.83 5.36c-.11-.1-.14-.28-.26-.38-.3-.24-1.3-.5-1-1.15.02-.07.12-.05.18-.1.66-.44 1.26-.97 1.95-1.38A15.12 15.12 0 0 1 12.1.57c.77-.18 1.57-.22 2.36-.35.21-.03.34-.23.46.03.08.19.04.64.03.78-.13 2.1-.3 4.19-.42 6.28-.02.27.12.56 0 .8h-.02l-.01-.01Zm7.06-6.89c.14-.15.4.1.58.19.22.1.43.24.64.37l1.58.95c.5.31.97.66 1.48.95.13.07.3.07.42.15.48.24-.9 1.11-1.01 1.21-.35.33-2.46 2.03-2.92 2.4-.36.3-.25.39-.6.7-.18.16-.41.24-.6.38-.06.04-.33.36-.48.4-.65.15-1.54-.36-2.11-.53-.1-.03-1.08-.2-1.2-.31-.2-.18-.09-.8-.1-.98-.16-1.95-.4-3.9-.55-5.84-.06-.73-.24-1.04.49-1.04.64.07 1.28.1 1.91.25.84.19 1.78 1.26 2.47.74v.01Zm10.27 15.45c.1.09-.1.63-.1.8-.03.23-.04.67 0 .87 0 .13.27.15.28.28 0 .18-.33.58-.35.64-.1.27-1.37 4.05-1.48 4.3-.4.16-.6.65-.75 1.03-.24.25-.86 1.55-1.22 1.77-.15.09-.35-.05-.5-.13a3.68 3.68 0 0 1-.7-.47c-1.06-.9-2-2.07-2.69-3.27-.34-.6-.85-.65-1.24-1.13-.1-.12-.58-.37-.42-.67.04-.09.18-.08.26-.14 1.26-.91 2.48-1.9 3.75-2.8.37-.26.71-.57 1.13-.75.51-.22 1.84-.26 2.37-.3l.65-.05c.17 0 1-.03 1.03 0l-.02.02Zm-20.64.65c-.23-.28-.18-.7-.22-1.07-.2-1.8.51-3.48 2.02-4.5a4.8 4.8 0 0 1 7 1.65c.76 1.31.56 2.45.38 3.87-.02.14.04.3-.02.42-.1.18-.3.28-.42.44-.78.97-1.18 1.67-2.5 2.1-.49.17-1.02.15-1.54.23-.15.02-.29.11-.44.1-1.41-.13-3.15-1.03-3.82-2.34-.12-.24-.06-.55-.18-.8-.04-.08-.2-.04-.25-.12l-.01.01Zm5.59-4.08c-.62-.2-1.16-.35-1.79-.14a2.79 2.79 0 0 0-1.86 2.5c-.03.42 0 1 .3 1.35.17.18.26 0 .44.17.04.04-.01.12 0 .17.06.3.1.37.35.57a2.7 2.7 0 0 0 4.19-2.53c-.03-.28-.23-1.01-.54-1.2-.47-.28-.55-.13-.95-.5-.13-.12-.04-.28-.15-.4h.01ZM4.13 26.3c-.14.01-.29.03-.41-.03-.06-.03-.03-.14-.07-.2-.38-.58-.81-1.13-1.19-1.72C1.32 22.57.36 20.7.14 18.56c-.04-.4.13-.8.11-1.19-.02-.36-.32-.28-.24-.62.05-.2.4.03.6.04.56.04 1.1 0 1.65.04.5.04 1.03-.03 1.48.19 0 0 3.45 2.51 3.78 2.8.15.12.96.8 1.04 1.25.17 1.03-1.35 1.6-2.03 2.38l-2.28 2.59c-.08.1-.08.23-.12.26Zm23.58-21c.06.06.47.72.6.77a18.77 18.77 0 0 1 3.06 6.23c.2.8.79 1.71.4 2.43-.2.35-.8.12-1.2.09-1.23-.08-2.53-.09-3.61-.81l-4.22-3.25c1.35-1.54 2.78-3 4.11-4.54.15-.18.26-.4.4-.58.12-.15.33-.49.46-.35ZM.01 14.82c-.07-.08.29-1.69.25-1.98.52-1.9 1.2-3.8 2.27-5.48.35-.56.77-1.06 1.17-1.58 0 0 .39-.45.49-.37.26.21.37.57.59.82C5.73 7.3 6.75 8.3 7.7 9.36c.24.27.4.6.65.87.19.2.74.44.54.64-.15.15-.37.2-.54.33-1.48 1.08-2.9 2.23-4.4 3.27-.9.2-2 .27-2.9.34-.34.02-.82.27-1.03 0Z"/></svg></a>
147147
</div>
148148
</div>
149149

static/games/alyx.png

-488 Bytes
Binary file not shown.

static/games/cs2.png

-661 Bytes
Binary file not shown.

static/games/deadlock.png

-1.36 KB
Binary file not shown.

static/games/deskjob.png

-551 Bytes
Binary file not shown.

static/games/dota2.png

-542 Bytes
Binary file not shown.

static/games/sbox.png

-504 Bytes
Binary file not shown.

static/games/steamvr.png

-1.04 KB
Binary file not shown.

static/style.css

Lines changed: 10 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -264,28 +264,20 @@ a:active {
264264
border-radius: 0.5rem;
265265
font-size: 0.85rem;
266266
color: #999;
267-
}
268-
269-
.supported span {
270-
white-space: nowrap;
271-
}
272-
273-
.game-icons {
274-
display: flex;
275-
gap: 0.5rem;
276267

277-
a {
278-
display: flex;
268+
span {
269+
white-space: nowrap;
279270
}
280-
}
281271

282-
.supported a {
283-
white-space: nowrap;
284-
text-decoration: none;
285-
}
272+
.game-icons {
273+
display: flex;
274+
gap: 0.5rem;
286275

287-
.supported a:hover {
288-
text-decoration: underline;
276+
a {
277+
text-decoration: none;
278+
display: flex;
279+
}
280+
}
289281
}
290282

291283
.libraries {

0 commit comments

Comments
 (0)