Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Brackets #1

Open
wants to merge 10 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions better-app/app/Providers.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
'use client';

import { SessionProvider } from "next-auth/react";

export function Providers({ children }: { children: React.ReactNode }) {
return <SessionProvider>{children}</SessionProvider>;
}
9 changes: 0 additions & 9 deletions better-app/app/assets/jankyCrown.svg

This file was deleted.

138 changes: 138 additions & 0 deletions better-app/app/data/competitorsData.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
[
{
"id": 1,
"name": "Manali Niggums",
"profile": "A brief profile about Manali Niggums.",
"socials": {
"twitter": "https://twitter.com/manaliniggums",
"github": "https://github.com/manaliniggums"
},
"competitions": [
{
"competitionName": "Current Competition",
"year": 2023,
"status": "Active",
"submissions": ["Solution A", "Solution B"]
}
]
},
{
"id": 2,
"name": "Frah Frah Got",
"profile": "A brief profile about Frah Frah Got.",
"socials": {
"twitter": "https://twitter.com/frahfrahgot",
"github": "https://github.com/frahfrahgot"
},
"competitions": [
{
"competitionName": "Current Competition",
"year": 2023,
"status": "Active",
"submissions": ["Solution C"]
}
]
},
{
"id": 3,
"name": "Team C",
"profile": "A brief profile about Team C.",
"socials": {
"twitter": "https://twitter.com/teamC",
"github": "https://github.com/teamC"
},
"competitions": [
{
"competitionName": "Current Competition",
"year": 2023,
"status": "Active",
"submissions": ["Submission 1"]
}
]
},
{
"id": 4,
"name": "Team D",
"profile": "A brief profile about Team D.",
"socials": {
"twitter": "https://twitter.com/teamD",
"github": "https://github.com/teamD"
},
"competitions": [
{
"competitionName": "Current Competition",
"year": 2023,
"status": "Active",
"submissions": ["Submission 2"]
}
]
},
{
"id": 5,
"name": "Team E",
"profile": "A brief profile about Team E.",
"socials": {
"twitter": "https://twitter.com/teamE",
"github": "https://github.com/teamE"
},
"competitions": [
{
"competitionName": "Current Competition",
"year": 2023,
"status": "Active",
"submissions": ["Submission 3"]
}
]
},
{
"id": 6,
"name": "Team F",
"profile": "A brief profile about Team F.",
"socials": {
"twitter": "https://twitter.com/teamF",
"github": "https://github.com/teamF"
},
"competitions": [
{
"competitionName": "Current Competition",
"year": 2023,
"status": "Active",
"submissions": ["Submission 4"]
}
]
},
{
"id": 7,
"name": "Team G",
"profile": "A brief profile about Team G.",
"socials": {
"twitter": "https://twitter.com/teamG",
"github": "https://github.com/teamG"
},
"competitions": [
{
"competitionName": "Current Competition",
"year": 2023,
"status": "Active",
"submissions": ["Submission 5"]
}
]
},
{
"id": 8,
"name": "Team H",
"profile": "A brief profile about Team H.",
"socials": {
"twitter": "https://twitter.com/teamH",
"github": "https://github.com/teamH"
},
"competitions": [
{
"competitionName": "Current Competition",
"year": 2023,
"status": "Active",
"submissions": ["Submission 6"]
}
]
}
]
44 changes: 44 additions & 0 deletions better-app/app/data/matchData.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
[
{
"id": 1,
"round": "Round 1",
"teams": ["Manali Niggums", "Frah Frah Got"],
"startTime": "2023-09-01T10:00:00Z",
"endTime": "2023-09-01T11:00:00Z",
"prompt": "Solve the puzzle in the fastest time.",
"rules": "No external help allowed.",
"submissions": [
{
"team": "Manali Niggums",
"submission": "Solution A",
"userProfiles": ["User1", "User2"]
},
{
"team": "Frah Frah Got",
"submission": "Solution B",
"userProfiles": ["User3", "User4"]
}
]
},
{
"id": 2,
"round": "Round 2",
"teams": ["Team C", "Team D"],
"startTime": "2023-09-01T12:00:00Z",
"endTime": "2023-09-01T13:00:00Z",
"prompt": "Design the best logo.",
"rules": "Use only vector graphics.",
"submissions": [
{
"team": "Team C",
"submission": "Logo Design C",
"userProfiles": ["User5", "User6"]
},
{
"team": "Team D",
"submission": "Logo Design D",
"userProfiles": ["User7", "User8"]
}
]
}
]
Loading