-
Notifications
You must be signed in to change notification settings - Fork 4
settings page #169
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
Merged
Merged
settings page #169
Changes from 1 commit
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
4ceed73
settings page layout done
ananyayaya129 5455a76
settings page layout done
ananyayaya129 8c04eb3
formt fix
ananyayaya129 5c4d0c5
format fix
ananyayaya129 81ea778
format fix
ananyayaya129 9b005d2
routing for settings page fixed
ananyayaya129 d0dd91a
settings page buttons
ananyayaya129 29ebc0a
settings page buttons
ananyayaya129 a8176e8
merge conflict
ananyayaya129 5770175
settings page tertiary pages
ananyayaya129 f30e4d0
settings pages all done
ananyayaya129 fb10e4a
settings pages unnecessary page deleted
ananyayaya129 daf56d8
requested changes done
ananyayaya129 bea6565
requested changes done
ananyayaya129 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
53 changes: 29 additions & 24 deletions
53
infrastructure/eid-wallet/src/routes/(auth)/e-passport/+page.svelte
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,41 @@ | ||
<script lang="ts"> | ||
import { goto } from "$app/navigation"; | ||
import { Hero } from "$lib/fragments"; | ||
import IdentityCard from "$lib/fragments/IdentityCard/IdentityCard.svelte"; | ||
import { ButtonAction } from "$lib/ui"; | ||
import { goto } from "$app/navigation"; | ||
import { Hero } from "$lib/fragments"; | ||
import IdentityCard from "$lib/fragments/IdentityCard/IdentityCard.svelte"; | ||
import { ButtonAction } from "$lib/ui"; | ||
|
||
const handleFinish = async () => { | ||
await goto("/main"); | ||
}; | ||
const handleFinish = async () => { | ||
await goto("/main"); | ||
}; | ||
</script> | ||
|
||
|
||
<main class="h-[max-content] pt-[5.2svh] px-[5vw] pb-[4.5svh] flex flex-col justify-between"> | ||
<main | ||
class="h-[max-content] pt-[5.2svh] px-[5vw] pb-[4.5svh] flex flex-col justify-between" | ||
> | ||
<section> | ||
<Hero | ||
title="Your ePassport and eVault are ready" | ||
subtitle="Log into any W3DS platform without passwords. It’s tied to this phone; if lost, you’ll need to revoke and reissue it on a new device." | ||
class="mb-2" | ||
title="Your ePassport and eVault are ready" | ||
subtitle="Log into any W3DS platform without passwords. It’s tied to this phone; if lost, you’ll need to revoke and reissue it on a new device." | ||
class="mb-2" | ||
/> | ||
<IdentityCard | ||
variant="ePassport" | ||
userData={{ | ||
Name: "Ananya", | ||
Dob: "29 Nov 2003", | ||
Nationality: "Indian", | ||
Passport: "234dfvgsdfg", | ||
}} | ||
/> | ||
<IdentityCard variant= "ePassport" | ||
userData= {{ | ||
Name: "Ananya", | ||
Dob: "29 Nov 2003", | ||
Nationality: "Indian", | ||
Passport: "234dfvgsdfg", | ||
}}/> | ||
</section> | ||
<section class="mt-[4svh] mb-[9svh]"> | ||
<h4>Your eVault</h4> | ||
<p class="text-black-700 mb-[1svh]">We’ve also created your eVault—secure cloud storage for your personal data. W3DS platforms access it directly, keeping you in control.</p> | ||
<IdentityCard variant= "eVault" | ||
usedStorage= {15} | ||
totalStorage= {80}/> | ||
<p class="text-black-700 mb-[1svh]"> | ||
We’ve also created your eVault—secure cloud storage for your | ||
personal data. W3DS platforms access it directly, keeping you in | ||
control. | ||
</p> | ||
<IdentityCard variant="eVault" usedStorage={15} totalStorage={80} /> | ||
</section> | ||
<ButtonAction class="w-full" callback={handleFinish}>Finish</ButtonAction> | ||
</main> | ||
</main> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
platforms/metagram/src/lib/fragments/RightAside/RightAside.svelte
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<script lang="ts"> | ||
import type { Snippet } from 'svelte'; | ||
import type { HTMLAttributes } from 'svelte/elements'; | ||
|
||
interface IRightAsideProps extends HTMLAttributes<HTMLElement> { | ||
header: string; | ||
asideContent: Snippet; | ||
} | ||
let { header, asideContent, ...restProps }: IRightAsideProps = $props(); | ||
</script> | ||
|
||
<aside {...restProps} class="hidden w-full md:block"> | ||
<div class="mx-5"> | ||
<h2 class="mb-8 text-lg font-semibold">{header}</h2> | ||
<div> | ||
{@render asideContent?.()} | ||
</div> | ||
</div> | ||
</aside> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.