Skip to content

Commit

Permalink
Changes UI (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielaDelPilarR authored May 29, 2024
1 parent a1b7e40 commit 59ee8b1
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 8 deletions.
4 changes: 2 additions & 2 deletions packages/nextjs/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import { Space_Grotesk } from "next/font/google";
const spaceGrotesk = Space_Grotesk({ subsets: ["latin"] });

export const metadata: Metadata = {
title: "Starknet Speedrun",
title: "SpeedRun Stark",
description: "Fast track your starknet journey",
icons: "/icon-starknet.svg",
icons: "/logo.ico",
};

const ScaffoldStarkApp = ({ children }: { children: React.ReactNode }) => {
Expand Down
2 changes: 1 addition & 1 deletion packages/nextjs/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const Home: NextPage = () => {
</div>
<div className="w-full flex justify-center text-lg flex-col items-center text-primary bg-">
<div className="w-full px-[20px] flex justify-center flex-col items-center sm:pr-[35px]">
{firstChallenges.slice(0, 3).map((challenge) => (
{firstChallenges.slice(0, 4).map((challenge) => (
<ChallengeCard
key={challenge.id}
challenge={challenge.challenge}
Expand Down
2 changes: 1 addition & 1 deletion packages/nextjs/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export const Footer = () => {
<span>·</span>
<div className="text-center">
<a
href="https://t.me/joinchat/KByvmRe5wkR-8F_zz6AjpA"
href="https://t.me/+wO3PtlRAreo4MDI9"
target="_blank"
rel="noreferrer"
className="link"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const AddressQRCodeModal = ({
<div className="space-y-3 py-6">
<div className="flex space-x-4 flex-col items-center gap-6">
<QRCodeSVG value={address} size={256} />
<Address address={address} format="long" disableAddressLink />
<Address address={address} format="short" disableAddressLink />
</div>
</div>
</label>
Expand Down
6 changes: 3 additions & 3 deletions packages/nextjs/data-challenges/challenges.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const allChallenges = [
description:
"🤖 Smart contracts are kind of like always on vending machines that anyone can access. Let's make a decentralized, digital currency (an ERC20 token in Cairo for Starknet). Then, let's build an unstoppable vending machine that will buy and sell the currency. We'll learn about the approve pattern for ERC20s and how contract to contract interactions work.",
imageUrl: "/tokenVendor.png",
border: false,
border: true,
id: "token-vendor",
},
{
Expand Down Expand Up @@ -68,7 +68,7 @@ const allChallenges = [
},
];

const firstChallenges = allChallenges.slice(0, 3);
const lastChallenges = allChallenges.slice(3);
const firstChallenges = allChallenges.slice(0, 4);
const lastChallenges = allChallenges.slice(4);

export { firstChallenges, lastChallenges };
Binary file added packages/nextjs/public/logo.ico
Binary file not shown.
5 changes: 5 additions & 0 deletions packages/nextjs/public/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"name": "SpeedRun Stark",
"description": "Fast track your starknet journey",
"iconPath": "logo.ico"
}

0 comments on commit 59ee8b1

Please sign in to comment.