From 044c274ff4260ca87ee300aa1141f84f9b1ace63 Mon Sep 17 00:00:00 2001 From: Caesar Kabalan Date: Thu, 1 Jun 2023 20:45:34 -0400 Subject: [PATCH] Fix Crawler 404s and Background Colors --- dist/css/main.css | 4 ++++ dist/js/main.js | 1 + dist/robots.txt | 2 ++ dist/sitemap.xml | 5 +++++ 4 files changed, 12 insertions(+) create mode 100644 dist/robots.txt create mode 100644 dist/sitemap.xml diff --git a/dist/css/main.css b/dist/css/main.css index b98b91e..b78915e 100644 --- a/dist/css/main.css +++ b/dist/css/main.css @@ -39,6 +39,10 @@ --subpal-1-10: #ffffffff; } +.table>:not(caption)>*>* { + background-color: unset; +} + #bottom_nav { height:2rem; } diff --git a/dist/js/main.js b/dist/js/main.js index 429f8c6..dfa1ee8 100644 --- a/dist/js/main.js +++ b/dist/js/main.js @@ -37,6 +37,7 @@ $('#calcbody').on('click', '.row_address, .row_range, .row_usable, .row_hosts, . mutate_subnet_map('color', this.dataset.subnet, '', inflightColor) // We could re-render here, but there is really no point, keep performant and just change the background color now //renderTable(); + //console.log($(this).parent()) $(this).parent().css('background-color', inflightColor) } }) diff --git a/dist/robots.txt b/dist/robots.txt new file mode 100644 index 0000000..26b4d70 --- /dev/null +++ b/dist/robots.txt @@ -0,0 +1,2 @@ +User-Agent: * +Allow: / \ No newline at end of file diff --git a/dist/sitemap.xml b/dist/sitemap.xml new file mode 100644 index 0000000..d037261 --- /dev/null +++ b/dist/sitemap.xml @@ -0,0 +1,5 @@ + + + https://visualsubnetcalc.com/ + + \ No newline at end of file