From 0c918d6f9bbafbff431614f610c556f364cc4ceb Mon Sep 17 00:00:00 2001 From: Rory Hinnen Date: Fri, 8 May 2026 11:17:34 -0500 Subject: [PATCH] update library: --- Sources/Components/LibraryBurroughs.swift | 1 + Sources/Components/LibraryChandler.swift | 1 + Sources/Components/LibraryGraham.swift | 1 + Sources/Components/LibraryGray.swift | 27 +++++++++++++---------- Sources/Components/LibraryLovecraft.swift | 1 + Sources/Components/LibrarySmith.swift | 1 + Sources/Components/LibraryWells.swift | 1 + 7 files changed, 21 insertions(+), 12 deletions(-) diff --git a/Sources/Components/LibraryBurroughs.swift b/Sources/Components/LibraryBurroughs.swift index 4fde73a..27c18e1 100644 --- a/Sources/Components/LibraryBurroughs.swift +++ b/Sources/Components/LibraryBurroughs.swift @@ -49,5 +49,6 @@ Burroughs wrote these in the early part of the last century, and a they can be c } .horizontalAlignment(.center) } + .margin(.top, .large) } } diff --git a/Sources/Components/LibraryChandler.swift b/Sources/Components/LibraryChandler.swift index 8de9ac7..36aa775 100644 --- a/Sources/Components/LibraryChandler.swift +++ b/Sources/Components/LibraryChandler.swift @@ -26,5 +26,6 @@ This man writes like an angel. And tells sordid stories of sin and debauchery. } .horizontalAlignment(.center) } + .margin(.top, .large) } } diff --git a/Sources/Components/LibraryGraham.swift b/Sources/Components/LibraryGraham.swift index ebe0b86..8e752d9 100644 --- a/Sources/Components/LibraryGraham.swift +++ b/Sources/Components/LibraryGraham.swift @@ -25,5 +25,6 @@ Shoegaze. Soak in the psychodelia. } .horizontalAlignment(.center) } + .margin(.top, .large) } } diff --git a/Sources/Components/LibraryGray.swift b/Sources/Components/LibraryGray.swift index 6778c8c..3d61651 100644 --- a/Sources/Components/LibraryGray.swift +++ b/Sources/Components/LibraryGray.swift @@ -9,20 +9,23 @@ import Ignite struct LibraryGray: HTML { - var body: some HTML { Group { - Text("Zane Gray") - .font(.title2) - .horizontalAlignment(.center) - Text(""" + var body: some HTML { + Group { + Text("Zane Gray") + .font(.title2) + .horizontalAlignment(.center) + Text(""" I am not a fan of the genre 'Western'. My dad is. -""").horizontalAlignment(.leading) - VStack{ - List { - Link("The Mysterious Rider", target: "/epubs/mr.epub") - } +""") .horizontalAlignment(.leading) + VStack{ + List { + Link("The Mysterious Rider", target: "/epubs/mr.epub") + } + .horizontalAlignment(.leading) + } + .horizontalAlignment(.center) } - .horizontalAlignment(.center) - } + .margin(.top, .large) } } diff --git a/Sources/Components/LibraryLovecraft.swift b/Sources/Components/LibraryLovecraft.swift index 495ada2..758b64d 100644 --- a/Sources/Components/LibraryLovecraft.swift +++ b/Sources/Components/LibraryLovecraft.swift @@ -29,5 +29,6 @@ Lovecraft has a cult following, which is funny because he always wrote about cul } .horizontalAlignment(.center) } + .margin(.top, .large) } } diff --git a/Sources/Components/LibrarySmith.swift b/Sources/Components/LibrarySmith.swift index 1800835..2a1c43f 100644 --- a/Sources/Components/LibrarySmith.swift +++ b/Sources/Components/LibrarySmith.swift @@ -25,5 +25,6 @@ Just happy adventure stories with strong, exceptional men doing strong, exceptio } .horizontalAlignment(.center) } + .margin(.top, .large) } } diff --git a/Sources/Components/LibraryWells.swift b/Sources/Components/LibraryWells.swift index 8b44683..3921690 100644 --- a/Sources/Components/LibraryWells.swift +++ b/Sources/Components/LibraryWells.swift @@ -26,5 +26,6 @@ Wells is the Patron Saint of English Science Fiction. Verne might have been firs } .horizontalAlignment(.center) } + .margin(.top, .large) } }