Skip to content

Commit 923179e

Browse files
committed
chore:
1 parent 139aa7d commit 923179e

File tree

5 files changed

+26
-5
lines changed

5 files changed

+26
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "fezcodex",
3-
"version": "0.4.2",
3+
"version": "0.5.7",
44
"private": true,
55
"homepage": "https://fezcode.com",
66
"dependencies": {

src/config/achievements.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -803,6 +803,13 @@ export const ACHIEVEMENTS = [
803803
icon: <ColumnsIcon size={32} weight="duotone" />,
804804
category: 'Secret',
805805
},
806+
{
807+
id: 'su-done',
808+
title: 'Privilege Escalation',
809+
description: 'Escalate your privileges in a new environment',
810+
icon: <TerminalWindowIcon size={32} weight="duotone" />,
811+
category: 'Secret',
812+
},
806813
{
807814
id: 'clean_slate',
808815
title: 'Clean Slate',

src/pages/AboutPage.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import SystemArchitecture from './about-views/SystemArchitecture';
1313
import MindMapConstellation from './about-views/MindMapConstellation';
1414
import ClassifiedDossier from './about-views/ClassifiedDossier';
1515
import { useAchievements } from '../context/AchievementContext';
16+
import useSeo from "../hooks/useSeo";
1617

1718
const ViewSwitcher = ({ currentView, setView }) => {
1819
const views = [
@@ -52,6 +53,12 @@ const AboutPage = () => {
5253
const [view, setView] = useState('dossier');
5354
const { unlockAchievement } = useAchievements();
5455

56+
useSeo({
57+
title: 'Fezcodex | About',
58+
description: 'Learn more about the creator of Fezcodex.',
59+
keywords: ['Fezcodex', 'blog', 'portfolio', 'developer', 'software engineer', 'about'],
60+
});
61+
5562
useEffect(() => {
5663
unlockAchievement('curious_soul');
5764
// Hide overflow on body when this component is mounted
@@ -116,4 +123,4 @@ const AboutPage = () => {
116123
);
117124
};
118125

119-
export default AboutPage;
126+
export default AboutPage;

src/pages/about-views/NeuromancerHUD.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import {
1010
GitCommit,
1111
Cpu,
1212
} from '@phosphor-icons/react';
13+
import {useAchievements} from "../../context/AchievementContext";
1314

1415
const THEMES = {
1516
green: {
@@ -77,14 +78,14 @@ const ScanLine = ({ theme = 'green' }) => (
7778
const MiniTerminal = ({ theme, setTheme }) => {
7879
const navigate = useNavigate();
7980
const [history, setHistory] = useState([
80-
{type: 'output', text: 'FEZ.OS v4.2.0 initialized...'},
81+
{type: 'output', text: 'FEZ.OS Shell v0.4.0 initialized...'},
8182
{type: 'output', text: 'Type "help" for available commands.'},
8283
]);
8384
const [input, setInput] = useState('');
8485
const [commandHistory, setCommandHistory] = useState([]);
8586
const [historyIndex, setHistoryIndex] = useState(-1);
8687
const bottomRef = React.useRef(null);
87-
88+
const { unlockAchievement } = useAchievements();
8889
React.useEffect(() => {
8990
bottomRef.current?.scrollIntoView({behavior: 'smooth'});
9091
}, [history]);
@@ -258,6 +259,11 @@ const MiniTerminal = ({ theme, setTheme }) => {
258259
return;
259260
case '':
260261
break;
262+
case 'sudo':
263+
newHistory.push({ type: 'output', text: 'Checking user privileges...', className: `${THEMES[theme].text} font-bold` });
264+
newHistory.push({ type: 'output', text: `Access Granted...`, className: THEMES[theme].textDim });
265+
unlockAchievement('su-done');
266+
break;
261267
default:
262268
newHistory.push({ type: 'error', text: `Command not found: ${trimmed}`, className: 'text-red-500 font-bold' });
263269
}

src/pages/about-views/aboutData.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ export const aboutData = {
4343
stats: [
4444
{ label: "Experience", value: "8+", unit: "Years" },
4545
{ label: "Systems Architected", value: "Critical", unit: "Scale" },
46-
{ label: "Valedictorian", value: "3.89", unit: "GPA" },
46+
{ label: "Valedictorian", value: "of \'18" },
47+
// { label: "Valedictorian", value: "3.89", unit: "GPA" },
4748
],
4849
skills: [
4950
{ name: "Go (Golang)", level: 98, icon: CpuIcon, type: "language" },

0 commit comments

Comments
 (0)