Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: partner to sponsor links #53

Merged
merged 1 commit into from
Sep 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
{#each partners as p, _i (p.id)}
<li
class="col-span-1 flex transform flex-col rounded-lg bg-white text-center shadow transition duration-500 ease-in-out hover:scale-105 hover:bg-that-offWhite">
<a href={`/partners/${p.slug}`}>
<a href={`/sponsors/${p.slug}`}>
<PartnerCard {...p} />
</a>
</li>
Expand Down
10 changes: 5 additions & 5 deletions src/_components/SponsorSimple.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
{#each partners as p}
<div
class="w-1/2 transform p-2 transition duration-500 ease-in-out hover:scale-105">
<a href="/partners/{p.slug}">
<a href="/sponsors/{p.slug}">
<img class="lazyload h-24 w-full" src={p.companyLogo} alt={p.companyName} />
</a>
</div>
Expand All @@ -88,15 +88,15 @@
{#each explorers as p}
<div
class="w-1/5 transform p-4 transition duration-500 ease-in-out hover:scale-105">
<a href="/partners/{p.slug}">
<a href="/sponsors/{p.slug}">
<img class="lazyload h-24 w-full" src={p.companyLogo} alt={p.companyName} />
</a>
</div>
{/each}
</div>

<div class="flex flex-col items-center">
<a class="font-semibold text-gray-500" href="/partners/{slug}"
<a class="font-semibold text-gray-500" href="/sponsors/{slug}"
>Visit This Year's<span class="pl-1 font-extrabold text-thatRed-500"
>Sponsors</span
></a>
Expand Down Expand Up @@ -135,15 +135,15 @@
<div class="flex flex-wrap items-center justify-center">
{#each partners as p}
<div class="w-1/3 transform p-4 transition duration-500 ease-in-out hover:scale-105">
<a href="/partners/{p.slug}">
<a href="/sponsors/{p.slug}">
<img class="lazyload h-24 w-full" src={p.companyLogo} alt={p.companyName} />
</a>
</div>
{/each}
</div>

<div class="flex justify-center">
<StandardLink href="/partners/{slug}">View all Sponsors</StandardLink>
<StandardLink href="/sponsors/{slug}">View all Sponsors</StandardLink>
</div>

<div class="mt-24 text-2xl font-bold uppercase text-gray-500">
Expand Down
2 changes: 1 addition & 1 deletion src/_components/navigation/default/links.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default [
},
{
text: 'Sponsors',
href: '/partners'
href: '/sponsors'
},
{
text: 'Help',
Expand Down
2 changes: 1 addition & 1 deletion src/routes/(admin sponsor)/sponsor-admin/leads/+page.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ import { redirect } from '@sveltejs/kit';
export async function load() {
const eventId = 'THATConferenceWisconsin2023';

throw redirect(301, `/partners/leads/${eventId}`);
throw redirect(301, `/sponsors/leads/${eventId}`);
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
description: '',
openGraph: {
type: 'website',
url: `https://thatconference.com/partners/leads`
url: `https://thatconference.com/sponsors/leads`
},
noindex: true,
nofollow: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
description: '',
openGraph: {
type: 'website',
url: 'https://thatconference.com/my/partners/my-network'
url: 'https://thatconference.com/my/sponsors/my-network'
},
noindex: true,
nofollow: true
Expand Down
2 changes: 1 addition & 1 deletion src/routes/(root)/sponsors/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
openGraph: {
type: 'website',
url: `https://thatconference.com/partners/`
url: `https://thatconference.com/sponsors/`
}
})
}))();
Expand Down
4 changes: 2 additions & 2 deletions src/routes/(root)/sponsors/[partner]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
description: `${profile.aboutUs}`,
openGraph: {
type: 'website',
url: `https://thatconference.com/partners/${partner}`
url: `https://thatconference.com/sponsors/${partner}`
}
})
}))();
Expand Down Expand Up @@ -69,7 +69,7 @@
title="Currently Not Sponsoring"
text="This partner isn't currently an active sponsor.">
<div class="flex justify-center space-x-6">
<StandardLink href="/partners">Current Sponsors</StandardLink>
<StandardLink href="/sponsors">Current Sponsors</StandardLink>
<StandardLink href="/sponsorships/apply">Become a Sponsor</StandardLink>
</div>
</ActionModal>
Expand Down
4 changes: 2 additions & 2 deletions src/routes/(root)/sponsors/[partner]/jobs/[job]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
description: `${partner.jobListing.description}`,
openGraph: {
type: 'website',
url: `https://thatconference.com/partners/${partner.companyName.toLowerCase()}/${job}`
url: `https://thatconference.com/sponsors/${partner.companyName.toLowerCase()}/${job}`
}
})
}))();
Expand All @@ -28,7 +28,7 @@
description: partner.jobListing.description,
directApply:
partner.jobListing.applyNowLink ||
`https://thatconference.com/partners/${partner.companyName.toLowerCase()}/${job}`,
`https://thatconference.com/sponsors/${partner.companyName.toLowerCase()}/${job}`,

datePosted: partner.jobListing.datePosted || '',
jobLocationType: 'TELECOMMUTE',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
{#each partners as p, _i (p.id)}
<li
class="col-span-1 flex transform flex-col rounded-lg bg-white text-center shadow transition duration-500 ease-in-out hover:scale-105 hover:bg-that-offWhite">
<a href={`/partners/${p.slug}`}>
<a href={`/sponsors/${p.slug}`}>
<PartnerCard {...p} />
</a>
</li>
Expand Down
2 changes: 1 addition & 1 deletion src/routes/(root)/sponsors/_components/_JobListings.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<ul class="divide-y divide-gray-200">
{#each listings as listing}
<li in:fade>
<a href={`/partners/${partner}/jobs/${listing.slug}`} class="block hover:bg-gray-50">
<a href={`/sponsors/${partner}/jobs/${listing.slug}`} class="block hover:bg-gray-50">
<div class="px-4 py-4 sm:px-6">
<div class="flex items-center justify-between">
<p class="truncate text-sm font-medium text-thatBlue-500">
Expand Down
2 changes: 1 addition & 1 deletion src/routes/(root)/sponsors/_components/_Level.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
{#each partners as p, _i (p.id)}
<li
class="col-span-1 flex transform flex-col rounded-lg bg-white text-center shadow transition duration-500 ease-in-out hover:scale-105 hover:bg-that-offWhite">
<a href={`/partners/${p.slug}`}>
<a href={`/sponsors/${p.slug}`}>
<PartnerCard {...p} />
</a>
</li>
Expand Down
2 changes: 1 addition & 1 deletion src/routes/(root)/sponsors/job-board/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
'Discover career opportunities with THAT Conference sponsor job board. Find the perfect position that aligns with your skills and interests.',
openGraph: {
type: 'website',
url: 'https://thatconference.com/partners/job-board'
url: 'https://thatconference.com/sponsors/job-board'
}
})
}))();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<div
class="transform rounded-md p-4 transition duration-500 ease-in-out hover:scale-105 hover:bg-gray-100">
<a href={`/partners/${job.partnerSlug}/jobs/${job.jobSlug}`}>
<a href={`/sponsors/${job.partnerSlug}/jobs/${job.jobSlug}`}>
<div class="flex flex-col items-center sm:flex-row sm:space-x-12">
<div class="flex-shrink-0 pb-8 sm:pb-0">
<img class="lazyload h-full w-48" alt="{job.companyName} logo" src={job.companyLogo} />
Expand Down
2 changes: 1 addition & 1 deletion src/routes/(root)/sponsors/past/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
description: 'Thank you to those who support our great community every day.',
openGraph: {
type: 'website',
url: `https://thatconference.com/partners/past`
url: `https://thatconference.com/sponsors/past`
}
})
}))();
Expand Down
8 changes: 4 additions & 4 deletions src/routes/(root)/support/sponsors/forms/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,12 @@
<h3>Important Event Links</h3>
<ul>
<li>
<a href={`/partners/leads/${txEventId}`} target="_blank" rel="noreferrer">
<a href={`/sponsors/leads/${txEventId}`} target="_blank" rel="noreferrer">
Lead Generation
</a>
</li>
<li>
<a href="/partners/my-network" target="_blank">Lead Generation Results</a>
<a href="/sponsors/my-network" target="_blank">Lead Generation Results</a>
</li>
<li>
<a href="/my/network/sponsors" target="_blank">Your Network</a>
Expand Down Expand Up @@ -203,10 +203,10 @@
<h3>Important Event Links</h3>
<ul>
<li>
<a href={`/partners/leads/${wiEventId}`} target="_blank">Lead Generation</a>
<a href={`/sponsors/leads/${wiEventId}`} target="_blank">Lead Generation</a>
</li>
<li>
<a href="/partners/my-network/" target="_blank">Lead Generation Results</a>
<a href="/sponsors/my-network/" target="_blank">Lead Generation Results</a>
</li>
<li>
<a href="/my/network/sponsors" target="_blank">Your Network</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
{#each partners as p, _i (p.id)}
<li
class="col-span-1 flex transform flex-col rounded-lg bg-white text-center shadow transition duration-500 ease-in-out hover:scale-105 hover:bg-that-offWhite">
<a href={`/partners/${p.slug}`}>
<a href={`/sponsors/${p.slug}`}>
<PartnerCard {...p} />
</a>
</li>
Expand Down