Skip to content

Commit

Permalink
update version, add store page, update stackblitz
Browse files Browse the repository at this point in the history
  • Loading branch information
rsaz committed Aug 21, 2024
1 parent d41211e commit 7b0ac9e
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 12 deletions.
4 changes: 2 additions & 2 deletions src/app/(home)/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default function Home() {
<div className="relative flex min-h-[calc(85vh)] w-full flex-col items-center justify-center">
<div className="absolute left-1/2 top-24 z-40 -translate-x-1/2 -translate-y-1/2 transform">
<Tip className="animate-showup text-sm text-neutral-6 transition-shadow">
🎉 Production version v2.15
🎉 Production version v2.16
</Tip>
</div>
<div className="mt-32 flex h-full flex-col items-center justify-center gap-4 sm:mt-0">
Expand All @@ -43,7 +43,7 @@ export default function Home() {
<span>highly maintainable server-side applications.</span>
</p>
<div className="mt-10 flex flex-col items-center justify-center gap-4 md:flex-row">
<LinkButton href="https://doc.expresso-ts.com/docs/hello">Get Started</LinkButton>
<LinkButton href="https://doc.expresso-ts.com/">Get Started</LinkButton>
<CopyInstalation code="npm i -g @expressots/cli" />
</div>
{/* <ProductHuntBadge /> */}
Expand Down
6 changes: 3 additions & 3 deletions src/app/showcase/page.tsx → src/app/store/page.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { Container } from '@/components'

export default function Showcase() {
export default function Store() {
return (
<Container>
<div className="mx-auto min-h-[calc(85vh)] px-4 py-16 sm:max-w-xl md:max-w-full md:px-24 lg:max-w-screen-xl lg:px-8 lg:py-20">
<div className="my-10 max-w-xl sm:text-center md:mx-auto md:mb-12 lg:max-w-3xl">
<div>
<h2 className="bg-teal-accent-400 mb-4 inline-block rounded-full px-3 py-px font-semibold uppercase tracking-wider ">
ShowCase
App Store
</h2>
</div>
<h2 className="mb-6 max-w-lg font-sans text-3xl font-bold leading-none tracking-tight text-gray-900 sm:text-4xl md:mx-auto">
Expand All @@ -32,7 +32,7 @@ export default function Showcase() {
</svg>
<span className="relative mr-2 bg-base-6 px-2 text-base-12">ExpressoTS</span>
</span>
<span className="text-base-6">Project Showcases</span>
<span className="text-base-6">Provider Apps</span>
</h2>
<p className="mt-4 text-base text-base-2 md:text-lg">Under development.</p>
</div>
Expand Down
3 changes: 2 additions & 1 deletion src/components/Blitzcode/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ const BlitzCode = () => {
if (Number(width) >= 769 && !loadedSdk) {
sdk.embedProjectId('expressots-example-code', 'expressots', {
forceEmbedLayout: true,
openFile: 'src/app.usecase.ts',
openFile: 'src/main.ts',
hideExplorer: false,
theme: 'dark',
height: 800,
})
Expand Down
6 changes: 3 additions & 3 deletions src/components/Header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,17 @@ export const Header = () => {
</Link>
<div className="flex items-center gap-4 max-lg:hidden">
<ul className="flex items-center justify-end gap-5">
<MenuLi href="https://doc.expresso-ts.com/docs/hello">
<MenuLi href="https://doc.expresso-ts.com">
<IconBook className="mr-2 h-5 w-5" aria-hidden="true" />
Documentation
</MenuLi>
<MenuLi href="/team">
<IconUsersGroup className="mr-2 h-5 w-5" aria-hidden="true" />
Contributors
</MenuLi>
<MenuLi href="/showcase">
<MenuLi href="/store">
<IconBriefcase className="mr-2 h-5 w-5" aria-hidden="true" />
Showcases
App Store
</MenuLi>
<MenuLi href="https://github.com/expressots/expressots">
<IconBrandGithub className="mr-2 h-5 w-5" aria-hidden="true" />
Expand Down
6 changes: 3 additions & 3 deletions src/components/Header/nav-mobile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export function NavMobile() {
} group flex w-full items-center rounded-md px-3 py-3 text-base font-medium`}
>
<Link
href="https://doc.expresso-ts.com/docs/hello"
href="https://doc.expresso-ts.com/"
className="flex items-center justify-start gap-1"
>
<IconBook className="mr-2 h-5 w-5" aria-hidden="true" />
Expand All @@ -70,14 +70,14 @@ export function NavMobile() {
<Menu.Item>
{({ active }) => (
<Link
href="https://doc.expresso-ts.com/docs/hello"
href="https://doc.expresso-ts.com/"
className={`${
active ? 'bg-base-6 text-neutral-1' : 'text-neutral-8'
} group flex w-full items-center rounded-md px-3 py-3 text-base font-medium`}
>
<div className="flex items-center justify-start gap-1">
<IconBriefcase className="mr-2 h-5 w-5" aria-hidden="true" />
Showcase
App Store
</div>
</Link>
)}
Expand Down

0 comments on commit 7b0ac9e

Please sign in to comment.