Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
pontusab committed May 15, 2024
1 parent fd498b8 commit b62f403
Show file tree
Hide file tree
Showing 12 changed files with 20 additions and 9 deletions.
Binary file modified apps/website/public/screen-1.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/website/public/screen-2.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/website/public/screen-3.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/website/public/screen-4.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/website/public/screen-5.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion apps/website/src/actions/fetch-stats.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export async function fetchStats() {
},
["stats"],
{
revalidate: 300,
revalidate: 800,
tags: ["stats"],
}
)();
Expand Down
5 changes: 4 additions & 1 deletion apps/website/src/components/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,10 @@ export function Header() {
</svg>
</button>

<a className="text-sm font-medium" href="https://app.midday.ai">
<a
className="text-sm font-medium pr-2 border-l-[1px] border-border pl-4"
href="https://app.midday.ai"
>
Sign in
</a>
</nav>
Expand Down
6 changes: 5 additions & 1 deletion apps/website/src/components/hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,11 @@ export function Hero() {
</div>

<p className="text-xs text-[#707070] mt-6 font-mono">
Used by over <span className="underline">2800+</span> businesses.
Used by over{" "}
<Link href="/open-startup">
<span className="underline">2800+</span>
</Link>{" "}
businesses.
</p>
</div>

Expand Down
5 changes: 5 additions & 0 deletions apps/website/src/components/screens.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export function Screens() {
width={1031}
height={670}
priority
className="border border-border"
/>
),
},
Expand All @@ -44,6 +45,7 @@ export function Screens() {
src={screen2}
width={1031}
height={670}
className="border border-border"
/>
),
},
Expand All @@ -57,6 +59,7 @@ export function Screens() {
src={screen3}
width={1031}
height={670}
className="border border-border"
/>
),
},
Expand All @@ -70,6 +73,7 @@ export function Screens() {
src={screen4}
width={1031}
height={670}
className="border border-border"
/>
),
},
Expand All @@ -83,6 +87,7 @@ export function Screens() {
src={screen5}
width={1031}
height={670}
className="border border-border"
/>
),
},
Expand Down
2 changes: 1 addition & 1 deletion apps/website/src/components/section-four.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export function SectionFour() {
return (
<section className="flex justify-between space-y-12 md:space-y-0 md:space-x-8 flex-col md:flex-row overflow-hidden mb-12">
<div className="border border-border basis-1/3 bg-[#121212] p-10 md:text-center flex flex-col">
<span className="text-primary border border-primary rounded-full self-start font-semibold px-3 text-xs py-1.5 mb-4">
<span className="text-[#F5F5F3] border border-border rounded-full self-start font-medium font-mono px-3 text-xs py-1.5 mb-4 bg-[#1D1D1D]">
Coming soon
</span>
<h4 className="font-medium text-xl md:text-2xl mb-4">Invoicing</h4>
Expand Down
4 changes: 2 additions & 2 deletions apps/website/src/components/section-six.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ export function SectionSix() {
/>

<div className="mt-6 md:max-w-[40%] md:ml-8">
<span className="text-primary border border-primary rounded-full self-start font-semibold px-3 text-xs py-1.5 mb-4">
<span className="text-[#F5F5F3] border border-border rounded-full self-start font-medium font-mono px-3 text-xs py-1.5 mb-4 bg-[#1D1D1D]">
Coming soon
</span>

<h3 className="font-medium text-xl md:text-2xl mt-4 mb-4">
<h3 className="font-medium text-xl md:text-2xl mt-8 mb-4">
Your Virtual CFO
</h3>

Expand Down
5 changes: 2 additions & 3 deletions apps/website/src/components/updates-toolbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ const popupCenter = ({ url, title, w, h }) => {
export function UpdatesToolbar({ posts }) {
const pathname = usePathname();
const currentIndex = posts.findIndex((a) => pathname.endsWith(a.slug)) ?? 0;
const views = 100;

const currentPost = posts[currentIndex];

Expand All @@ -86,8 +85,8 @@ export function UpdatesToolbar({ posts }) {
}
};

useHotkeys("arrowDown", () => handleNext(), [handleNext]);
useHotkeys("arrowUp", () => handlePrev(), [handlePrev]);
useHotkeys("arrowRight", () => handleNext(), [handleNext]);
useHotkeys("arrowLeft", () => handlePrev(), [handlePrev]);

const handleOnShare = () => {
const popup = popupCenter({
Expand Down

0 comments on commit b62f403

Please sign in to comment.