diff --git a/src/Client/src/components/AboutTabs.tsx b/src/Client/src/components/AboutTabs.tsx index 8bf1a75..42f937f 100644 --- a/src/Client/src/components/AboutTabs.tsx +++ b/src/Client/src/components/AboutTabs.tsx @@ -1,11 +1,8 @@ import { Tab } from "@headlessui/react"; import { Fragment, ReactNode } from "react"; -import { SiAzurefunctions, SiMicrosoftazure, SiReact } from "react-icons/si"; -import { Link } from "react-router-dom"; +import { SiMicrosoftazure, SiReact } from "react-icons/si"; import buildClassNames from "../helpers/cssClassFormatter"; import AnchorLink from "./AnchorLink"; -import List from "./List"; -import ListItem from "./ListItem"; import Subtitle from "./Subtitle"; import Text from "./Text"; @@ -57,61 +54,6 @@ const tabs: AboutTab[] = [ , ], }, - { - tabName: "Back-end", - title: ( - - Back-end - - ), - subtitle: ".NET Azure Functions API", - content: [ - - There is a very minimal API used as the back-end of this app to allow - users to contact me directly via the{" "} - - contact - {" "} - page. This will be expanded to serve the technical blog I'm building as - a new feature that will be available soon. - , - The contact API endpoint currently:, - - - Validates a{" "} - - Google reCAPTCHA - {" "} - token to protect against fraudulent submissions. - - - Builds a HTML email from the information provided in the form. - - - Sends an email directly to my inbox using the{" "} - SendGrid{" "} - API. - - , - - The API is written in .NET 8 using{" "} - - Azure Serverless Functions - {" "} - with a HTTP trigger to act as an API endpoint. For larger scale projects - I would almost always opt for a fully-featured{" "} - - Web API - - , however Azure Functions provide automatic elastic scaling with - consumption-based billing and a generous free-tier, making them perfect - for smaller projects like this. - , - ], - }, { tabName: "Hosting", title: ( @@ -141,9 +83,9 @@ const tabs: AboutTab[] = [ , Using Static Web Apps on Azure has meant that I have been able to build, - deploy and serve this site and API completely free (with the exception - of the domain name). The next thing on the roadmap is building a simple - blog using an{" "} + deploy and serve this site completely free (with the exception of the + domain name). The next thing on the roadmap is building a simple blog + using an{" "} Azure SQL database {" "} diff --git a/src/Client/src/components/ContactForm.tsx b/src/Client/src/components/ContactForm.tsx deleted file mode 100644 index ebedcb7..0000000 --- a/src/Client/src/components/ContactForm.tsx +++ /dev/null @@ -1,64 +0,0 @@ -import { FaRegPaperPlane } from "react-icons/fa6"; -import AnchorLink from "./AnchorLink"; -import TextInput from "./TextInput"; -import TextAreaInput from "./TextAreaInput"; -import Button from "./Button"; -import Label from "./Label"; - -export default function ContactForm() { - return ( -
-
{ - event.preventDefault(); - console.log("Submitted"); - }} - > -
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
-
- - This site is protected by reCAPTCHA and the Google{" "} - - Privacy Policy - {" "} - and{" "} - - Terms of Service - {" "} - apply. - -
-
- -
-
-
- ); -} diff --git a/src/Client/src/components/NavBar.tsx b/src/Client/src/components/NavBar.tsx index f520402..7f566f2 100644 --- a/src/Client/src/components/NavBar.tsx +++ b/src/Client/src/components/NavBar.tsx @@ -32,7 +32,6 @@ export default function NavBar() { - Contact This App @@ -61,12 +60,6 @@ export default function NavBar() {
- - Contact - - Contact - - If you think I can help with your project or you'd just like to talk - tech, send me a message! - - - - ); -} diff --git a/src/Client/src/routes.tsx b/src/Client/src/routes.tsx index 10c1fd1..3407a0e 100644 --- a/src/Client/src/routes.tsx +++ b/src/Client/src/routes.tsx @@ -4,7 +4,6 @@ import Layout from "./pages/Layout"; import ErrorPage from "./pages/ErrorPage"; const HomePage = React.lazy(() => import("./pages/HomePage")); -const ContactPage = React.lazy(() => import("./pages/ContactPage")); const AboutPage = React.lazy(() => import("./pages/AboutPage")); const router = createBrowserRouter([ @@ -14,7 +13,6 @@ const router = createBrowserRouter([ errorElement: , children: [ { index: true, element: }, - { path: "contact", element: }, { path: "about", element: }, ], },