You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

25 lines
834 B

  1. $(document).ready(function () {
  2. // Terminal typing animation
  3. $("#from-terminal p").typed({
  4. strings: ["curl --upload-file ./hello.txt https://transfer.sh/hello.txt\nhttps://transfer.sh/66nb8/hello.txt \n "],
  5. typeSpeed: 0,
  6. loop: true,
  7. });
  8. // Smooth scrolling
  9. /*
  10. $('a[href*=#]:not([href=#])').click(function () {
  11. if (location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '') && location.hostname == this.hostname) {
  12. var target = $(this.hash);
  13. target = target.length ? target : $('[name=' + this.hash.slice(1) + ']');
  14. if (target.length) {
  15. $('html,body').animate({
  16. scrollTop: target.offset().top
  17. }, 1000);
  18. return false;
  19. }
  20. }
  21. });
  22. */
  23. });