Skip to content

Commit

Permalink
Migrate and redesign website (#398)
Browse files Browse the repository at this point in the history
* add initial web redesign

* add emote marquee

* add faq section

* tweak copy

* tweak faq styles

* update video and style tweaks

* add header links

* fix bg color

* tweak styles

* delete old image

* update metadata and favicon

* add ogimage

* update faq

* upgrade packages
  • Loading branch information
tommyxchow authored Sep 16, 2024
1 parent 07c23e6 commit c7d6de8
Show file tree
Hide file tree
Showing 31 changed files with 4,544 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*.js
*.mjs
24 changes: 24 additions & 0 deletions web/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"parserOptions": {
"project": true
},
"extends": [
"eslint:recommended",
"plugin:jsx-a11y/recommended",
"next/core-web-vitals",
"plugin:@typescript-eslint/recommended-type-checked",
"plugin:@typescript-eslint/stylistic-type-checked",
"prettier"
],
"rules": {
"jsx-a11y/control-has-associated-label": "warn",
"@typescript-eslint/consistent-type-imports": [
"warn",
{ "fixStyle": "inline-type-imports" }
],
"@typescript-eslint/no-misused-promises": [
"error",
{ "checksVoidReturn": { "attributes": false } }
]
}
}
36 changes: 36 additions & 0 deletions web/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js
.yarn/install-state.gz

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# local env files
.env*.local

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts
1 change: 1 addition & 0 deletions web/.prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pnpm-lock.yaml
5 changes: 5 additions & 0 deletions web/.prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"singleQuote": true,
"jsxSingleQuote": true,
"plugins": ["prettier-plugin-organize-imports", "prettier-plugin-tailwindcss"]
}
21 changes: 21 additions & 0 deletions web/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2023 Tommy Chow

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
36 changes: 36 additions & 0 deletions web/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# [next-template](https://github.com/tommyxchow/next-template)

A tailored Next.js template project for getting started quickly.

## Why

I spend a bit of tme repeating the same steps when setting up Next.js projects. This template builds upon [`create-next-app`](https://nextjs.org/docs/pages/api-reference/create-next-app) to include my essential packages, configurations, linting rules, and more by default.

## Features

- Precofigured packages
- Preconfigured ESLint and Prettier rules
- Default boilerplate removed
- Dark mode support
- Formatted README

## Stack

- [Next.js](https://nextjs.org/)
- [next-themes](https://github.com/pacocoursey/next-themes)
- [Tailwind CSS](https://tailwindcss.com/) (with [Forms](https://github.com/tailwindlabs/tailwindcss-forms) and [Typography](https://tailwindcss.com/docs/typography-plugin) plugins)
- [tailwind-merge](https://github.com/dcastil/tailwind-merge)

## Setup

Setup instructions are here if necessary. Usually adding environment variables like so:

```plaintext
# .env.local
CLIENT_ID=
SECRET=
```

## License

next-template is licensed under [MIT](LICENSE).
4 changes: 4 additions & 0 deletions web/next.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/** @type {import('next').NextConfig} */
const nextConfig = {};

export default nextConfig;
40 changes: 40 additions & 0 deletions web/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"name": "frostyapp.io",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint"
},
"dependencies": {
"next": "^14.2.11",
"next-themes": "^0.3.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-fast-marquee": "^1.6.5",
"react-icons": "^5.3.0",
"tailwind-merge": "^2.5.2"
},
"devDependencies": {
"@tailwindcss/forms": "^0.5.9",
"@tailwindcss/typography": "^0.5.15",
"@types/node": "^22.5.5",
"@types/react": "^18.3.5",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^8.5.0",
"@typescript-eslint/parser": "^8.5.0",
"autoprefixer": "^10.4.20",
"eslint": "^8.57.0",
"eslint-config-next": "^14.2.11",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jsx-a11y": "^6.10.0",
"postcss": "^8.4.47",
"prettier": "^3.3.3",
"prettier-plugin-organize-imports": "^4.0.0",
"prettier-plugin-tailwindcss": "^0.6.6",
"tailwindcss": "^3.4.11",
"typescript": "^5.6.2"
}
}
Loading

0 comments on commit c7d6de8

Please sign in to comment.