Skip to content

Commit

Permalink
Tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
GregBrimble committed May 12, 2020
1 parent def4631 commit f767360
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 17 deletions.
4 changes: 2 additions & 2 deletions packages/client/src/components/Settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export const Settings = forwardRef((props, ref) => {
</dt>
<dd>Required to deploy Workers scripts</dd>
<dt className="font-medium mt-2 first:mt-0">
Account → Workers Routes → Edit
Zone → Workers Routes → Edit
</dt>
<dd>
Required to deploy Workers scripts to a given
Expand All @@ -165,7 +165,7 @@ export const Settings = forwardRef((props, ref) => {
</dt>
<dd>Required to read workers.dev subdomain</dd>
<dt className="font-medium mt-2 first:mt-0">
Account → User Details → Read
User → User Details → Read
</dt>
<dd>
Required to fetch basic user information
Expand Down
14 changes: 4 additions & 10 deletions packages/client/src/pages/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const Home = () => {
<div className="max-w-none mx-auto">
<div className="bg-white overflow-hidden rounded-lg shadow">
<div className="bg-white px-4 py-5 sm:px-6">
<div className="py-16 bg-gray-50 overflow-hidden">
<div className="py-16 overflow-hidden">
<div className="relative max-w-xl mx-auto px-4 sm:px-6 lg:px-8 lg:max-w-screen-xl">
<div className="relative">
<h3 className="text-center text-3xl leading-8 font-extrabold tracking-tight text-gray-900 sm:text-4xl sm:leading-10">
Expand Down Expand Up @@ -344,12 +344,6 @@ export const Home = () => {
<span className="text-2xl font-extrabold">
Coming soon!
</span>
<img
className="relative mx-auto"
width="490"
src="/img/features/feature-example-2.png"
alt=""
/>
</div>
</div>
</div>
Expand All @@ -362,12 +356,12 @@ export const Home = () => {
</h2>
<div className="mt-8 flex lg:flex-shrink-0 lg:mt-0">
<div className="ml-3 inline-flex rounded-md shadow">
<Link
to="/accounts"
<a
href="/accounts"
className="inline-flex items-center justify-center px-5 py-3 border border-transparent text-base leading-6 font-medium rounded-md text-white bg-indigo-600 hover:bg-indigo-500 focus:outline-none focus:shadow-outline transition duration-150 ease-in-out"
>
Get started
</Link>
</a>
</div>
</div>
</div>
Expand Down
10 changes: 5 additions & 5 deletions packages/server/src/datastores/CloudflareDatastore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ import { CloudflareWorkersKVDatastore } from "@kv-orm/cf-workers";
export const CloudflareDatastore = new CloudflareWorkersKVDatastore(
CLOUDFLARE,
{
optionsGenerator: (key, value) => {
return {
expirationTtl: 120,
};
},
// optionsGenerator: (key, value) => {
// return {
// expirationTtl: 120,
// };
// },
}
);

0 comments on commit f767360

Please sign in to comment.