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

get leads working on thatconference.com #95

Merged
merged 2 commits into from
Oct 6, 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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "thatconference.com",
"version": "5.0.7",
"version": "5.0.8",
"description": "THATConference.com website",
"main": "index.js",
"type": "module",
Expand Down
6 changes: 4 additions & 2 deletions src/lib/config.public.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,12 @@ export const claimCodes = [
export const events = {
next: {
tx: {
slug: 'tx/2024'
slug: 'tx/2024',
id: 'THATConferenceTexas2024'
},
wi: {
slug: 'wi/2024'
slug: 'wi/2024',
id: 'THATConferenceWisconsin2024'
}
}
};
Expand Down
7 changes: 0 additions & 7 deletions src/routes/(admin sponsor)/sponsor-admin/leads/+page.js

This file was deleted.

14 changes: 14 additions & 0 deletions src/routes/(admin sponsor)/sponsor-admin/leads/+page.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<script>
import { Standard as StandardLink } from '$elements/links';
import { events } from '$lib/config.public';
</script>

<div class="mx-auto max-w-md px-4 sm:px-6 lg:px-8">
<h1 class="mt-2 text-xl font-bold leading-6 text-thatBlue-800">THAT Contact Exchange</h1>
<p>Select an event</p>

<div class="mt-10 flex flex-col space-x-0 space-y-2 sm:flex-row sm:space-x-8 sm:space-y-0">
<StandardLink href="/sponsor-admin/leads/{events.next.wi.id}">Wisconsin</StandardLink>
<StandardLink href="/sponsor-admin/leads/{events.next.tx.id}">Texas</StandardLink>
</div>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@

<Seo title={metaTags.title} tags={metaTags.tags} />

<div class="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8">
<div class="mx-auto max-w-md px-4 sm:px-6 lg:px-8">
<h1 class="mt-2 text-xl font-bold leading-6 text-thatBlue-800">THAT Contact Exchange</h1>
<div
class:opacity-100={showBanner}
Expand Down
15 changes: 8 additions & 7 deletions src/routes/(root)/support/sponsors/forms/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import { Standard as StandardLink } from '$elements/links';
import seoMetaTags from '$lib/seo/metaTags';
import Seo from '$components/Seo.svelte';
import { events } from '$lib/config.public';

import Header from '../../_components/_Header.svelte';

Expand All @@ -12,13 +13,13 @@
description: '',
openGraph: {
type: 'website',
url: `https://thatconference.com/support/sponsors/forms/`
url: `https://thatconference.com/support/sponsors/forms`
}
})
}))();

const txEventId = 'THATConferenceTexas2023';
const wiEventId = 'THATConferenceWisconsin2023';
const txEventId = events.next.tx.id;
const wiEventId = events.next.wi.id;
</script>

<Seo title={metaTags.title} tags={metaTags.tags} />
Expand Down Expand Up @@ -108,12 +109,12 @@
<h3>Important Event Links</h3>
<ul>
<li>
<a href={`/sponsors/leads/${txEventId}`} target="_blank" rel="noreferrer">
<a href={`/sponsor-admin/leads/${txEventId}`} target="_blank" rel="noreferrer">
Lead Generation
</a>
</li>
<li>
<a href="/sponsors/my-network" target="_blank">Lead Generation Results</a>
<a href="/sponsor-admin/my-network" target="_blank">Lead Generation Results</a>
</li>
<li>
<a href="/my/network/sponsors" target="_blank">Your Network</a>
Expand Down Expand Up @@ -237,8 +238,8 @@
<div class="prose prose-lg mt-4 text-gray-500">
<h3>Don't forget to:</h3>
<ul>
<li>Complete your ticket enrollment.</li>
<li>Book your stay.</li>
<li>Complete your ticket enrollment.</li>
<li>Update your THAT Conference profile.</li>
<li>Read the Sponsorship Handbook.</li>
<li>Review your company's spotlight page.</li>
Expand All @@ -248,6 +249,6 @@

<style lang="postcss">
a:hover {
@apply text-thatBlue-700;
@apply hover:text-thatOrange-400;
}
</style>