Add Kevin Viers Venmo link to About, build 20
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
df5d847169
commit
7c8dfb54ca
3 files changed
+8
-6
No files matched your search
@@ -266,6 +266,8 @@ private struct Maintainer: Identifiable {
|
|||||||
let color: UInt32
|
let color: UInt32
|
||||||
let site: (title: String, icon: String, value: String, url: String)
|
let site: (title: String, icon: String, value: String, url: String)
|
||||||
let coffee: String?
|
let coffee: String?
|
||||||
|
var tipTitle = "Buy Me a Coffee"
|
||||||
|
var tipIcon = "cup.and.saucer.fill"
|
||||||
var id: String { name }
|
var id: String { name }
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -275,7 +277,7 @@ private let maintainers = [
|
|||||||
coffee: "https://buymeacoffee.com/cdnutter"),
|
coffee: "https://buymeacoffee.com/cdnutter"),
|
||||||
Maintainer(name: "Kevin Viers", role: "stemd and the Android app", avatar: "AvatarKevin", color: Stems.color("drums"),
|
Maintainer(name: "Kevin Viers", role: "stemd and the Android app", avatar: "AvatarKevin", color: Stems.color("drums"),
|
||||||
site: ("GitHub", "chevron.left.forwardslash.chevron.right", "kevinViers", "https://github.com/kevinViers/"),
|
site: ("GitHub", "chevron.left.forwardslash.chevron.right", "kevinViers", "https://github.com/kevinViers/"),
|
||||||
coffee: nil),
|
coffee: "https://venmo.com/code?user_id=2910252785729536546&created=1792897467", tipTitle: "Venmo", tipIcon: "dollarsign.circle.fill"),
|
||||||
]
|
]
|
||||||
|
|
||||||
/// A maintainer's picture in a ring of their stem colour, their name and what they look after.
|
/// A maintainer's picture in a ring of their stem colour, their name and what they look after.
|
||||||
@@ -330,7 +332,7 @@ struct AboutScreen: View {
|
|||||||
.themedRow()
|
.themedRow()
|
||||||
if let coffee = m.coffee {
|
if let coffee = m.coffee {
|
||||||
Link(destination: URL(string: coffee)!) {
|
Link(destination: URL(string: coffee)!) {
|
||||||
ValueCell(title: "Buy Me a Coffee", value: nil, icon: "cup.and.saucer.fill", iconBg: 0xFF9500)
|
ValueCell(title: m.tipTitle, value: nil, icon: m.tipIcon, iconBg: 0xFF9500)
|
||||||
}
|
}
|
||||||
.themedRow()
|
.themedRow()
|
||||||
} else {
|
} else {
|
||||||
@@ -347,7 +349,7 @@ struct AboutScreen: View {
|
|||||||
}
|
}
|
||||||
Section {
|
Section {
|
||||||
} footer: {
|
} footer: {
|
||||||
Footer(text: "Stemify is free. A coffee goes straight to the person you pick.")
|
Footer(text: "Stemify is free. A tip goes straight to the person you pick.")
|
||||||
.frame(maxWidth: .infinity)
|
.frame(maxWidth: .infinity)
|
||||||
.multilineTextAlignment(.center)
|
.multilineTextAlignment(.center)
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -7,7 +7,7 @@ settings:
|
|||||||
base:
|
base:
|
||||||
SWIFT_VERSION: "5.0"
|
SWIFT_VERSION: "5.0"
|
||||||
MARKETING_VERSION: "1.1"
|
MARKETING_VERSION: "1.1"
|
||||||
CURRENT_PROJECT_VERSION: "19"
|
CURRENT_PROJECT_VERSION: "20"
|
||||||
targets:
|
targets:
|
||||||
Stemify:
|
Stemify:
|
||||||
type: application
|
type: application
|
||||||
|
|||||||
+2
-2
@@ -1030,9 +1030,9 @@ function renderSettings() {
|
|||||||
<a class="btn small" href="https://buymeacoffee.com/cdnutter" target="_blank" rel="noopener">Buy Me a Coffee</a></div></div>
|
<a class="btn small" href="https://buymeacoffee.com/cdnutter" target="_blank" rel="noopener">Buy Me a Coffee</a></div></div>
|
||||||
<div class="person"><b>Kevin Viers</b><span class="note">stemd and the Android app</span><div class="row">
|
<div class="person"><b>Kevin Viers</b><span class="note">stemd and the Android app</span><div class="row">
|
||||||
<a class="btn small" href="https://github.com/kevinViers/" target="_blank" rel="noopener">GitHub</a>
|
<a class="btn small" href="https://github.com/kevinViers/" target="_blank" rel="noopener">GitHub</a>
|
||||||
<button class="btn small" disabled>Buy Me a Coffee: Coming soon</button></div></div>
|
<a class="btn small" href="https://venmo.com/code?user_id=2910252785729536546&created=1792897467" target="_blank" rel="noopener">Venmo</a></div></div>
|
||||||
</div>
|
</div>
|
||||||
<p class="note">Stemify is free. A coffee goes straight to the person you pick.</p>
|
<p class="note">Stemify is free. A tip goes straight to the person you pick.</p>
|
||||||
</section>
|
</section>
|
||||||
</div></div>`;
|
</div></div>`;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user