Skip to content

Commit

Permalink
feat: update icon and site theme
Browse files Browse the repository at this point in the history
  • Loading branch information
rolznz committed Aug 31, 2024
1 parent 805bb07 commit b7ab716
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/components/AlbyExtension.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export function AlbyExtension({
}
await (window as any).alby.enable();
const { success } = await (window as any).alby.addAccount({
name: "Alby Jim",
name: "Uncle Jim",
connector: "nwc",
config: {
nostrWalletConnectUrl: connectionSecret,
Expand Down
2 changes: 1 addition & 1 deletion app/components/Topup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export function Topup({ connectionSecret }: { connectionSecret: string }) {
});
const transaction = await client.makeInvoice({
amount: amount * 1000,
description: "topup on Alby Jim",
description: "topup on Uncle Jim",
});
setInvoice(transaction.invoice);

Expand Down
Binary file modified app/favicon.ico
Binary file not shown.
4 changes: 2 additions & 2 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import "./globals.css";
import React from "react";

export const metadata: Metadata = {
title: "Alby Jim",
title: "Uncle Jim",
description:
"An Uncle Jim service that gives out instant wallets that can be used in any NWC-powered app such as Damus, Amethyst, Alby Browser Extension and Alby Account",
};
Expand All @@ -14,7 +14,7 @@ export default function RootLayout({
children: React.ReactNode;
}>) {
return (
<html lang="en">
<html lang="en" data-theme="jim">
<body className="flex flex-col justify-center items-center w-full h-full p-4">
{children}
</body>
Expand Down
5 changes: 3 additions & 2 deletions app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ export default function Home() {

return (
<>
<p className="font-semibold">Alby Jim</p>
<img src="/uncle-jim.png" className="w-16 h-16 rounded-lg" alt="" />
<p className="font-semibold mt-4">Uncle Jim</p>
<div className="flex flex-col gap-4 max-w-lg border-2 rounded-xl p-4 items-center justify-center mt-4 mb-16">
{!wallet && (
<p>
Expand Down Expand Up @@ -159,7 +160,7 @@ export default function Home() {
</p>

<p className="mt-8 text-sm">Your podcasting 2.0 value tag is:</p>
<p className="max-w-sm bg-gray-300 p-4 rounded-lg break-words">
<p className="max-w-sm bg-base-200 p-4 rounded-lg break-words">
<span className="font-mono font-semibold">{wallet.valueTag}</span>
</p>
<p className="text-xs max-w-xs text-center">
Expand Down
Binary file added public/uncle-jim.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,20 @@ const config: Config = {
theme: {
extend: {},
},
daisyui: {
//
themes: [
{
jim: {
primary: "#b6b8ad",
// secondary: "#f6d860",
// accent: "#37cdbe",
// neutral: "#3d4451",
"base-100": "dbddd0",
},
},
],
},
plugins: [require("daisyui")],
};
export default config;

0 comments on commit b7ab716

Please sign in to comment.