Skip to content

Commit badafda

Browse files
authored
Merge pull request #27 from kleros/feat/retro-pgf-test
Feat: retro pgf test
2 parents 1b80ba6 + fc7ab77 commit badafda

File tree

14 files changed

+69
-297
lines changed

14 files changed

+69
-297
lines changed

public/futarchy_kleros.png

-232 KB
Loading

src/app/(homepage)/components/AdvancedSection.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@ const AdvancedSection: React.FC = () => {
2323
<p className="text-klerosUIComponentsSecondaryText text-sm">
2424
Check the opportunities if you want to LP or Trade specific outcome
2525
tokens in Seer.&nbsp;
26-
{/* TODO: update link */}
2726
<Link
28-
href={"/"}
27+
href={
28+
"https://app.seer.pm/markets/100/ierr-which-day-will-be-evaluated-by-the-gourmet-committee/?outcome=Tuesday+28+July"
29+
}
2930
target="_blank"
3031
rel="noreferrer noopener"
3132
className="text-klerosUIComponentsPrimaryBlue items-center text-sm"

src/app/(homepage)/components/Chart/Legend.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const Legend: React.FC<ILegend> = ({
3333
return (
3434
<Tag
3535
key={`item-${index}`}
36-
text={`${name} ${data.at(-1)?.value.toFixed(2)}%`}
36+
text={`${name} ${data.at(-1)?.value.toFixed(2)}`}
3737
active={isVisible}
3838
onClick={() => onToggleMarket(name)}
3939
className={clsx(

src/app/(homepage)/components/Chart/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ const Chart: React.FC<{ data: IChartData[] }> = ({ data }) => {
8181
const latestTimestamp = Date.now() / 1000;
8282

8383
// Generate common timestamps for all markets
84-
const timestamps = getTimestamps(1751328000, latestTimestamp);
84+
const timestamps = getTimestamps(1754407213, latestTimestamp);
8585

8686
// Process data for each market
8787
const processedData = timestamps.map((timestamp) => {

src/app/(homepage)/components/Header/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const Header: React.FC = () => {
1212
return (
1313
<div className="flex flex-col items-start gap-4">
1414
<h1 className="text-klerosUIComponentsPrimaryText text-2xl font-semibold">
15-
Session 1 - Movie Scores
15+
Session 1 - Retro PGF Experiment
1616
</h1>
1717
<div className="flex flex-wrap gap-4">
1818
<div className="flex items-center gap-2">
@@ -21,7 +21,7 @@ const Header: React.FC = () => {
2121
Trading Period:
2222
</span>
2323
<span className="text-klerosUIComponentsPrimaryText text-sm font-semibold">
24-
1 Month
24+
Until Monday 18th 23:59 UTC
2525
</span>
2626
</div>
2727
<Countdown />
@@ -41,7 +41,7 @@ const Header: React.FC = () => {
4141
<div className="flex size-full flex-wrap items-center gap-6 px-6 py-3.75">
4242
<SeerLogo />
4343
<p className="text-klerosUIComponentsPrimaryText text-base">
44-
If watched, what score will Clément give to the movie?
44+
If rated, what score would the gourmet committee give to the meal?
4545
</p>
4646
</div>
4747
</div>

src/app/(homepage)/components/ProjectFunding/Details.tsx

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,20 @@ import { IDetails } from "@/consts/markets";
66

77
const Details: React.FC<IDetails> = ({ imdbURL, posterURL, summary }) => (
88
<div className="flex flex-wrap items-start gap-4">
9-
<img src={posterURL} alt="movie poster" className="rounded-base" />
9+
{posterURL ? (
10+
<img src={posterURL} alt="movie poster" className="rounded-base" />
11+
) : null}
1012
<div>
11-
<Link
12-
className="text-klerosUIComponentsPrimaryBlue font-bold"
13-
href={imdbURL}
14-
rel="noopener noreferrer"
15-
target="_blank"
16-
>
17-
IMDB
18-
</Link>
13+
{imdbURL ? (
14+
<Link
15+
className="text-klerosUIComponentsPrimaryBlue font-bold"
16+
href={imdbURL}
17+
rel="noopener noreferrer"
18+
target="_blank"
19+
>
20+
IMDB
21+
</Link>
22+
) : null}
1923
<p className="text-shadow-klerosUIComponentsSecondaryText max-w-160 italic">
2024
{summary}
2125
</p>

src/app/apple-icon.png

33.2 KB
Loading

src/app/favicon.ico

0 Bytes
Binary file not shown.

src/app/icon.png

14 KB
Loading

src/app/layout.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import type { Metadata } from "next";
2+
import { ThemeProvider } from "next-themes";
23

34
import clsx from "clsx";
45
import localFont from "next/font/local";
@@ -11,8 +12,6 @@ import "./globals.css";
1112
import Footer from "@/components/layout/Footer";
1213
import Header from "@/components/layout/Header";
1314

14-
import { ThemeProvider } from "next-themes";
15-
1615
const geistSans = localFont({
1716
src: "./fonts/GeistVF.woff",
1817
variable: "--font-geist-sans",

0 commit comments

Comments
 (0)