intro, map, layout, permissions
This commit is contained in:
1 parent
efdbbdfc76
commit
d9387f464f
16 files changed
+204
-131
No files matched your search
+1
-1
@@ -50,5 +50,5 @@ a {
|
||||
|
||||
.screen-container {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
height: 100dvh;
|
||||
}
|
||||
+6
-6
@@ -7,19 +7,19 @@ export default function manifest(): MetadataRoute.Manifest {
|
||||
name: 'Next.js PWA',
|
||||
short_name: 'NextPWA',
|
||||
description: 'A Progressive Web App built with Next.js',
|
||||
start_url: '/',
|
||||
display: 'standalone',
|
||||
//start_url: '/', Disables the default website install popup
|
||||
display: 'fullscreen',
|
||||
orientation: "portrait-primary",
|
||||
background_color: '#ffffff',
|
||||
theme_color: '#000000',
|
||||
background_color: '#000000',
|
||||
theme_color: '#ffffff',
|
||||
icons: [
|
||||
{
|
||||
src: '/icon-192x192.png',
|
||||
src: '/icons/icon-192x192.png',
|
||||
sizes: '192x192',
|
||||
type: 'image/png',
|
||||
},
|
||||
{
|
||||
src: '/icon-512x512.png',
|
||||
src: '/icons/icon-512x512.png',
|
||||
sizes: '512x512',
|
||||
type: 'image/png',
|
||||
},
|
||||
|
||||
+4
-71
@@ -16,6 +16,10 @@
|
||||
justify-content: center;
|
||||
font-family: var(--font-geist-sans);
|
||||
background-color: var(--background);
|
||||
|
||||
&.pad {
|
||||
padding: 48px 24px;
|
||||
}
|
||||
}
|
||||
|
||||
.main {
|
||||
@@ -27,61 +31,6 @@
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
background-color: var(--foreground);
|
||||
padding: 120px 60px;
|
||||
}
|
||||
|
||||
.intro {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
text-align: left;
|
||||
gap: 24px;
|
||||
}
|
||||
|
||||
.intro h1 {
|
||||
max-width: 320px;
|
||||
font-size: 40px;
|
||||
font-weight: 600;
|
||||
line-height: 48px;
|
||||
letter-spacing: -2.4px;
|
||||
text-wrap: balance;
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.intro p {
|
||||
max-width: 440px;
|
||||
font-size: 18px;
|
||||
line-height: 32px;
|
||||
text-wrap: balance;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
.intro a {
|
||||
font-weight: 500;
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.ctas {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
width: 100%;
|
||||
max-width: 440px;
|
||||
gap: 16px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.ctas a {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 40px;
|
||||
padding: 0 16px;
|
||||
border-radius: 128px;
|
||||
border: 1px solid transparent;
|
||||
transition: 0.2s;
|
||||
cursor: pointer;
|
||||
width: fit-content;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
a.primary {
|
||||
@@ -107,22 +56,6 @@ a.secondary {
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 600px) {
|
||||
.main {
|
||||
padding: 48px 24px;
|
||||
}
|
||||
|
||||
.intro {
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.intro h1 {
|
||||
font-size: 32px;
|
||||
line-height: 40px;
|
||||
letter-spacing: -1.92px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.logo {
|
||||
filter: invert();
|
||||
|
||||
+3
-1
@@ -82,8 +82,10 @@ export default function Main() {
|
||||
(<Tour key={2} />)
|
||||
];
|
||||
|
||||
console.log(styles);
|
||||
|
||||
return (
|
||||
<div className={styles.page}>
|
||||
<div className={styles.page + ((step < 2) ? " " + styles["pad"] : "")}>
|
||||
<main className={styles.main}>
|
||||
{content[step]}
|
||||
</main>
|
||||
|
||||
Reference in new issue
Block a user