-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tweak visual design of figures, some naming, some docs
- Loading branch information
1 parent
1ad46ea
commit b2af94a
Showing
4 changed files
with
93 additions
and
87 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
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 |
---|---|---|
@@ -1,72 +1,49 @@ | ||
import { Image, Paragraph } from '@amsterdam/design-system-react' | ||
import { Image } from '@amsterdam/design-system-react' | ||
|
||
export const IcoFavicon = () => { | ||
return ( | ||
<div className="ams-docs-gallery"> | ||
<figure className="ams-docs-figure"> | ||
<Image src="favicon/favicon.ico" width={16} height={16} sizes="16x16" /> | ||
<figcaption> | ||
<Paragraph>favicon.ico, 16x16px</Paragraph> | ||
</figcaption> | ||
</figure> | ||
<figure className="ams-docs-figure"> | ||
<Image src="favicon/favicon.ico" width={32} height={32} sizes="32x32" /> | ||
<figcaption> | ||
<Paragraph>favicon.ico, 32x32px</Paragraph> | ||
</figcaption> | ||
</figure> | ||
<figure className="ams-docs-figure"> | ||
<Image src="favicon/favicon.ico" width={64} height={64} sizes="64x64" /> | ||
<figcaption> | ||
<Paragraph>favicon.ico, 64x64px</Paragraph> | ||
</figcaption> | ||
</figure> | ||
</div> | ||
) | ||
} | ||
export const AppleTouchIcon = () => ( | ||
<div className="ams-docs-gallery"> | ||
<figure className="ams-docs-figure"> | ||
<Image src="favicon/apple-touch-icon.png" width={180} height={180} /> | ||
<figcaption>apple-touch-icon.png (180px)</figcaption> | ||
</figure> | ||
</div> | ||
) | ||
|
||
export const SvgIconDefault = () => { | ||
return ( | ||
<div className="ams-docs-gallery"> | ||
<figure className="ams-docs-figure"> | ||
<Image src="favicon/icon.svg" width={64} height={64} /> | ||
<figcaption> | ||
<Paragraph>icon.svg, 64x64px</Paragraph> | ||
</figcaption> | ||
</figure> | ||
</div> | ||
) | ||
} | ||
export const Favicon = () => ( | ||
<div className="ams-docs-gallery"> | ||
<figure className="ams-docs-figure"> | ||
<Image src="favicon/favicon.ico" width={16} height={16} /> | ||
<figcaption>favicon.ico (16px)</figcaption> | ||
</figure> | ||
<figure className="ams-docs-figure"> | ||
<Image src="favicon/favicon.ico" width={32} height={32} /> | ||
<figcaption>favicon.ico (32px)</figcaption> | ||
</figure> | ||
<figure className="ams-docs-figure"> | ||
<Image src="favicon/favicon.ico" width={64} height={64} /> | ||
<figcaption>favicon.ico (64px)</figcaption> | ||
</figure> | ||
</div> | ||
) | ||
|
||
export const PngIconAppleTouch = () => { | ||
return ( | ||
<div className="ams-docs-gallery"> | ||
<figure className="ams-docs-figure"> | ||
<Image src="favicon/apple-touch-icon.png" width={180} height={180} /> | ||
<figcaption> | ||
<Paragraph>apple-touch-icon.png, 180x180px</Paragraph> | ||
</figcaption> | ||
</figure> | ||
</div> | ||
) | ||
} | ||
export const SvgIcon = () => ( | ||
<div className="ams-docs-gallery"> | ||
<figure className="ams-docs-figure"> | ||
<Image src="favicon/icon.svg" width={64} height={64} /> | ||
<figcaption>icon.svg (64px)</figcaption> | ||
</figure> | ||
</div> | ||
) | ||
|
||
export const PngIconsWebApp = () => { | ||
return ( | ||
<div className="ams-docs-gallery"> | ||
<figure className="ams-docs-figure"> | ||
<Image src="favicon/icon-192.png" width={192} height={192} />{' '} | ||
<figcaption> | ||
<Paragraph>icon-192.png, 192x192px</Paragraph> | ||
</figcaption> | ||
</figure> | ||
|
||
<figure className="ams-docs-figure"> | ||
<Image src="favicon/icon-512.png" width={512} height={512} />{' '} | ||
<figcaption> | ||
<Paragraph>icon-512.png, 512x512px</Paragraph> | ||
</figcaption> | ||
</figure> | ||
</div> | ||
) | ||
} | ||
export const WebAppIcons = () => ( | ||
<div className="ams-docs-gallery"> | ||
<figure className="ams-docs-figure"> | ||
<Image src="favicon/icon-192.png" width={192} height={192} /> | ||
<figcaption>icon-192.png (192px)</figcaption> | ||
</figure> | ||
<figure className="ams-docs-figure"> | ||
<Image src="favicon/icon-512.png" width={512} height={512} /> | ||
<figcaption>icon-512.png (512px)</figcaption> | ||
</figure> | ||
</div> | ||
) |