Removes react client
This commit is contained in:
@@ -13,7 +13,7 @@
|
|||||||
</Text>
|
</Text>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
<Subtitle>App</Subtitle>
|
<Subtitle>The App</Subtitle>
|
||||||
|
|
||||||
<Text>
|
<Text>
|
||||||
This app was originally made using
|
This app was originally made using
|
||||||
@@ -22,12 +22,13 @@
|
|||||||
<AnchorLink Href="https://react.dev/">React</AnchorLink>
|
<AnchorLink Href="https://react.dev/">React</AnchorLink>
|
||||||
with
|
with
|
||||||
<AnchorLink Href="https://www.typescriptlang.org/">TypeScript</AnchorLink>
|
<AnchorLink Href="https://www.typescriptlang.org/">TypeScript</AnchorLink>
|
||||||
as a learning exercise. I've now migrated it back to .NET Blazor to take advantage of static server-side
|
as a learning exercise. I've now migrated it back to .NET Blazor to take advantage of <AnchorLink Href="https://learn.microsoft.com/en-us/aspnet/core/blazor/components/render-modes?view=aspnetcore-10.0#static-server-side-rendering-static-ssr">SSR (static server-side rendering)</AnchorLink> for maximum performance and to remove unnecessary dependencies on large JS and CSS libraries.
|
||||||
rendering for maximum performance and to remove unnecessary dependencies on large JS and CSS libraries.
|
|
||||||
</Text>
|
</Text>
|
||||||
<Text>
|
<Text>
|
||||||
This version uses pure vanilla CSS with CSS variables for theming, eliminating all JavaScript and external
|
Although SSR sacrifices client-side interactivity, for simple sites like this it means that page loads are practically instant and appear to function similarly to SPAs (the browser doesn't reload on navigations, new content is simply swapped in) but without the initial large download of the full application and it's dependencies.
|
||||||
dependencies; the mobile menu uses a CSS checkbox hack for zero-JavaScript interactivity.
|
</Text>
|
||||||
|
<Text>
|
||||||
|
This version uses pure vanilla CSS with CSS variables for theming, eliminating all JavaScript and external dependencies; the mobile menu uses a CSS checkbox hack for zero-JavaScript interactivity.
|
||||||
</Text>
|
</Text>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|||||||
@@ -1,18 +0,0 @@
|
|||||||
module.exports = {
|
|
||||||
root: true,
|
|
||||||
env: { browser: true, es2020: true },
|
|
||||||
extends: [
|
|
||||||
'eslint:recommended',
|
|
||||||
'plugin:@typescript-eslint/recommended',
|
|
||||||
'plugin:react-hooks/recommended',
|
|
||||||
],
|
|
||||||
ignorePatterns: ['dist', '.eslintrc.cjs'],
|
|
||||||
parser: '@typescript-eslint/parser',
|
|
||||||
plugins: ['react-refresh'],
|
|
||||||
rules: {
|
|
||||||
'react-refresh/only-export-components': [
|
|
||||||
'warn',
|
|
||||||
{ allowConstantExport: true },
|
|
||||||
],
|
|
||||||
},
|
|
||||||
}
|
|
||||||
24
src/Client/.gitignore
vendored
24
src/Client/.gitignore
vendored
@@ -1,24 +0,0 @@
|
|||||||
# Logs
|
|
||||||
logs
|
|
||||||
*.log
|
|
||||||
npm-debug.log*
|
|
||||||
yarn-debug.log*
|
|
||||||
yarn-error.log*
|
|
||||||
pnpm-debug.log*
|
|
||||||
lerna-debug.log*
|
|
||||||
|
|
||||||
node_modules
|
|
||||||
dist
|
|
||||||
dist-ssr
|
|
||||||
*.local
|
|
||||||
|
|
||||||
# Editor directories and files
|
|
||||||
.vscode/*
|
|
||||||
!.vscode/extensions.json
|
|
||||||
.idea
|
|
||||||
.DS_Store
|
|
||||||
*.suo
|
|
||||||
*.ntvs*
|
|
||||||
*.njsproj
|
|
||||||
*.sln
|
|
||||||
*.sw?
|
|
||||||
@@ -1,30 +0,0 @@
|
|||||||
# React + TypeScript + Vite
|
|
||||||
|
|
||||||
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
|
|
||||||
|
|
||||||
Currently, two official plugins are available:
|
|
||||||
|
|
||||||
- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
|
|
||||||
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
|
|
||||||
|
|
||||||
## Expanding the ESLint configuration
|
|
||||||
|
|
||||||
If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:
|
|
||||||
|
|
||||||
- Configure the top-level `parserOptions` property like this:
|
|
||||||
|
|
||||||
```js
|
|
||||||
export default {
|
|
||||||
// other rules...
|
|
||||||
parserOptions: {
|
|
||||||
ecmaVersion: 'latest',
|
|
||||||
sourceType: 'module',
|
|
||||||
project: ['./tsconfig.json', './tsconfig.node.json'],
|
|
||||||
tsconfigRootDir: __dirname,
|
|
||||||
},
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
- Replace `plugin:@typescript-eslint/recommended` to `plugin:@typescript-eslint/recommended-type-checked` or `plugin:@typescript-eslint/strict-type-checked`
|
|
||||||
- Optionally add `plugin:@typescript-eslint/stylistic-type-checked`
|
|
||||||
- Install [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and add `plugin:react/recommended` & `plugin:react/jsx-runtime` to the `extends` list
|
|
||||||
@@ -1,40 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<script id="cookieyes"
|
|
||||||
type="text/javascript"
|
|
||||||
src="https://cdn-cookieyes.com/client_data/a05e8ecc917e725a2226b46a/script.js"></script>
|
|
||||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-958BPT37HR"></script>
|
|
||||||
<script>
|
|
||||||
window.dataLayer = window.dataLayer || [];
|
|
||||||
function gtag(){dataLayer.push(arguments);}
|
|
||||||
gtag('js', new Date());
|
|
||||||
|
|
||||||
gtag('config', 'G-958BPT37HR');
|
|
||||||
</script>
|
|
||||||
<meta charset="UTF-8" />
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
||||||
<meta
|
|
||||||
property="description"
|
|
||||||
content="I'm Beau. A software engineer, tech enthusianst and music lover."
|
|
||||||
/>
|
|
||||||
<meta property="author" content="Beau Findlay" />
|
|
||||||
<meta property="og:title" content="Beau Findlay" />
|
|
||||||
<meta
|
|
||||||
property="og:description"
|
|
||||||
content="I'm Beau. A software engineer, tech enthusianst and music lover"
|
|
||||||
/>
|
|
||||||
<meta property="og:type" content="website" />
|
|
||||||
<meta
|
|
||||||
property="og:image"
|
|
||||||
content="https://beaufindlay.com/logo.webp"
|
|
||||||
/>
|
|
||||||
<meta property="og:url" content="https://beaufindlay.com" />
|
|
||||||
<title>Beau Findlay</title>
|
|
||||||
<link rel="icon" type="image/svg+xml" href="/logo.webp" />
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div id="root"></div>
|
|
||||||
<script type="module" src="/src/main.tsx"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
4372
src/Client/package-lock.json
generated
4372
src/Client/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -1,35 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "client",
|
|
||||||
"private": true,
|
|
||||||
"version": "0.0.0",
|
|
||||||
"type": "module",
|
|
||||||
"scripts": {
|
|
||||||
"dev": "vite",
|
|
||||||
"build": "tsc && vite build",
|
|
||||||
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
||||||
"preview": "vite preview"
|
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"@headlessui/react": "^1.7.19",
|
|
||||||
"react": "^18.2.0",
|
|
||||||
"react-dom": "^18.2.0",
|
|
||||||
"react-icons": "^5.1.0",
|
|
||||||
"react-router-dom": "^6.23.0"
|
|
||||||
},
|
|
||||||
"devDependencies": {
|
|
||||||
"@types/node": "^20.12.7",
|
|
||||||
"@types/react": "^18.2.66",
|
|
||||||
"@types/react-dom": "^18.2.22",
|
|
||||||
"@typescript-eslint/eslint-plugin": "^7.2.0",
|
|
||||||
"@typescript-eslint/parser": "^7.2.0",
|
|
||||||
"@vitejs/plugin-react": "^4.2.1",
|
|
||||||
"autoprefixer": "^10.4.19",
|
|
||||||
"eslint": "^8.57.0",
|
|
||||||
"eslint-plugin-react-hooks": "^4.6.0",
|
|
||||||
"eslint-plugin-react-refresh": "^0.4.6",
|
|
||||||
"postcss": "^8.4.38",
|
|
||||||
"tailwindcss": "^3.4.3",
|
|
||||||
"typescript": "^5.2.2",
|
|
||||||
"vite": "^5.2.0"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
export default {
|
|
||||||
plugins: {
|
|
||||||
tailwindcss: {},
|
|
||||||
autoprefixer: {},
|
|
||||||
},
|
|
||||||
}
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 4.0 KiB |
@@ -1,2 +0,0 @@
|
|||||||
User-agent: *
|
|
||||||
Disallow:
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 4.0 KiB |
@@ -1,137 +0,0 @@
|
|||||||
import { Tab } from "@headlessui/react";
|
|
||||||
import { Fragment, ReactNode } from "react";
|
|
||||||
import { SiMicrosoftazure, SiReact } from "react-icons/si";
|
|
||||||
import buildClassNames from "../helpers/cssClassFormatter";
|
|
||||||
import AnchorLink from "./AnchorLink";
|
|
||||||
import Subtitle from "./Subtitle";
|
|
||||||
import Text from "./Text";
|
|
||||||
|
|
||||||
interface AboutTab {
|
|
||||||
tabName: string;
|
|
||||||
title: ReactNode;
|
|
||||||
subtitle: string;
|
|
||||||
content: ReactNode[];
|
|
||||||
}
|
|
||||||
|
|
||||||
const tabs: AboutTab[] = [
|
|
||||||
{
|
|
||||||
tabName: "Front-end",
|
|
||||||
title: (
|
|
||||||
<Subtitle>
|
|
||||||
Front-end <SiReact className="ml-2" />
|
|
||||||
</Subtitle>
|
|
||||||
),
|
|
||||||
subtitle: "React + TypeScript",
|
|
||||||
content: [
|
|
||||||
<Text>
|
|
||||||
This app was originally made using{" "}
|
|
||||||
<AnchorLink href="https://dotnet.microsoft.com/en-us/apps/aspnet/web-apps/blazor">
|
|
||||||
.NET Blazor WASM
|
|
||||||
</AnchorLink>{" "}
|
|
||||||
however I recently decided to start learning{" "}
|
|
||||||
<AnchorLink href="https://react.dev/">React</AnchorLink> and saw this as
|
|
||||||
a good oppurtunity to solidify some knowledge by re-writing this app
|
|
||||||
from the ground up using React with{" "}
|
|
||||||
<AnchorLink href="https://www.typescriptlang.org/">
|
|
||||||
TypeScript
|
|
||||||
</AnchorLink>
|
|
||||||
.
|
|
||||||
</Text>,
|
|
||||||
<Text>
|
|
||||||
Overall I've found building front-end apps far more enjoyable using
|
|
||||||
React & TypeScript dispite the steep learning-curve coming from a purely
|
|
||||||
.NET & C# background. Both the developer experience and performance of
|
|
||||||
the app have improved dramatically after switching front-end
|
|
||||||
technologies.
|
|
||||||
</Text>,
|
|
||||||
<Text>
|
|
||||||
This app is styled using a cool CSS framework called{" "}
|
|
||||||
<AnchorLink href="https://tailwindcss.com/">TailwindCSS</AnchorLink>.{" "}
|
|
||||||
<AnchorLink href="https://postcss.org/">PostCSS</AnchorLink> is used
|
|
||||||
alongside Tailwind to generate a lightweight stylesheet based only on
|
|
||||||
the parts of the framework that are used, as oppose to including a
|
|
||||||
everything the framework offers.
|
|
||||||
</Text>,
|
|
||||||
],
|
|
||||||
},
|
|
||||||
{
|
|
||||||
tabName: "Hosting",
|
|
||||||
title: (
|
|
||||||
<Subtitle>
|
|
||||||
Hosting <SiMicrosoftazure className="ml-2" />
|
|
||||||
</Subtitle>
|
|
||||||
),
|
|
||||||
subtitle: "Microsoft Azure Static Web App",
|
|
||||||
content: [
|
|
||||||
<Text>
|
|
||||||
The goal of this project was to learn some new technologies and host the
|
|
||||||
app as cheaply as possible. With this in mind I decided to go with a{" "}
|
|
||||||
<AnchorLink href="https://azure.microsoft.com/en-gb/products/app-service/static">
|
|
||||||
Static Web App
|
|
||||||
</AnchorLink>{" "}
|
|
||||||
hosted on Microsoft Azure. Static Web Apps offer global distribution of
|
|
||||||
static assets (the Blazor Webassembly app in this case) and offer
|
|
||||||
integrated hosting for Azure Function App APIs.
|
|
||||||
</Text>,
|
|
||||||
<Text>
|
|
||||||
Another cool feature of Static Web Apps is Azure's integration with
|
|
||||||
GitHub actions to deploy both the client and server simultaneously and
|
|
||||||
provide automatically deployed staging environments for pull-requests
|
|
||||||
opened to the main branch. This made testing deployed changes much
|
|
||||||
easier and cheaper than deploying an isolated testing/GA environment
|
|
||||||
before releasing to the live version of the app.
|
|
||||||
</Text>,
|
|
||||||
<Text>
|
|
||||||
Using Static Web Apps on Azure has meant that I have been able to build,
|
|
||||||
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{" "}
|
|
||||||
<AnchorLink href="https://azure.microsoft.com/en-gb/products/azure-sql/database">
|
|
||||||
Azure SQL database
|
|
||||||
</AnchorLink>{" "}
|
|
||||||
where I'll document the full process of writing and deploying this app
|
|
||||||
so check back again soon.
|
|
||||||
</Text>,
|
|
||||||
],
|
|
||||||
},
|
|
||||||
];
|
|
||||||
|
|
||||||
export default function AboutTabs() {
|
|
||||||
return (
|
|
||||||
<Tab.Group as="div" className="mt-4">
|
|
||||||
<div className="-mx-4 flex overflow-x-auto sm:mx-0">
|
|
||||||
<div className="flex-auto border-b border-gray-200 px-4 sm:px-0">
|
|
||||||
<Tab.List className="-mb-px flex space-x-8">
|
|
||||||
{tabs.map((tab) => (
|
|
||||||
<Tab
|
|
||||||
key={tab.tabName}
|
|
||||||
className={({ selected }) =>
|
|
||||||
buildClassNames(
|
|
||||||
selected
|
|
||||||
? "border-gray-300 text-gray-200"
|
|
||||||
: "border-transparent hover:border-gray-300 hover:text-gray-200",
|
|
||||||
"whitespace-nowrap border-b-4 py-6 text-sm font-medium"
|
|
||||||
)
|
|
||||||
}
|
|
||||||
>
|
|
||||||
{tab.tabName}
|
|
||||||
</Tab>
|
|
||||||
))}
|
|
||||||
</Tab.List>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<Tab.Panels as={Fragment}>
|
|
||||||
{tabs.map((tab) => (
|
|
||||||
<Tab.Panel key={tab.tabName} className="pt-10">
|
|
||||||
{tab.title}
|
|
||||||
<p className="font-bold text-lg my-4">Tech: {tab.subtitle}</p>
|
|
||||||
{tab.content.map((content, index) => (
|
|
||||||
<Fragment key={index}>{content}</Fragment>
|
|
||||||
))}
|
|
||||||
</Tab.Panel>
|
|
||||||
))}
|
|
||||||
</Tab.Panels>
|
|
||||||
</Tab.Group>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
import buildClassNames from "../helpers/cssClassFormatter";
|
|
||||||
|
|
||||||
interface Props {
|
|
||||||
children: string;
|
|
||||||
href?: string;
|
|
||||||
target?: "_blank" | "";
|
|
||||||
className?: string | null;
|
|
||||||
}
|
|
||||||
|
|
||||||
export default function AnchorLink({
|
|
||||||
children,
|
|
||||||
href,
|
|
||||||
target,
|
|
||||||
className,
|
|
||||||
}: Props) {
|
|
||||||
const defaultStyles = "underline underline-offset-2 hover:underline-offset-4";
|
|
||||||
const styles = buildClassNames(className ? className : "", defaultStyles);
|
|
||||||
|
|
||||||
return (
|
|
||||||
<a href={href} target={target} className={styles}>
|
|
||||||
{children}
|
|
||||||
</a>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
import { ReactNode } from "react";
|
|
||||||
|
|
||||||
interface Props {
|
|
||||||
type: "submit" | "button";
|
|
||||||
children: ReactNode;
|
|
||||||
onClick?: () => void;
|
|
||||||
}
|
|
||||||
|
|
||||||
export default function Button({ type, children, onClick }: Props) {
|
|
||||||
return (
|
|
||||||
<button
|
|
||||||
type={type}
|
|
||||||
onClick={onClick}
|
|
||||||
className="flex items-center justify-center border-0 ring-1 ring-inset ring-gray-300 bg-black px-3.5 py-2.5 text-sm font-semibold text-white shadow hover:bg-gray-800 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-gray-600 disabled:bg-gray-800 disabled:cursor-progress"
|
|
||||||
>
|
|
||||||
{children}
|
|
||||||
</button>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
import { FaRegPaperPlane } from "react-icons/fa6";
|
|
||||||
import Text from "../components/Text";
|
|
||||||
|
|
||||||
export default function ContactMe() {
|
|
||||||
return (
|
|
||||||
<div className="mb-10 mt-12 text-center">
|
|
||||||
<Text>If you think I can help with your project...</Text>
|
|
||||||
<a
|
|
||||||
href="mailto:me@beaufindlay.com"
|
|
||||||
className="inline-flex items-center border-0 ring-1 ring-inset ring-gray-300 bg-black px-3.5 py-2.5 mt-2 text-sm font-semibold text-white shadow hover:bg-gray-800 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-gray-600"
|
|
||||||
>
|
|
||||||
Get in touch <FaRegPaperPlane className="ml-2" />
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
import SocialIcons from "./SocialIcons";
|
|
||||||
|
|
||||||
export default function Footer() {
|
|
||||||
const currentYear = new Date().getFullYear();
|
|
||||||
|
|
||||||
return (
|
|
||||||
<footer className="mt-auto">
|
|
||||||
<div className="mx-auto py-8">
|
|
||||||
<div className="md:flex md:items-center md:justify-between">
|
|
||||||
<SocialIcons />
|
|
||||||
<p className="mt-4 text-xs leading-5 text-gray-100 md:order-1 md:mt-0">
|
|
||||||
© {currentYear} Beau Findlay. All rights reserved.
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</footer>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
interface Props {
|
|
||||||
htmlFor: string;
|
|
||||||
children: string;
|
|
||||||
}
|
|
||||||
|
|
||||||
export default function Label({ htmlFor, children }: Props) {
|
|
||||||
return (
|
|
||||||
<label htmlFor={htmlFor} className="block font-semibold leading-6">
|
|
||||||
{children}
|
|
||||||
</label>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
import { ReactElement } from "react";
|
|
||||||
import buildClassNames from "../helpers/cssClassFormatter";
|
|
||||||
import { ListItemProps } from "./ListItem";
|
|
||||||
|
|
||||||
interface Props {
|
|
||||||
className?: string | null;
|
|
||||||
children: ReactElement<ListItemProps> | Array<ReactElement<ListItemProps>>;
|
|
||||||
}
|
|
||||||
|
|
||||||
export default function List({ className, children }: Props) {
|
|
||||||
const defaultStyles = "list-disc pl-8 space-y-2";
|
|
||||||
const styles = buildClassNames(className ? className : "", defaultStyles);
|
|
||||||
|
|
||||||
return <ul className={styles}>{children}</ul>;
|
|
||||||
}
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
import { ReactNode } from "react";
|
|
||||||
|
|
||||||
export interface ListItemProps {
|
|
||||||
children: ReactNode;
|
|
||||||
}
|
|
||||||
|
|
||||||
export default function ListItem({ children }: ListItemProps) {
|
|
||||||
return <li>{children}</li>;
|
|
||||||
}
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
import LoadingSpinner from "./LoadingSpinner";
|
|
||||||
import logo from "../assets/logo.webp";
|
|
||||||
|
|
||||||
export default function Loading() {
|
|
||||||
return (
|
|
||||||
<div className="bg-black font-mono text-slate-50 antialiased px-6 lg:px-8">
|
|
||||||
<div className="flex flex-col min-h-screen mx-auto max-w-7xl items-center justify-center fade-in">
|
|
||||||
<img className="h-20 w-auto" src={logo} alt="Logo" />
|
|
||||||
<LoadingSpinner />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
@@ -1,23 +0,0 @@
|
|||||||
export default function LoadingSpinner() {
|
|
||||||
return (
|
|
||||||
<div role="status">
|
|
||||||
<svg
|
|
||||||
aria-hidden="true"
|
|
||||||
className="w-8 h-8 text-gray-500 animate-spin fill-white"
|
|
||||||
viewBox="0 0 100 101"
|
|
||||||
fill="none"
|
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
|
||||||
>
|
|
||||||
<path
|
|
||||||
d="M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z"
|
|
||||||
fill="currentColor"
|
|
||||||
/>
|
|
||||||
<path
|
|
||||||
d="M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z"
|
|
||||||
fill="currentFill"
|
|
||||||
/>
|
|
||||||
</svg>
|
|
||||||
<span className="sr-only">Loading...</span>
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
@@ -1,92 +0,0 @@
|
|||||||
import { Dialog, Popover } from "@headlessui/react";
|
|
||||||
import { useState } from "react";
|
|
||||||
import { FaBars, FaXmark } from "react-icons/fa6";
|
|
||||||
import { Link } from "react-router-dom";
|
|
||||||
import logo from "../assets/logo.webp";
|
|
||||||
import SocialIcons from "./SocialIcons";
|
|
||||||
import NavLink from "./NavLink";
|
|
||||||
|
|
||||||
export default function NavBar() {
|
|
||||||
const [mobileMenuOpen, setMobileMenuOpen] = useState(false);
|
|
||||||
|
|
||||||
return (
|
|
||||||
<header className="pt-6">
|
|
||||||
<nav
|
|
||||||
className="mx-auto flex max-w-7xl items-center justify-between"
|
|
||||||
aria-label="Global"
|
|
||||||
>
|
|
||||||
<div className="flex lg:flex-1">
|
|
||||||
<Link to="/" className="-m-1.5 p-1.5">
|
|
||||||
<span className="sr-only">Beau Findlay</span>
|
|
||||||
<img className="h-16 w-auto" src={logo} alt="Logo" />
|
|
||||||
</Link>
|
|
||||||
</div>
|
|
||||||
<div className="flex lg:hidden">
|
|
||||||
<button
|
|
||||||
type="button"
|
|
||||||
className="-m-2.5 inline-flex items-center justify-center rounded-md p-2.5"
|
|
||||||
onClick={() => setMobileMenuOpen(true)}
|
|
||||||
>
|
|
||||||
<span className="sr-only">Open main menu</span>
|
|
||||||
<FaBars className="h-6 w-6" aria-hidden="true" />
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
<Popover.Group className="hidden lg:flex lg:gap-x-12">
|
|
||||||
<NavLink to="/work">Work</NavLink>
|
|
||||||
<NavLink to="/about">This App</NavLink>
|
|
||||||
</Popover.Group>
|
|
||||||
</nav>
|
|
||||||
<Dialog
|
|
||||||
as="div"
|
|
||||||
className="lg:hidden"
|
|
||||||
open={mobileMenuOpen}
|
|
||||||
onClose={setMobileMenuOpen}
|
|
||||||
>
|
|
||||||
<div className="fixed inset-0 z-10" />
|
|
||||||
<Dialog.Panel className="fixed inset-y-0 right-0 z-10 bg-black w-full overflow-y-auto px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10 text-white sm:border-l-2">
|
|
||||||
<div className="flex items-center justify-between">
|
|
||||||
<Link
|
|
||||||
to="/"
|
|
||||||
className="-m-1.5 p-1.5"
|
|
||||||
onClick={() => setMobileMenuOpen(false)}
|
|
||||||
>
|
|
||||||
<span className="sr-only">Beau Findlay</span>
|
|
||||||
<img className="h-16 w-auto" src={logo} alt="Logo" />
|
|
||||||
</Link>
|
|
||||||
<button
|
|
||||||
type="button"
|
|
||||||
className="-m-2.5 rounded-md p-2.5"
|
|
||||||
onClick={() => setMobileMenuOpen(false)}
|
|
||||||
>
|
|
||||||
<span className="sr-only">Close menu</span>
|
|
||||||
<FaXmark className="h-6 w-6" aria-hidden="true" />
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
<div className="mt-6 flow-root">
|
|
||||||
<div className="-my-6 divide-y divide-gray-200/10">
|
|
||||||
<div className="space-y-2 py-6">
|
|
||||||
<NavLink
|
|
||||||
to="/work"
|
|
||||||
className="-mx-3 block rounded-lg px-3 py-2 text-base font-semibold leading-7"
|
|
||||||
onClick={() => setMobileMenuOpen(false)}
|
|
||||||
>
|
|
||||||
Work
|
|
||||||
</NavLink>
|
|
||||||
<NavLink
|
|
||||||
to="/about"
|
|
||||||
className="-mx-3 block rounded-lg px-3 py-2 text-base font-semibold leading-7"
|
|
||||||
onClick={() => setMobileMenuOpen(false)}
|
|
||||||
>
|
|
||||||
This App
|
|
||||||
</NavLink>
|
|
||||||
</div>
|
|
||||||
<div className="flex justify-center items-center py-8">
|
|
||||||
<SocialIcons size={24} />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</Dialog.Panel>
|
|
||||||
</Dialog>
|
|
||||||
</header>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
import { NavLink as ReactNavLink } from "react-router-dom";
|
|
||||||
|
|
||||||
interface Props {
|
|
||||||
children: string;
|
|
||||||
to: string;
|
|
||||||
className?: string | null;
|
|
||||||
onClick?: () => void;
|
|
||||||
}
|
|
||||||
|
|
||||||
export default function NavLink({ children, to, className, onClick }: Props) {
|
|
||||||
const defaultStyles = "text-base font-semibold leading-6 hover:text-gray-300";
|
|
||||||
const styles = className ? className : defaultStyles;
|
|
||||||
|
|
||||||
return (
|
|
||||||
<ReactNavLink
|
|
||||||
to={to}
|
|
||||||
onClick={onClick}
|
|
||||||
className={({ isActive }) =>
|
|
||||||
isActive ? `${styles} underline underline-offset-4` : styles
|
|
||||||
}
|
|
||||||
>
|
|
||||||
{children}
|
|
||||||
</ReactNavLink>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
@@ -1,40 +0,0 @@
|
|||||||
import { FaEnvelope, FaGithub, FaLinkedin } from "react-icons/fa6";
|
|
||||||
|
|
||||||
interface Props {
|
|
||||||
size?: number;
|
|
||||||
}
|
|
||||||
|
|
||||||
export default function SocialIcons({ size = 20 }: Props) {
|
|
||||||
const socialIcons = [
|
|
||||||
{
|
|
||||||
name: "GitHub",
|
|
||||||
href: "https://github.com/bdfin",
|
|
||||||
icon: <FaGithub size={size} />,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: "LinkedIn",
|
|
||||||
href: "https://www.linkedin.com/in/beau-findlay/",
|
|
||||||
icon: <FaLinkedin size={size} />,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: "Email",
|
|
||||||
href: "mailto:me@beaufindlay.com",
|
|
||||||
icon: <FaEnvelope size={size} />,
|
|
||||||
},
|
|
||||||
];
|
|
||||||
|
|
||||||
return (
|
|
||||||
<div className="flex space-x-6 md:order-2">
|
|
||||||
{socialIcons.map((socialIcon) => (
|
|
||||||
<a
|
|
||||||
key={socialIcon.name}
|
|
||||||
href={socialIcon.href}
|
|
||||||
className="text-gray-100 hover:text-gray-300"
|
|
||||||
>
|
|
||||||
<span className="sr-only">{socialIcon.name}</span>
|
|
||||||
{socialIcon.icon}
|
|
||||||
</a>
|
|
||||||
))}
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
import { ReactNode } from "react";
|
|
||||||
import buildClassNames from "../helpers/cssClassFormatter";
|
|
||||||
|
|
||||||
interface Props {
|
|
||||||
children: ReactNode;
|
|
||||||
className?: string | null;
|
|
||||||
}
|
|
||||||
|
|
||||||
export default function Subtitle({ children, className }: Props) {
|
|
||||||
const defaultStyles = "flex items-center text-2xl py-4 font-semibold";
|
|
||||||
const styles = buildClassNames(className ? className : "", defaultStyles);
|
|
||||||
|
|
||||||
return <h2 className={styles}>{children}</h2>;
|
|
||||||
}
|
|
||||||
@@ -1,58 +0,0 @@
|
|||||||
import { FaDatabase, FaDocker, FaReact } from "react-icons/fa6";
|
|
||||||
import { SiBlazor, SiCsharp, SiMicrosoftazure } from "react-icons/si";
|
|
||||||
import buildClassNames from "../helpers/cssClassFormatter";
|
|
||||||
|
|
||||||
const iconSize = 34;
|
|
||||||
const iconCss = "mx-auto";
|
|
||||||
|
|
||||||
const techIcons = [
|
|
||||||
{
|
|
||||||
name: "C#/.NET",
|
|
||||||
icon: <SiCsharp size={iconSize} className={iconCss} />,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: "Microsoft Azure",
|
|
||||||
icon: <SiMicrosoftazure size={iconSize} className={iconCss} />,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: "Blazor",
|
|
||||||
icon: <SiBlazor size={iconSize} className={iconCss} />,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: "React",
|
|
||||||
icon: <FaReact size={iconSize} className={iconCss} />,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: "Databases",
|
|
||||||
icon: <FaDatabase size={iconSize} className={iconCss} />,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: "Docker",
|
|
||||||
icon: <FaDocker size={iconSize} className={iconCss} />,
|
|
||||||
},
|
|
||||||
];
|
|
||||||
|
|
||||||
interface Props {
|
|
||||||
className?: string | null;
|
|
||||||
}
|
|
||||||
|
|
||||||
export default function TechIcons({ className }: Props) {
|
|
||||||
const defaultStyles = "mx-auto max-w-4xl";
|
|
||||||
const styles = buildClassNames(className ? className : "", defaultStyles);
|
|
||||||
|
|
||||||
return (
|
|
||||||
<div className={styles}>
|
|
||||||
<p className="text-xl text-center mb-10 font-semibold">
|
|
||||||
Tech i'm working with at the moment:
|
|
||||||
</p>
|
|
||||||
<div className="flex flex-col md:flex-row md:justify-evenly space-y-10 md:space-y-0 text-center mx-auto mt-4">
|
|
||||||
{techIcons.map((techIcon, index) => (
|
|
||||||
<div key={index}>
|
|
||||||
{techIcon.icon}
|
|
||||||
<p className="mt-2 text-sm">{techIcon.name}</p>
|
|
||||||
</div>
|
|
||||||
))}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
import { ReactNode } from "react";
|
|
||||||
import buildClassNames from "../helpers/cssClassFormatter";
|
|
||||||
|
|
||||||
interface Props {
|
|
||||||
children: ReactNode;
|
|
||||||
className?: string | null;
|
|
||||||
}
|
|
||||||
|
|
||||||
export default function Text({ children, className }: Props) {
|
|
||||||
const defaultStyles = "text-lg py-3";
|
|
||||||
const styles = buildClassNames(className ? className : "", defaultStyles);
|
|
||||||
|
|
||||||
return <p className={styles}>{children}</p>;
|
|
||||||
}
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
interface Props {
|
|
||||||
id: string;
|
|
||||||
rows?: number;
|
|
||||||
}
|
|
||||||
|
|
||||||
export default function TextAreaInput({ id, rows = 4 }: Props) {
|
|
||||||
return (
|
|
||||||
<textarea
|
|
||||||
id={id}
|
|
||||||
rows={rows}
|
|
||||||
className="block w-full text-lg border-0 px-3.5 py-2 bg-black shadow ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-600"
|
|
||||||
></textarea>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
interface Props {
|
|
||||||
id: string;
|
|
||||||
type: "text" | "email";
|
|
||||||
}
|
|
||||||
|
|
||||||
export default function TextInput({ id, type }: Props) {
|
|
||||||
return (
|
|
||||||
<input
|
|
||||||
id={id}
|
|
||||||
type={type}
|
|
||||||
className="block w-full text-lg border-0 px-3.5 py-2 bg-black shadow ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-600"
|
|
||||||
/>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
import buildClassNames from "../helpers/cssClassFormatter";
|
|
||||||
|
|
||||||
interface Props {
|
|
||||||
children: string;
|
|
||||||
className?: string | null;
|
|
||||||
}
|
|
||||||
|
|
||||||
export default function Title({ children, className }: Props) {
|
|
||||||
const defaultStyles = "text-4xl py-4";
|
|
||||||
const styles = buildClassNames(className ? className : "", defaultStyles);
|
|
||||||
|
|
||||||
return <h1 className={styles}>{children}</h1>;
|
|
||||||
}
|
|
||||||
@@ -1,76 +0,0 @@
|
|||||||
import AnchorLink from "./AnchorLink";
|
|
||||||
import Text from "./Text";
|
|
||||||
|
|
||||||
interface WorkTimelineItem {
|
|
||||||
startDate: string;
|
|
||||||
endDate?: string | null;
|
|
||||||
title: string;
|
|
||||||
companyName: string;
|
|
||||||
companyUrl: string;
|
|
||||||
content: string[];
|
|
||||||
}
|
|
||||||
|
|
||||||
const workTimelineItems: WorkTimelineItem[] = [
|
|
||||||
{
|
|
||||||
startDate: "September 2021",
|
|
||||||
title: "CTO",
|
|
||||||
companyName: "un:hurd music",
|
|
||||||
companyUrl: "https://unhurdmusic.com",
|
|
||||||
content: [
|
|
||||||
"As one of the founding developers at un:hurd music and now Chief Technology Officer, I built and scaled un:hurd's back-end and cloud infrastructure that serves automated marketing soloutions for tens-of-thousands of artists and musicians.",
|
|
||||||
"I lead a small but incredibly talented multi-diciplinary team building on the Azure cloud using a .NET backend, React web front-end and a Swift native iOS app.",
|
|
||||||
],
|
|
||||||
},
|
|
||||||
{
|
|
||||||
startDate: "August 2020",
|
|
||||||
endDate: "September 2021",
|
|
||||||
title: "Software Development Lead",
|
|
||||||
companyName: "Vouch",
|
|
||||||
companyUrl: "https://vouch.co.uk/",
|
|
||||||
content: [
|
|
||||||
"At Vouch I lead the backend build of a new version of their tenant referencing software - an AI enhanced chat-bot based system utlising Azure Cognitive Services and various supporting serverless APIs written in .NET Core and hosted on Microsoft Azure.",
|
|
||||||
],
|
|
||||||
},
|
|
||||||
{
|
|
||||||
startDate: "May 2020",
|
|
||||||
endDate: "July 2020",
|
|
||||||
title: "Software Developer",
|
|
||||||
companyName: "Paragon ID",
|
|
||||||
companyUrl: "https://www.paragon-id.com/en",
|
|
||||||
content: [
|
|
||||||
"I joined Paragon ID on a short-term contract where I wrote and deployed two key projects: A complex dashboard for a large construction equipment manufacturer to track assets across various manufacturing stages and a medical assets tracking dashboard deployed and used in multiple hospitals across the UK.",
|
|
||||||
],
|
|
||||||
},
|
|
||||||
{
|
|
||||||
startDate: "July 2019",
|
|
||||||
endDate: "May 2020",
|
|
||||||
title: "Software Developer",
|
|
||||||
companyName: "Osborne Technologies",
|
|
||||||
companyUrl: "https://www.osbornetechnologies.co.uk/",
|
|
||||||
content: [
|
|
||||||
"I joined Osborne Technologies as the only cloud cloud-specialist and lead a project creating the first web-based version of their flag ship visitor management software utilising ASP.NET Core MVC and Microsoft SQL Server on the Microsoft Azure cloud.",
|
|
||||||
],
|
|
||||||
},
|
|
||||||
];
|
|
||||||
|
|
||||||
export default function WorkTimeline() {
|
|
||||||
return (
|
|
||||||
<ol className="relative border-s border-gray-600">
|
|
||||||
{workTimelineItems.map((item, index) => (
|
|
||||||
<li key={index} className="mb-10 ms-4">
|
|
||||||
<div className="absolute w-3 h-3 rounded-full mt-1.5 -start-1.5 borderborder-gray-900 bg-gray-600"></div>
|
|
||||||
<time className="mb-1 text-sm font-normal leading-none text-gray-400">
|
|
||||||
{item.startDate} - {item.endDate ? item.endDate : "Present"}
|
|
||||||
</time>
|
|
||||||
<h3 className="text-2xl font-semibold text-gray-900 dark:text-white">
|
|
||||||
{item.title} @{" "}
|
|
||||||
<AnchorLink href={item.companyUrl}>{item.companyName}</AnchorLink>
|
|
||||||
</h3>
|
|
||||||
{item.content.map((content, index) => (
|
|
||||||
<Text key={index}>{content}</Text>
|
|
||||||
))}
|
|
||||||
</li>
|
|
||||||
))}
|
|
||||||
</ol>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
export default function buildClassNames(...classes: string[]) {
|
|
||||||
return classes.filter(Boolean).join(" ");
|
|
||||||
}
|
|
||||||
@@ -1,31 +0,0 @@
|
|||||||
@tailwind base;
|
|
||||||
@tailwind components;
|
|
||||||
@tailwind utilities;
|
|
||||||
|
|
||||||
.fade-in {
|
|
||||||
animation: fadeInAnimation ease 1s;
|
|
||||||
animation-iteration-count: 1;
|
|
||||||
animation-fill-mode: forwards;
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes fadeInAnimation {
|
|
||||||
from {
|
|
||||||
opacity: 0;
|
|
||||||
}
|
|
||||||
to {
|
|
||||||
opacity: 1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
body::-webkit-scrollbar {
|
|
||||||
width: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
body::-webkit-scrollbar-track {
|
|
||||||
background: white;
|
|
||||||
}
|
|
||||||
|
|
||||||
body::-webkit-scrollbar-thumb {
|
|
||||||
background-color: black;
|
|
||||||
border: 1px solid white;
|
|
||||||
}
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import React from "react";
|
|
||||||
import ReactDOM from "react-dom/client";
|
|
||||||
import { RouterProvider } from "react-router-dom";
|
|
||||||
import "./index.css";
|
|
||||||
import router from "./routes.tsx";
|
|
||||||
|
|
||||||
ReactDOM.createRoot(document.getElementById("root")!).render(
|
|
||||||
<React.StrictMode>
|
|
||||||
<RouterProvider router={router} />
|
|
||||||
</React.StrictMode>
|
|
||||||
);
|
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
import AboutTabs from "../components/AboutTabs";
|
|
||||||
import AnchorLink from "../components/AnchorLink";
|
|
||||||
import Text from "../components/Text";
|
|
||||||
import Title from "../components/Title";
|
|
||||||
|
|
||||||
export default function AboutPage() {
|
|
||||||
return (
|
|
||||||
<>
|
|
||||||
<Title className="text-center pb-4">This App</Title>
|
|
||||||
<Text>
|
|
||||||
Below is an overview of how this simple app is made and what
|
|
||||||
technologies are used. If you'd like to dive straight in, the full
|
|
||||||
project is available on my{" "}
|
|
||||||
<AnchorLink href="https://github.com/bdfin/my-portfolio">
|
|
||||||
GitHub
|
|
||||||
</AnchorLink>
|
|
||||||
.
|
|
||||||
</Text>
|
|
||||||
<AboutTabs />
|
|
||||||
</>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
@@ -1,35 +0,0 @@
|
|||||||
import { isRouteErrorResponse, useRouteError } from "react-router-dom";
|
|
||||||
import Footer from "../components/Footer";
|
|
||||||
import NavBar from "../components/NavBar";
|
|
||||||
|
|
||||||
export default function ErrorPage() {
|
|
||||||
const error = useRouteError();
|
|
||||||
|
|
||||||
let errorCode = "Oops";
|
|
||||||
let errorTitle = "Something went wrong.";
|
|
||||||
let errorMessage = "This error has been automatically logged.";
|
|
||||||
|
|
||||||
if (isRouteErrorResponse(error)) {
|
|
||||||
errorCode = "404";
|
|
||||||
errorTitle = "Page not found";
|
|
||||||
errorMessage = "Sorry, this page dosen't exist.";
|
|
||||||
}
|
|
||||||
|
|
||||||
return (
|
|
||||||
<div className="bg-black font-mono text-slate-50 antialiased px-6 lg:px-8">
|
|
||||||
<div className="flex flex-col min-h-screen mx-auto max-w-7xl fade-in">
|
|
||||||
<NavBar />
|
|
||||||
<main className="grid min-h-full place-items-center px-6 py-24 sm:py-32 lg:px-8">
|
|
||||||
<div className="text-center">
|
|
||||||
<p className="text-base font-semibold ">{errorCode}</p>
|
|
||||||
<h1 className="mt-4 text-4xl font-bold tracking-tight">
|
|
||||||
{errorTitle}
|
|
||||||
</h1>
|
|
||||||
<p className="mt-6 text-base leading-7 ">{errorMessage}</p>
|
|
||||||
</div>
|
|
||||||
</main>
|
|
||||||
<Footer />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
@@ -1,26 +0,0 @@
|
|||||||
import AnchorLink from "../components/AnchorLink";
|
|
||||||
import TechIcons from "../components/TechIcons";
|
|
||||||
import Text from "../components/Text";
|
|
||||||
import Title from "../components/Title";
|
|
||||||
|
|
||||||
export default function HomePage() {
|
|
||||||
return (
|
|
||||||
<>
|
|
||||||
<Title className="text-center mb-6">Hi, I'm Beau.</Title>
|
|
||||||
<Text>
|
|
||||||
I'm a UK-based software engineer and I love building cool stuff.
|
|
||||||
</Text>
|
|
||||||
<Text>
|
|
||||||
I mostly specialise in back-end C#/.NET development and I've built
|
|
||||||
systems that scale for hundreds-of-thousands of global users.
|
|
||||||
</Text>
|
|
||||||
<Text>
|
|
||||||
I've worked with businesses at all sizes and stages and I'm currently
|
|
||||||
heading up the tech as CTO at a cool startup called{" "}
|
|
||||||
<AnchorLink href="https://unhurdmusic.com">un:hurd music</AnchorLink>.
|
|
||||||
</Text>
|
|
||||||
|
|
||||||
<TechIcons className="mt-28" />
|
|
||||||
</>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
import { Outlet } from "react-router-dom";
|
|
||||||
import NavBar from "../components/NavBar";
|
|
||||||
import Footer from "../components/Footer";
|
|
||||||
|
|
||||||
export default function Layout() {
|
|
||||||
return (
|
|
||||||
<div className="bg-black font-mono text-slate-50 antialiased px-6 lg:px-10">
|
|
||||||
<div className="flex flex-col min-h-screen mx-auto max-w-7xl fade-in">
|
|
||||||
<NavBar />
|
|
||||||
<div className="flex-1 py-8">
|
|
||||||
<Outlet />
|
|
||||||
</div>
|
|
||||||
<Footer />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
import ContactMe from "../components/ContactMe";
|
|
||||||
import Title from "../components/Title";
|
|
||||||
import WorkTimeline from "../components/WorkTimeline";
|
|
||||||
|
|
||||||
export default function WorkPage() {
|
|
||||||
return (
|
|
||||||
<>
|
|
||||||
<Title className="text-center mb-4">Work</Title>
|
|
||||||
<p className="text-center text-2xl font-semibold mb-12">
|
|
||||||
Freelance Software Engineer since 2018
|
|
||||||
</p>
|
|
||||||
<WorkTimeline />
|
|
||||||
<ContactMe />
|
|
||||||
</>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
import { createBrowserRouter } from "react-router-dom";
|
|
||||||
import AboutPage from "./pages/AboutPage";
|
|
||||||
import ErrorPage from "./pages/ErrorPage";
|
|
||||||
import HomePage from "./pages/HomePage";
|
|
||||||
import Layout from "./pages/Layout";
|
|
||||||
import WorkPage from "./pages/WorkPage";
|
|
||||||
|
|
||||||
const router = createBrowserRouter([
|
|
||||||
{
|
|
||||||
path: "/",
|
|
||||||
element: <Layout />,
|
|
||||||
errorElement: <ErrorPage />,
|
|
||||||
children: [
|
|
||||||
{ index: true, element: <HomePage /> },
|
|
||||||
{ path: "work", element: <WorkPage /> },
|
|
||||||
{ path: "about", element: <AboutPage /> },
|
|
||||||
],
|
|
||||||
},
|
|
||||||
]);
|
|
||||||
|
|
||||||
export default router;
|
|
||||||
1
src/Client/src/vite-env.d.ts
vendored
1
src/Client/src/vite-env.d.ts
vendored
@@ -1 +0,0 @@
|
|||||||
/// <reference types="vite/client" />
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
{
|
|
||||||
"navigationFallback": {
|
|
||||||
"rewrite": "index.html",
|
|
||||||
"exclude": ["/static/media/*.{png,jpg,jpeg,gif,bmp}", "/static/css/*"]
|
|
||||||
},
|
|
||||||
"mimeTypes": {
|
|
||||||
".json": "text/json"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
/** @type {import('tailwindcss').Config} */
|
|
||||||
export default {
|
|
||||||
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
|
|
||||||
theme: {
|
|
||||||
extend: {},
|
|
||||||
},
|
|
||||||
plugins: [],
|
|
||||||
};
|
|
||||||
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
{
|
|
||||||
"compilerOptions": {
|
|
||||||
"target": "ES2020",
|
|
||||||
"useDefineForClassFields": true,
|
|
||||||
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
|
||||||
"module": "ESNext",
|
|
||||||
"skipLibCheck": true,
|
|
||||||
|
|
||||||
/* Bundler mode */
|
|
||||||
"moduleResolution": "bundler",
|
|
||||||
"allowImportingTsExtensions": true,
|
|
||||||
"resolveJsonModule": true,
|
|
||||||
"isolatedModules": true,
|
|
||||||
"noEmit": true,
|
|
||||||
"jsx": "react-jsx",
|
|
||||||
|
|
||||||
/* Linting */
|
|
||||||
"strict": true,
|
|
||||||
"noUnusedLocals": true,
|
|
||||||
"noUnusedParameters": true,
|
|
||||||
"noFallthroughCasesInSwitch": true
|
|
||||||
},
|
|
||||||
"include": ["src"],
|
|
||||||
"references": [{ "path": "./tsconfig.node.json" }]
|
|
||||||
}
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
{
|
|
||||||
"compilerOptions": {
|
|
||||||
"composite": true,
|
|
||||||
"skipLibCheck": true,
|
|
||||||
"module": "ESNext",
|
|
||||||
"moduleResolution": "bundler",
|
|
||||||
"allowSyntheticDefaultImports": true,
|
|
||||||
"strict": true
|
|
||||||
},
|
|
||||||
"include": ["vite.config.ts"]
|
|
||||||
}
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
import { defineConfig } from 'vite'
|
|
||||||
import react from '@vitejs/plugin-react'
|
|
||||||
|
|
||||||
// https://vitejs.dev/config/
|
|
||||||
export default defineConfig({
|
|
||||||
plugins: [react()],
|
|
||||||
})
|
|
||||||
Reference in New Issue
Block a user