Config Files
Make it your own with config files.
var Component=(()=>{var p=Object.create;var r=Object.defineProperty;var E=Object.getOwnPropertyDescriptor;var y=Object.getOwnPropertyNames;var u=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty;var g=(l,n)=>()=>(n||l((n={exports:{}}).exports,n),n.exports),m=(l,n)=>{for(var s in n)r(l,s,{get:n[s],enumerable:!0})},c=(l,n,s,a)=>{if(n&&typeof n=="object"||typeof n=="function")for(let i of y(n))!f.call(l,i)&&i!==s&&r(l,i,{get:()=>n[i],enumerable:!(a=E(n,i))||a.enumerable});return l};var F=(l,n,s)=>(s=l!=null?p(u(l)):{},c(n||!l||!l.__esModule?r(s,"default",{value:l,enumerable:!0}):s,l)),_=l=>c(r({},"__esModule",{value:!0}),l);var t=g((P,o)=>{o.exports=_jsx_runtime});var N={};m(N,{default:()=>h,frontmatter:()=>b});var e=F(t()),b={title:"Config Files",description:"Make it your own with config files."};function d(l){let n={a:"a",code:"code",figure:"figure",h2:"h2",h3:"h3",p:"p",pre:"pre",span:"span",...l.components},{Steps:s}=n;return s||B("Steps",!0),(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)(n.p,{children:["The ",(0,e.jsx)(n.code,{children:"config"})," folder houses various files ready for customization to suit your needs."]}), ,(0,e.jsxs)(n.h2,{id:"list-of-files",children:[(0,e.jsx)(n.a,{className:"subheading-anchor","aria-label":"Link to section",href:"#list-of-files",children:(0,e.jsx)(n.span,{className:"icon icon-link"})}),"List of files"]}), ,(0,e.jsx)(n.p,{children:"Here's the list of config files available:"}), ,(0,e.jsxs)(s,{children:[(0,e.jsxs)(n.h3,{id:"landing",children:[(0,e.jsx)(n.a,{className:"subheading-anchor","aria-label":"Link to section",href:"#landing",children:(0,e.jsx)(n.span,{className:"icon icon-link"})}),"Landing"]}),(0,e.jsxs)(n.p,{children:["Within ",(0,e.jsx)(n.code,{children:"landing.ts"}),", discover data configurations for different sections on the homepage."]}),(0,e.jsxs)(n.p,{children:["Explore all homepage components in the ",(0,e.jsx)(n.code,{children:"components/sections"})," folder."]}),(0,e.jsxs)(n.h3,{id:"navigations",children:[(0,e.jsx)(n.a,{className:"subheading-anchor","aria-label":"Link to section",href:"#navigations",children:(0,e.jsx)(n.span,{className:"icon icon-link"})}),"Navigations"]}),(0,e.jsxs)(n.p,{children:[(0,e.jsx)(n.code,{children:"marketing.ts"}),", ",(0,e.jsx)(n.code,{children:"dashboard.ts"})," and ",(0,e.jsx)(n.code,{children:"docs.ts"})," contain configuration links tailored for their respective sections."]}),(0,e.jsxs)(n.h3,{id:"site",children:[(0,e.jsx)(n.a,{className:"subheading-anchor","aria-label":"Link to section",href:"#site",children:(0,e.jsx)(n.span,{className:"icon icon-link"})}),"Site"]}),(0,e.jsxs)(n.p,{children:["In ",(0,e.jsx)(n.code,{children:"site.ts"}),", manage metadata and footer links effortlessly."]}),(0,e.jsxs)(n.h3,{id:"subscriptions",children:[(0,e.jsx)(n.a,{className:"subheading-anchor","aria-label":"Link to section",href:"#subscriptions",children:(0,e.jsx)(n.span,{className:"icon icon-link"})}),"Subscriptions"]}),(0,e.jsxs)(n.p,{children:[(0,e.jsx)(n.code,{children:"subscriptions.ts"})," holds all necessary data for configuring pricing cards."]}),(0,e.jsx)(n.p,{children:"Here's the structure for a pricing card:"}),(0,e.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,e.jsx)(n.pre,{tabIndex:"0","data-language":"js","data-theme":"github-dark",rawString:{ title: 'Pro', description: 'Unlock Advanced Features', benefits: [ 'Up to 500 monthly posts', 'Advanced analytics and reporting', 'Access to business templates', 'Priority customer support', 'Exclusive webinars and training.', ], limitations: [ 'No custom branding', 'Limited access to business resources.', ], prices: { monthly: 15, yearly: 144, }, stripeIds: { monthly: env.NEXT_PUBLIC_STRIPE_PRO_MONTHLY_PLAN_ID, yearly: env.NEXT_PUBLIC_STRIPE_PRO_YEARLY_PLAN_ID, }, }, ,children:(0,e.jsxs)(n.code,{"data-language":"js","data-theme":"github-dark",style:{display:"grid"},children:[(0,e.jsx)(n.span,{"data-line":"",children:(0,e.jsx)(n.span,{style:{color:"#E1E4E8"},children:"{"})}), ,(0,e.jsxs)(n.span,{"data-line":"",children:[(0,e.jsx)(n.span,{style:{color:"#B392F0"},children:" title"}),(0,e.jsx)(n.span,{style:{color:"#E1E4E8"},children:": "}),(0,e.jsx)(n.span,{style:{color:"#9ECBFF"},children:"'Pro'"}),(0,e.jsx)(n.span,{style:{color:"#E1E4E8"},children:","})]}), ,(0,e.jsxs)(n.span,{"data-line":"",children:[(0,e.jsx)(n.span,{style:{color:"#B392F0"},children:" description"}),(0,e.jsx)(n.span,{style:{color:"#E1E4E8"},children:": "}),(0,e.jsx)(n.span,{style:{color:"#9ECBFF"},children:"'Unlock Advanced Features'"}),(0,e.jsx)(n.span,{style:{color:"#E1E4E8"},children:","})]}), ,(0,e.jsxs)(n.span,{"data-line":"",children:[(0,e.jsx)(n.span,{style:{color:"#B392F0"},children:" benefits"}),(0,e.jsx)(n.span,{style:{color:"#E1E4E8"},children:": ["})]}), ,(0,e.jsxs)(n.span,{"data-line":"",children:[(0,e.jsx)(n.span,{style:{color:"#9ECBFF"},children:" 'Up to 500 monthly posts'"}),(0,e.jsx)(n.span,{style:{color:"#E1E4E8"},children:","})]}), ,(0,e.jsxs)(n.span,{"data-line":"",children:[(0,e.jsx)(n.span,{style:{color:"#9ECBFF"},children:" 'Advanced analytics and reporting'"}),(0,e.jsx)(n.span,{style:{color:"#E1E4E8"},children:","})]}), ,(0,e.jsxs)(n.span,{"data-line":"",children:[(0,e.jsx)(n.span,{style:{color:"#9ECBFF"},children:" 'Access to business templates'"}),(0,e.jsx)(n.span,{style:{color:"#E1E4E8"},children:","})]}), ,(0,e.jsxs)(n.span,{"data-line":"",children:[(0,e.jsx)(n.span,{style:{color:"#9ECBFF"},children:" 'Priority customer support'"}),(0,e.jsx)(n.span,{style:{color:"#E1E4E8"},children:","})]}), ,(0,e.jsxs)(n.span,{"data-line":"",children:[(0,e.jsx)(n.span,{style:{color:"#9ECBFF"},children:" 'Exclusive webinars and training.'"}),(0,e.jsx)(n.span,{style:{color:"#E1E4E8"},children:","})]}), ,(0,e.jsx)(n.span,{"data-line":"",children:(0,e.jsx)(n.span,{style:{color:"#E1E4E8"},children:" ],"})}), ,(0,e.jsxs)(n.span,{"data-line":"",children:[(0,e.jsx)(n.span,{style:{color:"#B392F0"},children:" limitations"}),(0,e.jsx)(n.span,{style:{color:"#E1E4E8"},children:": ["})]}), ,(0,e.jsxs)(n.span,{"data-line":"",children:[(0,e.jsx)(n.span,{style:{color:"#9ECBFF"},children:" 'No custom branding'"}),(0,e.jsx)(n.span,{style:{color:"#E1E4E8"},children:","})]}), ,(0,e.jsxs)(n.span,{"data-line":"",children:[(0,e.jsx)(n.span,{style:{color:"#9ECBFF"},children:" 'Limited access to business resources.'"}),(0,e.jsx)(n.span,{style:{color:"#E1E4E8"},children:","})]}), ,(0,e.jsx)(n.span,{"data-line":"",children:(0,e.jsx)(n.span,{style:{color:"#E1E4E8"},children:" ],"})}), ,(0,e.jsxs)(n.span,{"data-line":"",children:[(0,e.jsx)(n.span,{style:{color:"#B392F0"},children:" prices"}),(0,e.jsx)(n.span,{style:{color:"#E1E4E8"},children:": {"})]}), ,(0,e.jsxs)(n.span,{"data-line":"",children:[(0,e.jsx)(n.span,{style:{color:"#B392F0"},children:" monthly"}),(0,e.jsx)(n.span,{style:{color:"#E1E4E8"},children:": "}),(0,e.jsx)(n.span,{style:{color:"#79B8FF"},children:"15"}),(0,e.jsx)(n.span,{style:{color:"#E1E4E8"},children:","})]}), ,(0,e.jsxs)(n.span,{"data-line":"",children:[(0,e.jsx)(n.span,{style:{color:"#B392F0"},children:" yearly"}),(0,e.jsx)(n.span,{style:{color:"#E1E4E8"},children:": "}),(0,e.jsx)(n.span,{style:{color:"#79B8FF"},children:"144"}),(0,e.jsx)(n.span,{style:{color:"#E1E4E8"},children:","})]}), ,(0,e.jsx)(n.span,{"data-line":"",children:(0,e.jsx)(n.span,{style:{color:"#E1E4E8"},children:" },"})}), ,(0,e.jsxs)(n.span,{"data-line":"",children:[(0,e.jsx)(n.span,{style:{color:"#B392F0"},children:" stripeIds"}),(0,e.jsx)(n.span,{style:{color:"#E1E4E8"},children:": {"})]}), ,(0,e.jsxs)(n.span,{"data-line":"",children:[(0,e.jsx)(n.span,{style:{color:"#B392F0"},children:" monthly"}),(0,e.jsx)(n.span,{style:{color:"#E1E4E8"},children:": env."}),(0,e.jsx)(n.span,{style:{color:"#79B8FF"},children:"NEXT_PUBLIC_STRIPE_PRO_MONTHLY_PLAN_ID"}),(0,e.jsx)(n.span,{style:{color:"#E1E4E8"},children:","})]}), ,(0,e.jsxs)(n.span,{"data-line":"",children:[(0,e.jsx)(n.span,{style:{color:"#B392F0"},children:" yearly"}),(0,e.jsx)(n.span,{style:{color:"#E1E4E8"},children:": env."}),(0,e.jsx)(n.span,{style:{color:"#79B8FF"},children:"NEXT_PUBLIC_STRIPE_PRO_YEARLY_PLAN_ID"}),(0,e.jsx)(n.span,{style:{color:"#E1E4E8"},children:","})]}), ,(0,e.jsx)(n.span,{"data-line":"",children:(0,e.jsx)(n.span,{style:{color:"#E1E4E8"},children:" },"})}), ,(0,e.jsx)(n.span,{"data-line":"",children:(0,e.jsx)(n.span,{style:{color:"#E1E4E8"},children:"},"})})]})})})]})]})}function h(l={}){let{wrapper:n}=l.components||{};return n?(0,e.jsx)(n,{...l,children:(0,e.jsx)(d,{...l})}):d(l)}function B(l,n){throw new Error("Expected "+(n?"component":"object")+" "+l+" to be defined: you likely forgot to import, pass, or provide it.")}return _(N);})();
;return Component;