2023-01-30 00:04:05 +00:00
|
|
|
<script lang="ts">
|
2024-12-07 00:59:18 +00:00
|
|
|
import ExternalLink from "$lib/components/ExternalLink.svelte";
|
|
|
|
|
import Portfolio from "./Portfolio.svelte";
|
|
|
|
|
// @ts-expect-error: Cannot find module '$lib/content/uses/development.md' or its corresponding type declarations.ts(2307)
|
2024-12-13 19:54:19 +00:00
|
|
|
// import OldWebsite from "$lib/content/portfolio/personal/old-website.md";
|
2024-12-07 00:59:18 +00:00
|
|
|
// @ts-expect-error: Cannot find module '$lib/content/uses/development.md' or its corresponding type declarations.ts(2307)
|
2024-12-13 19:54:19 +00:00
|
|
|
// import PersonalWebsiteSvelteKit from "$lib/content/portfolio/personal/personal-website-sveltekit.md";
|
2024-12-07 00:59:18 +00:00
|
|
|
// @ts-expect-error: Cannot find module '$lib/content/uses/development.md' or its corresponding type declarations.ts(2307)
|
2024-12-13 19:54:19 +00:00
|
|
|
// import WeddingWebsite from "$lib/content/portfolio/personal/wedding-website.md";
|
2024-12-07 00:59:18 +00:00
|
|
|
// @ts-expect-error: Cannot find module '$lib/content/uses/development.md' or its corresponding type declarations.ts(2307)
|
2024-12-13 19:54:19 +00:00
|
|
|
// import MarkShellnutArchitect from "$lib/content/portfolio/professional/mark-shellnut-architect.md";
|
2024-12-07 00:59:18 +00:00
|
|
|
import type { ExternalLinkType } from "$lib/types/externalLinkType";
|
|
|
|
|
import { Tabs } from "bits-ui";
|
|
|
|
|
import personalSite from "../../lib/assets/images/portfolio/Bradley_Shellnut_New_Site.png?enhanced";
|
|
|
|
|
import shellnutArchitectWebsite from "../../lib/assets/images/portfolio/Mark_Shellnut_Architect.png?enhanced";
|
|
|
|
|
import oldSite from "../../lib/assets/images/portfolio/Old_Website_Bradley_Shellnut.png?enhanced";
|
|
|
|
|
import weddingWebsite from "../../lib/assets/images/portfolio/Wedding_Website.png?enhanced";
|
2024-12-13 19:54:19 +00:00
|
|
|
import { gitHubIcon } from "$root/lib/util/logoIcons.svelte";
|
2023-01-30 00:04:05 +00:00
|
|
|
</script>
|
|
|
|
|
|
2024-12-03 17:35:23 +00:00
|
|
|
{#snippet links(externalLinks: ExternalLinkType[])}
|
|
|
|
|
<span>
|
|
|
|
|
{#each externalLinks as link}
|
2024-12-13 19:54:19 +00:00
|
|
|
{#if link.icon && link.showIcon}
|
|
|
|
|
<ExternalLink
|
|
|
|
|
linkData={{
|
|
|
|
|
href: link.href,
|
|
|
|
|
ariaLabel: link.ariaLabel,
|
|
|
|
|
title: link.ariaLabel,
|
|
|
|
|
target: "_blank",
|
|
|
|
|
}}
|
|
|
|
|
textData={{
|
|
|
|
|
text: link.text,
|
|
|
|
|
showIcon: link.showIcon,
|
|
|
|
|
location: "left",
|
|
|
|
|
}}
|
|
|
|
|
iconData={{ type: "svg", icon: link.icon }}
|
|
|
|
|
/>
|
|
|
|
|
{:else}
|
|
|
|
|
<ExternalLink
|
|
|
|
|
linkData={{
|
|
|
|
|
href: link.href,
|
|
|
|
|
ariaLabel: link.ariaLabel,
|
|
|
|
|
title: link.ariaLabel,
|
|
|
|
|
target: "_blank",
|
|
|
|
|
}}
|
|
|
|
|
textData={{
|
|
|
|
|
text: link.text,
|
|
|
|
|
showIcon: link.showIcon,
|
|
|
|
|
location: "left",
|
|
|
|
|
}}
|
|
|
|
|
/>
|
|
|
|
|
{/if}
|
2024-12-03 17:35:23 +00:00
|
|
|
{/each}
|
|
|
|
|
</span>
|
|
|
|
|
{/snippet}
|
|
|
|
|
|
2023-01-31 07:10:17 +00:00
|
|
|
<h1>Portfolio!</h1>
|
2024-12-07 00:59:18 +00:00
|
|
|
<Tabs.Root value="personal">
|
|
|
|
|
<Tabs.List>
|
|
|
|
|
<Tabs.Trigger value="personal"><span>Personal</span></Tabs.Trigger>
|
|
|
|
|
<Tabs.Trigger value="professional"><span>Professional</span></Tabs.Trigger>
|
|
|
|
|
</Tabs.List>
|
|
|
|
|
<Tabs.Content value="personal">
|
|
|
|
|
<Portfolio
|
|
|
|
|
name="Personal Website"
|
2023-12-06 00:43:37 +00:00
|
|
|
style="max-height: 550px;"
|
2023-07-13 05:53:25 +00:00
|
|
|
src={personalSite}
|
|
|
|
|
loading="eager"
|
2024-12-03 17:35:23 +00:00
|
|
|
alt="Picture of Bradley Shellnut's Personal Website"
|
|
|
|
|
{links}
|
2024-12-07 00:59:18 +00:00
|
|
|
externalLinks={[
|
|
|
|
|
{
|
|
|
|
|
ariaLabel: "View GitHub repository for my personal website",
|
|
|
|
|
href: "https://github.com/BradNut/personal-website-sveltekit",
|
2024-12-13 19:54:19 +00:00
|
|
|
icon: gitHubIcon,
|
2024-12-07 00:59:18 +00:00
|
|
|
showIcon: true,
|
|
|
|
|
text: "GitHub repository",
|
|
|
|
|
},
|
|
|
|
|
]}
|
2024-12-13 19:54:19 +00:00
|
|
|
>
|
|
|
|
|
<h2>My personal website re-written using SvelteKit.</h2>
|
|
|
|
|
Tech Stack:
|
|
|
|
|
<ul>
|
|
|
|
|
<li>
|
|
|
|
|
<ExternalLink
|
|
|
|
|
linkData={{
|
|
|
|
|
href: "https://kit.svelte.dev/",
|
|
|
|
|
ariaLabel: "SvelteKit",
|
|
|
|
|
}}
|
|
|
|
|
textData={{ text: "SvelteKit", showIcon: true, location: "left" }}
|
|
|
|
|
/>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<ExternalLink
|
|
|
|
|
linkData={{ href: "https://bits-ui.com/", ariaLabel: "Bits-UI" }}
|
|
|
|
|
textData={{ text: "Bits-UI", showIcon: true, location: "left" }}
|
|
|
|
|
/> for the headless-ui components.
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<ExternalLink
|
|
|
|
|
linkData={{
|
|
|
|
|
href: "https://www.typescriptlang.org/",
|
|
|
|
|
ariaLabel: "TypeScript",
|
|
|
|
|
}}
|
|
|
|
|
textData={{ text: "TypeScript", showIcon: true, location: "left" }}
|
|
|
|
|
/>
|
|
|
|
|
</li>
|
|
|
|
|
<li>Deployed on a Coolify Self Hosted Box</li>
|
|
|
|
|
<li>
|
|
|
|
|
Icons in the <a href="/about">/about</a> page and the Bee, Shell, and
|
|
|
|
|
Nut icons are all made by <ExternalLink
|
|
|
|
|
linkData={{
|
|
|
|
|
href: "https://www.flaticon.com/authors/freepik",
|
|
|
|
|
ariaLabel: "Freepik",
|
|
|
|
|
}}
|
|
|
|
|
textData={{ text: "Freepik", showIcon: true, location: "right" }}
|
|
|
|
|
/> from <ExternalLink
|
|
|
|
|
textData={{ text: "Flaticon", showIcon: true, location: "right" }}
|
|
|
|
|
linkData={{
|
|
|
|
|
href: "https://www.flaticon.com/",
|
|
|
|
|
ariaLabel: "Flaticon",
|
|
|
|
|
}}
|
|
|
|
|
/>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
Previous version of my website was written using React and Gatsby which
|
|
|
|
|
you can view <ExternalLink
|
|
|
|
|
linkData={{
|
|
|
|
|
href: "https://bradleyshellnut.com",
|
|
|
|
|
ariaLabel: "React and Gatsby Personal Site version",
|
|
|
|
|
}}
|
|
|
|
|
textData={{ text: "here", showIcon: true, location: "right" }}
|
|
|
|
|
/>. Each iteration brings better code and my previous React version was
|
|
|
|
|
improved after the suggestions on <ExternalLink
|
|
|
|
|
linkData={{
|
|
|
|
|
href: "https://syntax.fm/show/444/syntax-highlight#t=33:19",
|
|
|
|
|
ariaLabel: "Syntax.fm Podcast Number 444",
|
|
|
|
|
}}
|
|
|
|
|
textData={{ text: "Show 444", showIcon: true, location: "right" }}
|
|
|
|
|
/> of the <ExternalLink
|
|
|
|
|
linkData={{ href: "https://syntax.fm/", ariaLabel: "Syntax.fm" }}
|
|
|
|
|
textData={{ text: "Syntax Pocast", showIcon: true, location: "right" }}
|
|
|
|
|
/>. You can view the previous archived version of the site before those
|
|
|
|
|
changes <ExternalLink
|
|
|
|
|
textData={{ text: "here", showIcon: true, location: "right" }}
|
|
|
|
|
linkData={{
|
|
|
|
|
href: "https://web.archive.org/web/20210224002046/https://bradleyshellnut.com/",
|
|
|
|
|
ariaLabel: "Archive before Syntax Podcast",
|
|
|
|
|
}}
|
|
|
|
|
/>.
|
|
|
|
|
</Portfolio>
|
|
|
|
|
<!-- <Portfolio
|
2024-12-07 00:59:18 +00:00
|
|
|
name="Wedding Website"
|
2023-12-06 00:43:37 +00:00
|
|
|
style="max-height: 550px;"
|
2023-07-13 05:53:25 +00:00
|
|
|
src={weddingWebsite}
|
2024-12-03 17:35:23 +00:00
|
|
|
alt="Picture of NextJS Wedding Website"
|
|
|
|
|
{links}
|
|
|
|
|
{details}
|
|
|
|
|
portfolioDetails={WeddingWebsite}
|
2024-12-07 00:59:18 +00:00
|
|
|
externalLinks={[
|
|
|
|
|
{
|
|
|
|
|
ariaLabel: "View GitHub repository for the wedding site",
|
|
|
|
|
href: "https://github.com/BradNut/weddingsite",
|
2024-12-13 19:54:19 +00:00
|
|
|
icon: gitHubIcon,
|
2024-12-07 00:59:18 +00:00
|
|
|
showIcon: true,
|
|
|
|
|
text: "GitHub repository",
|
|
|
|
|
},
|
|
|
|
|
]}
|
|
|
|
|
/>
|
|
|
|
|
<Portfolio
|
|
|
|
|
name="Old Personal Website"
|
2023-07-13 05:53:25 +00:00
|
|
|
style="max-height: 320px;"
|
|
|
|
|
src={oldSite}
|
2024-12-03 17:35:23 +00:00
|
|
|
alt="Home Page of the old bradleyshellnut.com website"
|
|
|
|
|
{links}
|
|
|
|
|
{details}
|
|
|
|
|
portfolioDetails={OldWebsite}
|
2024-12-07 00:59:18 +00:00
|
|
|
externalLinks={[
|
|
|
|
|
{
|
|
|
|
|
ariaLabel: "Archive of bradleyshellnut.com",
|
|
|
|
|
href: "https://web.archive.org/web/20201205233507/https://bradleyshellnut.com/about",
|
2024-12-13 19:54:19 +00:00
|
|
|
icon: gitHubIcon,
|
2024-12-07 00:59:18 +00:00
|
|
|
showIcon: true,
|
|
|
|
|
text: "Link to an archive snapshot",
|
|
|
|
|
},
|
|
|
|
|
]}
|
2024-12-13 19:54:19 +00:00
|
|
|
/> -->
|
2024-12-07 00:59:18 +00:00
|
|
|
</Tabs.Content>
|
|
|
|
|
<Tabs.Content value="professional">
|
2024-12-13 19:54:19 +00:00
|
|
|
<!-- <Portfolio
|
2024-12-07 00:59:18 +00:00
|
|
|
name="Mark Shellnut Architect"
|
2023-12-06 00:43:37 +00:00
|
|
|
style="max-height: 550px;"
|
2023-07-13 05:53:25 +00:00
|
|
|
src={shellnutArchitectWebsite}
|
2024-12-03 17:35:23 +00:00
|
|
|
alt="Picture of Mark Shellnut Architect's Website"
|
|
|
|
|
{links}
|
|
|
|
|
{details}
|
|
|
|
|
portfolioDetails={MarkShellnutArchitect}
|
2024-12-07 00:59:18 +00:00
|
|
|
externalLinks={[
|
|
|
|
|
{
|
|
|
|
|
ariaLabel: "View Mark Shellnut Architect",
|
|
|
|
|
href: "https://markshellnutarchitect.com",
|
|
|
|
|
showIcon: false,
|
|
|
|
|
text: "Link to Mark Shellnut Architect",
|
|
|
|
|
},
|
|
|
|
|
]}
|
2024-12-13 19:54:19 +00:00
|
|
|
/> -->
|
2024-12-07 00:59:18 +00:00
|
|
|
</Tabs.Content>
|
|
|
|
|
</Tabs.Root>
|
2023-01-31 07:10:17 +00:00
|
|
|
|
|
|
|
|
<style lang="postcss">
|
2024-12-07 00:59:18 +00:00
|
|
|
:global([data-tabs-root]) {
|
2023-07-13 05:53:25 +00:00
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
2023-09-28 09:02:11 +00:00
|
|
|
&[data-orientation="vertical"] {
|
2023-07-13 05:53:25 +00:00
|
|
|
flex-direction: row;
|
|
|
|
|
}
|
|
|
|
|
|
2024-12-07 00:59:18 +00:00
|
|
|
@media (min-width: 1000px) {
|
2023-04-20 22:18:23 +00:00
|
|
|
max-width: 50vw;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2024-12-07 00:59:18 +00:00
|
|
|
:global([data-tabs-list]) {
|
2023-02-28 23:42:00 +00:00
|
|
|
display: grid;
|
|
|
|
|
gap: 1rem;
|
|
|
|
|
grid-template-columns: auto auto;
|
|
|
|
|
place-content: start;
|
|
|
|
|
place-items: center;
|
|
|
|
|
margin-bottom: 1.5rem;
|
2023-07-13 05:53:25 +00:00
|
|
|
cursor: default;
|
|
|
|
|
user-select: none;
|
2023-02-28 23:42:00 +00:00
|
|
|
}
|
|
|
|
|
|
2024-12-07 00:59:18 +00:00
|
|
|
:global([data-tabs-trigger]) {
|
2024-12-03 19:55:16 +00:00
|
|
|
font-size: var(--h2);
|
2024-12-07 00:59:18 +00:00
|
|
|
}
|
2024-12-03 19:55:16 +00:00
|
|
|
|
2024-12-07 00:59:18 +00:00
|
|
|
:global([data-state="active"]) {
|
|
|
|
|
span {
|
|
|
|
|
border-bottom: 2px solid var(--shellYellow);
|
2023-01-31 07:10:17 +00:00
|
|
|
}
|
|
|
|
|
}
|
2023-07-13 05:53:25 +00:00
|
|
|
|
2024-12-07 00:59:18 +00:00
|
|
|
:global([data-state="inactive"]) {
|
|
|
|
|
span {
|
|
|
|
|
border-bottom: 2px solid var(--white);
|
|
|
|
|
}
|
2023-01-31 07:10:17 +00:00
|
|
|
}
|
2024-12-07 00:59:18 +00:00
|
|
|
</style>
|