Switched to absolute paths for resources

This will make it easier to have translated copies of the site in
subdirectories
This commit is contained in:
Cecylia Bocovich 2019-10-08 15:09:25 -04:00
parent 7fe4e2910c
commit 9140c7648c

View file

@ -4,13 +4,13 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Snowflake</title>
<link rel="icon" href="assets/favicon.ico" />
<link rel="stylesheet" href="index.css" />
<link rel="icon" href="https://snowflake.torproject.org/assets/favicon.ico" />
<link rel="stylesheet" href="https://snowflake.torproject.org/index.css" />
</head>
<body>
<header id="header">
<a href="https://www.torproject.org/">
<img src="tor-logo@2x.png" alt="Tor" height="50" />
<img src="https://snowflake.torproject.org/tor-logo@2x.png" alt="Tor" height="50" />
</a>
</header>
<section id="content">
@ -32,7 +32,7 @@
<p data-msgid="__MSG_censoredUsers__">If your internet access is censored, you should download
<a href="https://www.torproject.org/download/">Tor Browser</a>.</p>
<p class="screenshot"><img src="screenshot.png" alt="Tor Browser screenshot" /></p>
<p class="screenshot"><img src="https://snowflake.torproject.org/screenshot.png" alt="Tor Browser screenshot" /></p>
</section>
<section id="extension" class="extension">
@ -46,11 +46,11 @@
<p class="addon">
<a href="https://addons.mozilla.org/en-US/firefox/addon/torproject-snowflake/">
<img src="firefox150.jpg" alt="Install in Firefox" height="100" /><br />
<img src="https://snowflake.torproject.org/firefox150.jpg" alt="Install in Firefox" height="100" /><br />
<span data-msgid="MSG_installFirefox__">Install in Firefox</span>
</a>
<a href="https://chrome.google.com/webstore/detail/snowflake/mafpmfcccpbjnhfhjnllmmalhifmlcie">
<img src="chrome150.jpg" alt="Install in Chrome" height="100" /><br />
<img src="https://snowflake.torproject.org/chrome150.jpg" alt="Install in Chrome" height="100" /><br />
<span data-msgid="__MSG_installChrome__">Install in Chrome</span>
</a>
</p>
@ -92,7 +92,7 @@
<p data-msgid="__MSG_looksLike__">Which looks like this:</p>
<iframe src="embed.html" width="320" height="240" frameborder="0" scrolling="no"></iframe>
<iframe src="https://snowflake.torproject.org/embed.html" width="320" height="240" frameborder="0" scrolling="no"></iframe>
</section>
</section>