message: docs: update front page docs
diff: @@ -123,6 +123,32 @@ myNextApplication:
  Make sure you add CloudWatch log permissions to your custom policy.
  +### Lambda memory
  +
  +Both **default** and **api** lambdas will be assigned 512mb of memory by default. This value can be altered by assigning a number to the `memory` input
  +
  +```yml
  +# serverless.yml
  +
  +myNextApplication:
  + component: serverless-next.js
  + inputs:
  + memory: 1024
  +```
  +
  +Values for **default** and **api** lambdas can be separately defined by assigning `memory` to an object like so:
  +
  +```yml
  +# serverless.yml
  +
  +myNextApplication:
  + component: serverless-next.js
  + inputs:
  + memory:
  + defaultLambda: 1024
  + apiLambda: 2048
  +```
  +
  ### Architecture
  ![architecture](./arch_no_grid.png)
  @@ -146,11 +172,12 @@ The fourth cache behaviour handles next API requests `api/*`.
  ### Inputs
  | Name | Type | Default Value | Description |
  -| ------------- | --------- | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- |
  +| ------------- | -------------------- | ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | domain | `Array` | `null` | For example `['admin', 'portal.com']`. |
  | bucketName | `string` | `null` | Custom bucket name where static assets are stored. By default is autogenerated. |
  | nextConfigDir | `string` | `.` | Directory where your application `next.config.js` file is. This input is useful when the `serverless.yml` is not in the same directory as the next app. |
  | build | `boolean` | `true` | When true builds and deploys app, when false assume the app has been built and uses the .next .serverless_nextjs directories in nextConfigDir to deploy |
  +| memory | `number` or `object` | `512` | When assigned a number, both the default and api lambdas will assigned memory of that value. When assigned to an object, values for the default and api lambdas can be separately defined |
  Custom inputs can be configured like this:
  