Repository: lukemcdonald/holly-react Branch: main Commit: 755c903855a6 Files: 53 Total size: 98.6 KB Directory structure: gitextract_s3upq0ay/ ├── .eslintignore ├── .eslintrc ├── .gitignore ├── .prettierignore ├── README.md ├── package.json ├── postcss.config.js ├── src/ │ ├── app.tsx │ ├── assets/ │ │ └── styles.css │ ├── components/ │ │ ├── article/ │ │ │ ├── article.tsx │ │ │ ├── content.tsx │ │ │ ├── image.tsx │ │ │ ├── index.ts │ │ │ ├── media.tsx │ │ │ └── title.tsx │ │ ├── footer/ │ │ │ ├── footer.tsx │ │ │ └── index.ts │ │ ├── gradient/ │ │ │ ├── gradient.tsx │ │ │ └── index.ts │ │ ├── header/ │ │ │ ├── header.tsx │ │ │ └── index.ts │ │ ├── hero/ │ │ │ ├── hero.tsx │ │ │ ├── illustration.tsx │ │ │ └── index.ts │ │ ├── layout/ │ │ │ ├── index.ts │ │ │ └── layout.tsx │ │ ├── logo/ │ │ │ ├── index.ts │ │ │ └── logo.tsx │ │ ├── menu/ │ │ │ ├── index.tsx │ │ │ ├── menu-item.tsx │ │ │ └── menu.tsx │ │ ├── newsletter-form/ │ │ │ ├── index.ts │ │ │ └── newsletter-form.tsx │ │ ├── scroll-to-top/ │ │ │ ├── index.ts │ │ │ └── scroll-to-top.tsx │ │ └── social-links/ │ │ ├── constants.ts │ │ ├── index.ts │ │ ├── social-link.tsx │ │ └── social-links.tsx │ ├── index.html │ ├── index.tsx │ ├── routes/ │ │ ├── about.tsx │ │ ├── contact.tsx │ │ ├── faqs.tsx │ │ ├── home.tsx │ │ └── support.tsx │ ├── utils/ │ │ └── cn.ts │ └── vite-env.d.ts ├── styles/ │ └── tailwind.css ├── tailwind.config.js ├── tsconfig.json ├── tsconfig.node.json └── vite.config.ts ================================================ FILE CONTENTS ================================================ ================================================ FILE: .eslintignore ================================================ /.cache /.github /public /node_modules /dist /src/assets/styles.css ================================================ FILE: .eslintrc ================================================ { "root": true, "env": { "browser": true, "es2021": true }, "extends": [ "plugin:prettier/recommended" ], "parserOptions": { "ecmaVersion": 12, "sourceType": "module" }, "plugins": ["prettier"], "rules": { "multiline-ternary": 0, "no-shadow": 0, "prettier/prettier": "error", "react/jsx-uses-react": "off", "react/react-in-jsx-scope": "off" } } ================================================ FILE: .gitignore ================================================ node_modules .DS_Store dist dist-ssr *.local ================================================ FILE: .prettierignore ================================================ /.cache /.github /public /node_modules /dist /src/assets/styles.css ================================================ FILE: README.md ================================================ # Holly A React implementation of [Davide Pacilio's](https://cruip.com/) free landing page template, [Holly](https://lukemcdonald.github.io/holly-react/). # Getting Started - Run `npm install` - Run `npm run dev` ================================================ FILE: package.json ================================================ { "version": "4.0.0", "name": "holly-react", "description": "React version of Holly", "author": "Luke McDonald (https://lukemcdonald.com/)", "homepage": "https://lukemcdonald.github.io/holly-react", "keywords": [], "license": "MIT", "repository": { "type": "git", "url": "https://github.com/lukemcdonald/holly-react.git" }, "bugs": { "url": "https://github.com/lukemcdonald/holly-react/issues" }, "scripts": { "build": "NODE_ENV=production run-s build:*", "build:css": "postcss styles/tailwind.css -o src/assets/styles.css", "build:vite": "vite build", "deploy": "gh-pages -d dist", "dev": "run-p dev:*", "dev:css": "postcss styles/tailwind.css -o src/assets/styles.css --watch", "dev:vite": "vite", "format": "prettier --write .", "lint": "eslint --cache --cache-location ./node_modules/.cache/eslint .", "lint:fix": "eslint . --fix", "predeploy": "$npm_execpath run build", "preview": "vite preview", "start": "$npm_execpath run dev", "typecheck": "tsc --noEmit", "validate": "run-p lint typecheck" }, "dependencies": { "clsx": "^2.1.1", "gh-pages": "^6.1.1", "postcss-import": "^16.1.0", "react": "^18.3.1", "react-dom": "^18.3.1", "react-router-dom": "^6.26.0", "scrollreveal": "^4.0.9", "tailwind-merge": "^2.4.0", "tiny-invariant": "^1.3.3" }, "devDependencies": { "@tailwindcss/forms": "^0.5.7", "@tailwindcss/typography": "^0.5.13", "@types/eslint": "^9.6.0", "@types/node": "^22.1.0", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", "@types/scrollreveal": "^0.0.11", "@vitejs/plugin-react": "^4.3.1", "autoprefixer": "^10.4.20", "eslint": "^9.8.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.2.1", "npm-run-all": "^4.1.5", "postcss": "^8.4.40", "postcss-cli": "^11.0.0", "prettier": "^3.3.3", "prettier-plugin-tailwindcss": "^0.6.5", "tailwindcss": "^3.4.7", "typescript": "^5.5.4", "vite": "^5.3.5" }, "prettier": { "plugins": [ "prettier-plugin-tailwindcss" ], "printWidth": 100, "semi": false, "singleQuote": true, "tabWidth": 2 } } ================================================ FILE: postcss.config.js ================================================ module.exports = { plugins: [ require(`postcss-import`), require(`tailwindcss/nesting`), require(`tailwindcss`), require(`autoprefixer`), ], } ================================================ FILE: src/app.tsx ================================================ import { ScrollToTop } from '@/components/scroll-to-top' import AboutPage from '@/routes/about' import ContactPage from '@/routes/contact' import FaqsPage from '@/routes/faqs' import HomePage from '@/routes/home' import SupportPage from '@/routes/support' import { BrowserRouter, Route, Routes } from 'react-router-dom' export default function App() { /** * Vite exposes env variables on the special import.meta.env object. * Basename needs to be set for GitHub Pages to function properly. * * @link https://vitejs.dev/guide/env-and-mode.html */ const basename = import.meta.env.BASE_URL return ( } /> } /> } /> } /> } /> ) } ================================================ FILE: src/assets/styles.css ================================================ /** * Base * ----------------------------------------------------------------------------- */ /*! tailwindcss v3.4.7 | MIT License | https://tailwindcss.com */ /* 1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4) 2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116) */ *, ::before, ::after { box-sizing: border-box; /* 1 */ border-width: 0; /* 2 */ border-style: solid; /* 2 */ border-color: #e2e8f0; /* 2 */ } ::before, ::after { --tw-content: ''; } /* 1. Use a consistent sensible line-height in all browsers. 2. Prevent adjustments of font size after orientation changes in iOS. 3. Use a more readable tab size. 4. Use the user's configured `sans` font-family by default. 5. Use the user's configured `sans` font-feature-settings by default. 6. Use the user's configured `sans` font-variation-settings by default. 7. Disable tap highlights on iOS */ html, :host { line-height: 1.5; /* 1 */ -webkit-text-size-adjust: 100%; /* 2 */ -moz-tab-size: 4; /* 3 */ -o-tab-size: 4; tab-size: 4; /* 3 */ font-family: Fira Sans, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */ font-feature-settings: normal; /* 5 */ font-variation-settings: normal; /* 6 */ -webkit-tap-highlight-color: transparent; /* 7 */ } /* 1. Remove the margin in all browsers. 2. Inherit line-height from `html` so users can set them as a class directly on the `html` element. */ body { margin: 0; /* 1 */ line-height: inherit; /* 2 */ } /* 1. Add the correct height in Firefox. 2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655) 3. Ensure horizontal rules are visible by default. */ hr { height: 0; /* 1 */ color: inherit; /* 2 */ border-top-width: 1px; /* 3 */ } /* Add the correct text decoration in Chrome, Edge, and Safari. */ abbr:where([title]) { -webkit-text-decoration: underline dotted; text-decoration: underline dotted; } /* Remove the default font size and weight for headings. */ h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; } /* Reset links to optimize for opt-in styling instead of opt-out. */ a { color: inherit; text-decoration: inherit; } /* Add the correct font weight in Edge and Safari. */ b, strong { font-weight: bolder; } /* 1. Use the user's configured `mono` font-family by default. 2. Use the user's configured `mono` font-feature-settings by default. 3. Use the user's configured `mono` font-variation-settings by default. 4. Correct the odd `em` font sizing in all browsers. */ code, kbd, samp, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */ font-feature-settings: normal; /* 2 */ font-variation-settings: normal; /* 3 */ font-size: 1em; /* 4 */ } /* Add the correct font size in all browsers. */ small { font-size: 80%; } /* Prevent `sub` and `sup` elements from affecting the line height in all browsers. */ sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } sub { bottom: -0.25em; } sup { top: -0.5em; } /* 1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297) 2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016) 3. Remove gaps between table borders by default. */ table { text-indent: 0; /* 1 */ border-color: inherit; /* 2 */ border-collapse: collapse; /* 3 */ } /* 1. Change the font styles in all browsers. 2. Remove the margin in Firefox and Safari. 3. Remove default padding in all browsers. */ button, input, optgroup, select, textarea { font-family: inherit; /* 1 */ font-feature-settings: inherit; /* 1 */ font-variation-settings: inherit; /* 1 */ font-size: 100%; /* 1 */ font-weight: inherit; /* 1 */ line-height: inherit; /* 1 */ letter-spacing: inherit; /* 1 */ color: inherit; /* 1 */ margin: 0; /* 2 */ padding: 0; /* 3 */ } /* Remove the inheritance of text transform in Edge and Firefox. */ button, select { text-transform: none; } /* 1. Correct the inability to style clickable types in iOS and Safari. 2. Remove default button styles. */ button, input:where([type='button']), input:where([type='reset']), input:where([type='submit']) { -webkit-appearance: button; /* 1 */ background-color: transparent; /* 2 */ background-image: none; /* 2 */ } /* Use the modern Firefox focus style for all focusable elements. */ :-moz-focusring { outline: auto; } /* Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737) */ :-moz-ui-invalid { box-shadow: none; } /* Add the correct vertical alignment in Chrome and Firefox. */ progress { vertical-align: baseline; } /* Correct the cursor style of increment and decrement buttons in Safari. */ ::-webkit-inner-spin-button, ::-webkit-outer-spin-button { height: auto; } /* 1. Correct the odd appearance in Chrome and Safari. 2. Correct the outline style in Safari. */ [type='search'] { -webkit-appearance: textfield; /* 1 */ outline-offset: -2px; /* 2 */ } /* Remove the inner padding in Chrome and Safari on macOS. */ ::-webkit-search-decoration { -webkit-appearance: none; } /* 1. Correct the inability to style clickable types in iOS and Safari. 2. Change font properties to `inherit` in Safari. */ ::-webkit-file-upload-button { -webkit-appearance: button; /* 1 */ font: inherit; /* 2 */ } /* Add the correct display in Chrome and Safari. */ summary { display: list-item; } /* Removes the default spacing and border for appropriate elements. */ blockquote, dl, dd, h1, h2, h3, h4, h5, h6, hr, figure, p, pre { margin: 0; } fieldset { margin: 0; padding: 0; } legend { padding: 0; } ol, ul, menu { list-style: none; margin: 0; padding: 0; } /* Reset default styling for dialogs. */ dialog { padding: 0; } /* Prevent resizing textareas horizontally by default. */ textarea { resize: vertical; } /* 1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300) 2. Set the default placeholder color to the user's configured gray 400 color. */ input::-moz-placeholder, textarea::-moz-placeholder { opacity: 1; /* 1 */ color: #94a3b8; /* 2 */ } input::placeholder, textarea::placeholder { opacity: 1; /* 1 */ color: #94a3b8; /* 2 */ } /* Set the default cursor for buttons. */ button, [role="button"] { cursor: pointer; } /* Make sure disabled buttons don't get the pointer cursor. */ :disabled { cursor: default; } /* 1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14) 2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210) This can trigger a poorly considered lint error in some tools but is included by design. */ img, svg, video, canvas, audio, iframe, embed, object { display: block; /* 1 */ vertical-align: middle; /* 2 */ } /* Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14) */ img, video { max-width: 100%; height: auto; } /* Make elements with the HTML hidden attribute stay hidden by default */ [hidden] { display: none; } [type='text'],input:where(:not([type])),[type='email'],[type='url'],[type='password'],[type='number'],[type='date'],[type='datetime-local'],[type='month'],[type='search'],[type='tel'],[type='time'],[type='week'],[multiple],textarea,select { -webkit-appearance: none; -moz-appearance: none; appearance: none; background-color: #fff; border-color: #64748b; border-width: 1px; border-radius: 0px; padding-top: 0.5rem; padding-right: 0.75rem; padding-bottom: 0.5rem; padding-left: 0.75rem; font-size: 1rem; line-height: 1.5rem; --tw-shadow: 0 0 #0000; } [type='text']:focus, input:where(:not([type])):focus, [type='email']:focus, [type='url']:focus, [type='password']:focus, [type='number']:focus, [type='date']:focus, [type='datetime-local']:focus, [type='month']:focus, [type='search']:focus, [type='tel']:focus, [type='time']:focus, [type='week']:focus, [multiple]:focus, textarea:focus, select:focus { outline: 2px solid transparent; outline-offset: 2px; --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/); --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: #2563eb; --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color); box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow); border-color: #2563eb; } input::-moz-placeholder, textarea::-moz-placeholder { color: #64748b; opacity: 1; } input::placeholder,textarea::placeholder { color: #64748b; opacity: 1; } ::-webkit-datetime-edit-fields-wrapper { padding: 0; } ::-webkit-date-and-time-value { min-height: 1.5em; text-align: inherit; } ::-webkit-datetime-edit { display: inline-flex; } ::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field { padding-top: 0; padding-bottom: 0; } select { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%2364748b' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e"); background-position: right 0.5rem center; background-repeat: no-repeat; background-size: 1.5em 1.5em; padding-right: 2.5rem; -webkit-print-color-adjust: exact; print-color-adjust: exact; } [multiple],[size]:where(select:not([size="1"])) { background-image: initial; background-position: initial; background-repeat: unset; background-size: initial; padding-right: 0.75rem; -webkit-print-color-adjust: unset; print-color-adjust: unset; } [type='checkbox'],[type='radio'] { -webkit-appearance: none; -moz-appearance: none; appearance: none; padding: 0; -webkit-print-color-adjust: exact; print-color-adjust: exact; display: inline-block; vertical-align: middle; background-origin: border-box; -webkit-user-select: none; -moz-user-select: none; user-select: none; flex-shrink: 0; height: 1rem; width: 1rem; color: #2563eb; background-color: #fff; border-color: #64748b; border-width: 1px; --tw-shadow: 0 0 #0000; } [type='checkbox'] { border-radius: 0px; } [type='radio'] { border-radius: 100%; } [type='checkbox']:focus,[type='radio']:focus { outline: 2px solid transparent; outline-offset: 2px; --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/); --tw-ring-offset-width: 2px; --tw-ring-offset-color: #fff; --tw-ring-color: #2563eb; --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color); box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow); } [type='checkbox']:checked,[type='radio']:checked { border-color: transparent; background-color: currentColor; background-size: 100% 100%; background-position: center; background-repeat: no-repeat; } [type='checkbox']:checked { background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e"); } @media (forced-colors: active) { [type='checkbox']:checked { -webkit-appearance: auto; -moz-appearance: auto; appearance: auto; } } [type='radio']:checked { background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e"); } @media (forced-colors: active) { [type='radio']:checked { -webkit-appearance: auto; -moz-appearance: auto; appearance: auto; } } [type='checkbox']:checked:hover,[type='checkbox']:checked:focus,[type='radio']:checked:hover,[type='radio']:checked:focus { border-color: transparent; background-color: currentColor; } [type='checkbox']:indeterminate { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e"); border-color: transparent; background-color: currentColor; background-size: 100% 100%; background-position: center; background-repeat: no-repeat; } @media (forced-colors: active) { [type='checkbox']:indeterminate { -webkit-appearance: auto; -moz-appearance: auto; appearance: auto; } } [type='checkbox']:indeterminate:hover,[type='checkbox']:indeterminate:focus { border-color: transparent; background-color: currentColor; } [type='file'] { background: unset; border-color: inherit; border-width: 0; border-radius: 0; padding: 0; font-size: unset; line-height: inherit; } [type='file']:focus { outline: 1px solid ButtonText; outline: 1px auto -webkit-focus-ring-color; } *, ::before, ::after { --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgb(59 130 246 / 0.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; } ::backdrop { --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x: ; --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position: ; --tw-gradient-via-position: ; --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; --tw-numeric-spacing: ; --tw-numeric-fraction: ; --tw-ring-inset: ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgb(59 130 246 / 0.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur: ; --tw-brightness: ; --tw-contrast: ; --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ; --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ; --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ; --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ; --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; --tw-contain-size: ; --tw-contain-layout: ; --tw-contain-paint: ; --tw-contain-style: ; } /** * Components * ----------------------------------------------------------------------------- */ .prose { color: var(--tw-prose-body); max-width: 65ch; } .prose :where(p):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 1.25em; margin-bottom: 1.25em; } .prose :where([class~="lead"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) { color: var(--tw-prose-lead); font-size: 1.25em; line-height: 1.6; margin-top: 1.2em; margin-bottom: 1.2em; } .prose :where(a):not(:where([class~="not-prose"],[class~="not-prose"] *)) { color: currentColor; text-decoration: underline; font-weight: 500; } .prose :where(strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) { color: var(--tw-prose-bold); font-weight: 600; } .prose :where(a strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) { color: inherit; } .prose :where(blockquote strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) { color: inherit; } .prose :where(thead th strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) { color: inherit; } .prose :where(ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) { list-style-type: decimal; margin-top: 1.25em; margin-bottom: 1.25em; padding-inline-start: 1.625em; } .prose :where(ol[type="A"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) { list-style-type: upper-alpha; } .prose :where(ol[type="a"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) { list-style-type: lower-alpha; } .prose :where(ol[type="A" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) { list-style-type: upper-alpha; } .prose :where(ol[type="a" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) { list-style-type: lower-alpha; } .prose :where(ol[type="I"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) { list-style-type: upper-roman; } .prose :where(ol[type="i"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) { list-style-type: lower-roman; } .prose :where(ol[type="I" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) { list-style-type: upper-roman; } .prose :where(ol[type="i" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) { list-style-type: lower-roman; } .prose :where(ol[type="1"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) { list-style-type: decimal; } .prose :where(ul):not(:where([class~="not-prose"],[class~="not-prose"] *)) { list-style-type: disc; margin-top: 1.25em; margin-bottom: 1.25em; padding-inline-start: 1.625em; } .prose :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *))::marker { font-weight: 400; color: var(--tw-prose-counters); } .prose :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *))::marker { color: var(--tw-prose-bullets); } .prose :where(dt):not(:where([class~="not-prose"],[class~="not-prose"] *)) { color: var(--tw-prose-headings); font-weight: 600; margin-top: 1.25em; } .prose :where(hr):not(:where([class~="not-prose"],[class~="not-prose"] *)) { border-color: var(--tw-prose-hr); border-top-width: 1px; margin-top: 3em; margin-bottom: 3em; } .prose :where(blockquote):not(:where([class~="not-prose"],[class~="not-prose"] *)) { font-weight: 500; font-style: italic; color: var(--tw-prose-quotes); border-inline-start-width: 0.25rem; border-inline-start-color: var(--tw-prose-quote-borders); quotes: "\201C""\201D""\2018""\2019"; margin-top: 1.6em; margin-bottom: 1.6em; padding-inline-start: 1em; } .prose :where(blockquote p:first-of-type):not(:where([class~="not-prose"],[class~="not-prose"] *))::before { content: open-quote; } .prose :where(blockquote p:last-of-type):not(:where([class~="not-prose"],[class~="not-prose"] *))::after { content: close-quote; } .prose :where(h1):not(:where([class~="not-prose"],[class~="not-prose"] *)) { color: var(--tw-prose-headings); font-weight: 800; font-size: 2.25em; margin-top: 0; margin-bottom: 0.8888889em; line-height: 1.1111111; } .prose :where(h1 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) { font-weight: 900; color: inherit; } .prose :where(h2):not(:where([class~="not-prose"],[class~="not-prose"] *)) { color: var(--tw-prose-headings); font-weight: 700; font-size: 1.5em; margin-top: 2em; margin-bottom: 1em; line-height: 1.3333333; } .prose :where(h2 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) { font-weight: 800; color: inherit; } .prose :where(h3):not(:where([class~="not-prose"],[class~="not-prose"] *)) { color: var(--tw-prose-headings); font-weight: 600; font-size: 1.25em; margin-top: 1.6em; margin-bottom: 0.6em; line-height: 1.6; } .prose :where(h3 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) { font-weight: 700; color: inherit; } .prose :where(h4):not(:where([class~="not-prose"],[class~="not-prose"] *)) { color: var(--tw-prose-headings); font-weight: 600; margin-top: 1.5em; margin-bottom: 0.5em; line-height: 1.5; } .prose :where(h4 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) { font-weight: 700; color: inherit; } .prose :where(img):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 2em; margin-bottom: 2em; } .prose :where(picture):not(:where([class~="not-prose"],[class~="not-prose"] *)) { display: block; margin-top: 2em; margin-bottom: 2em; } .prose :where(video):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 2em; margin-bottom: 2em; } .prose :where(kbd):not(:where([class~="not-prose"],[class~="not-prose"] *)) { font-weight: 500; font-family: inherit; color: var(--tw-prose-kbd); box-shadow: 0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%), 0 3px 0 rgb(var(--tw-prose-kbd-shadows) / 10%); font-size: 0.875em; border-radius: 0.3125rem; padding-top: 0.1875em; padding-inline-end: 0.375em; padding-bottom: 0.1875em; padding-inline-start: 0.375em; } .prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *)) { color: var(--tw-prose-code); font-weight: 600; font-size: 0.875em; } .prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::before { content: "`"; } .prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::after { content: "`"; } .prose :where(a code):not(:where([class~="not-prose"],[class~="not-prose"] *)) { color: inherit; } .prose :where(h1 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) { color: inherit; } .prose :where(h2 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) { color: inherit; font-size: 0.875em; } .prose :where(h3 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) { color: inherit; font-size: 0.9em; } .prose :where(h4 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) { color: inherit; } .prose :where(blockquote code):not(:where([class~="not-prose"],[class~="not-prose"] *)) { color: inherit; } .prose :where(thead th code):not(:where([class~="not-prose"],[class~="not-prose"] *)) { color: inherit; } .prose :where(pre):not(:where([class~="not-prose"],[class~="not-prose"] *)) { color: var(--tw-prose-pre-code); background-color: var(--tw-prose-pre-bg); overflow-x: auto; font-weight: 400; font-size: 0.875em; line-height: 1.7142857; margin-top: 1.7142857em; margin-bottom: 1.7142857em; border-radius: 0.375rem; padding-top: 0.8571429em; padding-inline-end: 1.1428571em; padding-bottom: 0.8571429em; padding-inline-start: 1.1428571em; } .prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *)) { background-color: transparent; border-width: 0; border-radius: 0; padding: 0; font-weight: inherit; color: inherit; font-size: inherit; font-family: inherit; line-height: inherit; } .prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *))::before { content: none; } .prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *))::after { content: none; } .prose :where(table):not(:where([class~="not-prose"],[class~="not-prose"] *)) { width: 100%; table-layout: auto; text-align: start; margin-top: 2em; margin-bottom: 2em; font-size: 0.875em; line-height: 1.7142857; } .prose :where(thead):not(:where([class~="not-prose"],[class~="not-prose"] *)) { border-bottom-width: 1px; border-bottom-color: var(--tw-prose-th-borders); } .prose :where(thead th):not(:where([class~="not-prose"],[class~="not-prose"] *)) { color: var(--tw-prose-headings); font-weight: 600; vertical-align: bottom; padding-inline-end: 0.5714286em; padding-bottom: 0.5714286em; padding-inline-start: 0.5714286em; } .prose :where(tbody tr):not(:where([class~="not-prose"],[class~="not-prose"] *)) { border-bottom-width: 1px; border-bottom-color: var(--tw-prose-td-borders); } .prose :where(tbody tr:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) { border-bottom-width: 0; } .prose :where(tbody td):not(:where([class~="not-prose"],[class~="not-prose"] *)) { vertical-align: baseline; } .prose :where(tfoot):not(:where([class~="not-prose"],[class~="not-prose"] *)) { border-top-width: 1px; border-top-color: var(--tw-prose-th-borders); } .prose :where(tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)) { vertical-align: top; } .prose :where(figure > *):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 0; margin-bottom: 0; } .prose :where(figcaption):not(:where([class~="not-prose"],[class~="not-prose"] *)) { color: var(--tw-prose-captions); font-size: 0.875em; line-height: 1.4285714; margin-top: 0.8571429em; } .prose { --tw-prose-body: #374151; --tw-prose-headings: #111827; --tw-prose-lead: #4b5563; --tw-prose-links: #111827; --tw-prose-bold: #111827; --tw-prose-counters: #6b7280; --tw-prose-bullets: #d1d5db; --tw-prose-hr: #e5e7eb; --tw-prose-quotes: #111827; --tw-prose-quote-borders: #e5e7eb; --tw-prose-captions: #6b7280; --tw-prose-kbd: #111827; --tw-prose-kbd-shadows: 17 24 39; --tw-prose-code: #111827; --tw-prose-pre-code: #e5e7eb; --tw-prose-pre-bg: #1f2937; --tw-prose-th-borders: #d1d5db; --tw-prose-td-borders: #e5e7eb; --tw-prose-invert-body: #d1d5db; --tw-prose-invert-headings: #fff; --tw-prose-invert-lead: #9ca3af; --tw-prose-invert-links: #fff; --tw-prose-invert-bold: #fff; --tw-prose-invert-counters: #9ca3af; --tw-prose-invert-bullets: #4b5563; --tw-prose-invert-hr: #374151; --tw-prose-invert-quotes: #f3f4f6; --tw-prose-invert-quote-borders: #374151; --tw-prose-invert-captions: #9ca3af; --tw-prose-invert-kbd: #fff; --tw-prose-invert-kbd-shadows: 255 255 255; --tw-prose-invert-code: #fff; --tw-prose-invert-pre-code: #d1d5db; --tw-prose-invert-pre-bg: rgb(0 0 0 / 50%); --tw-prose-invert-th-borders: #4b5563; --tw-prose-invert-td-borders: #374151; font-size: 1rem; line-height: 1.75; } .prose :where(picture > img):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 0; margin-bottom: 0; } .prose :where(li):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 0.5em; margin-bottom: 0.5em; } .prose :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) { padding-inline-start: 0.375em; } .prose :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) { padding-inline-start: 0.375em; } .prose :where(.prose > ul > li p):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 0.75em; margin-bottom: 0.75em; } .prose :where(.prose > ul > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 1.25em; } .prose :where(.prose > ul > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-bottom: 1.25em; } .prose :where(.prose > ol > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 1.25em; } .prose :where(.prose > ol > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-bottom: 1.25em; } .prose :where(ul ul, ul ol, ol ul, ol ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 0.75em; margin-bottom: 0.75em; } .prose :where(dl):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 1.25em; margin-bottom: 1.25em; } .prose :where(dd):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 0.5em; padding-inline-start: 1.625em; } .prose :where(hr + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 0; } .prose :where(h2 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 0; } .prose :where(h3 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 0; } .prose :where(h4 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 0; } .prose :where(thead th:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) { padding-inline-start: 0; } .prose :where(thead th:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) { padding-inline-end: 0; } .prose :where(tbody td, tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)) { padding-top: 0.5714286em; padding-inline-end: 0.5714286em; padding-bottom: 0.5714286em; padding-inline-start: 0.5714286em; } .prose :where(tbody td:first-child, tfoot td:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) { padding-inline-start: 0; } .prose :where(tbody td:last-child, tfoot td:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) { padding-inline-end: 0; } .prose :where(figure):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 2em; margin-bottom: 2em; } .prose :where(.prose > :first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 0; } .prose :where(.prose > :last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-bottom: 0; } .prose-xl { font-size: 1.25rem; line-height: 1.8; } .prose-xl :where(p):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 1.2em; margin-bottom: 1.2em; } .prose-xl :where([class~="lead"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) { font-size: 1.2em; line-height: 1.5; margin-top: 1em; margin-bottom: 1em; } .prose-xl :where(blockquote):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 1.6em; margin-bottom: 1.6em; padding-inline-start: 1.0666667em; } .prose-xl :where(h1):not(:where([class~="not-prose"],[class~="not-prose"] *)) { font-size: 2.8em; margin-top: 0; margin-bottom: 0.8571429em; line-height: 1; } .prose-xl :where(h2):not(:where([class~="not-prose"],[class~="not-prose"] *)) { font-size: 1.8em; margin-top: 1.5555556em; margin-bottom: 0.8888889em; line-height: 1.1111111; } .prose-xl :where(h3):not(:where([class~="not-prose"],[class~="not-prose"] *)) { font-size: 1.5em; margin-top: 1.6em; margin-bottom: 0.6666667em; line-height: 1.3333333; } .prose-xl :where(h4):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 1.8em; margin-bottom: 0.6em; line-height: 1.6; } .prose-xl :where(img):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 2em; margin-bottom: 2em; } .prose-xl :where(picture):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 2em; margin-bottom: 2em; } .prose-xl :where(picture > img):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 0; margin-bottom: 0; } .prose-xl :where(video):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 2em; margin-bottom: 2em; } .prose-xl :where(kbd):not(:where([class~="not-prose"],[class~="not-prose"] *)) { font-size: 0.9em; border-radius: 0.3125rem; padding-top: 0.25em; padding-inline-end: 0.4em; padding-bottom: 0.25em; padding-inline-start: 0.4em; } .prose-xl :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *)) { font-size: 0.9em; } .prose-xl :where(h2 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) { font-size: 0.8611111em; } .prose-xl :where(h3 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) { font-size: 0.9em; } .prose-xl :where(pre):not(:where([class~="not-prose"],[class~="not-prose"] *)) { font-size: 0.9em; line-height: 1.7777778; margin-top: 2em; margin-bottom: 2em; border-radius: 0.5rem; padding-top: 1.1111111em; padding-inline-end: 1.3333333em; padding-bottom: 1.1111111em; padding-inline-start: 1.3333333em; } .prose-xl :where(ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 1.2em; margin-bottom: 1.2em; padding-inline-start: 1.6em; } .prose-xl :where(ul):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 1.2em; margin-bottom: 1.2em; padding-inline-start: 1.6em; } .prose-xl :where(li):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 0.6em; margin-bottom: 0.6em; } .prose-xl :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) { padding-inline-start: 0.4em; } .prose-xl :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) { padding-inline-start: 0.4em; } .prose-xl :where(.prose-xl > ul > li p):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 0.8em; margin-bottom: 0.8em; } .prose-xl :where(.prose-xl > ul > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 1.2em; } .prose-xl :where(.prose-xl > ul > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-bottom: 1.2em; } .prose-xl :where(.prose-xl > ol > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 1.2em; } .prose-xl :where(.prose-xl > ol > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-bottom: 1.2em; } .prose-xl :where(ul ul, ul ol, ol ul, ol ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 0.8em; margin-bottom: 0.8em; } .prose-xl :where(dl):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 1.2em; margin-bottom: 1.2em; } .prose-xl :where(dt):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 1.2em; } .prose-xl :where(dd):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 0.6em; padding-inline-start: 1.6em; } .prose-xl :where(hr):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 2.8em; margin-bottom: 2.8em; } .prose-xl :where(hr + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 0; } .prose-xl :where(h2 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 0; } .prose-xl :where(h3 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 0; } .prose-xl :where(h4 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 0; } .prose-xl :where(table):not(:where([class~="not-prose"],[class~="not-prose"] *)) { font-size: 0.9em; line-height: 1.5555556; } .prose-xl :where(thead th):not(:where([class~="not-prose"],[class~="not-prose"] *)) { padding-inline-end: 0.6666667em; padding-bottom: 0.8888889em; padding-inline-start: 0.6666667em; } .prose-xl :where(thead th:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) { padding-inline-start: 0; } .prose-xl :where(thead th:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) { padding-inline-end: 0; } .prose-xl :where(tbody td, tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)) { padding-top: 0.8888889em; padding-inline-end: 0.6666667em; padding-bottom: 0.8888889em; padding-inline-start: 0.6666667em; } .prose-xl :where(tbody td:first-child, tfoot td:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) { padding-inline-start: 0; } .prose-xl :where(tbody td:last-child, tfoot td:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) { padding-inline-end: 0; } .prose-xl :where(figure):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 2em; margin-bottom: 2em; } .prose-xl :where(figure > *):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 0; margin-bottom: 0; } .prose-xl :where(figcaption):not(:where([class~="not-prose"],[class~="not-prose"] *)) { font-size: 0.9em; line-height: 1.5555556; margin-top: 1em; } .prose-xl :where(.prose-xl > :first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 0; } .prose-xl :where(.prose-xl > :last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-bottom: 0; } /** * Utilites * ----------------------------------------------------------------------------- */ .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; } .absolute { position: absolute; } .relative { position: relative; } .inset-0 { inset: 0px; } .-top-48 { top: -12rem; } .-top-5 { top: -1.25rem; } .bottom-0 { bottom: 0px; } .left-1\/2 { left: 50%; } .left-16 { left: 4rem; } .left-44 { left: 11rem; } .left-96 { left: 24rem; } .top-0 { top: 0px; } .top-4 { top: 1rem; } .top-72 { top: 18rem; } .m-0 { margin: 0px; } .m-auto { margin: auto; } .-mx-4 { margin-left: -1rem; margin-right: -1rem; } .-mx-6 { margin-left: -1.5rem; margin-right: -1.5rem; } .mx-auto { margin-left: auto; margin-right: auto; } .my-0 { margin-top: 0px; margin-bottom: 0px; } .-mt-px { margin-top: -1px; } .mb-3 { margin-bottom: 0.75rem; } .mb-4 { margin-bottom: 1rem; } .ml-28 { margin-left: 7rem; } .ml-auto { margin-left: auto; } .mr-2 { margin-right: 0.5rem; } .mt-0 { margin-top: 0px; } .mt-12 { margin-top: 3rem; } .mt-2 { margin-top: 0.5rem; } .mt-4 { margin-top: 1rem; } .mt-8 { margin-top: 2rem; } .block { display: block; } .flex { display: flex; } .inline-flex { display: inline-flex; } .hidden { display: none; } .min-h-screen { min-height: 100vh; } .w-1\/2 { width: 50%; } .w-full { width: 100%; } .max-w-3xl { max-width: 48rem; } .max-w-6xl { max-width: 72rem; } .max-w-\[40rem\] { max-width: 40rem; } .max-w-md { max-width: 28rem; } .max-w-screen-2xl { max-width: 1536px; } .max-w-screen-sm { max-width: 640px; } .flex-shrink { flex-shrink: 1; } .flex-shrink-0 { flex-shrink: 0; } .flex-grow { flex-grow: 1; } .transform { transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); } .cursor-pointer { cursor: pointer; } .flex-col { flex-direction: column; } .items-center { align-items: center; } .justify-center { justify-content: center; } .justify-between { justify-content: space-between; } .gap-2 { gap: 0.5rem; } .gap-4 { gap: 1rem; } .gap-6 { gap: 1.5rem; } .space-y-4 > :not([hidden]) ~ :not([hidden]) { --tw-space-y-reverse: 0; margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse))); margin-bottom: calc(1rem * var(--tw-space-y-reverse)); } .overflow-hidden { overflow: hidden; } .whitespace-nowrap { white-space: nowrap; } .rounded-sm { border-radius: 0.125rem; } .border { border-width: 1px; } .border-0 { border-width: 0px; } .border-b { border-bottom-width: 1px; } .border-gray-200 { --tw-border-opacity: 1; border-color: rgb(226 232 240 / var(--tw-border-opacity)); } .border-gray-300 { --tw-border-opacity: 1; border-color: rgb(203 213 225 / var(--tw-border-opacity)); } .border-primary-200 { --tw-border-opacity: 1; border-color: rgb(199 210 254 / var(--tw-border-opacity)); } .bg-gray-100 { --tw-bg-opacity: 1; background-color: rgb(241 245 249 / var(--tw-bg-opacity)); } .bg-primary-400 { --tw-bg-opacity: 1; background-color: rgb(129 140 248 / var(--tw-bg-opacity)); } .bg-white { --tw-bg-opacity: 1; background-color: rgb(255 255 255 / var(--tw-bg-opacity)); } .bg-gradient-to-b { background-image: linear-gradient(to bottom, var(--tw-gradient-stops)); } .bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); } .from-primary-600 { --tw-gradient-from: #4f46e5 var(--tw-gradient-from-position); --tw-gradient-to: rgb(79 70 229 / 0) var(--tw-gradient-to-position); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); } .from-secondary-500 { --tw-gradient-from: #f43f5e var(--tw-gradient-from-position); --tw-gradient-to: rgb(244 63 94 / 0) var(--tw-gradient-to-position); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); } .to-primary-400 { --tw-gradient-to: #818cf8 var(--tw-gradient-to-position); } .to-secondary-400 { --tw-gradient-to: #fb7185 var(--tw-gradient-to-position); } .px-4 { padding-left: 1rem; padding-right: 1rem; } .px-6 { padding-left: 1.5rem; padding-right: 1.5rem; } .px-7 { padding-left: 1.75rem; padding-right: 1.75rem; } .py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; } .py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; } .py-4 { padding-top: 1rem; padding-bottom: 1rem; } .py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; } .pb-16 { padding-bottom: 4rem; } .pt-10 { padding-top: 2.5rem; } .text-center { text-align: center; } .text-4xl { font-size: 2.25rem; line-height: 2.5rem; } .text-lg { font-size: 1.125rem; line-height: 1.75rem; } .text-sm { font-size: 0.875rem; line-height: 1.25rem; } .text-xl { font-size: 1.25rem; line-height: 1.75rem; } .text-xs { font-size: 0.75rem; line-height: 1rem; } .font-bold { font-weight: 700; } .font-medium { font-weight: 500; } .uppercase { text-transform: uppercase; } .italic { font-style: italic; } .leading-10 { line-height: 2.5rem; } .leading-4 { line-height: 1rem; } .leading-5 { line-height: 1.25rem; } .leading-none { line-height: 1; } .tracking-normal { letter-spacing: 0em; } .text-gray-500 { --tw-text-opacity: 1; color: rgb(100 116 139 / var(--tw-text-opacity)); } .text-white { --tw-text-opacity: 1; color: rgb(255 255 255 / var(--tw-text-opacity)); } .no-underline { text-decoration-line: none; } .shadow-2xl { --tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25); --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color); box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); } .shadow-lg { --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color); box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); } .shadow-none { --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); } .drop-shadow-2xl { --tw-drop-shadow: drop-shadow(0 25px 25px rgb(0 0 0 / 0.15)); filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow); } .filter { filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow); } @media (min-width: 1024px) { .lg\:prose-xl { font-size: 1.25rem; line-height: 1.8; } .lg\:prose-xl :where(p):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 1.2em; margin-bottom: 1.2em; } .lg\:prose-xl :where([class~="lead"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) { font-size: 1.2em; line-height: 1.5; margin-top: 1em; margin-bottom: 1em; } .lg\:prose-xl :where(blockquote):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 1.6em; margin-bottom: 1.6em; padding-inline-start: 1.0666667em; } .lg\:prose-xl :where(h1):not(:where([class~="not-prose"],[class~="not-prose"] *)) { font-size: 2.8em; margin-top: 0; margin-bottom: 0.8571429em; line-height: 1; } .lg\:prose-xl :where(h2):not(:where([class~="not-prose"],[class~="not-prose"] *)) { font-size: 1.8em; margin-top: 1.5555556em; margin-bottom: 0.8888889em; line-height: 1.1111111; } .lg\:prose-xl :where(h3):not(:where([class~="not-prose"],[class~="not-prose"] *)) { font-size: 1.5em; margin-top: 1.6em; margin-bottom: 0.6666667em; line-height: 1.3333333; } .lg\:prose-xl :where(h4):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 1.8em; margin-bottom: 0.6em; line-height: 1.6; } .lg\:prose-xl :where(img):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 2em; margin-bottom: 2em; } .lg\:prose-xl :where(picture):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 2em; margin-bottom: 2em; } .lg\:prose-xl :where(picture > img):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 0; margin-bottom: 0; } .lg\:prose-xl :where(video):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 2em; margin-bottom: 2em; } .lg\:prose-xl :where(kbd):not(:where([class~="not-prose"],[class~="not-prose"] *)) { font-size: 0.9em; border-radius: 0.3125rem; padding-top: 0.25em; padding-inline-end: 0.4em; padding-bottom: 0.25em; padding-inline-start: 0.4em; } .lg\:prose-xl :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *)) { font-size: 0.9em; } .lg\:prose-xl :where(h2 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) { font-size: 0.8611111em; } .lg\:prose-xl :where(h3 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) { font-size: 0.9em; } .lg\:prose-xl :where(pre):not(:where([class~="not-prose"],[class~="not-prose"] *)) { font-size: 0.9em; line-height: 1.7777778; margin-top: 2em; margin-bottom: 2em; border-radius: 0.5rem; padding-top: 1.1111111em; padding-inline-end: 1.3333333em; padding-bottom: 1.1111111em; padding-inline-start: 1.3333333em; } .lg\:prose-xl :where(ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 1.2em; margin-bottom: 1.2em; padding-inline-start: 1.6em; } .lg\:prose-xl :where(ul):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 1.2em; margin-bottom: 1.2em; padding-inline-start: 1.6em; } .lg\:prose-xl :where(li):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 0.6em; margin-bottom: 0.6em; } .lg\:prose-xl :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) { padding-inline-start: 0.4em; } .lg\:prose-xl :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) { padding-inline-start: 0.4em; } .lg\:prose-xl :where(.lg\:prose-xl > ul > li p):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 0.8em; margin-bottom: 0.8em; } .lg\:prose-xl :where(.lg\:prose-xl > ul > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 1.2em; } .lg\:prose-xl :where(.lg\:prose-xl > ul > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-bottom: 1.2em; } .lg\:prose-xl :where(.lg\:prose-xl > ol > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 1.2em; } .lg\:prose-xl :where(.lg\:prose-xl > ol > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-bottom: 1.2em; } .lg\:prose-xl :where(ul ul, ul ol, ol ul, ol ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 0.8em; margin-bottom: 0.8em; } .lg\:prose-xl :where(dl):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 1.2em; margin-bottom: 1.2em; } .lg\:prose-xl :where(dt):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 1.2em; } .lg\:prose-xl :where(dd):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 0.6em; padding-inline-start: 1.6em; } .lg\:prose-xl :where(hr):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 2.8em; margin-bottom: 2.8em; } .lg\:prose-xl :where(hr + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 0; } .lg\:prose-xl :where(h2 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 0; } .lg\:prose-xl :where(h3 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 0; } .lg\:prose-xl :where(h4 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 0; } .lg\:prose-xl :where(table):not(:where([class~="not-prose"],[class~="not-prose"] *)) { font-size: 0.9em; line-height: 1.5555556; } .lg\:prose-xl :where(thead th):not(:where([class~="not-prose"],[class~="not-prose"] *)) { padding-inline-end: 0.6666667em; padding-bottom: 0.8888889em; padding-inline-start: 0.6666667em; } .lg\:prose-xl :where(thead th:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) { padding-inline-start: 0; } .lg\:prose-xl :where(thead th:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) { padding-inline-end: 0; } .lg\:prose-xl :where(tbody td, tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)) { padding-top: 0.8888889em; padding-inline-end: 0.6666667em; padding-bottom: 0.8888889em; padding-inline-start: 0.6666667em; } .lg\:prose-xl :where(tbody td:first-child, tfoot td:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) { padding-inline-start: 0; } .lg\:prose-xl :where(tbody td:last-child, tfoot td:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) { padding-inline-end: 0; } .lg\:prose-xl :where(figure):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 2em; margin-bottom: 2em; } .lg\:prose-xl :where(figure > *):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 0; margin-bottom: 0; } .lg\:prose-xl :where(figcaption):not(:where([class~="not-prose"],[class~="not-prose"] *)) { font-size: 0.9em; line-height: 1.5555556; margin-top: 1em; } .lg\:prose-xl :where(.lg\:prose-xl > :first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 0; } .lg\:prose-xl :where(.lg\:prose-xl > :last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-bottom: 0; } } .open\:border-primary-400[open] { --tw-border-opacity: 1; border-color: rgb(129 140 248 / var(--tw-border-opacity)); } .hover\:border-b:hover { border-bottom-width: 1px; } .hover\:border-primary-300:hover { --tw-border-opacity: 1; border-color: rgb(165 180 252 / var(--tw-border-opacity)); } @media (min-width: 640px) { .sm\:flex-row { flex-direction: row; } } @media (min-width: 768px) { .md\:text-5xl { font-size: 3rem; line-height: 1; } } @media (min-width: 1024px) { .lg\:-bottom-20 { bottom: -5rem; } .lg\:-bottom-28 { bottom: -7rem; } .lg\:-left-16 { left: -4rem; } .lg\:-right-10 { right: -2.5rem; } .lg\:-top-20 { top: -5rem; } .lg\:left-24 { left: 6rem; } .lg\:left-40 { left: 10rem; } .lg\:left-72 { left: 18rem; } .lg\:left-80 { left: 20rem; } .lg\:top-80 { top: 20rem; } .lg\:order-1 { order: 1; } .lg\:mx-0 { margin-left: 0px; margin-right: 0px; } .lg\:block { display: block; } .lg\:flex { display: flex; } .lg\:hidden { display: none; } .lg\:aspect-\[5\/7\] { aspect-ratio: 5/7; } .lg\:w-full { width: 100%; } .lg\:min-w-\[40rem\] { min-width: 40rem; } .lg\:max-w-none { max-width: none; } .lg\:flex-row { flex-direction: row; } .lg\:items-end { align-items: flex-end; } .lg\:justify-between { justify-content: space-between; } .lg\:bg-transparent { background-color: transparent; } .lg\:p-0 { padding: 0px; } .lg\:py-0 { padding-top: 0px; padding-bottom: 0px; } .lg\:py-20 { padding-top: 5rem; padding-bottom: 5rem; } .lg\:pr-20 { padding-right: 5rem; } .lg\:pt-16 { padding-top: 4rem; } .lg\:text-left { text-align: left; } .lg\:text-5xl { font-size: 3rem; line-height: 1; } .lg\:leading-tight { line-height: 1.25; } .lg\:text-gray-400 { --tw-text-opacity: 1; color: rgb(148 163 184 / var(--tw-text-opacity)); } } ================================================ FILE: src/components/article/article.tsx ================================================ import { ArticleContent, ArticleImage, ArticleMedia, ArticleTitle } from '@/components/article' import { cn } from '@/utils/cn' import type { PropsWithChildren } from 'react' import invariant from 'tiny-invariant' function Article({ className, children, imageAlt, imageSrc, title, }: PropsWithChildren<{ className?: string imageAlt?: string imageSrc?: string title: string }>) { if (imageSrc) { invariant(imageAlt, 'Image alt text is required.') } return (
{title}
{children}
{imageSrc && ( )}
) } export default Article ================================================ FILE: src/components/article/content.tsx ================================================ import { cn } from '@/utils/cn' import type { PropsWithChildren } from 'react' function Content({ children, className, }: PropsWithChildren<{ className?: string }>) { return (
{children}
) } export default Content ================================================ FILE: src/components/article/image.tsx ================================================ import { cn } from '@/utils/cn' function Image({ alt, className, height, src, width, }: { alt: string className?: string height?: number src: string width?: number }) { return ( {alt} ) } export default Image ================================================ FILE: src/components/article/index.ts ================================================ export { default as Article } from './article' export { default as ArticleContent } from './content' export { default as ArticleImage } from './image' export { default as ArticleMedia } from './media' export { default as ArticleTitle } from './title' ================================================ FILE: src/components/article/media.tsx ================================================ import { cn } from '@/utils/cn' import type { PropsWithChildren } from 'react' function Media({ as: Tag = 'figure', children, className, }: PropsWithChildren<{ as?: keyof JSX.IntrinsicElements className?: string }>) { return ( {children} ) } export default Media ================================================ FILE: src/components/article/title.tsx ================================================ import { cn } from '@/utils/cn' import type { PropsWithChildren } from 'react' function Title({ children, className }: PropsWithChildren<{ className?: string }>) { return (

{children}

) } export default Title ================================================ FILE: src/components/footer/footer.tsx ================================================ import { Menu } from '@/components/menu' import { SocialLinks } from '@/components/social-links' function Footer() { return ( ) } export default Footer ================================================ FILE: src/components/footer/index.ts ================================================ export { default as Footer } from './footer' ================================================ FILE: src/components/gradient/gradient.tsx ================================================ import { cn } from '@/utils/cn' function Gradient({ className }: { className?: string }) { return
} export default Gradient ================================================ FILE: src/components/gradient/index.ts ================================================ export { default as Gradient } from './gradient' ================================================ FILE: src/components/header/header.tsx ================================================ import { Logo } from '@/components/logo' import { Link } from 'react-router-dom' function Header({ title }: { title?: string }) { return (

{title}

) } export default Header ================================================ FILE: src/components/header/index.ts ================================================ export { default as Header } from './header' ================================================ FILE: src/components/hero/hero.tsx ================================================ import { NewsletterForm } from '@/components/newsletter-form' import { cn } from '@/utils/cn' import type { ReactNode } from 'react' import { useEffect, useRef } from 'react' import ScrollReveal from 'scrollreveal' type ScrollRevealRefElement = HTMLDivElement | HTMLHeadingElement | HTMLParagraphElement function Hero({ className, content, illustration, title, }: { className?: string content: string illustration?: ReactNode title: string }) { const scrollRevealRef = useRef([]) useEffect(() => { if (scrollRevealRef.current.length > 0) { scrollRevealRef.current.map((ref) => ScrollReveal().reveal(ref, { duration: 1000, distance: '40px', easing: 'cubic-bezier(0.5, -0.01, 0, 1.005)', origin: 'top', interval: 150, }), ) } return () => ScrollReveal().destroy() }, []) function onNewsletterSubmit(values: any) { return new Promise((resolve) => { setTimeout(() => { resolve({ values }) }, 1000) }) } const addToScrollRevealRef = (el: ScrollRevealRefElement) => { scrollRevealRef.current.push(el) } return (

{title}

{content}

{!!illustration && (
{illustration}
)}
) } export default Hero ================================================ FILE: src/components/hero/illustration.tsx ================================================ import { Gradient } from '@/components/gradient' import { useEffect, useRef } from 'react' import ScrollReveal from 'scrollreveal' function Illustration({ className }: { className?: string }) { const scrollRevealOneRef = useRef([]) const scrollRevealTwoRef = useRef([]) const addToScrollRevealOneRef = (el) => { scrollRevealOneRef.current.push(el) } const addToScrollRevealTwoRef = (el) => { scrollRevealTwoRef.current.push(el) } useEffect(() => { if (scrollRevealOneRef.current.length > 0) { scrollRevealOneRef.current.map((ref) => ScrollReveal().reveal(ref, { delay: 1000, duration: 1400, distance: '40px', easing: 'cubic-bezier(0.5, -0.01, 0, 1.005)', origin: 'bottom', interval: 200, }), ) } if (scrollRevealTwoRef.current.length > 0) { scrollRevealTwoRef.current.map((ref) => ScrollReveal().reveal(ref, { delay: 400, duration: 600, distance: '40px', easing: 'cubic-bezier(0.5, -0.01, 0, 1.005)', origin: 'right', interval: 150, }), ) } return () => ScrollReveal().destroy() }, []) return (
) } export default Illustration ================================================ FILE: src/components/hero/index.ts ================================================ export { default as Hero } from './hero' export { default as HeroIllustration } from './illustration' ================================================ FILE: src/components/layout/index.ts ================================================ export { default as Layout } from './layout' ================================================ FILE: src/components/layout/layout.tsx ================================================ import type { PropsWithChildren } from 'react' import { Footer } from '@/components/footer' import { Gradient } from '@/components/gradient' import { Header } from '@/components/header' import { cn } from '@/utils/cn' function Layout({ children, className, }: PropsWithChildren<{ className?: string }>) { return (
{children}
) } export default Layout ================================================ FILE: src/components/logo/index.ts ================================================ export { default as Logo } from './logo' ================================================ FILE: src/components/logo/logo.tsx ================================================ function Logo({ className }: { className?: string }) { return ( ) } export default Logo ================================================ FILE: src/components/menu/index.tsx ================================================ export { default as Menu } from './menu' ================================================ FILE: src/components/menu/menu-item.tsx ================================================ import { NavLink } from 'react-router-dom' function MenuItem({ name, to }: { name: string; to: string }) { return (
  • isActive ? 'border-b text-white' : 'text-white hover:border-b' } to={to} > {name}
  • ) } export default MenuItem ================================================ FILE: src/components/menu/menu.tsx ================================================ import MenuItem from '@/components/menu/menu-item' const MENU_ITEMS = [ { name: 'Contact', to: '/contact' }, { name: 'About Us', to: '/about' }, { name: "FAQ's", to: '/faqs' }, { name: 'Support', to: '/support' }, ] function Menu({ className }: { className?: string }) { return (
      {MENU_ITEMS.map((link) => ( ))}
    ) } export default Menu ================================================ FILE: src/components/newsletter-form/index.ts ================================================ export { default as NewsletterForm } from './newsletter-form' ================================================ FILE: src/components/newsletter-form/newsletter-form.tsx ================================================ import { cn } from '@/utils/cn' import type { ChangeEvent, FormEvent } from 'react' import { useState } from 'react' function NewsletterForm({ className, onSubmit, submitText = 'Submit', }: { className?: string onSubmit: (email: string) => Promise submitText?: string }) { const [email, setEmail] = useState('') const [success, setSuccess] = useState(false) async function handleSubmit(event: FormEvent) { event.preventDefault() const result = await onSubmit(email) console.log(result) setEmail('') setSuccess(true) } function handleChange(event: ChangeEvent) { setEmail(event.target.value) } return (
    {success && (
    Email submitted successfully!
    )}
    ) } export default NewsletterForm ================================================ FILE: src/components/scroll-to-top/index.ts ================================================ export { default as ScrollToTop } from './scroll-to-top' ================================================ FILE: src/components/scroll-to-top/scroll-to-top.tsx ================================================ import type { PropsWithChildren } from 'react' import { Fragment, useLayoutEffect } from 'react' import { useLocation } from 'react-router-dom' function ScrollToTop({ children }: PropsWithChildren) { const { pathname } = useLocation() useLayoutEffect(() => { window.scrollTo(0, 0) }, [pathname]) return {children} } export default ScrollToTop ================================================ FILE: src/components/social-links/constants.ts ================================================ export const SOCIAL_LINKS = [ { name: `Facebook`, url: `https://facebook.com`, svg: ``, }, { name: `Google`, url: `https://google.com`, svg: ``, }, { name: `Twitter`, url: `https://twitter.com`, svg: ``, }, ] ================================================ FILE: src/components/social-links/index.ts ================================================ export { default as SocialLinks } from './social-links' ================================================ FILE: src/components/social-links/social-link.tsx ================================================ import { SOCIAL_LINKS } from '@/components/social-links/constants' function SocialLink({ link }: { link: (typeof SOCIAL_LINKS)[number] }) { return (
  • {link.name}
  • ) } export default SocialLink ================================================ FILE: src/components/social-links/social-links.tsx ================================================ import { SOCIAL_LINKS } from '@/components/social-links/constants' import MenuItem from '@/components/social-links/social-link' import { cn } from '@/utils/cn' function SocialLinks({ className }: { className?: string }) { return (
      {SOCIAL_LINKS.map((link) => ( ))}
    ) } export default SocialLinks ================================================ FILE: src/index.html ================================================ Holly Template
    ================================================ FILE: src/index.tsx ================================================ import React from 'react' import { createRoot } from 'react-dom/client' import App from './app' import './assets/styles.css' const root = document.getElementById('root') as HTMLElement createRoot(root).render( , ) ================================================ FILE: src/routes/about.tsx ================================================ import { Article } from '@/components/article' import { Layout } from '@/components/layout' function AboutPage() { return (
    {/* prettier-ignore */}

    Holly is a free HTML/CSS landing page designed and developed by @pacovitiello and @DavidePacilio!

    Holly is suitable for all kind of startups, it's easily customizable, and it's downloadable for personal and commercial use.

    This template is distributed under the MIT License.

    ) } export default AboutPage ================================================ FILE: src/routes/contact.tsx ================================================ import { Article } from '@/components/article' import { Layout } from '@/components/layout' export default function ContactPage() { return (
    Add your contact information here.
    ) } ================================================ FILE: src/routes/faqs.tsx ================================================ import { Article } from '@/components/article' import { Layout } from '@/components/layout' export default function FaqsPage() { return (

    Add your FAQ content here.

    What is Holly?

    Holly is a free HTML/CSS landing page designed and developed by{' '} @pacovitiello and{' '} @DavidePacilio!

    Holly is suitable for all kind of startups, it's easily customizable, and it's downloadable for personal and commercial use.

    How can I use Holly?

    Holly is licensed under the MIT License, which means you can use it for personal and commercial projects for free.

    You can also modify Holly to your needs, but you can't redistribute it or sell it as a template.

    Can I contribute to Holly?

    Yes, you can! Holly is an open source project, and you can contribute to it on{' '} GitHub.

    ) } ================================================ FILE: src/routes/home.tsx ================================================ import { Hero, HeroIllustration } from '@/components/hero' import { Layout } from '@/components/layout' export default function HomePage() { return ( } /> ) } ================================================ FILE: src/routes/support.tsx ================================================ import { Article } from '@/components/article' import { Layout } from '@/components/layout' import { useState } from 'react' export default function SupportPage() { const [success, setSuccess] = useState(false) function handleClick(e) { e.preventDefault() setSuccess(true) } return (

    Add your support content here.