Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions apps/web/components/marketing/hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const version = require("../../package.json").version;

function AppScreenshot() {
return (
<div className="rounded-xl border border-gray-200 dark:border-white/10 overflow-hidden shadow-2xl">
<div className="rounded-xl border border-gray-200 dark:border-white/10 overflow-hidden shadow-2xl max-h-[600px]">
<Image
src={capture}
alt="Changes.page changelog with timeline posts, reactions, and email subscriptions"
Expand All @@ -24,7 +24,7 @@ function AppScreenshot() {

function TerminalMockup() {
return (
<div className="rounded-xl border border-gray-200 dark:border-white/10 bg-gray-950 overflow-hidden shadow-2xl h-full flex flex-col">
<div className="rounded-xl border border-gray-200 dark:border-white/10 bg-gray-950 overflow-hidden shadow-2xl max-h-[600px] flex flex-col">
<div className="flex items-center gap-2 px-4 py-2.5 bg-gray-900/60 border-b border-white/5">
<div className="flex gap-1.5">
<div className="w-2.5 h-2.5 rounded-full bg-gray-700" />
Expand Down Expand Up @@ -192,7 +192,7 @@ export default function Hero({
<div className="mt-20 grid grid-cols-1 lg:grid-cols-2 gap-6 lg:gap-8">
<div>
<p className="text-sm font-medium text-indigo-600 dark:text-indigo-400 mb-3">
Web Editor
Changelog
</p>
<AppScreenshot />
</div>
Expand Down
Binary file modified apps/web/public/images/hero/capture.png
Loading
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 packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@changespage/cli",
"version": "0.2.0",
"version": "0.3.0",
"type": "module",
"bin": {
"chp": "./dist/index.js"
Expand Down
4 changes: 3 additions & 1 deletion packages/cli/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@ import { Command } from "commander";
import { registerConfigureCommand } from "./commands/configure.js";
import { registerPostsCommand } from "./commands/posts.js";

declare const __CLI_VERSION__: string;

const program = new Command();

program
.name("chp")
.description("CLI for changes.page")
.version("0.1.0")
.version(__CLI_VERSION__)
.option("--secret-key <key>", "Page secret key")
.option("--json", "Output raw JSON");

Expand Down
4 changes: 4 additions & 0 deletions packages/cli/tsup.config.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
import { defineConfig } from "tsup";
import pkg from "./package.json";

export default defineConfig({
entry: ["src/index.ts"],
format: ["esm"],
dts: true,
clean: true,
define: {
__CLI_VERSION__: JSON.stringify(pkg.version),
},
banner: {
js: "#!/usr/bin/env node",
},
Expand Down
Loading