Skip to content

Commit c9e6f9d

Browse files
committed
Updated lander
1 parent a4ee8ac commit c9e6f9d

3 files changed

Lines changed: 313 additions & 181 deletions

File tree

index.html

Lines changed: 58 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
<link rel="image_src" href="https://s2v.app/static/preview.jpg">
1111
<link rel="preload" href="static/Manrope.woff2" as="font" type="font/woff2" crossorigin>
1212
<link rel="preconnect" href="https://api.github.com">
13-
<link rel="stylesheet" href="static/style.css?v=1770559932">
14-
<script src="static/main.js?v=1770559932" defer></script>
13+
<link rel="stylesheet" href="static/style.css?v=1771968810">
14+
<script src="static/main.js?v=1771968810" defer></script>
1515
<meta name="description" content="Browse VPK archives, view, extract, and decompile Source 2 assets. Supports CS2, Dota 2, Deadlock, Half-Life: Alyx, and more.">
1616
<meta property="og:description" content="Browse VPK archives, view, extract, and decompile Source 2 assets. Supports CS2, Dota 2, Deadlock, Half-Life: Alyx, and more.">
1717
<meta property="og:url" content="https://s2v.app/">
@@ -80,6 +80,31 @@
8080
</script>
8181
</head>
8282
<body>
83+
<svg xmlns="http://www.w3.org/2000/svg" style="display:none" hidden>
84+
<symbol id="s2v-logo" viewBox="0 0 160 160">
85+
<circle cx="75.25" cy="72.75" r="64.58" fill="#242a40"/>
86+
<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"/>
87+
<path fill="#385283" d="M132.81 87.2q-.22.88-.46 1.75a58 58 0 0 1-3.85 9.98c-.68 1.27-2.45 4.5-3.65 6.42a60 60 0 0 1-10.27 11.84s6.76 18.06 7.05 19.22q.5 1.94.5 4.05a16.6 16.6 0 0 1-16.66 16.61 16.6 16.6 0 0 1-13.92-7.56c-.37-.55-10.13-17.74-10.13-17.74q-4.34.46-8.84.26c-29.95-1.32-54.48-25.23-56.5-55.13a59.2 59.2 0 0 1 20.11-48.78 56 56 0 0 1 8.23-6.05 58 58 0 0 1 16.79-6.97 11.42 11.42 0 0 0 2.33 13.52c-4.7 1.15-12.04 3.47-18.94 10.35-9.78 9.76-16.33 23.06-14.72 38.42 2.35 22.4 20.95 40.03 43.46 40.95l.43.01a45.5 45.5 0 0 0 39.4-20.18c1.43-2.08 4.97-8.87 6.06-13.09l.08-.33a11.4 11.4 0 0 0 13.53 2.45Z"/>
88+
<path fill="#edf3fc" d="M95.73 68.92q5.22 2.91 7.4 9.5a20 20 0 0 1 .33 11.94 23 23 0 0 1-6.4 10.5 29 29 0 0 1-11.44 6.71A28 28 0 0 1 72 108.65a24 24 0 0 1-11.36-5.05c-2.46-2-4.34-4.73-5.5-6.92a8 8 0 0 1-.79-1.99 7.5 7.5 0 0 1 4.93-8.87 7.3 7.3 0 0 1 7.31 1.74l.11.12c.46.47 1.38 1.88 1.46 2.02a12.4 12.4 0 0 0 5.41 4.72q3.49 1.63 7.91.21c4.42-1.42 5.04-2.47 6.5-4.66a8 8 0 0 0 .91-7.22q-.9-2.77-3.51-3.34c-1.74-.38-10.38-.46-10.94-.46-.45 0-8.67.03-11.77-.26A25 25 0 0 1 52.6 75.3q-5.1-2.91-7.08-9.41a19 19 0 0 1-.02-11.59 23 23 0 0 1 6.41-10.04q4.63-4.35 11.11-6.41c6.48-2.06 8.91-1.83 13.17-1.14a24 24 0 0 1 11.11 4.67 22 22 0 0 1 5.51 6.58 9 9 0 0 1 .82 1.92 7.16 7.16 0 0 1-4.77 8.65c-2.63.84-5.4.11-7.28-1.67l-.11-.12a18 18 0 0 1-1.46-1.96q-1.92-3-5.34-4.54-3.41-1.53-7.74-.16c-4.33 1.37-4.94 2.4-6.39 4.52a7.7 7.7 0 0 0-.98 7.02q.86 2.7 3.42 3.27c1.71.37 10.28.44 10.84.43.45 0 8.64-.05 11.74.23q4.96.45 10.17 3.36Z"/>
89+
<path fill="#242a40" d="M137.85 33.08c.21.71.26 1.89-.03 2.48a2.3 2.3 0 0 1-1.44 1.23l-14.56 4.05c-4.59.83-6.59-2.59-5.54-5.66s9.05-15.2 9.55-15.77 1.03-1.54.78-2.4a3.8 3.8 0 0 0-2.08-2.54 4.6 4.6 0 0 0-3.33-.2 4.2 4.2 0 0 0-2.64 1.98 6 6 0 0 0-.72 3.12c0 .07.02.84-.02 1.14l-.01.07a3.1 3.1 0 0 1-2.11 2.47c-1.56.45-3.22-.55-3.79-2.25l-.07-.21a11.23 11.23 0 0 1 .16-4.72 10.72 10.72 0 0 1 7.53-7.41q2.76-.8 5.43-.22 2.69.57 4.71 2.38a10 10 0 0 1 2.86 4.59c.62 2.04.64 4.09-.05 5.7s-8.63 12.3-8.45 12.91l10.66-2.94c.79-.23 1.62 0 2.24.55a4 4 0 0 1 .93 1.62Z"/>
90+
</symbol>
91+
</svg>
92+
<nav class="floating-nav" id="js-nav">
93+
<a href="#" class="nav-home">
94+
<svg aria-hidden="true"><use href="#s2v-logo"/></svg>
95+
</a>
96+
<a href="#libraries">Libraries</a>
97+
<a href="#features">Features</a>
98+
<a href="#changelog">Changelog</a>
99+
<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>
101+
Discord
102+
</a>
103+
<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>
105+
GitHub
106+
</a>
107+
</nav>
83108
<svg class="background-pattern" aria-hidden="true">
84109
<defs>
85110
<pattern id="hero" width="64" height="64" x="-1" y="-1" patternUnits="userSpaceOnUse">
@@ -90,68 +115,49 @@
90115
</svg>
91116
<div class="hero">
92117
<div class="hero-left">
93-
<h1 class="hero-fluff">
94-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 160 160" class="main-logo" alt="Source 2 Viewer" width="40" height="40" aria-hidden="true">
95-
<circle cx="75.25" cy="72.75" r="64.58" fill="#edf3fc"/>
96-
<path fill="#458fff" d="M143.69 21.16c0 .69-.04 1.37-.12 2.04 0 0-4.59 27.94-7.58 45.96-.5 3.03-1.46 9.4-1.66 10.01v.02c-1.19 3.62-5.24 5.94-9.48 4.27-2.58-1.01-4.19-3.62-4.18-6.39v-.08c0-.38.21-3.16.22-4.18 0-1.63-.09-3.23-.25-4.82-.18-1.82-.48-3.6-.87-5.34-.21-.93-.45-1.84-.71-2.75-4.17-14.26-15.12-25.61-29.11-30.37-.73-.25-1.46-.48-2.21-.69-2.38-.67-4.84-1.16-7.36-1.44-1.67-.19-3.36-.28-5.07-.29-.84 0-4.1.21-4.19.19a7 7 0 0 1-6.74-7.02c0-3.2 2.14-5.89 5.06-6.72.46-.14 6.66-1.18 9.68-1.72 18.25-3.24 44.55-7.88 44.55-7.88a17.291 17.291 0 0 1 11.74 2.35c4.98 3.06 8.3 8.56 8.29 14.83Z"/>
97-
<path fill="#32384d" d="M132.81 87.2c-.14.59-.3 1.17-.46 1.75-.68 2.4-1.51 4.74-2.48 7.01a47.868 47.868 0 0 1-1.37 2.97c-.68 1.27-2.45 4.5-3.65 6.42-2.9 4.39-6.35 8.37-10.27 11.84 0 0 6.76 18.06 7.05 19.22.33 1.29.5 2.65.5 4.05 0 4.78-2.03 9.09-5.26 12.11a16.597 16.597 0 0 1-9.42 4.38c-.65.08-1.31.12-1.98.12-5.83 0-10.96-3.01-13.92-7.56-.37-.55-10.13-17.74-10.13-17.74-2.89.31-5.84.39-8.84.26-29.95-1.32-54.48-25.23-56.5-55.13-1.33-19.45 6.74-37.08 20.11-48.78 3.74-3.36 7.56-5.65 8.23-6.05 3.11-1.91 6.42-3.53 9.89-4.84 2.23-.86 4.54-1.56 6.9-2.13-.79 1.55-1.24 3.32-1.25 5.19 0 3.28 1.37 6.24 3.58 8.33-4.7 1.15-12.04 3.47-18.94 10.35-9.78 9.76-16.33 23.06-14.72 38.42 2.35 22.4 20.95 40.03 43.46 40.95.14 0 .29.01.43.01 14.18.46 26.97-5.56 35.63-15.32a45.7 45.7 0 0 0 3.77-4.86c1.43-2.08 4.97-8.87 6.06-13.09.03-.11.06-.22.08-.33 2.09 2.25 5.07 3.67 8.38 3.67 1.85 0 3.6-.44 5.15-1.22Z"/>
98-
<path fill="#32384d" d="M95.73 68.92c3.48 1.94 5.95 5.11 7.4 9.5 1.33 4.01 1.45 8 .33 11.94-1.12 3.96-3.25 7.46-6.4 10.5-3.15 3.05-6.96 5.28-11.44 6.71-4.68 1.5-9.22 1.86-13.62 1.08-4.4-.77-8.19-2.46-11.36-5.05-2.46-2-4.34-4.73-5.5-6.92-.33-.62-.5-.98-.67-1.53-.05-.16-.09-.31-.12-.46-.91-3.79 1.23-7.68 4.93-8.87 2.65-.85 5.43-.09 7.31 1.74.03.04.08.08.11.12.46.47 1.38 1.88 1.46 2.02 1.29 2.07 3.1 3.64 5.41 4.72 2.33 1.08 4.96 1.16 7.91.21s5.04-2.47 6.5-4.66c1.46-2.18 1.76-4.59.91-7.22-.6-1.84-1.77-2.96-3.51-3.34-1.74-.38-10.38-.46-10.94-.46-.45 0-8.67.03-11.77-.26-3.3-.31-6.66-1.44-10.07-3.39-3.4-1.94-5.76-5.08-7.08-9.41-1.2-3.92-1.21-7.79-.02-11.59 1.18-3.8 3.31-7.15 6.41-10.04 3.08-2.9 6.79-5.03 11.11-6.41s8.91-1.83 13.17-1.14c4.28.69 7.98 2.24 11.11 4.67 2.44 1.89 4.33 4.48 5.51 6.58.33.6.51.95.69 1.47.05.15.09.3.13.45.97 3.67-1.1 7.48-4.77 8.65-2.63.84-5.4.11-7.28-1.67-.03-.04-.08-.08-.11-.12-.46-.46-1.38-1.83-1.46-1.96-1.28-2-3.06-3.51-5.34-4.54-2.28-1.02-4.85-1.08-7.74-.16s-4.94 2.4-6.39 4.52c-1.46 2.12-1.78 4.46-.98 7.02.57 1.8 1.71 2.9 3.42 3.27 1.71.37 10.28.44 10.84.43.45 0 8.64-.05 11.74.23 3.31.3 6.7 1.42 10.17 3.36Zm42.12-35.84c.21.71.26 1.89-.03 2.48-.29.59-.79 1.05-1.44 1.23l-14.56 4.05c-4.59.83-6.59-2.59-5.54-5.66s9.05-15.2 9.55-15.77c.5-.57 1.03-1.54.78-2.4-.36-1.21-1.05-2.06-2.08-2.54-1.02-.48-2.13-.54-3.33-.2-1.23.35-2.1 1.01-2.64 1.98a5.84 5.84 0 0 0-.72 3.12c0 .07.02.84-.02 1.14 0 .03 0 .05-.01.07-.21 1.17-.99 2.15-2.11 2.47-1.56.45-3.22-.55-3.79-2.25-.02-.06-.05-.13-.07-.21-.07-.25-.09-.43-.12-.75-.11-1.12-.1-2.62.28-3.97.48-1.74 1.38-3.27 2.69-4.6 1.3-1.33 2.91-2.26 4.84-2.81 1.84-.53 3.65-.6 5.43-.22 1.79.38 3.36 1.17 4.71 2.38s2.31 2.74 2.86 4.59c.62 2.04.64 4.09-.05 5.7-.7 1.61-8.63 12.3-8.45 12.91l10.66-2.94c.79-.23 1.62 0 2.24.55.39.35.77 1.08.93 1.62Z"/>
99-
</svg>
100-
<strong>Source 2 Viewer</strong> is a powerful tool that allows you to <b>browse VPK archives</b>, view, export, and <b>decompile Source 2 assets</b>, including maps, models, materials, textures, sounds, and more.
118+
<h1>
119+
<svg class="main-logo" width="56" height="56" aria-hidden="true"><use href="#s2v-logo"/></svg>
120+
Source 2 Viewer
101121
</h1>
102-
<p>This open-source project is based entirely on a reverse engineered effort as there is no Source 2 SDK.</p>
103-
<p class="supported">
104-
All Source 2 projects are supported including
105-
<a href="https://www.counter-strike.net"><img alt="Counter-Strike 2" width="16" height="16" src="static/games/cs2.png"> Counter-Strike 2</a>,
106-
<a href="https://www.dota2.com"><img alt="Dota 2" width="16" height="16" src="static/games/dota2.png"> Dota 2</a>,
107-
<a href="https://playdeadlock.com"><img alt="Deadlock" width="16" height="16" src="static/games/deadlock.png"> Deadlock</a>,
108-
<a href="https://half-life.com"><img alt="Half-Life: Alyx" width="16" height="16" src="static/games/alyx.png"> Half-Life: Alyx</a>,
109-
<a href="https://www.steamvr.com"><img alt="SteamVR" width="16" height="16" src="static/games/steamvr.png"> SteamVR</a>,
110-
and <a href="https://steamdb.info/tech/Engine/Source2/" title="List of Source 2 games on SteamDB">more…</a>
111-
</p>
122+
<h2>Browse VPK archives, <strong>view</strong>, <strong>export</strong>, and <strong>decompile</strong> Source 2 assets, including maps, models, materials, textures, sounds.</h2>
123+
<h3>Fully open-source and reverse-engineered.</h3>
112124

113125
<div class="download">
114-
<div>
115-
<a href="https://github.com/ValveResourceFormat/ValveResourceFormat/releases" class="btn" id="js-download">
116-
<svg width="30" height="30" viewBox="0 0 36 36" aria-hidden="true"><path fill="currentColor" d="M1 0h15c.6 0 1 .4 1 1v15c0 .6-.4 1-1 1H1a1 1 0 0 1-1-1V1c0-.6.4-1 1-1ZM19 16V1c0-.6.5-1 1-1h15c.6 0 1 .4 1 1v15c0 .5-.4 1-1 1H20a1 1 0 0 1-1-1ZM1 19h15c.6 0 1 .4 1 1v15c0 .6-.4 1-1 1H1a1 1 0 0 1-1-1V20c0-.6.4-1 1-1ZM19 35V20c0-.6.4-1 1-1h15c.6 0 1 .4 1 1v15c0 .6-.4 1-1 1H20a1 1 0 0 1-1-1Z"/></svg>
117-
<span class="download-text">Download <span>Source 2 Viewer</span></span>
118-
</a>
126+
<a href="https://github.com/ValveResourceFormat/ValveResourceFormat/releases" class="btn" id="js-download">
127+
<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>
129+
</a>
130+
<div class="download-footer">
131+
<a href="https://nightly.link/ValveResourceFormat/ValveResourceFormat/workflows/build/master/Source2Viewer.zip">Download dev build</a>
132+
<span>Windows 11 · OpenGL 4.6 <svg width="14" height="14" viewBox="0 0 36 36" aria-hidden="true"><path fill="currentColor" d="M1 0h15c.6 0 1 .4 1 1v15c0 .6-.4 1-1 1H1a1 1 0 0 1-1-1V1c0-.6.4-1 1-1ZM19 16V1c0-.6.5-1 1-1h15c.6 0 1 .4 1 1v15c0 .5-.4 1-1 1H20a1 1 0 0 1-1-1ZM1 19h15c.6 0 1 .4 1 1v15c0 .6-.4 1-1 1H1a1 1 0 0 1-1-1V20c0-.6.4-1 1-1ZM19 35V20c0-.6.4-1 1-1h15c.6 0 1 .4 1 1v15c0 .6-.4 1-1 1H20a1 1 0 0 1-1-1Z"/></svg></span>
119133
</div>
134+
</div>
135+
<a class="update-banner" id="js-update-banner" href="#changelog" hidden>
136+
New version released since your last visit — view changelog
137+
</a>
120138

121-
<div class="download-reqs">Requirements: Windows 11, OpenGL 4.6</div>
122-
<div class="download-dev">Having issues? <a href="https://nightly.link/ValveResourceFormat/ValveResourceFormat/workflows/build/master/Source2Viewer.zip">Download dev build</a></div>
123-
<div class="download-notes">
124-
<a href="#changelog" class="download-version">View changelog</a>
139+
<div class="supported">
140+
<span>Supports all Source 2 games</span>
141+
<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>
125147
</div>
126-
<a class="update-banner" id="js-update-banner" href="#changelog" hidden>
127-
New version released since your last visit — view changelog
128-
</a>
129148
</div>
149+
130150
</div>
131151
<div class="hero-right">
132152
<img src="static/screen_hero.webp" alt="Screenshot of Source 2 Viewer displaying a 3D rendered map of Inferno Night with detailed lighting and textures" class="hero-screenshot">
133153
<div class="hero-screenshot-author">
134154
<svg width="16" height="16" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="3" viewBox="0 0 24 24" aria-hidden="true"><circle cx="12" cy="12" r="10"/><path d="M12 16v-4M12 8h0"/></svg>
135-
<a href="https://steamcommunity.com/workshop/filedetails/?id=3124567099">Inferno Night</a> by Angel, created by decompiling with Source 2 Viewer.
136-
</div>
137-
<div class="social-buttons-container">
138-
<a href="https://discord.gg/s9QQ7Wg7r4" class="social-button">
139-
<svg aria-hidden="true" viewBox="0 0 16 16" version="1.1" width="16" height="16">
140-
<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>
141-
</svg>
142-
<span>Discord</span>
143-
</a>
144-
<a href="https://github.com/ValveResourceFormat/ValveResourceFormat" class="social-button">
145-
<svg aria-hidden="true" viewBox="0 0 16 16" version="1.1" width="16" height="16">
146-
<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>
147-
</svg>
148-
<span>GitHub</span>
149-
</a>
155+
<a href="https://steamcommunity.com/workshop/filedetails/?id=3124567099">Inferno Night</a> by Angel, created by decompiling with S2V
150156
</div>
151157
</div>
152158
</div>
153159

154-
<div class="libraries">
160+
<div class="libraries" id="libraries">
155161
<div class="container">
156162
<div class="library-list">
157163
<div class="library">
@@ -169,7 +175,7 @@ <h2>Command line utility</h2>
169175
</div>
170176
<div class="library">
171177
<div class="library-icon">
172-
<img src="static/libraries/vrf.svg" alt="ValveResourceFormat library" width="64" height="64" aria-hidden="true">
178+
<svg width="64" height="64" aria-hidden="true"><use href="#s2v-logo"/></svg>
173179
</div>
174180
<div class="library-description">
175181
<h2>ValveResourceFormat</h2>
@@ -183,7 +189,7 @@ <h2>ValveResourceFormat</h2>
183189
</div>
184190
<div class="library">
185191
<div class="library-icon">
186-
<img src="static/libraries/vrf.svg" alt="ValveResourceFormat.Renderer library" width="64" height="64" aria-hidden="true">
192+
<svg width="64" height="64" aria-hidden="true"><use href="#s2v-logo"/></svg>
187193
</div>
188194
<div class="library-description">
189195
<h2>ValveResourceFormat.Renderer</h2>
@@ -257,7 +263,7 @@ <h2>ValveKeyValue</h2>
257263
<img src="static/screen_cli.png" alt="Screenshot of the command line interface showing DATA block for an audio file" loading="lazy">
258264
</div>
259265

260-
<div class="container feature-outline">
266+
<div class="container feature-outline" id="features">
261267
<h2>Features</h2>
262268

263269
<div class="feature-section">
@@ -403,7 +409,7 @@ <h3>Additional File Formats</h3>
403409
<h2>Changelog</h2>
404410
</div>
405411

406-
<div class="workshop">
412+
<div class="workshop" id="workshop">
407413
<div class="workshop-bg"></div>
408414
<div class="container">
409415
<div class="workshop-grid">

static/main.js

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,8 @@ fetch('https://api.github.com/repositories/42366054/releases?per_page=5', {
4141
document.getElementById('js-download').href =
4242
asset.browser_download_url;
4343

44-
const version = document.querySelector('.download-version');
45-
46-
let string = `View changelog for v${latestRelease.tag_name}`;
47-
48-
if (window.innerWidth > 500) {
49-
const date = new Date(latestRelease.published_at);
50-
string += `, released on ${date.toLocaleDateString()}`;
51-
}
52-
53-
version.textContent = string;
44+
const version = document.querySelector('.download-text');
45+
version.textContent = `Download v${latestRelease.tag_name}`;
5446
break;
5547
}
5648
}

0 commit comments

Comments
 (0)