From 8c4783c62248ed30bb8525381ce058278289fdd8 Mon Sep 17 00:00:00 2001 From: ericholguin Date: Fri, 17 Oct 2025 17:52:19 -0600 Subject: [PATCH] ui: Improve Damus Purple presentation in side view This PR simply replaces the purple ostrich in the side view with the Damus Logo. As well as adding a gradient to the Purple text. I think this better represents Damus Purple. Changelog-Changed: Changed Damus Purple Side View logo and text Signed-off-by: ericholguin --- .../Timeline/Views/SideMenuView.swift | 24 ++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/damus/Features/Timeline/Views/SideMenuView.swift b/damus/Features/Timeline/Views/SideMenuView.swift index 83410577..2b636301 100644 --- a/damus/Features/Timeline/Views/SideMenuView.swift +++ b/damus/Features/Timeline/Views/SideMenuView.swift @@ -48,12 +48,30 @@ struct SideMenuView: View { if damus_state.purple.enable_purple { NavigationLink(destination: DamusPurpleView(damus_state: damus_state)) { - HStack(spacing: 23) { - Image("nostr-hashtag") + HStack(spacing: 16) { + Image("damus-dark-logo") + .resizable() + .frame(width: 25, height: 25) + .clipShape(RoundedRectangle(cornerRadius: 7.0)) + .overlay( + RoundedRectangle(cornerRadius: 7) + .stroke(LinearGradient( + colors: [DamusColors.lighterPink.opacity(0.8), .white.opacity(0), DamusColors.deepPurple.opacity(0.6)], + startPoint: .topLeading, + endPoint: .bottomTrailing), lineWidth: 1) + ) + .shadow(radius: 1) Text("Purple") - .foregroundColor(DamusColors.purple) .font(.title2.weight(.semibold)) + .foregroundStyle( + LinearGradient( + colors: [DamusColors.lighterPink, DamusColors.deepPurple], + startPoint: .bottomLeading, + endPoint: .topTrailing + ) + ) } + .padding(.leading, 2) .frame(maxWidth: .infinity, alignment: .leading) } }