thomwolf HF Staff commited on
Commit
13a8ee2
·
1 Parent(s): 2fb0828
dist/distill.bundle.js CHANGED
@@ -2146,7 +2146,7 @@ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
2146
  function bylineTemplate(frontMatter) {
2147
  return "\n <div class=\"byline grid\">\n <div>\n <h3>Authors</h3>\n <div>\n ".concat(frontMatter.authors.map(function (author, i) {
2148
  return "\n <span class=\"author\">\n ".concat(author.personalURL ? "\n <a class=\"name\" href=\"".concat(author.personalURL, "\">").concat(author.name) + (i + 1 < frontMatter.authors.length ? "," : "") + "</a>" : "\n <span class=\"name\">".concat(author.name) + (i + 1 < frontMatter.authors.length ? "," : "") + "</span>", "\n </span>\n ");
2149
- }).join(''), "\n </div>\n </div>\n <div >\n <h3>Affiliation</h3>\n <div><a href=\"https://huggingface.co/\">Hugging Face</a>\n </div>\n </div>\n <div >\n <h3>Published</h3>\n <div>Feb 19, 2025</div>\n </div>\n </div>\n <div class=\"side pdf-download\">\n <a href=\"https://huggingface.co/spaces/nanotron/ultrascale-playbook/resolve/main/The_Ultra-Scale_Playbook_Training_LLMs_on_GPU_Clusters.pdf\">Download PDF\n <br>\n <img style=\"width: 32px;\" src=\"../assets/images/256px-PDF.png\" alt=\"PDF\"></a>\n \n </div>\n");
2150
  }
2151
  var Byline = /*#__PURE__*/function (_HTMLElement4) {
2152
  function Byline() {
 
2146
  function bylineTemplate(frontMatter) {
2147
  return "\n <div class=\"byline grid\">\n <div>\n <h3>Authors</h3>\n <div>\n ".concat(frontMatter.authors.map(function (author, i) {
2148
  return "\n <span class=\"author\">\n ".concat(author.personalURL ? "\n <a class=\"name\" href=\"".concat(author.personalURL, "\">").concat(author.name) + (i + 1 < frontMatter.authors.length ? "," : "") + "</a>" : "\n <span class=\"name\">".concat(author.name) + (i + 1 < frontMatter.authors.length ? "," : "") + "</span>", "\n </span>\n ");
2149
+ }).join(''), "\n </div>\n </div>\n <div >\n <h3>Affiliation</h3>\n <div><a href=\"https://huggingface.co/\">Hugging Face</a>\n </div>\n </div>\n <div >\n <h3>Published</h3>\n <div>Feb 19, 2025</div>\n </div>\n </div>\n <div class=\"order-button-container-second\">\n <button class=\"order-button-second\" onclick=\"window.open('https://www.lulu.com/shop/nouamane-tazi-and-ferdinand-mom-and-haojun-zhao-and-phuc-nguyen/the-ultra-scale-playbook/paperback/product-45yk9dj.html?page=1&pageSize=4', '_blank')\">\n Order Book\n </button>\n </div>\n\n <!-- <div class=\"side pdf-download\">\n <a href=\"https://huggingface.co/spaces/nanotron/ultrascale-playbook/resolve/main/The_Ultra-Scale_Playbook_Training_LLMs_on_GPU_Clusters.pdf\">Download PDF\n <br>\n <img style=\"width: 32px;\" src=\"../assets/images/256px-PDF.png\" alt=\"PDF\"></a>\n \n</div> -->\n");
2150
  }
2151
  var Byline = /*#__PURE__*/function (_HTMLElement4) {
2152
  function Byline() {
dist/distill.bundle.js.map CHANGED
The diff for this file is too large to render. See raw diff
 
dist/style.css CHANGED
@@ -597,6 +597,47 @@ select[name="presets"] {
597
  border-radius: 8px;
598
  }
599
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
600
  .order-button {
601
  background: linear-gradient(135deg, #6DB4C4, #D4A5B8);
602
  color: white;
@@ -638,6 +679,12 @@ select[name="presets"] {
638
  .order-button:hover::before {
639
  left: 100%;
640
  }
 
 
 
 
 
 
641
  .order-button-container {
642
  display: flex;
643
  justify-content: center;
 
597
  border-radius: 8px;
598
  }
599
 
600
+ .order-button-second {
601
+ background: linear-gradient(135deg, #6DB4C4, #D4A5B8);
602
+ color: white;
603
+ font-size: 18px;
604
+ font-weight: 600;
605
+ padding: 20px 20px;
606
+ border: none;
607
+ border-radius: 12px;
608
+ cursor: pointer;
609
+ text-transform: uppercase;
610
+ letter-spacing: 1px;
611
+ box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
612
+ transition: all 0.3s ease;
613
+ position: relative;
614
+ overflow: hidden;
615
+ }
616
+ .order-button-second:hover {
617
+ transform: translateY(-2px);
618
+ box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
619
+ }
620
+
621
+ .order-button:active {
622
+ transform: translateY(0);
623
+ box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
624
+ }
625
+
626
+ .order-button-second::before {
627
+ content: '';
628
+ position: absolute;
629
+ top: 0;
630
+ left: -100%;
631
+ width: 100%;
632
+ height: 100%;
633
+ background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
634
+ transition: left 0.5s ease;
635
+ }
636
+
637
+ .order-button-second:hover::before {
638
+ left: 100%;
639
+ }
640
+
641
  .order-button {
642
  background: linear-gradient(135deg, #6DB4C4, #D4A5B8);
643
  color: white;
 
679
  .order-button:hover::before {
680
  left: 100%;
681
  }
682
+ .order-button-container-second {
683
+ /* display: flex; */
684
+ justify-content: center;
685
+ margin: 0px 0;
686
+ }
687
+
688
  .order-button-container {
689
  display: flex;
690
  justify-content: center;
src/distill.js CHANGED
@@ -2105,12 +2105,18 @@ d-appendix > distill-appendix {
2105
  <div>Feb 19, 2025</div>
2106
  </div>
2107
  </div>
2108
- <div class="side pdf-download">
2109
- <a href="https://huggingface.co/spaces/nanotron/ultrascale-playbook/resolve/main/The_Ultra-Scale_Playbook_Training_LLMs_on_GPU_Clusters.pdf">Download PDF
2110
- <br>
2111
- <img style="width: 32px;" src="../assets/images/256px-PDF.png" alt="PDF"></a>
 
 
 
 
 
 
2112
 
2113
- </div>
2114
  `;
2115
  }
2116
 
 
2105
  <div>Feb 19, 2025</div>
2106
  </div>
2107
  </div>
2108
+ <div class="order-button-container-second">
2109
+ <button class="order-button-second" onclick="window.open('https://www.lulu.com/shop/nouamane-tazi-and-ferdinand-mom-and-haojun-zhao-and-phuc-nguyen/the-ultra-scale-playbook/paperback/product-45yk9dj.html?page=1&pageSize=4', '_blank')">
2110
+ Order Book
2111
+ </button>
2112
+ </div>
2113
+
2114
+ <!-- <div class="side pdf-download">
2115
+ <a href="https://huggingface.co/spaces/nanotron/ultrascale-playbook/resolve/main/The_Ultra-Scale_Playbook_Training_LLMs_on_GPU_Clusters.pdf">Download PDF
2116
+ <br>
2117
+ <img style="width: 32px;" src="../assets/images/256px-PDF.png" alt="PDF"></a>
2118
 
2119
+ </div> -->
2120
  `;
2121
  }
2122
 
src/style.css CHANGED
@@ -597,6 +597,47 @@ select[name="presets"] {
597
  border-radius: 8px;
598
  }
599
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
600
  .order-button {
601
  background: linear-gradient(135deg, #6DB4C4, #D4A5B8);
602
  color: white;
@@ -638,6 +679,12 @@ select[name="presets"] {
638
  .order-button:hover::before {
639
  left: 100%;
640
  }
 
 
 
 
 
 
641
  .order-button-container {
642
  display: flex;
643
  justify-content: center;
 
597
  border-radius: 8px;
598
  }
599
 
600
+ .order-button-second {
601
+ background: linear-gradient(135deg, #6DB4C4, #D4A5B8);
602
+ color: white;
603
+ font-size: 18px;
604
+ font-weight: 600;
605
+ padding: 20px 20px;
606
+ border: none;
607
+ border-radius: 12px;
608
+ cursor: pointer;
609
+ text-transform: uppercase;
610
+ letter-spacing: 1px;
611
+ box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
612
+ transition: all 0.3s ease;
613
+ position: relative;
614
+ overflow: hidden;
615
+ }
616
+ .order-button-second:hover {
617
+ transform: translateY(-2px);
618
+ box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
619
+ }
620
+
621
+ .order-button:active {
622
+ transform: translateY(0);
623
+ box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
624
+ }
625
+
626
+ .order-button-second::before {
627
+ content: '';
628
+ position: absolute;
629
+ top: 0;
630
+ left: -100%;
631
+ width: 100%;
632
+ height: 100%;
633
+ background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
634
+ transition: left 0.5s ease;
635
+ }
636
+
637
+ .order-button-second:hover::before {
638
+ left: 100%;
639
+ }
640
+
641
  .order-button {
642
  background: linear-gradient(135deg, #6DB4C4, #D4A5B8);
643
  color: white;
 
679
  .order-button:hover::before {
680
  left: 100%;
681
  }
682
+ .order-button-container-second {
683
+ /* display: flex; */
684
+ justify-content: center;
685
+ margin: 0px 0;
686
+ }
687
+
688
  .order-button-container {
689
  display: flex;
690
  justify-content: center;