Skip to content

Commit 65dab9b

Browse files
committed
feat: brufez design language
1 parent a3a63ee commit 65dab9b

File tree

7 files changed

+746
-5
lines changed

7 files changed

+746
-5
lines changed

src/components/AnimatedRoutes.js

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,8 @@ const SitemapPage = lazy(() => import('../pages/SitemapPage'));
165165
const WelcomePage = lazy(() => import('../pages/WelcomePage'));
166166
const KnowledgeGraphPage = lazy(() => import('../pages/KnowledgeGraphPage'));
167167
const PIMLLabPage = lazy(() => import('../pages/apps/PIMLLabPage'));
168+
const BrufezPage = lazy(() => import('../pages/BrufezPage'));
169+
const BrufezPanelsPage = lazy(() => import('../pages/BrufezPanelsPage'));
168170
const VocabRouteHandler = lazy(() => import('../components/VocabRouteHandler'));
169171

170172
const pageVariants = {
@@ -598,6 +600,38 @@ const AnimatedRoutes = ({
598600
</motion.div>
599601
}
600602
/>
603+
<Route
604+
path="/brufez"
605+
element={
606+
<motion.div
607+
initial="initial"
608+
animate="in"
609+
exit="out"
610+
variants={pageVariants}
611+
transition={pageTransition}
612+
>
613+
<Suspense fallback={<Loading />}>
614+
<BrufezPage />
615+
</Suspense>
616+
</motion.div>
617+
}
618+
/>
619+
<Route
620+
path="/brufez/panels"
621+
element={
622+
<motion.div
623+
initial="initial"
624+
animate="in"
625+
exit="out"
626+
variants={pageVariants}
627+
transition={pageTransition}
628+
>
629+
<Suspense fallback={<Loading />}>
630+
<BrufezPanelsPage />
631+
</Suspense>
632+
</motion.div>
633+
}
634+
/>
601635
<Route
602636
path="/sitemap"
603637
element={

src/components/BrutalistSidebar.js

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import {
2222
GraphIcon,
2323
CaretDoubleDownIcon,
2424
CaretDoubleUpIcon,
25+
FlaskIcon,
2526
} from '@phosphor-icons/react';
2627

2728
import { version } from '../version';
@@ -283,11 +284,12 @@ const BrutalistSidebar = ({
283284
{/* Section: Status */}
284285
<SectionHeader
285286
id="isStatusOpen"
286-
label="System Status"
287+
label="System"
287288
isOpen={sidebarState.isStatusOpen}
288289
active={
289290
location.pathname.startsWith('/roadmap') ||
290-
location.pathname.startsWith('/timeline')
291+
location.pathname.startsWith('/timeline') ||
292+
location.pathname.startsWith('/brufez')
291293
}
292294
/>
293295
{sidebarState.isStatusOpen && (
@@ -304,6 +306,12 @@ const BrutalistSidebar = ({
304306
label="Fezzilla"
305307
getLinkClass={getLinkClass}
306308
/>
309+
<SidebarLink
310+
to="/brufez"
311+
icon={FlaskIcon}
312+
label="Brufez Spec"
313+
getLinkClass={getLinkClass}
314+
/>
307315
</nav>
308316
)}
309317

src/components/Sidebar.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ import {
3131
TrophyIcon,
3232
SkullIcon,
3333
BugBeetleIcon,
34+
FlaskIcon,
3435
} from '@phosphor-icons/react';
3536

3637
import Fez from './Fez';
@@ -142,7 +143,8 @@ const Sidebar = ({
142143
location.pathname.startsWith('/commands');
143144
const isStatusActive =
144145
location.pathname.startsWith('/timeline') ||
145-
location.pathname.startsWith('/roadmap');
146+
location.pathname.startsWith('/roadmap') ||
147+
location.pathname.startsWith('/brufez');
146148

147149
const variants = {
148150
open: { x: 0 },
@@ -316,6 +318,10 @@ const Sidebar = ({
316318
<BugBeetleIcon size={24} />
317319
<span>Fezzilla</span>
318320
</NavLink>
321+
<NavLink to="/brufez" className={getLinkClass}>
322+
<FlaskIcon size={24} />
323+
<span>Brufez Spec</span>
324+
</NavLink>
319325
</nav>
320326
)}
321327
</div>

src/context/AchievementContext.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export const AchievementProvider = ({ children }) => {
5555
title: 'Achievement Unlocked!',
5656
message: achievement.title,
5757
duration: 4000,
58-
icon: <TrophyIcon weight="duotone" />,
58+
icon: <TrophyIcon weight="duotone" className="text-amber-400" />,
5959
type: 'gold',
6060
links: [
6161
{ label: 'Settings', to: '/settings' },

0 commit comments

Comments
 (0)