Skip to content
Merged
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
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap"
href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@300;400;500;600;700&display=swap"
rel="stylesheet" />


Expand Down
30 changes: 16 additions & 14 deletions src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,23 +1,25 @@
import React from 'react';
import { BrowserRouter } from 'react-router-dom';
import React, { useState, useCallback } from 'react';
import { AnimatePresence } from 'framer-motion';
import { ThemeProvider } from './context/ThemeContext';
import Navbar from './components/Navbar/Navbar';
import ThemeSwitcher from './components/ThemeSwitcher/ThemeSwitcher';
import FloatingChat from './components/FloatingChat/FloatingChat';
import AppRouter from './router';
import LoadingScreen from './components/LoadingScreen/LoadingScreen';
import Terminal from './components/Terminal/Terminal';
import './styles/global.scss';

const App: React.FC = () => {
const [loading, setLoading] = useState(true);
const handleComplete = useCallback(() => setLoading(false), []);

return (
<ThemeProvider>
<BrowserRouter>
<div className="page-container">
<Navbar />
<ThemeSwitcher />
<AppRouter />
<FloatingChat />
</div>
</BrowserRouter>
<div className="scanline" aria-hidden="true" />

<AnimatePresence>
{loading && (
<LoadingScreen key="loader" onComplete={handleComplete} />
)}
</AnimatePresence>

{!loading && <Terminal />}
</ThemeProvider>
);
};
Expand Down
135 changes: 0 additions & 135 deletions src/components/ContactForm/ContactForm.scss

This file was deleted.

116 changes: 0 additions & 116 deletions src/components/ContactForm/ContactForm.tsx

This file was deleted.

Loading
Loading