File tree Expand file tree Collapse file tree 3 files changed +23
-1
lines changed
Expand file tree Collapse file tree 3 files changed +23
-1
lines changed Original file line number Diff line number Diff line change 11import { Providers } from '@/app/providers' ;
22import { Layout } from '@/components/Layout' ;
3+ import { Affiliates } from '@/components/Affiliates' ;
34
45import '@/styles/tailwind.css' ;
56
@@ -27,6 +28,7 @@ export default function RootLayout({ children }) {
2728 < Layout > { children } </ Layout >
2829 </ div >
2930 </ Providers >
31+ < Affiliates />
3032 </ body >
3133 </ html >
3234 ) ;
Original file line number Diff line number Diff line change 1+ 'use client' ;
2+
3+ import Script from 'next/script' ;
4+
5+ export function Affiliates ( ) {
6+ return (
7+ < Script
8+ src = 'https://lmsqueezy.com/affiliate.js'
9+ onLoad = { ( ) =>
10+ ( window . lemonSqueezyAffiliateConfig = { store : 'deschutesdesigngroup' } )
11+ }
12+ />
13+ ) ;
14+ }
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ export function Footer() {
1919 < ContainerOuter >
2020 < div className = 'border-t border-zinc-100 pb-16 pt-10 dark:border-zinc-700/40' >
2121 < ContainerInner >
22- < div className = 'flex flex-col items-center justify-between gap-6 sm:flex-row ' >
22+ < div className = 'flex flex-col items-center justify-between gap-6 md:items-start ' >
2323 < div className = 'flex flex-wrap justify-center gap-x-6 gap-y-1 text-sm font-medium text-zinc-800 dark:text-zinc-200' >
2424 < NavLink href = '/about' > About</ NavLink >
2525 < NavLink href = '/articles' > Articles</ NavLink >
@@ -31,6 +31,12 @@ export function Footer() {
3131 >
3232 Store
3333 </ NavLink >
34+ < NavLink
35+ href = 'https://store.deschutesdesigngroup.com/affiliates'
36+ target = '_blank'
37+ >
38+ Affiliate Program
39+ </ NavLink >
3440 < NavLink
3541 href = 'https://portal.deschutesdesigngroup.com'
3642 target = '_blank'
You can’t perform that action at this time.
0 commit comments