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
88 changes: 39 additions & 49 deletions templates/create/astro/src/pages/index.astro.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -111,122 +111,112 @@ const users = await prisma.user
<style>
:global(body) {
margin: 0;
font-family:
"Instrument Sans",
"Segoe UI",
sans-serif;
background: #f7f8fb;
color: #0f172a;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
background: #fff;
color: #111;
}

.shell {
width: min(64rem, 100%);
max-width: 40rem;
margin: 0 auto;
padding: 4rem 1.5rem 5rem;
padding: 3rem 1.5rem;
}

.hero {
margin-bottom: 2rem;
margin-bottom: 1.5rem;
}

.eyebrow {
margin: 0 0 0.75rem;
color: #10b981;
font-size: 0.875rem;
font-weight: 700;
letter-spacing: 0.14em;
margin: 0 0 0.5rem;
color: #666;
font-size: 0.75rem;
font-weight: 600;
letter-spacing: 0.06em;
text-transform: uppercase;
}

h1 {
margin: 0;
max-width: 12ch;
font-size: clamp(2.75rem, 7vw, 5rem);
line-height: 0.95;
font-size: 1.25rem;
font-weight: 600;
line-height: 1.4;
}

.lede {
max-width: 42rem;
font-size: 1.05rem;
line-height: 1.7;
color: #475569;
margin: 0.5rem 0 0;
color: #666;
font-size: 0.875rem;
line-height: 1.6;
}

.panel {
padding: 1.5rem;
border: 1px solid #dbe2ea;
border-radius: 1.5rem;
background: #ffffff;
box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
border: 1px solid #e5e5e5;
border-radius: 0.5rem;
padding: 1rem;
}

.panel-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
margin-bottom: 1rem;
margin-bottom: 0.75rem;
}

h2 {
margin: 0;
font-size: 1.125rem;
font-size: 0.875rem;
font-weight: 600;
}

.panel-header span,
.empty,
time {
color: #64748b;
color: #888;
font-size: 0.8rem;
}

.panel p {
color: #64748b;
color: #666;
font-size: 0.8rem;
}

.users {
list-style: none;
margin: 0;
padding: 0;
display: grid;
gap: 0.75rem;
gap: 0.5rem;
}

.users li {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
padding: 1rem 1.125rem;
border-radius: 1rem;
background: #f8fafc;
border: 1px solid #dbe2ea;
padding: 0.625rem 0.75rem;
border: 1px solid #eee;
border-radius: 0.375rem;
}

.users p {
margin: 0.2rem 0 0;
margin: 0.125rem 0 0;
}

time {
font-size: 0.875rem;
font-size: 0.75rem;
white-space: nowrap;
}

code {
padding: 0.15rem 0.4rem;
border-radius: 0.35rem;
background: #eef2f7;
font-family:
SFMono-Regular,
Consolas,
monospace;
font-size: 0.95em;
padding: 0.125rem 0.25rem;
border-radius: 0.25rem;
background: #f5f5f5;
font-family: SFMono-Regular, Consolas, monospace;
font-size: 0.875em;
}

@media (max-width: 640px) {
.shell {
padding-top: 3rem;
}

.users li,
.panel-header {
flex-direction: column;
Expand Down
84 changes: 38 additions & 46 deletions templates/create/next/src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,122 +6,114 @@
box-sizing: border-box;
}

html {
font-size: 16px;
}

body {
margin: 0;
font-family: "Instrument Sans", "Segoe UI", sans-serif;
background: #f7f8fb;
color: #0f172a;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
background: #fff;
color: #111;
}

.shell {
width: min(64rem, 100%);
max-width: 40rem;
margin: 0 auto;
padding: 4rem 1.5rem 5rem;
padding: 3rem 1.5rem;
}

.hero {
margin-bottom: 2rem;
margin-bottom: 1.5rem;
}

.eyebrow {
margin: 0 0 0.75rem;
color: #10b981;
font-size: 0.875rem;
font-weight: 700;
letter-spacing: 0.14em;
margin: 0 0 0.5rem;
color: #666;
font-size: 0.75rem;
font-weight: 600;
letter-spacing: 0.06em;
text-transform: uppercase;
}

h1 {
margin: 0;
max-width: 12ch;
font-size: clamp(2.75rem, 7vw, 5rem);
line-height: 0.95;
font-size: 1.25rem;
font-weight: 600;
line-height: 1.4;
}

.lede {
max-width: 42rem;
font-size: 1.05rem;
line-height: 1.7;
color: #475569;
margin: 0.5rem 0 0;
color: #666;
font-size: 0.875rem;
line-height: 1.6;
}

.panel {
padding: 1.5rem;
border: 1px solid #dbe2ea;
border-radius: 1.5rem;
background: #ffffff;
box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
border: 1px solid #e5e5e5;
border-radius: 0.5rem;
padding: 1rem;
}

.panelHeader {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
margin-bottom: 1rem;
margin-bottom: 0.75rem;
}

h2 {
margin: 0;
font-size: 1.125rem;
font-size: 0.875rem;
font-weight: 600;
}

.panelHeader span,
.empty,
time {
color: #64748b;
color: #888;
font-size: 0.8rem;
}

.panel p {
color: #64748b;
color: #666;
font-size: 0.8rem;
}

.users {
list-style: none;
margin: 0;
padding: 0;
display: grid;
gap: 0.75rem;
gap: 0.5rem;
}

.users li {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
padding: 1rem 1.125rem;
border-radius: 1rem;
background: #f8fafc;
border: 1px solid #dbe2ea;
padding: 0.625rem 0.75rem;
border: 1px solid #eee;
border-radius: 0.375rem;
}

.users p {
margin: 0.2rem 0 0;
margin: 0.125rem 0 0;
}

time {
font-size: 0.875rem;
font-size: 0.75rem;
white-space: nowrap;
}

code {
padding: 0.15rem 0.4rem;
border-radius: 0.35rem;
background: #eef2f7;
padding: 0.125rem 0.25rem;
border-radius: 0.25rem;
background: #f5f5f5;
font-family: SFMono-Regular, Consolas, monospace;
font-size: 0.95em;
font-size: 0.875em;
}

@media (max-width: 640px) {
.shell {
padding-top: 3rem;
}

.users li,
.panelHeader {
flex-direction: column;
Expand Down
Loading
Loading