Skip to content

Commit

Permalink
docs: update screenshots
Browse files Browse the repository at this point in the history
Signed-off-by: Henry Gressmann <mail@henrygressmann.de>
  • Loading branch information
explodingcamera committed Nov 23, 2024
1 parent 95d95d0 commit 96d56bb
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 4 deletions.
Binary file modified data/images/liwan-desktop-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified data/images/liwan-desktop-full-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified data/images/liwan-desktop-full.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified data/images/liwan-desktop.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion data/licenses-cargo.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion data/licenses-npm.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion web/src/components/project.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const Project = () => {
const [filters, setFilters] = useState<DimensionFilter[]>([]);
const [metric, setMetric] = useLocalStorage<Metric>("metric", "views");

const [rangeString, setRangeString] = useLocalStorage<string>("date-range", "last7Days");
const [rangeString, setRangeString] = useLocalStorage<string>("date-range", "yearToDate");
const range = useMemo(() => DateRange.deserialize(rangeString), [rangeString]);

useEffect(() => {
Expand Down
5 changes: 4 additions & 1 deletion web/src/components/project/range.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,12 @@
justify-content: center;
align-items: center;
cursor: pointer;
color: var(--pico-contrast);
transition: background-color 0.1s, opacity 0.1s;

&:hover {
background-color: var(--pico-card-background-color);
color: var(--pico-h1-background-color);
opacity: 1;
}
}

Expand Down

0 comments on commit 96d56bb

Please sign in to comment.