Skip to content

Commit a0318ce

Browse files
committed
add swag store
1 parent 9adde74 commit a0318ce

3 files changed

Lines changed: 53 additions & 9 deletions

File tree

‎frontend/main/src/layout/AppMenu.tsx‎

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,30 @@ export default function AppMenu({
140140
<Link href="/blog" comparison="/post" name="Blog" />
141141
<Link href="/podcasts" comparison="/podcast" name="Podcasts" />
142142
<Link href="/schedule" comparison="/schedule" name="Schedule" />
143+
<div className="flex items-center gap-2 pl-2">
144+
<a
145+
href="https://www.bonfire.com/store/codingcatdev-swag/"
146+
target="_blank"
147+
rel="noreferrer noopener"
148+
className="links-secondary"
149+
>
150+
Swag Store
151+
</a>
152+
<svg
153+
xmlns="http://www.w3.org/2000/svg"
154+
className="w-4 h-4"
155+
fill="none"
156+
viewBox="0 0 24 24"
157+
stroke="white"
158+
>
159+
<path
160+
strokeLinecap="round"
161+
strokeLinejoin="round"
162+
strokeWidth={2}
163+
d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"
164+
/>
165+
</svg>
166+
</div>
143167
</nav>
144168
<section className="flex self-end p-4 bg-primary-700 dark:bg-primary-700">
145169
<OutsideClick toggle={setUserMenu} value={false}>

‎frontend/main/src/layout/Footer.tsx‎

Lines changed: 25 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export default function Footer({
6262
</svg>
6363
)}
6464
<footer className="px-4 pt-20 pb-4 bg-purple-900 lg:grid-cols-2 lg:px-10 text-basics-50">
65-
<div className="grid items-start gap-10 grid-cols-auto">
65+
<div className="grid items-start justify-center gap-10 xl:justify-around grid-cols-auto">
6666
{/* LOGO & COPYRIGHT */}
6767
<section className="grid grid-cols-1 justify-items-start">
6868
<div className="flex">
@@ -123,14 +123,30 @@ export default function Footer({
123123
<div key={`helpful-link-${i}`}>
124124
{pageLink.slug.includes('://') ||
125125
pageLink.slug.includes('mailto') ? (
126-
<a
127-
href={pageLink.slug}
128-
target="_blank"
129-
rel="noreferrer noopener"
130-
className="links-secondary"
131-
>
132-
{pageLink.title}
133-
</a>
126+
<div className="flex items-center gap-2">
127+
<a
128+
href={pageLink.slug}
129+
target="_blank"
130+
rel="noreferrer noopener"
131+
className="links-secondary"
132+
>
133+
{pageLink.title}
134+
</a>
135+
<svg
136+
xmlns="http://www.w3.org/2000/svg"
137+
className="w-4 h-4"
138+
fill="none"
139+
viewBox="0 0 24 24"
140+
stroke="currentColor"
141+
>
142+
<path
143+
strokeLinecap="round"
144+
strokeLinejoin="round"
145+
strokeWidth={2}
146+
d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"
147+
/>
148+
</svg>
149+
</div>
134150
) : (
135151
<Link href={pageLink.slug}>
136152
<a href={pageLink.slug} className="links-secondary">

‎frontend/main/src/services/notion.server.ts‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1236,6 +1236,10 @@ export const getRecent = async ({ preview = false }) => {
12361236
export const getSite = () => {
12371237
return {
12381238
pageLinks: [
1239+
{
1240+
slug: 'https://www.bonfire.com/store/codingcatdev-swag/',
1241+
title: 'Swag Store',
1242+
},
12391243
{ slug: '/ftc-disclosure', title: 'FTC Disclosure' },
12401244
{ slug: '/privacy-policy', title: 'Privacy Policy' },
12411245
{ slug: '/terms-of-use', title: 'Terms of Use' },

0 commit comments

Comments
 (0)