Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions doc/src/components/HomepageFeatures/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from "react";
import clsx from "clsx";
import styles from "./styles.module.css";

Expand All @@ -8,18 +7,18 @@ const FeatureList = [
Svg: require("@site/static/img/icon/code-slash.svg").default,
description: (
<>
Watcharr is free and open source software distributed under the MIT
license. Feel free to browse, modify or contribute!
Free and open source, distributed under the GPLv3 license. Feel free to
browse, modify or contribute!
</>
),
},
{
title: "Simple",
title: "Simple & Intuitive",
Svg: require("@site/static/img/icon/happy.svg").default,
description: (
<>
Watcharr is incredibly easy to dive into. Install without hassle and get
started with the seamless and intuitive user experience.
Incredibly easy to dive into. Install within the minute and get started
with the seamless experience.
</>
),
},
Expand All @@ -28,8 +27,8 @@ const FeatureList = [
Svg: require("@site/static/img/icon/go.svg").default,
description: (
<>
Don't know what else to add here, so now you know Watcharr is built with
Go and Svelte.
Don't know what else to add here, so now you know I'm built with Go and
Svelte.
</>
),
},
Expand Down
6 changes: 6 additions & 0 deletions server/util/age.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ import "time"

// Returns age in years.
func GetAge(birthDate time.Time, deathDate time.Time) int {
if birthDate.IsZero() {
// If we don't have a birthday, skip processing.
return 0
}

// Calculate an endDate, which is either `deathDate` or `now`.
var endDate time.Time
if !deathDate.IsZero() {
endDate = deathDate
Expand Down
2 changes: 2 additions & 0 deletions src/lib/Activity.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,10 @@
display: flex;
flex-flow: row;
align-items: center;
flex-shrink: 1;
gap: 8px;
width: max-content;
min-width: 0;
max-width: 100%;
cursor: pointer;
}
Expand Down
1 change: 1 addition & 0 deletions src/lib/Icon.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -608,6 +608,7 @@
viewBox="0 0 512 512"
>
<path
fill="currentColor"
d="M208 512a24.84 24.84 0 01-23.34-16l-39.84-103.6a16.06 16.06 0 00-9.19-9.19L32 343.34a25 25 0 010-46.68l103.6-39.84a16.06 16.06 0 009.19-9.19L184.66 144a25 25 0 0146.68 0l39.84 103.6a16.06 16.06 0 009.19 9.19l103 39.63a25.49 25.49 0 0116.63 24.1 24.82 24.82 0 01-16 22.82l-103.6 39.84a16.06 16.06 0 00-9.19 9.19L231.34 496A24.84 24.84 0 01208 512zm66.85-254.84zM88 176a14.67 14.67 0 01-13.69-9.4l-16.86-43.84a7.28 7.28 0 00-4.21-4.21L9.4 101.69a14.67 14.67 0 010-27.38l43.84-16.86a7.31 7.31 0 004.21-4.21L74.16 9.79A15 15 0 0186.23.11a14.67 14.67 0 0115.46 9.29l16.86 43.84a7.31 7.31 0 004.21 4.21l43.84 16.86a14.67 14.67 0 010 27.38l-43.84 16.86a7.28 7.28 0 00-4.21 4.21l-16.86 43.84A14.67 14.67 0 0188 176zM400 256a16 16 0 01-14.93-10.26l-22.84-59.37a8 8 0 00-4.6-4.6l-59.37-22.84a16 16 0 010-29.86l59.37-22.84a8 8 0 004.6-4.6l22.67-58.95a16.45 16.45 0 0113.17-10.57 16 16 0 0116.86 10.15l22.84 59.37a8 8 0 004.6 4.6l59.37 22.84a16 16 0 010 29.86l-59.37 22.84a8 8 0 00-4.6 4.6l-22.84 59.37A16 16 0 01400 256z"
/>
</svg>
Expand Down
Loading