diff --git a/index.html b/index.html new file mode 100644 index 0000000..0c589ec --- /dev/null +++ b/index.html @@ -0,0 +1,13 @@ + + + + + + + Vite + React + + +
+ + + diff --git a/main.jsx b/main.jsx new file mode 100644 index 0000000..b9a1a6d --- /dev/null +++ b/main.jsx @@ -0,0 +1,10 @@ +import { StrictMode } from 'react' +import { createRoot } from 'react-dom/client' +import './index.css' +import App from './App.jsx' + +createRoot(document.getElementById('root')).render( + + + , +) diff --git a/public/index.html b/public/index.html index 1e1c37d..a409d05 100644 --- a/public/index.html +++ b/public/index.html @@ -17,8 +17,6 @@ href="https://cdn.tombutcher.work/favicon/favicon192.png" /> - - TOM BUTCHER diff --git a/public/notion-icons.css b/public/notion-icons.css deleted file mode 100644 index e69de29..0000000 diff --git a/src/index.js b/src/index.js deleted file mode 100644 index 6716070..0000000 --- a/src/index.js +++ /dev/null @@ -1,15 +0,0 @@ -import React from "react"; -import ReactDOM from "react-dom/client"; -import { BrowserRouter } from "react-router-dom"; -import App from "./App"; -import "antd/dist/reset.css"; // Import Ant Design styles - -const root = ReactDOM.createRoot(document.getElementById("root")); -root.render( - - - - - , - , -); diff --git a/src/main.jsx b/src/main.jsx new file mode 100644 index 0000000..613f07e --- /dev/null +++ b/src/main.jsx @@ -0,0 +1,16 @@ +import React from "react"; +import { BrowserRouter } from "react-router-dom"; +import { StrictMode } from "react"; +import { createRoot } from "react-dom/client"; +import App from "./App.jsx"; +import "antd/dist/reset.css"; // Import Ant Design styles +import "../public/global.css"; +import "../public/fonts.css"; + +createRoot(document.getElementById("root")).render( + + + + + , +); diff --git a/src/views/MainView.jsx b/src/views/MainView.jsx index d840420..825fbd0 100644 --- a/src/views/MainView.jsx +++ b/src/views/MainView.jsx @@ -1,11 +1,8 @@ // views/MainView.jsx import React from "react"; -import { Button, Flex } from "antd"; -import { ReactComponent as LogoHorizontal } from "./logo-horizontal.svg"; -import { ReactComponent as LogoVertical } from "./logo-vertical.svg"; +import { Button, Flex } from "antd"; import { useMediaQuery } from "react-responsive"; - const MainView = ({ setCurrentView }) => { const isMobile = useMediaQuery({ maxWidth: 600 }); return ( @@ -18,9 +15,15 @@ const MainView = ({ setCurrentView }) => {
{isMobile ? ( - + ) : ( - + )}
{isMobile ? ( diff --git a/src/views/SocialsView.jsx b/src/views/SocialsView.jsx index 0e0fb4f..65d2315 100644 --- a/src/views/SocialsView.jsx +++ b/src/views/SocialsView.jsx @@ -1,8 +1,7 @@ import React, { useState } from "react"; import { useMediaQuery } from "react-responsive"; import { Flex, Spin } from "antd"; -import { ReactComponent as LogoHorizontal } from "./logo-horizontal.svg"; -import { ReactComponent as LogoVertical } from "./logo-vertical.svg"; + import { LoadingOutlined } from "@ant-design/icons"; import { useEffect } from "react"; import * as FaIcons from "react-icons/fa6"; // Import all FA6 icons dynamically @@ -40,9 +39,15 @@ const SocialsView = ({ referrer }) => {
{isMobile ? ( - + ) : ( - + )}
- - - - - - - - - - - - - - - - - - - - diff --git a/src/views/logo-vertical.afdesign b/src/views/logo-vertical.afdesign deleted file mode 100644 index cadb057..0000000 Binary files a/src/views/logo-vertical.afdesign and /dev/null differ diff --git a/src/views/logo-vertical.svg b/src/views/logo-vertical.svg deleted file mode 100644 index 30065e1..0000000 --- a/src/views/logo-vertical.svg +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -