-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #79 from helsingborg-stad/feature/excel-import-err…
…or-handling Feature/excel-import-error-handling
- Loading branch information
Showing
13 changed files
with
225 additions
and
58 deletions.
There are no files selected for viewing
This file contains 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 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 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,61 @@ | ||
import { SideBar } from 'components/SideBar'; | ||
import { Link } from 'components/Link'; | ||
import * as Styled from './styled'; | ||
|
||
export const About = () => ( | ||
<Styled.ContentContainer> | ||
<SideBar /> | ||
<Styled.InfoContainer> | ||
<Styled.Header>Om Sam</Styled.Header> | ||
<p> | ||
Sam samlar in transportdata för att kunna dela datan mellan olika aktörer i transportkedjan. | ||
Genom tillgänglig data kan beställaren fà bättre förstäelse för hur transporterna | ||
inom olika omräden går och kan använda datan för att bli smartare beställare. | ||
Leverantörer och transportörer kan använda datan för att hitta samarbeten och samlastning. | ||
Mälet med Sam är smartare logistik kring transporter och minskade | ||
körningar för klimatets skull. | ||
</p> | ||
<h2 style={{ marginBottom: '10px', marginTop: '60px' }}>Så här fungerar Sam</h2> | ||
<p> | ||
Tjänsten Sam bestär av en mobilapp som används av förare, | ||
och den här webbsidan där alla sparade leveranser samlas. | ||
Just nu är tjänsten sà pass utvecklad att vi kan beskriva | ||
transporter som gär till och fràn olika verksamheter i staden, | ||
via geofencing*. Det betyder att endast leveranser till geofencade adresser | ||
registreras - andra stopp pá vägen kommer inte registreras pá webbsidan | ||
</p> | ||
<br /> | ||
<p> | ||
<i> | ||
*Geofence är en internationell fackterm. Den kan översättas med "geostaket" | ||
och är ett geografiskt avgränsat eller definierat omräde som bestämts och som | ||
"inhägnats" med en programvara. | ||
</i> | ||
</p> | ||
<h2 style={{ marginBottom: '10px', marginTop: '60px' }}>Leverera transportdata till Sam</h2> | ||
<p style={{ marginBottom: '8px' }}> | ||
Det finns två sätt att leverera data till Sam. | ||
</p> | ||
<ol> | ||
<li> | ||
Använd appen Sam | ||
<br /> | ||
Föraren laddar ner appen till sin telefon. Föraren startar spärningen | ||
i appen vid start av en körning. | ||
Varje gäng transporten befinner sig inom ett geofencat omräde blir | ||
det en datapunkt som sparas och blir synlig pà webbsidan. | ||
</li> | ||
<li> | ||
Leverera en rapport | ||
<br /> | ||
Istället för att använda appen Sam kan leverantör eller transportör hämta | ||
motsvarande data frản sitt logistiksystem/TMS (Transport Management System) | ||
och skicka rapport till kontaktperson enligt | ||
överenskommet intervall. | ||
{' '} | ||
<Link href="/Template.xlsx" download="mall.xlsx" label="[Mall för rapport]" /> | ||
</li> | ||
</ol> | ||
</Styled.InfoContainer> | ||
</Styled.ContentContainer> | ||
); |
This file contains 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,3 @@ | ||
import { About } from './About'; | ||
|
||
export default About; |
This file contains 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,22 @@ | ||
import styled from 'styled-components'; | ||
|
||
export const ContentContainer = styled.div` | ||
padding: 36px 32px; | ||
padding-bottom: 64px; | ||
`; | ||
|
||
export const InfoContainer = styled.div` | ||
width: 600px; | ||
margin: 24px auto 32px; | ||
@media (max-width: 768px) { | ||
width: 450px; | ||
} | ||
`; | ||
|
||
export const Header = styled.h1` | ||
font-size: var(--font-size-heading-lg); | ||
font-weight: var(--font-weight-800); | ||
line-height: var(--line-height-xxxl); | ||
margin-bottom: var(--spacing-md); | ||
font-family: var(--font-family); | ||
`; |
This file contains 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 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 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 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 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 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.