Skip to content

Commit

Permalink
Updated favicon, removed templates
Browse files Browse the repository at this point in the history
  • Loading branch information
kjy5 committed Jan 16, 2024
1 parent 3865637 commit ee59187
Show file tree
Hide file tree
Showing 33 changed files with 86 additions and 963 deletions.
5 changes: 3 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<link href="/favicon.svg" rel="icon" type="image/svg+xml"/>

<link href="https://fonts.googleapis.com" rel="preconnect" />
<link crossorigin href="https://fonts.gstatic.com" rel="preconnect" />
<link
Expand All @@ -12,7 +13,7 @@
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React + TS</title>
<title>Honors Portfolio</title>
</head>
<body>
<div id="root"></div>
Expand Down
57 changes: 57 additions & 0 deletions public/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
42 changes: 0 additions & 42 deletions src/App.css

This file was deleted.

37 changes: 13 additions & 24 deletions src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,30 +1,19 @@
import { useState } from 'react';
import reactLogo from './assets/react.svg';
import viteLogo from '/vite.svg';
import './App.css';
import { Box, Container, Stack, Typography } from '@mui/material';

function App() {
const [count, setCount] = useState(0);

return (
<>
<div>
<a href="https://vitejs.dev" target="_blank">
<img src={viteLogo} className="logo" alt="Vite logo" />
</a>
<a href="https://react.dev" target="_blank">
<img src={reactLogo} className="logo react" alt="React logo" />
</a>
</div>
<h1>Vite + React</h1>
<div className="card">
<button onClick={() => setCount((count) => count + 1)}>count is {count}</button>
<p>
Edit <code>src/App.tsx</code> and save to test HMR
</p>
</div>
<p className="read-the-docs">Click on the Vite and React logos to learn more</p>
</>
<Box sx={{ m: 2 }}>
<Container>
<Stack spacing={1}>
<Typography variant={'h1'}>👋 Hello!</Typography>
<Typography variant={'h2'}>Welcome and thanks for visiting my honors portfolio website!</Typography>
<Typography variant={'body1'}>
The website is currently being updated. Feel free to scroll around and see the current progress, or come
back later when it&apos;s all done!
</Typography>
</Stack>
</Container>
</Box>
);
}

Expand Down
1 change: 0 additions & 1 deletion src/assets/react.svg

This file was deleted.

68 changes: 0 additions & 68 deletions src/index.css

This file was deleted.

19 changes: 13 additions & 6 deletions src/main.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
import React from 'react';
import ReactDOM from 'react-dom/client';
import App from './App.tsx';
import './index.css';
import { CssBaseline, ThemeProvider } from '@mui/material';
import { darkTheme } from './themes.ts';

ReactDOM.createRoot(document.getElementById('root')!).render(
<React.StrictMode>
<App />
</React.StrictMode>,
);
const root = document.getElementById('root');
if (root) {
ReactDOM.createRoot(root).render(
<React.StrictMode>
<ThemeProvider theme={darkTheme}>
<CssBaseline />
<App />
</ThemeProvider>
</React.StrictMode>,
);
}
50 changes: 0 additions & 50 deletions src/stories/Button.stories.ts

This file was deleted.

48 changes: 0 additions & 48 deletions src/stories/Button.tsx

This file was deleted.

Loading

0 comments on commit ee59187

Please sign in to comment.