Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App continue page + importing Rethink Sans font #21

Merged
merged 2 commits into from
Nov 15, 2024
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
Binary file added public/fonts/RethinkSans-Regular.ttf
Binary file not shown.
Binary file added src/assets/images/ship.webp
Binary file not shown.
8 changes: 8 additions & 0 deletions src/assets/styles/tailwind.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,14 @@
}
}

@font-face {
font-family: 'Rethink Sans';
src: url('/fonts/RethinkSans-Regular.ttf');
font-weight: normal;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'MDNichrome';
src: url('/fonts/MDNichrome-Bold.otf') format('opentype');
Expand Down
9 changes: 9 additions & 0 deletions src/components/CustomStyles.astro
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,15 @@ import 'swiper/css/pagination';
---

<style is:inline>

@font-face {
font-family: 'Rethink Sans';
src: url('/fonts/RethinkSans-Regular.ttf');
font-weight: normal;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'MDNichrome';
src: url('/fonts/MDNichrome-Bold.otf') .format('opentype');
Expand Down
42 changes: 42 additions & 0 deletions src/pages/continue-in-app.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
---
import '~/assets/styles/tailwind.css';

import Image from '~/components/common/Image.astro';
import Favicons from '~/components/Favicons.astro';
---

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<Favicons />
<title>Continue in app</title>
</head>
<body>
<main class="bg-[#E3E1D3] w-full h-screen flex flex-col justify-center items-center relative">
<div class="absolute top-5 text-[18px] flex flex-row items-center justify-center gap-6 leading-tight">
<div class="max-w-[20%]">
<svg width="55" height="60" viewBox="0 0 64 64" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M3.33301 19.334C3.33301 10.4974 10.4965 3.33398 19.333 3.33398H44.6663C53.5029 3.33398 60.6663 10.4974 60.6663 19.334V44.6673C60.6663 53.5039 53.5029 60.6673 44.6663 60.6673H19.333C10.4965 60.6673 3.33301 53.5039 3.33301 44.6673V19.334Z" fill="#B7E400"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M31.9993 11.917C32.5298 11.917 33.0385 12.1277 33.4136 12.5028L46.7469 25.8361C47.5279 26.6172 47.5279 27.8835 46.7469 28.6645C45.9658 29.4456 44.6995 29.4456 43.9185 28.6645L33.9993 18.7454V50.1075C33.9993 51.212 33.1039 52.1075 31.9993 52.1075C30.8948 52.1075 29.9993 51.212 29.9993 50.1075V18.7454L20.0802 28.6645C19.2992 29.4456 18.0329 29.4456 17.2518 28.6645C16.4708 27.8835 16.4708 26.6172 17.2518 25.8361L30.5851 12.5028C30.9602 12.1277 31.4689 11.917 31.9993 11.917Z" fill="#083433"/>
</svg>
</div>

<div class="max-w-[70%]">
<span class="text-[17px]"> Cierra esta página de tu navegador para volver a Qompa.</span>
</div>
</div>

<div class="flex flex-col items-center justify-center gap-8 mb-20">
<Image width={220} height={150} src="~/assets/images/ship.webp" alt="ship" />

<h1 class="font-heading text-[64px] text-[#083433] text-center leading-none tracking-normal" style={{ fontFamily: 'MDNichrome' }}>
Completa tu registro en la APP Qompa.
</h1>
</div>
</main>
</body>
</html>


Loading