use bold Source Sans Pro
Browse files- components/footer.js +4 -2
- components/navbar.js +4 -4
- index.html +12 -12
    	
        components/footer.js
    CHANGED
    
    | @@ -27,7 +27,8 @@ class CustomFooter extends HTMLElement { | |
| 27 | 
             
                      color: #a5b4fc;
         | 
| 28 | 
             
                      text-decoration: none;
         | 
| 29 | 
             
                      transition: color 0.2s;
         | 
| 30 | 
            -
             | 
|  | |
| 31 | 
             
                    .footer-links a:hover {
         | 
| 32 | 
             
                      color: white;
         | 
| 33 | 
             
                    }
         | 
| @@ -53,7 +54,8 @@ class CustomFooter extends HTMLElement { | |
| 53 | 
             
                    .copyright {
         | 
| 54 | 
             
                      font-size: 0.875rem;
         | 
| 55 | 
             
                      color: #a5b4fc;
         | 
| 56 | 
            -
             | 
|  | |
| 57 | 
             
                  </style>
         | 
| 58 | 
             
                  <footer>
         | 
| 59 | 
             
                    <div class="footer-content">
         | 
|  | |
| 27 | 
             
                      color: #a5b4fc;
         | 
| 28 | 
             
                      text-decoration: none;
         | 
| 29 | 
             
                      transition: color 0.2s;
         | 
| 30 | 
            +
                      font-weight: 600;
         | 
| 31 | 
            +
            }
         | 
| 32 | 
             
                    .footer-links a:hover {
         | 
| 33 | 
             
                      color: white;
         | 
| 34 | 
             
                    }
         | 
|  | |
| 54 | 
             
                    .copyright {
         | 
| 55 | 
             
                      font-size: 0.875rem;
         | 
| 56 | 
             
                      color: #a5b4fc;
         | 
| 57 | 
            +
                      font-weight: 600;
         | 
| 58 | 
            +
            }
         | 
| 59 | 
             
                  </style>
         | 
| 60 | 
             
                  <footer>
         | 
| 61 | 
             
                    <div class="footer-content">
         | 
    	
        components/navbar.js
    CHANGED
    
    | @@ -18,8 +18,8 @@ class CustomNavbar extends HTMLElement { | |
| 18 | 
             
                      display: flex;
         | 
| 19 | 
             
                      align-items: center;
         | 
| 20 | 
             
                      gap: 0.5rem;
         | 
| 21 | 
            -
                      font-weight:  | 
| 22 | 
            -
             | 
| 23 | 
             
                      font-size: 1.25rem;
         | 
| 24 | 
             
                    }
         | 
| 25 | 
             
                    .logo-icon {
         | 
| @@ -36,8 +36,8 @@ class CustomNavbar extends HTMLElement { | |
| 36 | 
             
                    a {
         | 
| 37 | 
             
                      color: #4b5563;
         | 
| 38 | 
             
                      text-decoration: none;
         | 
| 39 | 
            -
                      font-weight:  | 
| 40 | 
            -
             | 
| 41 | 
             
                    }
         | 
| 42 | 
             
                    a:hover {
         | 
| 43 | 
             
                      color: #4f46e5;
         | 
|  | |
| 18 | 
             
                      display: flex;
         | 
| 19 | 
             
                      align-items: center;
         | 
| 20 | 
             
                      gap: 0.5rem;
         | 
| 21 | 
            +
                      font-weight: 900;
         | 
| 22 | 
            +
            color: #4f46e5;
         | 
| 23 | 
             
                      font-size: 1.25rem;
         | 
| 24 | 
             
                    }
         | 
| 25 | 
             
                    .logo-icon {
         | 
|  | |
| 36 | 
             
                    a {
         | 
| 37 | 
             
                      color: #4b5563;
         | 
| 38 | 
             
                      text-decoration: none;
         | 
| 39 | 
            +
                      font-weight: 600;
         | 
| 40 | 
            +
            transition: color 0.2s;
         | 
| 41 | 
             
                    }
         | 
| 42 | 
             
                    a:hover {
         | 
| 43 | 
             
                      color: #4f46e5;
         | 
    	
        index.html
    CHANGED
    
    | @@ -5,16 +5,16 @@ | |
| 5 | 
             
                <meta charset="UTF-8">
         | 
| 6 | 
             
                <meta name="viewport" content="width=device-width, initial-scale=1.0">
         | 
| 7 | 
             
                <title>🤗 HuggingFace Timeline</title>
         | 
| 8 | 
            -
                <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family= | 
| 9 | 
            -
             | 
| 10 | 
             
                <script src="https://cdn.jsdelivr.net/npm/html2canvas@1.4.1/dist/html2canvas.min.js"></script>
         | 
| 11 | 
             
                <script src="https://cdnjs.cloudflare.com/ajax/libs/gif.js/0.2.0/gif.js"></script>
         | 
| 12 | 
             
            </head>
         | 
| 13 | 
            -
            <body style="font-family: ' | 
| 14 | 
            -
             | 
| 15 | 
             
                    <div style="text-align: center; margin-bottom: 3rem;">
         | 
| 16 | 
            -
                        <h1 style="font-size: 2.5rem; font-weight:  | 
| 17 | 
            -
             | 
| 18 | 
             
                        </h1>
         | 
| 19 | 
             
            </div>
         | 
| 20 |  | 
| @@ -26,7 +26,7 @@ | |
| 26 | 
             
                                <div class="timeline-item" style="width: 200px; position: relative;">
         | 
| 27 | 
             
                                    <div style="position: absolute; top: -14px; left: 50%; transform: translateX(-50%); width: 12px; height: 12px; background: #ff6b00; border-radius: 50%; border: 3px solid white;"></div>
         | 
| 28 | 
             
                                    <div style="background: white; padding: 1.5rem; border-radius: 8px; margin-top: 1.5rem; box-shadow: 0 2px 8px rgba(0,0,0,0.05);">
         | 
| 29 | 
            -
                                        <h3 style="font-weight:  | 
| 30 | 
             
            <ul style="padding-left: 1rem; margin: 0; font-size: 0.875rem; color: #555; line-height: 1.6;">
         | 
| 31 | 
             
                                            <li>First release</li>
         | 
| 32 | 
             
                                            <li>Git wrapper</li>
         | 
| @@ -39,7 +39,7 @@ | |
| 39 | 
             
                                <div class="timeline-item" style="width: 200px; position: relative;">
         | 
| 40 | 
             
                                    <div style="position: absolute; top: -14px; left: 50%; transform: translateX(-50%); width: 12px; height: 12px; background: #ff6b00; border-radius: 50%; border: 3px solid white;"></div>
         | 
| 41 | 
             
                                    <div style="background: white; padding: 1.5rem; border-radius: 8px; margin-top: 1.5rem; box-shadow: 0 2px 8px rgba(0,0,0,0.05);">
         | 
| 42 | 
            -
                                        <h3 style="font-weight:  | 
| 43 | 
             
            <ul style="padding-left: 1rem; margin: 0; font-size: 0.875rem; color: #555; line-height: 1.6;">
         | 
| 44 | 
             
                                            <li>HTTP Commit API</li>
         | 
| 45 | 
             
                                            <li>Git-aware cache</li>
         | 
| @@ -52,7 +52,7 @@ | |
| 52 | 
             
                                <div class="timeline-item" style="width: 200px; position: relative;">
         | 
| 53 | 
             
                                    <div style="position: absolute; top: -14px; left: 50%; transform: translateX(-50%); width: 12px; height: 12px; background: #ff6b00; border-radius: 50%; border: 3px solid white;"></div>
         | 
| 54 | 
             
                                    <div style="background: white; padding: 1.5rem; border-radius: 8px; margin-top: 1.5rem; box-shadow: 0 2px 8px rgba(0,0,0,0.05);">
         | 
| 55 | 
            -
                                        <h3 style="font-weight:  | 
| 56 | 
             
            <ul style="padding-left: 1rem; margin: 0; font-size: 0.875rem; color: #555; line-height: 1.6;">
         | 
| 57 | 
             
                                            <li>Inference API</li>
         | 
| 58 | 
             
                                            <li>Community features</li>
         | 
| @@ -65,7 +65,7 @@ | |
| 65 | 
             
                                <div class="timeline-item" style="width: 200px; position: relative;">
         | 
| 66 | 
             
                                    <div style="position: absolute; top: -14px; left: 50%; transform: translateX(-50%); width: 12px; height: 12px; background: #ff6b00; border-radius: 50%; border: 3px solid white;"></div>
         | 
| 67 | 
             
                                    <div style="background: white; padding: 1.5rem; border-radius: 8px; margin-top: 1.5rem; box-shadow: 0 2px 8px rgba(0,0,0,0.05);">
         | 
| 68 | 
            -
                                        <h3 style="font-weight:  | 
| 69 | 
             
            <ul style="padding-left: 1rem; margin: 0; font-size: 0.875rem; color: #555; line-height: 1.6;">
         | 
| 70 | 
             
                                            <li>Chunk storage</li>
         | 
| 71 | 
             
                                            <li>77PB+ migrated</li>
         | 
| @@ -87,8 +87,8 @@ | |
| 87 | 
             
                    </div>
         | 
| 88 |  | 
| 89 | 
             
                    <div id="gif-preview" style="margin-top: 2rem; display: none; text-align: center;">
         | 
| 90 | 
            -
                        <h3 style="font-weight:  | 
| 91 | 
            -
             | 
| 92 | 
             
                        <button id="downloadGif" style="margin-top: 1rem; background: #ff6b00; color: white; border: none; padding: 0.75rem 1.5rem; border-radius: 6px; font-weight: 600; cursor: pointer;">
         | 
| 93 | 
             
                            Download GIF
         | 
| 94 | 
             
                        </button>
         | 
|  | |
| 5 | 
             
                <meta charset="UTF-8">
         | 
| 6 | 
             
                <meta name="viewport" content="width=device-width, initial-scale=1.0">
         | 
| 7 | 
             
                <title>🤗 HuggingFace Timeline</title>
         | 
| 8 | 
            +
                <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700;900&display=swap">
         | 
| 9 | 
            +
            <link rel="stylesheet" href="style.css">
         | 
| 10 | 
             
                <script src="https://cdn.jsdelivr.net/npm/html2canvas@1.4.1/dist/html2canvas.min.js"></script>
         | 
| 11 | 
             
                <script src="https://cdnjs.cloudflare.com/ajax/libs/gif.js/0.2.0/gif.js"></script>
         | 
| 12 | 
             
            </head>
         | 
| 13 | 
            +
            <body style="font-family: 'Source Sans Pro', sans-serif; background-color: #f5f5f5;">
         | 
| 14 | 
            +
            <div class="container" style="max-width: 1200px; margin: 0 auto; padding: 2rem;">
         | 
| 15 | 
             
                    <div style="text-align: center; margin-bottom: 3rem;">
         | 
| 16 | 
            +
                        <h1 style="font-size: 2.5rem; font-weight: 900; color: #ffd21e; margin-bottom: 2rem;">
         | 
| 17 | 
            +
            🤗 huggingface_hub journey
         | 
| 18 | 
             
                        </h1>
         | 
| 19 | 
             
            </div>
         | 
| 20 |  | 
|  | |
| 26 | 
             
                                <div class="timeline-item" style="width: 200px; position: relative;">
         | 
| 27 | 
             
                                    <div style="position: absolute; top: -14px; left: 50%; transform: translateX(-50%); width: 12px; height: 12px; background: #ff6b00; border-radius: 50%; border: 3px solid white;"></div>
         | 
| 28 | 
             
                                    <div style="background: white; padding: 1.5rem; border-radius: 8px; margin-top: 1.5rem; box-shadow: 0 2px 8px rgba(0,0,0,0.05);">
         | 
| 29 | 
            +
                                        <h3 style="font-weight: 700; color: #ff6b00; margin: 0 0 0.5rem 0;">Foundation</h3>
         | 
| 30 | 
             
            <ul style="padding-left: 1rem; margin: 0; font-size: 0.875rem; color: #555; line-height: 1.6;">
         | 
| 31 | 
             
                                            <li>First release</li>
         | 
| 32 | 
             
                                            <li>Git wrapper</li>
         | 
|  | |
| 39 | 
             
                                <div class="timeline-item" style="width: 200px; position: relative;">
         | 
| 40 | 
             
                                    <div style="position: absolute; top: -14px; left: 50%; transform: translateX(-50%); width: 12px; height: 12px; background: #ff6b00; border-radius: 50%; border: 3px solid white;"></div>
         | 
| 41 | 
             
                                    <div style="background: white; padding: 1.5rem; border-radius: 8px; margin-top: 1.5rem; box-shadow: 0 2px 8px rgba(0,0,0,0.05);">
         | 
| 42 | 
            +
                                        <h3 style="font-weight: 700; color: #ff6b00; margin: 0 0 0.5rem 0;">Git to HTTP</h3>
         | 
| 43 | 
             
            <ul style="padding-left: 1rem; margin: 0; font-size: 0.875rem; color: #555; line-height: 1.6;">
         | 
| 44 | 
             
                                            <li>HTTP Commit API</li>
         | 
| 45 | 
             
                                            <li>Git-aware cache</li>
         | 
|  | |
| 52 | 
             
                                <div class="timeline-item" style="width: 200px; position: relative;">
         | 
| 53 | 
             
                                    <div style="position: absolute; top: -14px; left: 50%; transform: translateX(-50%); width: 12px; height: 12px; background: #ff6b00; border-radius: 50%; border: 3px solid white;"></div>
         | 
| 54 | 
             
                                    <div style="background: white; padding: 1.5rem; border-radius: 8px; margin-top: 1.5rem; box-shadow: 0 2px 8px rgba(0,0,0,0.05);">
         | 
| 55 | 
            +
                                        <h3 style="font-weight: 700; color: #ff6b00; margin: 0 0 0.5rem 0;">API Expansion</h3>
         | 
| 56 | 
             
            <ul style="padding-left: 1rem; margin: 0; font-size: 0.875rem; color: #555; line-height: 1.6;">
         | 
| 57 | 
             
                                            <li>Inference API</li>
         | 
| 58 | 
             
                                            <li>Community features</li>
         | 
|  | |
| 65 | 
             
                                <div class="timeline-item" style="width: 200px; position: relative;">
         | 
| 66 | 
             
                                    <div style="position: absolute; top: -14px; left: 50%; transform: translateX(-50%); width: 12px; height: 12px; background: #ff6b00; border-radius: 50%; border: 3px solid white;"></div>
         | 
| 67 | 
             
                                    <div style="background: white; padding: 1.5rem; border-radius: 8px; margin-top: 1.5rem; box-shadow: 0 2px 8px rgba(0,0,0,0.05);">
         | 
| 68 | 
            +
                                        <h3 style="font-weight: 700; color: #ff6b00; margin: 0 0 0.5rem 0;">Xet Protocol</h3>
         | 
| 69 | 
             
            <ul style="padding-left: 1rem; margin: 0; font-size: 0.875rem; color: #555; line-height: 1.6;">
         | 
| 70 | 
             
                                            <li>Chunk storage</li>
         | 
| 71 | 
             
                                            <li>77PB+ migrated</li>
         | 
|  | |
| 87 | 
             
                    </div>
         | 
| 88 |  | 
| 89 | 
             
                    <div id="gif-preview" style="margin-top: 2rem; display: none; text-align: center;">
         | 
| 90 | 
            +
                        <h3 style="font-weight: 700; margin-bottom: 1rem;">GIF Preview</h3>
         | 
| 91 | 
            +
            <img id="gif-result" style="max-width: 100%; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.1);">
         | 
| 92 | 
             
                        <button id="downloadGif" style="margin-top: 1rem; background: #ff6b00; color: white; border: none; padding: 0.75rem 1.5rem; border-radius: 6px; font-weight: 600; cursor: pointer;">
         | 
| 93 | 
             
                            Download GIF
         | 
| 94 | 
             
                        </button>
         | 
