From aba362a6d2ec1107c20a55e535f7786f2944d009 Mon Sep 17 00:00:00 2001 From: Campbell Alden Date: Fri, 2 Sep 2022 18:16:54 +0900 Subject: [PATCH] PUBLISH: Add favorite star --- archetypes/reviews.md | 1 + docs/card.css | 10 ++++++ docs/genres/action/index.html | 1 + docs/genres/adventure/index.html | 1 + docs/genres/comedy/index.html | 2 ++ docs/genres/drama/index.html | 2 ++ docs/genres/index.html | 54 ++++++++++++++++++-------------- docs/genres/romance/index.html | 2 ++ docs/index.html | 3 ++ layouts/_default/summary.html | 7 ++++- layouts/partials/star.html | 1 + static/card.css | 10 ++++++ 12 files changed, 70 insertions(+), 24 deletions(-) create mode 100644 layouts/partials/star.html diff --git a/archetypes/reviews.md b/archetypes/reviews.md index 8ca6d95..f7e0437 100644 --- a/archetypes/reviews.md +++ b/archetypes/reviews.md @@ -1,6 +1,7 @@ --- title: "{{ replace .Name "-" " " | title }}" date: {{ .Date }} +favorite: false draft: true rating: 5 imdb: 0.0 diff --git a/docs/card.css b/docs/card.css index d2ec5e3..b13a5df 100644 --- a/docs/card.css +++ b/docs/card.css @@ -56,6 +56,16 @@ border-radius: 8px; } +.card-favorite-star { + position: absolute; + display: flex; + right: 20px; + top: 20px; + padding: 10px; + background: rgba(255,255,255,0.25); + border-radius: 100%; +} + @media (prefers-reduced-motion) { .card-content { transition: none; diff --git a/docs/genres/action/index.html b/docs/genres/action/index.html index 69edd3e..1ae6507 100644 --- a/docs/genres/action/index.html +++ b/docs/genres/action/index.html @@ -43,6 +43,7 @@
Kingsman: The Secret Service +
diff --git a/docs/genres/adventure/index.html b/docs/genres/adventure/index.html index 4dcaf07..e9a492d 100644 --- a/docs/genres/adventure/index.html +++ b/docs/genres/adventure/index.html @@ -43,6 +43,7 @@
Kingsman: The Secret Service +
diff --git a/docs/genres/comedy/index.html b/docs/genres/comedy/index.html index f36f39d..45d88d7 100644 --- a/docs/genres/comedy/index.html +++ b/docs/genres/comedy/index.html @@ -43,6 +43,7 @@
Kingsman: The Secret Service +
@@ -64,6 +65,7 @@
The French Dispatch +
diff --git a/docs/genres/drama/index.html b/docs/genres/drama/index.html index bd48e52..b91e5db 100644 --- a/docs/genres/drama/index.html +++ b/docs/genres/drama/index.html @@ -43,6 +43,7 @@
No Reservations +
@@ -64,6 +65,7 @@
The French Dispatch +
diff --git a/docs/genres/index.html b/docs/genres/index.html index be07146..c53e626 100644 --- a/docs/genres/index.html +++ b/docs/genres/index.html @@ -50,6 +50,7 @@
Kingsman: The Secret Service +
@@ -83,6 +84,7 @@
Kingsman: The Secret Service +
@@ -116,6 +118,7 @@
Kingsman: The Secret Service +
@@ -139,6 +142,7 @@
The French Dispatch +
@@ -172,6 +176,7 @@
No Reservations +
@@ -195,6 +200,7 @@
The French Dispatch +
@@ -225,32 +231,10 @@
-
-
- The French Dispatch -
-
-
-

The French Dispatch

-
-
Authors for a New Yorker-esque magazine report on a small town in France
-
-
- imbd logo - 7.2 -
- -
-
- -
No Reservations +
@@ -271,6 +255,30 @@
+
+
+ The French Dispatch + +
+
+
+

The French Dispatch

+
+
Authors for a New Yorker-esque magazine report on a small town in France
+
+
+ imbd logo + 7.2 +
+ +
+
+ +
diff --git a/docs/genres/romance/index.html b/docs/genres/romance/index.html index e283995..4e3df06 100644 --- a/docs/genres/romance/index.html +++ b/docs/genres/romance/index.html @@ -43,6 +43,7 @@
No Reservations +
@@ -64,6 +65,7 @@
The French Dispatch +
diff --git a/docs/index.html b/docs/index.html index 2f610fe..523bcbb 100644 --- a/docs/index.html +++ b/docs/index.html @@ -86,6 +86,7 @@
Kingsman: The Secret Service +
@@ -107,6 +108,7 @@