diff --git a/public/bg-linksharing.png b/public/bg-linksharing.png new file mode 100644 index 0000000..28b9d6e Binary files /dev/null and b/public/bg-linksharing.png differ diff --git a/src/pages/Landing.tsx b/src/pages/Landing.tsx index 06c26af..61292dd 100644 --- a/src/pages/Landing.tsx +++ b/src/pages/Landing.tsx @@ -3,23 +3,29 @@ const Landing = () => {

Share all your links with one!

-

- Don't have an account? - - Register here - -

-

- Already have an account? - - Login - - and go to your - - profile - - to continue where you've left off! -

+
+

+ Don't have an account? + + Register here + +

+
+
+

+ Already have an account? + + Login + +

+

+ and go to your + + profile + + to continue where you've left off! +

+
); diff --git a/src/pages/Root.tsx b/src/pages/Root.tsx index 7624dda..d18f594 100644 --- a/src/pages/Root.tsx +++ b/src/pages/Root.tsx @@ -5,8 +5,9 @@ export default function Root() { const homeMatch = useMatch('/'); const profileMatch = useMatch('/profile'); const previewMatch = useMatch('/preview'); + const landingMatch = useMatch('/landing'); return ( -
+
{homeMatch || profileMatch ? : <>}
diff --git a/src/styles/components/layout.scss b/src/styles/components/layout.scss index 93249f2..5f58f5c 100644 --- a/src/styles/components/layout.scss +++ b/src/styles/components/layout.scss @@ -9,8 +9,7 @@ align-self: stretch; } -.page-body, -.body-landing { +.page-body { @extend %flex-container; @extend %flex-column; gap: 24px; @@ -18,29 +17,64 @@ } .body-landing { - height: 100dvh; + border: 3px solid $pale-gray; + background-image: url('public/bg-linksharing.png'); + height: 80dvh; } -.page-container, -.page-landing { +.body-landing, +.page-container { @extend %flex-container; @extend %flex-row; border-radius: 8px; gap: 24px; - margin: 0px 24px 24px; width: 100%; } .page-container { background-color: $grayish-white; + margin: 0px 24px 24px; } .page-landing { - flex-direction: column; + display: flex; + justify-content: space-around; + align-items: center; + @extend %flex-column; + border: 3px solid $pale-gray; + border-radius: 8px; background-color: white; - height: 80dvh; + padding: 20px; + height: 30%; } +.landing-align { + @extend %flex-container; + a{ + text-decoration: underline; + } +} + +@media (max-width: 600px) { + .page-landing { + text-align: center; + } + .landing-align { + flex-direction: column; + p { + flex-wrap: wrap; + } + } +} + +/*@media (max-width: 375px) { + .landing-align { + p { + flex-wrap: wrap; + } + } +}*/ + .left { @extend %page-section; justify-content: flex-start !important;