{"id":13433860,"url":"https://github.com/tomsoderlund/nextjs-generic-landing-page","last_synced_at":"2026-01-31T17:54:21.168Z","repository":{"id":42175035,"uuid":"218279764","full_name":"tomsoderlund/nextjs-generic-landing-page","owner":"tomsoderlund","description":"A generic landing page template, built in Next.js (React) with static HTML export","archived":false,"fork":false,"pushed_at":"2023-01-09T17:28:59.000Z","size":18250,"stargazers_count":13,"open_issues_count":2,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-28T16:13:48.659Z","etag":null,"topics":["boilerplate","landing-page","nextjs","react","reactjs","template","zeit-now"],"latest_commit_sha":null,"homepage":"https://nextjs-generic-landing-page.vercel.app/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tomsoderlund.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-10-29T12:17:50.000Z","updated_at":"2024-03-08T15:10:41.000Z","dependencies_parsed_at":"2023-02-08T13:16:05.879Z","dependency_job_id":null,"html_url":"https://github.com/tomsoderlund/nextjs-generic-landing-page","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomsoderlund%2Fnextjs-generic-landing-page","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomsoderlund%2Fnextjs-generic-landing-page/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomsoderlund%2Fnextjs-generic-landing-page/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomsoderlund%2Fnextjs-generic-landing-page/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tomsoderlund","download_url":"https://codeload.github.com/tomsoderlund/nextjs-generic-landing-page/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244041440,"owners_count":20388239,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["boilerplate","landing-page","nextjs","react","reactjs","template","zeit-now"],"created_at":"2024-07-31T02:01:38.335Z","updated_at":"2026-01-31T17:54:21.109Z","avatar_url":"https://github.com/tomsoderlund.png","language":"JavaScript","funding_links":["https://ko-fi.com/tomsoderlund"],"categories":["JavaScript"],"sub_categories":[],"readme":"# Next.js generic landing page template\n\nA generic landing page template, built in Next.js (React) with static HTML export.\n\nCan be used as:\n\n1. Hosted Next.js site\n2. Use `yarn export` to export pure HTML pages\n\n_Note: if you need a template for a complete PWA web app (with database etc) in Next.js, check out [nextjs-pwa-firebase-boilerplate](https://github.com/tomsoderlund/nextjs-pwa-firebase-boilerplate)._\n\n![nextjs-generic-landing-page](docs/nextjs-generic-landing-page.gif)\n\n\n## Support this project\n\nDid you or your company find `nextjs-generic-landing-page` useful? Please consider giving a small donation, it helps me spend more time on open-source projects:\n\n[![Support Tom on Ko-Fi.com](https://www.tomsoderlund.com/ko-fi_tomsoderlund_50.png)](https://ko-fi.com/tomsoderlund)\n\n\n## Why is this awesome?\n\nThis is a great template for a any project where you want **React** (with **static site generation (SSG)** or **server-side rendering (SSR)**, powered by [Next.js](https://github.com/zeit/next.js)) as frontend. *Lightning fast, all JavaScript.*\n\n* Great starting point for a landing page or simple website.\n* Use `yarn export` to export pure HTML pages.\n* Prepared for PWA features with a `manifest.json`.\n* Can use SSG `getStaticProps` or SSR `getServerSideProps`.\n* Easy to style the visual theme using CSS (e.g. using [Design Profile Generator](https://tomsoderlund.github.io/design-profile-generator/)).\n* Google Analytics and `google-site-verification` support (see `config/config.js`).\n* Flexible configuration with `config/config.js` and `.env.local` file.\n* Code linting and formatting with StandardJS (`yarn lint`/`yarn fix`).\n* Unit testing with Jasmine (`yarn unit`, not yet included).\n* Good page speed, see [Lighthouse](https://developers.google.com/web/tools/lighthouse) score:\n\n![Lighthouse score](docs/lighthouse_score.png)\n\n\n## Demo\n\n[Demo of nextjs-generic-landing-page hosted on Vercel](https://nextjs-generic-landing-page.vercel.app/)\n\n\n## How to use\n\n### How to use 1: Clone the entire project\n\nClone this repository:\n\n    git clone https://github.com/tomsoderlund/nextjs-generic-landing-page.git [MY_APP]\n\nRemove the `.git` folder (since you want to create a new repository) and other template stuff:\n\n    rm -rf .git docs/ public/features/*.jpg\n\nInstall dependencies:\n\n    cd [MY_APP]\n    yarn  # or npm install\n\nRun:\n\n    yarn dev\n\nExport static HTML:\n\n    yarn export\n\nTest the static HTML:\n\n    cd out\n    python -m SimpleHTTPServer\n\n### How to use 2: Import just the components you need\n\nhttps://www.npmjs.com/package/nextjs-generic-landing-page\n\n    yarn add nextjs-generic-landing-page  # or npm install nextjs-generic-landing-page\n\nThen in your code:\n\n    import { Headline, Video } from 'nextjs-generic-landing-page'\n\n    \u003cHeadline\n      title='My Website'\n      description='Maybe the best website ever'\n    /\u003e\n\nSee [pages/index.js](pages/index.js) for examples on how to use the components.\n\n### Styling\n\nModify `public/theme.css` (`public/app.css` is more structural).\n\nYou can add fonts in `components/page/PageHead.js`.\n\n### Removing landing page components\n\nIf you want to use this as a Next.js boilerplate, without landing page stuff:\n\n    rm pages/standalone.js\n    rm components/index.js\n    rm -rf components/landing\n    rm -rf components/social\n\n\n## Update the NPM package\n\n    yarn publish  # will run 'yarn prepublish' before\n\n\n## Todo:\n\n- [ ] Make it look more like https://airfocus.com/\n- Components\n    - [x] Title/Tagline\n    - [x] Footer\n    - [x] Signup form\n    - [x] Image\n    - [x] Video\n    - [x] 3 features\n    - [x] Google Analytics with page \u0026 event logging\n    - [x] Pricing/product comparison table\n    - [x] Testimonials (3 people)\n    - [ ] Login link\n    - [x] [React Social Share \u0026 Follow](https://github.com/tomsoderlund/react-share-follow)\n    - [ ] Try the app (interactive)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomsoderlund%2Fnextjs-generic-landing-page","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomsoderlund%2Fnextjs-generic-landing-page","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomsoderlund%2Fnextjs-generic-landing-page/lists"}