Skip to content

Commit

Permalink
Update about and navbar pip
Browse files Browse the repository at this point in the history
  • Loading branch information
ewhanson committed Jul 6, 2023
1 parent 843f2c0 commit 3100785
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 13 deletions.
6 changes: 1 addition & 5 deletions ui/src/components/Navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,6 @@ export function Navbar() {
return buildTime < oneWeekAgo;
};

const shouldDisplayUpdateBadge = () => {
return !isBuildOrderThanOneWeek() || hasNewPhotos;
};

return (
<div className="navbar bg-base-100">
<div className="flex-1">
Expand All @@ -55,7 +51,7 @@ export function Navbar() {
<div className="flex-none">
<div className="dropdown dropdown-end">
<div className="indicator">
{shouldDisplayUpdateBadge() && (
{hasNewPhotos && (
<div className="badge badge-secondary badge-xs indicator-item mt-1 mr-1"></div>
)}
<label tabIndex="0" className="btn btn-square btn-ghost">
Expand Down
15 changes: 7 additions & 8 deletions ui/src/components/routes/About.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,15 @@ export function About() {
<article className="prose">
<h1>About Babygramz</h1>
<p>
Thanks for visiting! Babygramz is a personal project created to share
baby photos with friends and family. It allows you to create a
password-protected photo feed to share and store photos using the
infrastructure you choose without added tracking and telemetry built
in. For now, the project is limited to a single user/photo feed, but
may be expanded, open-sourced in the future.
Thanks for visiting! Babygramz is a digital scrapbook for sharing
photos with friends and family. It allows you to create a
password-protected photo feed with the ethos of a physical scrapbook
and feel of a modern social media app. For now, the project is limited
to a single user/photo feed, but I'd like to expand and open-source it
in the future.
</p>
<p>
Babygramz is built with open source technologies including{" "}
<a href="https://preactjs.com/">Preact</a>,{" "}
Built with ♥️ and <a href="https://preactjs.com/">Preact</a>,{" "}
<a href="https://daisyui.com/">DaisyUI</a>, and{" "}
<a href="https://pocketbase.io">PocketBase</a>.
</p>
Expand Down

0 comments on commit 3100785

Please sign in to comment.