Skip to content

Commit

Permalink
UI tweaks.
Browse files Browse the repository at this point in the history
  • Loading branch information
phulin committed Aug 27, 2024
1 parent 1d8c2da commit c798b93
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
6 changes: 4 additions & 2 deletions client/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import {
} from "@chakra-ui/react";
import { useContext } from "react";

import NagContext from "./contexts/NagContext";
import NagContextProvider from "./contexts/NagContextProvider";
import RefreshContext, {
RefreshContextProvider,
Expand Down Expand Up @@ -55,13 +56,14 @@ const theme = extendTheme({

const Layout = () => {
useContext(RefreshContext);
const { nags } = useContext(NagContext);
return (
<Container paddingX={0}>
<Container paddingX={0} fontSize="sm">
<Heading as="h1" size="xl" textAlign="center">
Y💀RICK
</Heading>
<Stack divider={<StackDivider />}>
<NagSection />
{Object.keys(nags).length > 0 && <NagSection />}
<QuestSection />
<ResourceSection />
</Stack>
Expand Down
5 changes: 3 additions & 2 deletions client/src/sections/quests/level11/Desert.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,9 @@ const DesertQuest = () => {

return (
<QuestTile
header="Desert Quest"
imageUrl="/images/adventureimages/pyramid.gif"
header="Desert"
imageUrl="/images/adventureimages/sandcactus.gif"
imageAlt="Desert"
href="place.php?whichplace=desertbeach"
minLevel={11}
hide={step < Step.STARTED}
Expand Down
2 changes: 1 addition & 1 deletion client/src/sections/quests/level11/Palindome.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const Level11Palindome: React.FC = () => {

return (
<QuestTile
header="Palindome Quest"
header="Palindome"
imageUrl="/images/adventureimages/drawkward.gif"
minLevel={11}
hide={!canStart || step === Step.FINISHED}
Expand Down

0 comments on commit c798b93

Please sign in to comment.