Skip to content

Commit

Permalink
changed some metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
yashgo0018 committed May 7, 2024
1 parent 41b716e commit 4a24aa7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/nextjs/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const baseUrl = process.env.VERCEL_URL
: `http://localhost:${process.env.PORT || 3000}`;
const imageUrl = `${baseUrl}/thumbnail.jpg`;

const title = "Scaffold-ETH 2 App";
const title = "MACI Starter Kit";
const titleTemplate = "%s | Scaffold-ETH 2";
const description = "Built with 🏗 Scaffold-ETH 2";

Expand Down
3 changes: 1 addition & 2 deletions packages/nextjs/app/polls/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,7 @@ export default function PollDetail() {
});
}

// // setLoaderMessage("Casting the vote, please wait...");
// // router.push(`/voted-success?id=${clickedIndex}`);
notification.success("Vote casted successfully");
} catch (err) {
console.log("err", err);
notification.error("Casting vote failed, please try again ");
Expand Down
4 changes: 2 additions & 2 deletions packages/nextjs/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ export const Header = () => {
<Image alt="SE2 logo" className="cursor-pointer" fill src="/logo.svg" />
</div>
<div className="flex flex-col">
<span className="font-bold leading-tight">Scaffold-ETH</span>
<span className="text-xs">Ethereum dev stack</span>
<span className="font-bold leading-tight">MACI Wrapper</span>
<span className="text-xs">Private Voting Starter Kit</span>
</div>
</Link>
<ul className="hidden lg:flex lg:flex-nowrap menu menu-horizontal px-1 gap-2">
Expand Down
2 changes: 1 addition & 1 deletion packages/nextjs/components/card/VoteCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const VoteCard = ({ index, candidate, onChange, pollType, isInvalid, setIsInvali
ref={votesFieldRef}
type="number"
className={
"border border-slate-600 bg-primary text-primary-content rounded-lg px-2 py-2 ml-2 w-20" +
"border border-slate-600 bg-primary text-primary-content placeholder:text-accent-content placeholder:font-light rounded-lg px-2 py-2 ml-2 w-20" +
(isInvalid ? " border-red-500" : "")
}
disabled={!selected}
Expand Down

0 comments on commit 4a24aa7

Please sign in to comment.