diff --git a/README.md b/README.md index c2c18f4..6ef8090 100644 --- a/README.md +++ b/README.md @@ -1,23 +1,14 @@ -# Progressive Web App Example +# Репозиторий команды Asteri -This example uses [`next-pwa`](https://github.com/shadowwalker/next-pwa) to create a progressive web app (PWA) powered by [Workbox](https://developers.google.com/web/tools/workbox/). +This app uses [`next-pwa`](https://github.com/shadowwalker/next-pwa) to create a progressive web app (PWA) powered by [Workbox](https://developers.google.com/web/tools/workbox/). -## Deploy your own - -Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=next-example): - -[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/git/external?repository-url=https://github.com/vercel/next.js/tree/canary/examples/progressive-web-app&project-name=progressive-web-app&repository-name=progressive-web-app) - -## How to use - -Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init), [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/), or [pnpm](https://pnpm.io) to bootstrap the example: +## Как использовать ```bash -npx create-next-app --example progressive-web-app progressive-web-app -# or -yarn create next-app --example progressive-web-app progressive-web-app -# or -pnpm create next-app --example progressive-web-app progressive-web-app +# Режим разработки +npm run dev +# Генерация статических файлов +npm run build +# Запуск в продакшен +nmp run start ``` - -Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). diff --git a/pages/_app.tsx b/pages/_app.tsx index 3601ddf..1c52276 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -1,6 +1,6 @@ -import Head from 'next/head' -import '../styles/globals.css' -import { AppProps } from 'next/app' +import Head from "next/head"; +import "../styles/globals.css"; +import { AppProps } from "next/app"; export default function MyApp({ Component, pageProps }: AppProps) { return ( @@ -14,7 +14,7 @@ export default function MyApp({ Component, pageProps }: AppProps) { /> - Next.js PWA Example + Asteri - Vostok - ) + ); } diff --git a/pages/index.tsx b/pages/index.tsx index c7aef70..7efa7a1 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -1,59 +1,11 @@ -import styles from '../styles/Home.module.css' +import styles from "../styles/Home.module.css"; export default function Home() { return (
-

- Welcome to Next.js! -

- -

- Get started by editing{' '} - pages/index.js -

- -
- -

Documentation →

-

Find in-depth information about Next.js features and API.

-
- - -

Learn →

-

Learn about Next.js in an interactive course with quizzes!

-
- - -

Examples →

-

Discover and deploy boilerplate example Next.js projects.

-
- - -

Deploy →

-

- Instantly deploy your Next.js site to a public URL with Vercel. -

-
-
+
Привет мир!
- -
- ) + ); } diff --git a/public/manifest.json b/public/manifest.json index d19b49f..62133b7 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -1,6 +1,6 @@ { - "name": "Next.JS Progressive Web App", - "short_name": "Next PWA", + "name": "Asteri - Vostok", + "short_name": "Flow", "theme_color": "#ffffff", "background_color": "#004740", "display": "fullscreen",