2023-01-30 00:04:05 +00:00
< script lang = "ts" >
2023-01-31 07:10:17 +00:00
import {
Tab,
TabGroup,
TabList,
TabPanel,
TabPanels,
} from "@rgossiaux/svelte-headlessui";
2023-02-28 23:42:00 +00:00
import GitHub from '@iconify-icons/simple-icons/github';
2023-04-19 00:32:26 +00:00
import SEO from '$lib/components/SEO.svelte';
2023-02-28 23:42:00 +00:00
import Portfolio from '$lib/components/Portfolio.svelte';
2023-04-09 20:44:45 +00:00
import personalSite from "$lib/assets/images/Bradley_Shellnut_New_Site.png?run";
import weddingWebsite from "$lib/assets/images/Wedding_Website.png?run";
import oldSite from '$lib/assets/images/Old_Website_Bradley_Shellnut.png?run';
import shellnutArchitectWebsite from "$lib/assets/images/Mark_Shellnut_Architect.png?run";
2023-04-20 18:14:52 +00:00
import PersonalWebsiteSvelteKit from "$lib/content/portfolio/personal/personal-website-sveltekit.md";
2023-02-28 23:42:00 +00:00
import WeddingWebsite from '$lib/content/portfolio/personal/wedding-website.md';
2023-04-09 20:44:45 +00:00
import MarkShellnutArchitect from '$lib/content/portfolio/professional/mark-shellnut-architect.md?run';
2023-02-28 23:42:00 +00:00
import OldWebsite from '$lib/content/portfolio/personal/old-website.md';
import ExternalLink from '$lib/components/ExternalLink.svelte';
2023-01-30 00:04:05 +00:00
< / script >
2023-04-19 00:32:26 +00:00
< SEO title = "Portfolio" / >
2023-01-31 07:10:17 +00:00
< h1 > Portfolio!< / h1 >
2023-04-20 22:18:23 +00:00
< TabGroup class = "tab-group" >
2023-02-28 23:42:00 +00:00
< TabList aria-label = "tabs portfolios" class = "tab-list" >
< Tab class = {({ selected }) => selected ? "tab-selected portfolio-tab" : "tab-unselected portfolio-tab" } >
< h2 > Personal Sites< / h2 >
< / Tab >
< Tab value = "professional-sites" class = {({ selected }) => selected ? "tab-selected portfolio-tab" : "tab-unselected portfolio-tab" } >
< h2 > Professional Sites< / h2 >
< / Tab >
< / TabList >
< TabPanels >
< TabPanel >
< Portfolio name = "Personal Website"
2023-04-09 20:44:45 +00:00
style="max-height: 640px;"
2023-02-28 23:42:00 +00:00
src={ personalSite }
2023-04-09 20:44:45 +00:00
loading="eager"
2023-04-20 21:12:05 +00:00
alt="Picture of Bradley Shellnut's Personal Website">
< span slot = "portfolio-links" >
< p >
< ExternalLink ariaLabel = "View GitHub repository for my personal website" href = "https://github.com/BradNut/personal-website-sveltekit" icon = { GitHub } showIcon > GitHub repository</ ExternalLink >
< / p >
< / span >
2023-04-20 18:14:52 +00:00
< PersonalWebsiteSvelteKit slot = "portfolio-details" / >
2023-02-28 23:42:00 +00:00
< / Portfolio >
< Portfolio name = "Wedding Website"
2023-04-09 20:44:45 +00:00
style="max-height: 640px;"
2023-02-28 23:42:00 +00:00
src={ weddingWebsite }
2023-04-20 21:12:05 +00:00
alt="Picture of NextJS Wedding Website">
2023-02-28 23:42:00 +00:00
< span slot = "portfolio-links" >
< p >
< ExternalLink ariaLabel = "View Wedding Website" href = "https://weddingsite-six.vercel.app/" showIcon > View Site< / ExternalLink >
< / p >
< p >
< ExternalLink ariaLabel = "View GitHub repository for the wedding site" href = "https://github.com/BradNut/weddingsite" icon = { GitHub } showIcon > GitHub repository</ ExternalLink >
< / p >
< / span >
< WeddingWebsite slot = "portfolio-details" / >
< / Portfolio >
< Portfolio name = "Old Personal Website"
2023-04-09 20:44:45 +00:00
style="max-height: 320px;"
2023-02-28 23:42:00 +00:00
src={ oldSite }
2023-04-09 20:44:45 +00:00
alt="Home Page of the old bradleyshellnut.com website">
2023-02-28 23:42:00 +00:00
< span slot = "portfolio-links" >
< p >
< ExternalLink ariaLabel = "Archive of bradleyshellnut.com" href = "https://web.archive.org/web/20201205233507/https://bradleyshellnut.com/about" showIcon > Link to an archive snapshot< / ExternalLink >
< / p >
< / span >
< OldWebsite slot = "portfolio-details" / >
< / Portfolio >
< / TabPanel >
< TabPanel >
2023-04-10 04:12:23 +00:00
< Portfolio name = "Mark Shellnut Architect"
style="max-height: 640px;"
src={ shellnutArchitectWebsite }
alt="Picture of Mark Shellnut Architect's Website">
< MarkShellnutArchitect slot = "portfolio-details" / >
< / Portfolio >
2023-02-28 23:42:00 +00:00
< / TabPanel >
< / TabPanels >
< / TabGroup >
2023-01-31 07:10:17 +00:00
< style lang = "postcss" >
2023-04-20 22:18:23 +00:00
:global(.tab-group) {
@media(min-width: 1000px) {
max-width: 50vw;
}
}
2023-02-28 23:42:00 +00:00
:global(.tab-list) {
display: grid;
gap: 1rem;
grid-template-columns: auto auto;
place-content: start;
place-items: center;
margin-bottom: 1.5rem;
}
2023-02-02 20:03:53 +00:00
:global(img) {
border-radius: 3px;
}
2023-01-31 07:10:17 +00:00
:global(.tab-unselected) {
2023-06-05 23:27:51 +00:00
& h2 {
2023-01-31 07:10:17 +00:00
border-bottom: 2px solid var(--white);
}
}
:global(.tab-selected) {
2023-06-05 23:27:51 +00:00
& h2 {
2023-01-31 07:10:17 +00:00
border-bottom: 2px solid var(--shellYellow);
}
}
< / style >