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
1 change: 1 addition & 0 deletions apps/tax/components/Header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ export const Header: FC<React.PropsWithChildren<HeaderProps>> = ({
>
<Input
name={'search'}
size="sm"
placeholder="Leitaðu á Ísland.is"
icon={{
name: 'search',
Expand Down
62 changes: 41 additions & 21 deletions apps/tax/pages/login/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react'
import router from 'next/router'

import { Box, Button, Input, Link, Logo, Text } from '@island.is/island-ui/core'
import { AlertMessage, Box, Button, Checkbox, Input, Link, Logo, Text } from '@island.is/island-ui/core'
import { formWrapper } from '@island.is/tax/screens/Tax/login/Login.css'

export async function getServerSideProps() {
Expand Down Expand Up @@ -34,6 +34,7 @@ const Login = ({ loginInfo }) => {
flexDirection="column"
display="flex"
alignItems="center"
width='full'
>
<Logo iconOnly width={40} />

Expand All @@ -48,19 +49,31 @@ const Login = ({ loginInfo }) => {
<Text variant="h1" as="h1">
Skráðu þig inn
</Text>
<Text fontWeight="light" color="dark400" paddingBottom={4}>
<Text fontWeight="light" color="dark400" paddingTop={1} paddingBottom={4}>
á mínar síður Ísland.is
</Text>

<Input
backgroundColor="blue"
label="Símanúmer"
name=""
size="sm"
placeholder="000-0000"
type="number"
/>
<Box paddingTop={[4]} paddingBottom={[7]}>
<Box width='full' paddingX={7}>
<AlertMessage
type="error"
message="Notandi finnst ekki"
/>
</Box>
<Box paddingTop={[2]} width='full' paddingX={7}>
<Input
backgroundColor="blue"
label="Símanúmer"
name=""
size="sm"
placeholder="000-0000"
type="number"
/>
</Box>
<Box paddingTop={[4]}>
<Checkbox
label="Muna símanúmer"
/>
</Box>
<Box paddingTop={[4]} paddingBottom={[7]} paddingX={7} width='full'>
<Button
colorScheme="default"
fluid
Expand All @@ -75,21 +88,21 @@ const Login = ({ loginInfo }) => {
<Box
paddingTop={[3]}
paddingBottom={[6]}
background="blue100"
paddingX={[8]}
width="full"
display="flex"
flexDirection="column"
alignItems="center"
>
<Text variant="h3" color="blue600" paddingBottom={[3]}>
Fleiri leiðir
<Text paddingBottom={[3]}>
Eða skráðu þig inn með
</Text>
<Box paddingBottom={[3]} width="half">
<Box paddingBottom={[3]} width="full">
<Button colorScheme="default" fluid size="default" variant="ghost">
Auðkenni-appið
</Button>
</Box>
<Box paddingBottom={[3]} width="half">
<Box paddingBottom={[3]} width="full">
<Button colorScheme="default" fluid size="default" variant="ghost">
Skilríki á korti
</Button>
Expand All @@ -103,11 +116,18 @@ const Login = ({ loginInfo }) => {
paddingY={1}
>
<Link href="/" color="blue400" underline="normal">
English
</Link>
<Link href="/" color="blue400" underline="normal">
Þarftu aðstoð?
Skilmálar
</Link>
<Box display="flex">
<Link href="/" color="blue400" underline="normal">
English
</Link>
<Box paddingLeft={[3]}>
<Link href="/" color="blue400" underline="normal">
Aðstoð
</Link>
</Box>
</Box>
</Box>
</Box>
)
Expand Down
Loading
Loading