Skip to content

Commit

Permalink
content/promote usage of init with project name flag (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
thescientist13 authored Sep 20, 2024
1 parent 65dfc1d commit 3298d9b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/get-started/get-started.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import styles from "./get-started.module.css";

export default class GetStarted extends HTMLElement {
connectedCallback() {
const code = "npx @greenwood/init@latest";
const code = "npx @greenwood/init@latest my-app";

this.innerHTML = `
<div class="${styles.container}">
Expand Down
4 changes: 2 additions & 2 deletions src/components/get-started/get-started.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
}

.snippet pre {
font-size: 16px;
font-size: 10px;
text-align: center;
display: inline-block;
}
Expand Down Expand Up @@ -75,7 +75,7 @@

@media (min-width: 1024px) {
.snippet {
max-width: 50%;
max-width: 60%;
}

.snippet pre {
Expand Down
2 changes: 1 addition & 1 deletion src/components/hero-banner/hero-banner.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import emphasis from "../../assets/emphasis-corner.svg?type=raw";

export default class HeroBanner extends HTMLElement {
connectedCallback() {
const code = "npx @greenwood/init@latest";
const code = "npx @greenwood/init@latest my-app";

this.innerHTML = `
<div class="${styles.container}">
Expand Down
2 changes: 1 addition & 1 deletion src/components/hero-banner/hero-banner.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
}

.snippet pre {
font-size: var(--font-size-1);
font-size: 18px;
display: inline-block;
height: 46px;
align-content: center;
Expand Down

0 comments on commit 3298d9b

Please sign in to comment.