Skip to content

Commit

Permalink
Merge pull request #14 from lsbyerley/dev
Browse files Browse the repository at this point in the history
chore: increase game score width
  • Loading branch information
lsbyerley authored Nov 3, 2024
2 parents 3d920ea + f14630b commit f699fe1
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions app/routes/bucnation.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import {
json,
} from '@remix-run/node'
import { json } from '@remix-run/node'
import {
type MetaFunction,
useLoaderData,
Expand Down Expand Up @@ -72,7 +70,7 @@ export const meta: MetaFunction = ({ data }) => [
]

export const loader = async () => {
const hoopsApi = process.env.HOOPS_API;
const hoopsApi = process.env.HOOPS_API
const responsePromises = await Promise.all([
fetch(`${hoopsApi}/api/etsu/roster`),
fetch(`${hoopsApi}/api/etsu/schedule`),
Expand Down Expand Up @@ -172,14 +170,16 @@ export default function BucNation() {
<AvatarFallback>{item.vsat}</AvatarFallback>
</Avatar>
<div>
<h3 className="text-lg font-semibold">{item.vsat} {item.opponent}</h3>
<h3 className="text-lg font-semibold">
{item.vsat} {item.opponent}
</h3>
<p className="text-gray-500 dark:text-gray-400">
{item.date}
</p>
</div>
</div>
<div className="flex items-center gap-2">
<div className="text-lg font-semibold">{item.result}</div>
<div className="flex items-center gap-2 min-w-24 justify-end">
<div className="text-lg font-semibold">{item.result}</div>
<div className="text-lg font-semibold">{item.score}</div>
</div>
</div>
Expand All @@ -201,7 +201,7 @@ export default function BucNation() {
<div className="flex items-center justify-between">
<div className="flex items-center gap-4">
<h3 className="text-xl font-bold">
{player.firstName[0]}. {player.lastName}
{player.firstName[0]}. {player.lastName}
</h3>
<span className="text-sm text-gray-500 dark:text-gray-400">
{`MPG: ${player.minutes}`}
Expand Down Expand Up @@ -232,7 +232,8 @@ export default function BucNation() {
3pt%
</span>
<span className="font-medium">{player.threePercent}</span>
</div><div className="flex flex-col items-end">
</div>
<div className="flex flex-col items-end">
<span className="text-sm text-gray-500 dark:text-gray-400">
Fg%
</span>
Expand Down

0 comments on commit f699fe1

Please sign in to comment.