[tor-commits] [snowflake/master] Switched to absolute paths for resources

cohosh at torproject.org cohosh at torproject.org
Wed Oct 16 16:33:36 UTC 2019


commit 9140c7648ca7633b8e2ee89c4a802adf8c6481ed
Author: Cecylia Bocovich <cohosh at torproject.org>
Date:   Tue Oct 8 15:09:25 2019 -0400

    Switched to absolute paths for resources
    
    This will make it easier to have translated copies of the site in
    subdirectories
---
 proxy/static/index.html | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/proxy/static/index.html b/proxy/static/index.html
index fe751d0..ae17d42 100644
--- a/proxy/static/index.html
+++ b/proxy/static/index.html
@@ -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 at 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>





More information about the tor-commits mailing list