-
Notifications
You must be signed in to change notification settings - Fork 42
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
cd72fda
commit 59a4c01
Showing
53 changed files
with
1,415 additions
and
18 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
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,3 +1,4 @@ | ||
module.exports = { | ||
presets: [require.resolve('@docusaurus/core/lib/babel/preset')], | ||
plugins: ['@emotion'], | ||
} |
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,4 @@ | ||
declare module '*.png' { | ||
const url: string | ||
export default url | ||
} |
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,53 @@ | ||
import KeySvg from '@site/assets/pages/key.svg' | ||
import RadarSvg from '@site/assets/pages/radar.svg' | ||
import TipsSvg from '@site/assets/pages/tips.svg' | ||
import WaterfallSvg from '@site/assets/pages/waterfalls.svg' | ||
import React from 'react' | ||
|
||
import { Card, Container, IconWrap } from './styled' | ||
|
||
export const Advantages = () => { | ||
return ( | ||
<Container> | ||
<Card> | ||
<IconWrap bgColor="#e1eaff"> | ||
<RadarSvg /> | ||
</IconWrap> | ||
<h2>In-depth details and analysis</h2> | ||
<span> | ||
Pioneering analyze front-end application's performance from perspectives, including packaged products, | ||
integrated test environments, and back to source code. | ||
</span> | ||
</Card> | ||
<Card> | ||
<IconWrap bgColor="#d5f6f2"> | ||
<TipsSvg /> | ||
</IconWrap> | ||
<h2>Lower threshold for performance analysis</h2> | ||
<span> | ||
Provide professional optimization advice based on multiple perspectives. Even newcomers with little experience | ||
in performance optimization can follow the diagram. | ||
</span> | ||
</Card> | ||
<Card> | ||
<IconWrap bgColor="#d9f3fd"> | ||
<KeySvg /> | ||
</IconWrap> | ||
<h2>Bridging the R&D process</h2> | ||
<span> | ||
From development to deployment, the Perfsee toolset has been permeated through the development process, | ||
tracking performance changes between releases in real time. | ||
</span> | ||
</Card> | ||
<Card> | ||
<IconWrap bgColor="#d9f5d6"> | ||
<WaterfallSvg /> | ||
</IconWrap> | ||
<h2>Data interfacing with RUM</h2> | ||
<span> | ||
Based on RUM data, gives further guidance on performance analysis and comparison with the online version. | ||
</span> | ||
</Card> | ||
</Container> | ||
) | ||
} |
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,51 @@ | ||
import styled from '@emotion/styled' | ||
|
||
export const Container = styled.div({ | ||
margin: '60px 0 150px', | ||
padding: '0 60px', | ||
|
||
display: 'flex', | ||
justifyContent: 'space-around', | ||
|
||
'@media(max-width: 960px)': { | ||
flexWrap: 'wrap', | ||
}, | ||
|
||
'@media(max-width: 480px)': { | ||
margin: '60px 0 90px', | ||
}, | ||
}) | ||
|
||
export const Card = styled.div({ | ||
maxWidth: '320px', | ||
minWidth: '230px', | ||
padding: '10px', | ||
textAlign: 'center', | ||
marginBottom: '30px', | ||
|
||
h2: { | ||
fontSize: '24px', | ||
fontWeight: 'bold', | ||
margin: '12px 0', | ||
}, | ||
|
||
span: { | ||
fontSize: '14px', | ||
}, | ||
}) | ||
|
||
export const IconWrap = styled.div<{ bgColor: string }>(({ bgColor }) => ({ | ||
width: '48px', | ||
height: '48px', | ||
margin: '0 auto', | ||
borderRadius: '24px', | ||
display: 'flex', | ||
alignItems: 'center', | ||
justifyContent: 'center', | ||
backgroundColor: bgColor, | ||
|
||
svg: { | ||
width: '24px', | ||
height: '24px', | ||
}, | ||
})) |
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,30 @@ | ||
import BannerLeftImage from '@site/assets/pages/banner-bg-left.png' | ||
import BannerRightImage from '@site/assets/pages/banner-bg-right.png' | ||
import React from 'react' | ||
|
||
import { PrimaryButton, DefaultButton } from '../button' | ||
|
||
import { BannerContainer, BannerLeftBgWrap, BannerRightBgWrap, ButtonsWrap, ContentWrap, Slogan } from './styled' | ||
|
||
export const HomeBanner = () => { | ||
return ( | ||
<BannerContainer> | ||
<BannerLeftBgWrap> | ||
<img src={BannerLeftImage} /> | ||
</BannerLeftBgWrap> | ||
<BannerRightBgWrap> | ||
<img src={BannerRightImage} /> | ||
</BannerRightBgWrap> | ||
<ContentWrap> | ||
<Slogan> | ||
<p>Care more about your</p> | ||
<b>website performance</b> | ||
</Slogan> | ||
<ButtonsWrap> | ||
<PrimaryButton href="https://perfsee.com">Try now</PrimaryButton> | ||
<DefaultButton href="/docs">Docs</DefaultButton> | ||
</ButtonsWrap> | ||
</ContentWrap> | ||
</BannerContainer> | ||
) | ||
} |
Oops, something went wrong.