Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
hanniabu committed Feb 16, 2024
1 parent 3edb8c2 commit 038115a
Show file tree
Hide file tree
Showing 48 changed files with 89 additions and 72 deletions.
2 changes: 1 addition & 1 deletion _data/posts-processed/aave-processed.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _data/posts-processed/arbitrum-processed.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _data/posts-processed/curve-processed.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _data/posts-processed/eigen-layer-processed.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _data/posts-processed/ens-processed.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _data/posts-processed/ethereum-magicians-processed.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _data/posts-processed/ethereum-research-processed.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _data/posts-processed/frax-processed.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _data/posts-processed/gitcoin-processed.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _data/posts-processed/giveth-processed.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _data/posts-processed/hop-processed.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _data/posts-processed/lido-processed.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _data/posts-processed/maker-processed.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _data/posts-processed/octant-processed.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _data/posts-processed/optimism-processed.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _data/posts-processed/polygon-processed.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _data/posts-processed/rocket-pool-processed.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _data/posts-processed/scroll-processed.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _data/posts-processed/stakewise-processed.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _data/posts-processed/starknet-processed.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _data/posts-processed/swell-processed.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _data/posts-processed/uniswap-processed.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _data/posts-raw/aave-raw.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _data/posts-raw/arbitrum-raw.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _data/posts-raw/curve-raw.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _data/posts-raw/eigen-layer-raw.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _data/posts-raw/ens-raw.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _data/posts-raw/ethereum-magicians-raw.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _data/posts-raw/ethereum-research-raw.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _data/posts-raw/frax-raw.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _data/posts-raw/gitcoin-raw.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _data/posts-raw/giveth-raw.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _data/posts-raw/hop-raw.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _data/posts-raw/lido-raw.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _data/posts-raw/maker-raw.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _data/posts-raw/octant-raw.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _data/posts-raw/optimism-raw.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _data/posts-raw/polygon-raw.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _data/posts-raw/rocket-pool-raw.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _data/posts-raw/scroll-raw.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _data/posts-raw/stakewise-raw.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _data/posts-raw/starknet-raw.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _data/posts-raw/swell-raw.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _data/posts-raw/uniswap-raw.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _includes/components/details-post.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
{%- assign disabled = "disabled" -%}
{%- endif -%}
{%- capture title -%}
{{include.cat | badge}} {{include.title}}
{{include.cat | badge}} {{include.title | escape}}
{%- endcapture -%}
<details {{open}} {{disabled}}>
<summary class="mb-3">
Expand Down
3 changes: 3 additions & 0 deletions _scripts/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ def fetch(url, method="GET", payload={}, headers={}, retries=2, delay=0, retry_d
def save_to_file(rel_path, data, context="", data_type="json"):
# log(data, context=f"Saving file: {context}")
log("", context=f"Saving file: {rel_path}")
if data == None:
error = f"ERROR: data is null"
report_error(error, context)
# add preceeding "/" to path if not already included
if not rel_path.startswith("/"):
rel_path = "/" + rel_path
Expand Down
19 changes: 11 additions & 8 deletions assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@
/*--bs-body-bg: #17181c;*/
/*--bs-body-bg-rgb: 23, 24, 28;*/
/*--bs-body-bg: #0d1217;*/
--bs-body-bg: #18212a;
--bs-body-bg-rgb: 13, 18, 23;
/*--bs-body-bg: #18212a;*/
/*--bs-body-bg-rgb: 13, 18, 23;*/
/*--bs-body-bg: #111a22;*/
--bs-body-bg: #131c25;
--bs-body-bg-rgb: 19, 28, 37;
--bs-body-font-size: 0.875rem;
/*--bs-body-color: #fafafa;*/
/*--bs-body-color-rgb: rgb(250, 250, 250);*/
Expand Down Expand Up @@ -508,13 +511,13 @@ pre {
}


.dune-embed {
filter: grayscale(60%) invert(100%);
.inline-dot {
width: .75rem;
height: .75rem;
display: inline-block;
margin-bottom: -0.1rem;
border-radius: 50% !important;
}
.theblock-embed {
filter: grayscale(10%) invert(100%) hue-rotate(175deg) sepia(50%);
}




Expand Down
49 changes: 30 additions & 19 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,26 +18,37 @@
loading...
</p>
<div class="tab-pane active d-none" id="forums" role="tabpanel" aria-labelledby="forums-tab" tabindex="0">
<div class="mb-2 ms-2">
<div class="form-check mt-1">
<input class="form-check-input" type="checkbox" value="" id="showFilteredPosts" onclick="showFilteredPosts(this.checked)">
<label class="form-check-label" for="showFilteredPosts">
Show filtered posts
</label>
{%- capture forum_settings -%}
<div class="card p-2">
<div class="form-check mt-1">
<input class="form-check-input" type="checkbox" value="" id="showFilteredPosts" onclick="showFilteredPosts(this.checked)">
<label class="form-check-label" for="showFilteredPosts">
{{'Show filtered posts
(<span class="inline-dot bg-warning"></span>)' | tooltip: "Filtered posts are posts hidden due to blacklisted categories, users, or keywords."}}
</label>
</div>
<div class="form-check mt-1">
<input class="form-check-input" type="checkbox" value="" id="showRemovedPosts" onclick="showRemovedPosts(this.checked)">
<label class="form-check-label" for="showRemovedPosts">
{{'Show removed posts
(<span class="inline-dot bg-danger"></span>)' | tooltip: "Removed posts are posts you have opened and selected ‛Remove’."}}
</label>
</div>
<div class="form-check mt-1">
<input class="form-check-input" type="checkbox" value="" id="expandCategories" onclick="expandCategories(this.checked)">
<label class="form-check-label" for="expandCategories">
Expand categories
</label>
</div>
</div>
<div class="form-check mt-1">
<input class="form-check-input" type="checkbox" value="" id="showRemovedPosts" onclick="showRemovedPosts(this.checked)">
<label class="form-check-label" for="showRemovedPosts">
Show removed posts
</label>
</div>
<div class="form-check mt-1">
<input class="form-check-input" type="checkbox" value="" id="expandCategories" onclick="expandCategories(this.checked)">
<label class="form-check-label" for="expandCategories">
Expand categories
</label>
</div>
</div>
{%- endcapture -%}
{% include components/details.html
id="forumSettings"
title="Settings"
body=forum_settings
open=false
%}
<hr>
{%- assign all_categories = "" -%}
{%- for item in site.data.watchlist -%}
{%- if item.forum and item.status == "live" -%}
Expand Down

0 comments on commit 038115a

Please sign in to comment.