Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update graphics and links on docs #1274

Merged
merged 30 commits into from
Sep 22, 2022
Merged
Show file tree
Hide file tree
Changes from 19 commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
a4d4a8c
update landing page graphics
gesquinca Sep 13, 2022
f2a1d01
add responsive code for themes graphic
gesquinca Sep 13, 2022
95e0ec8
replace connect wallet image
gesquinca Sep 13, 2022
fbbba31
change FAQ route
gesquinca Sep 13, 2022
ede2f51
edit FAQ markdown
gesquinca Sep 13, 2022
83ef54d
update images for hero section
gesquinca Sep 13, 2022
416781b
update theming section graphics
gesquinca Sep 13, 2022
10035cd
update wallets graphic
gesquinca Sep 13, 2022
a055aeb
fix svgs not displaying correctly in Safari
gesquinca Sep 14, 2022
24e9be5
update connect modal svg
gesquinca Sep 15, 2022
153fbb5
update blog link
gesquinca Sep 15, 2022
c34dfc4
link added to faq
techgangboss Sep 15, 2022
2664420
customization file added
techgangboss Sep 16, 2022
abb1cd5
fixed link & formatting
techgangboss Sep 16, 2022
f8ea241
added hint/info styling and customization
techgangboss Sep 16, 2022
9ab76b0
Update onboard graphics
gesquinca Sep 16, 2022
596233e
add zapper to users graphics
gesquinca Sep 16, 2022
c37f204
remove unused svg
gesquinca Sep 16, 2022
f9c245c
svg updates
gesquinca Sep 16, 2022
6aa7196
Update docs/src/lib/components/HeroSection.svelte
Adamj1232 Sep 19, 2022
bd26444
Update docs/src/routes/docs/[...2]getting-started/[...2]customization.md
Adamj1232 Sep 19, 2022
556d4cb
Update docs/src/routes/docs/[...2]getting-started/[...2]customization.md
Adamj1232 Sep 19, 2022
2983622
Merge branch 'docs-develop' into feature/documentation-images
gesquinca Sep 20, 2022
187001c
remove unused import
gesquinca Sep 21, 2022
dc242ea
vercel adapter fix
gesquinca Sep 21, 2022
1d18ba2
rename /theming to /theming-tool
gesquinca Sep 21, 2022
dffd118
remove theming section for core package md
gesquinca Sep 21, 2022
1caa36a
update customization page
gesquinca Sep 21, 2022
22adf27
update language
gesquinca Sep 21, 2022
2b164f3
fix unused selector warning
gesquinca Sep 21, 2022
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
171 changes: 171 additions & 0 deletions docs/src/lib/assets/connect-modal.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/src/lib/assets/connect-wallet-modal.png
Binary file not shown.
36 changes: 14 additions & 22 deletions docs/src/lib/components/FeaturesSection.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

import FrameworksGraphic from './svg/frameworks-group.svelte'
import NetworksGraphic from './svg/networks-group.svelte'
import WalletsGraphic from './svg/wallets-group.svelte'
import NotifyGraphic from './svg/notify-group.svelte'
import AccountCenterGraphic from './svg/account-center-group.svelte'
import WalletsGraphic from './svg/wallet-row.svg'

import InstallCode from './install-code.md'
</script>
Expand Down Expand Up @@ -81,10 +81,10 @@
</div>
</Container>
<ScrollContainer>
<WalletsGraphic />
<img src={WalletsGraphic} alt="onboard connect wallets" style="margin: 0 auto; max-width: none;">
</ScrollContainer>
<Container>
<div class="flexbox" style:padding={'4rem 1rem'}>
<div class="flexbox">
<TextBlock
title={'Real-time transaction notifications'}
subtitle={''}
Expand All @@ -95,12 +95,12 @@
<Button href="/examples/connect-wallet" buttonStyle={'link'}>{'View Demo'}</Button>
</Flexbox>
</TextBlock>
<NotifyGraphic />
<div><NotifyGraphic /></div>
</div>
</Container>
<Container>
<div class="flexbox" style:gap={'4rem'} style:padding={'2rem'}>
<AccountCenterGraphic />
<div class="flexbox">
<div><AccountCenterGraphic /></div>
<div>
<TextBlock
title={'Account Center'}
Expand Down Expand Up @@ -132,10 +132,9 @@
}

.features-b {
padding: 2rem;
/* gap: 16px; */
height: auto;
/* min-height: 288px; */
padding: 2rem;
background: linear-gradient(87.71deg, rgba(0, 0, 0, 0) 0%, rgba(0, 209, 255, 0.02) 100%),
#060d20;
border: 1px solid rgba(255, 255, 255, 0.05);
Expand All @@ -156,9 +155,6 @@
}

.features-c {
/* width: 1440px; */
/* height: 1698px; */
/* min-height: 1698px; */
background: radial-gradient(
93.49% 93.49% at 50% 93.49%,
rgba(20, 29, 107, 0.25) 0%,
Expand All @@ -170,24 +166,20 @@

.flexbox {
display: flex;
flex-direction: column;
align-items: center;
gap: 4rem;
flex-flow: column nowrap;
gap: 3rem;
padding: 2rem;
}
.flexbox > div {
min-width: 50%;
max-width: 100%;
/* display: flex; */
width: 100%;
flex: 50%;
}

@media screen and (min-width: 640px) {
.flexbox {
/* display: flex; */
flex-direction: row;
/* align-items: center; */
/* gap: 4rem; */
/* padding: 2rem; */
flex-flow: row nowrap;
gap: 4rem;
padding: 3rem;
}
}
</style>
4 changes: 2 additions & 2 deletions docs/src/lib/components/Footer.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script>
import Flexbox from './base/Flexbox.svelte'
import PoweredByBadge from './svg/PoweredByBadge.svelte'
import PoweredByBn from './svg/powered-by-blocknative.svg'

import DiscordIcon from '~icons/ri/discord-fill'
import GitHubIcon from '~icons/ri/github-fill'
Expand Down Expand Up @@ -43,7 +43,7 @@
</a>
</Flexbox>
<a href="//www.blocknative.com/" target="_blank">
<PoweredByBadge />
<img src={PoweredByBn} alt="Powered by Blocknative">
<span class="sr-only">Powered by Blocknative</span>
</a>
</Flexbox>
Expand Down
35 changes: 13 additions & 22 deletions docs/src/lib/components/HeroSection.svelte
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
<script>
import heroBg from './svg/hero-bg.svg'
import heroImg from './svg/hero-img.svg'

import Button from './base/Button.svelte'
import Flexbox from './base/Flexbox.svelte'
import CodeBlock from './base/CodeBlock.svelte'

import Flexbox from './base/Flexbox.svelte'
import Button from './base/Button.svelte'
import heroBg from './svg/hero-bg.svg'
import heroImg from './svg/hero-img.svg'
</script>

<section style="background-image: url({heroBg});">
Expand All @@ -26,20 +25,17 @@
<Button href="/docs" label={'View Docs'} />
</Flexbox>
</div>

<img src={heroImg} alt="" />
<img src={heroImg} alt="onboard connect wallet" />
</section>

<style>
section {
position: relative;
max-width: 100%;
/* height: auto; */
/* width: 1440px; */
min-height: 1140px;
padding: 2rem;
padding-top: 80px;

display: flex;
flex-flow: column;
align-items: center;
/* justify-content: center; */
Adamj1232 marked this conversation as resolved.
Show resolved Hide resolved
Adamj1232 marked this conversation as resolved.
Show resolved Hide resolved
background: radial-gradient(
50% 50% at 50% 50%,
rgba(0, 216, 255, 0.02) 0%,
Expand All @@ -48,20 +44,15 @@
#060d20;
background-size: cover;
background-repeat: no-repeat;

display: flex;
flex-flow: column;
align-items: center;
/* justify-content: center; */
}

img {
position: absolute;
bottom: 0;
position: relative;
display: block;
margin: 0 auto;
padding: 0 1rem;
width: 100%;
max-width: 1243px;
max-width: 1240px;
}

.textblock {
Expand All @@ -72,7 +63,7 @@

width: 100%;
max-width: 760px;
margin: 32px;
padding: 5rem 2rem 4rem;
}

.textblock > div {
Expand Down
4 changes: 2 additions & 2 deletions docs/src/lib/components/TestimonialSection.svelte
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<script>
import TestimonialsGraphic from './svg/logos-group.svelte'
import TestimonialsGraphic from './svg/logos-group.svg'
</script>

<section>
<h1 class="text">
{"Who's using web3-onboard?"}
</h1>
<div>
<TestimonialsGraphic />
<img src={TestimonialsGraphic} alt="Web3-Onboard-users">
</div>
</section>

Expand Down
20 changes: 17 additions & 3 deletions docs/src/lib/components/ThemingSection.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import Container from './Container.svelte'

import ThemingCode from './theming-code.md'
import ThemeCarousel from './svg/themes-carousel.svelte'
import ThemingGraphic from './svg/themes-example-carousel.svg'
</script>

<section>
Expand All @@ -28,13 +28,12 @@
</div>
</Container>
<ScrollContainer style={'padding: 0 2rem'}>
<ThemeCarousel />
<img class="carousel-img" src={ThemingGraphic} alt="onboard connect wallet themes" >
</ScrollContainer>
</section>

<style>
section {
/* min-height: 991px; */
background: radial-gradient(
137.29% 137.29% at 50% -37.29%,
rgba(99, 112, 229, 0.5) 0%,
Expand Down Expand Up @@ -66,9 +65,24 @@
flex: 50%;
}

.carousel-img {
height: 9rem;
width: auto;
max-width: none;
}

@media screen and (min-width: 640px) {
.carousel-img {
height: 20rem;
}
}

@media screen and (min-width: 1024px) {
.flexbox {
flex-direction: row;
}
.carousel-img {
height: auto;
}
}
</style>
2 changes: 1 addition & 1 deletion docs/src/lib/components/base/Button.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

border: none;
border-radius: 4px;
padding: 1rem 2rem;
padding: 1rem 2.5rem;

/* text */
font-family: 'Sofia Pro';
Expand Down
18 changes: 0 additions & 18 deletions docs/src/lib/components/svg/CodeTabs.svelte

This file was deleted.

Loading