-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7360a95
commit 962006f
Showing
11 changed files
with
99 additions
and
16 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
a { | ||
color: #0196d6; | ||
} | ||
|
||
#page-layout { | ||
padding: 2rem 8rem; | ||
} |
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 |
---|---|---|
|
@@ -8,5 +8,6 @@ | |
font-family: "LatoWeb", sans-serif; | ||
font-size: 16px; | ||
color: #333; | ||
padding: 0 !important; | ||
} | ||
</style> |
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
Binary file not shown.
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,10 +1,37 @@ | ||
import { Meta, StoryObj } from '@storybook/react'; | ||
import { Meta } from '@storybook/react'; | ||
import React from 'react'; | ||
|
||
import './welcome.css'; | ||
|
||
const meta: Meta<JSX.Element> = { | ||
title: 'Documentation/Welcome', | ||
}; | ||
|
||
export default meta; | ||
|
||
export const Welcome = () => <h1>Welcome to Storybook</h1>; | ||
export const Welcome = () => ( | ||
<div id='welcome'> | ||
<div className="banner"> | ||
<h1>Akamai Design System</h1> | ||
</div> | ||
<p className="intro">Here you can find our design guidelines, component documentation, and resources for building apps with Akamai's design system.</p> | ||
<h2>What's Inside</h2> | ||
<div className="inside"> | ||
<div> | ||
<h3>Get Started</h3> | ||
<p>Instructions and welcome to Akamai's OS design system</p> | ||
<a href='/'>Read more</a> | ||
</div> | ||
<div> | ||
<h3>Tokens</h3> | ||
<p>All information about colors, typography, spacing, and icons</p> | ||
<a href='/'>Read more</a> | ||
</div> | ||
<div> | ||
<h3>Components</h3> | ||
<p>All the information and guidelines you’ll ever need on each component</p> | ||
<a href='/'>Read more</a> | ||
</div> | ||
</div> | ||
</div> | ||
); |
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,48 @@ | ||
#welcome { | ||
.banner { | ||
background:#fff url('/images/ds.jpg') no-repeat right; | ||
margin-bottom: 2rem; | ||
background-size: 60%; | ||
display: flex; | ||
height: 250px; | ||
position: relative; | ||
align-items: center; | ||
border-radius: 20px; | ||
border: 1px solid #959a9c; | ||
|
||
h1 { | ||
margin-left: 2rem; | ||
color: #444; | ||
} | ||
} | ||
|
||
.intro { | ||
font-size: 1.25rem; | ||
margin-bottom: 2rem; | ||
} | ||
|
||
.inside { | ||
display: flex; | ||
flex-wrap: wrap; | ||
justify-content: space-between; | ||
margin-bottom: 2rem; | ||
gap: 1rem; | ||
|
||
|
||
> div { | ||
border: 1px solid #959a9c; | ||
flex: 1; | ||
background-color: #f8fcfe; | ||
display: flex; | ||
flex-direction: column; | ||
padding: 1rem; | ||
border-radius: 12px; | ||
justify-content: center; | ||
height: 175px; | ||
|
||
h3 { | ||
margin-bottom: 0; | ||
} | ||
} | ||
} | ||
} |
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