-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Showing
22 changed files
with
315 additions
and
610 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 was deleted.
Oops, something went wrong.
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
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,105 @@ | ||
.card { | ||
box-sizing: border-box; | ||
width: 310px; | ||
height: 300px; | ||
|
||
position: relative; | ||
overflow: hidden; | ||
|
||
display: flex; | ||
flex-direction: column; | ||
align-items: flex-start; | ||
|
||
border: 1px solid rgb(239, 239, 239); | ||
border-radius: 5%; | ||
padding: 20px; | ||
|
||
transition: box-shadow 0.25s ease-in-out; | ||
|
||
font-family: 'Nunito Sans', sans-serif; | ||
font-weight: normal; | ||
} | ||
|
||
.card:hover { | ||
box-shadow: 0px 12px 12px #f2eeeee8; | ||
} | ||
|
||
.card::before { | ||
content: ''; | ||
|
||
position: absolute; | ||
z-index: -1; | ||
|
||
top: 0; | ||
left: 0; | ||
width: 100%; | ||
height: 100%; | ||
|
||
background: radial-gradient(100% 100% at 1.07% 0%, rgba(255, 99, 0, 0.2) 0%, rgba(0, 0, 0, 0) 100%); | ||
|
||
opacity: 0; | ||
transition: opacity 0.25s ease-in-out; | ||
} | ||
|
||
.card:hover::before { | ||
opacity: 1; | ||
} | ||
|
||
[data-theme='dark'] .card { | ||
border-color: #131419; | ||
} | ||
|
||
[data-theme='dark'] .card:hover { | ||
box-shadow: none; | ||
} | ||
|
||
.title { | ||
font-weight: 700; | ||
font-size: 30px; | ||
margin: 20px 0 38px; | ||
} | ||
|
||
.image { | ||
width: 70px; | ||
height: 70px; | ||
border-radius: 25%; | ||
box-shadow: 0 1px 2px 0 rgb(60 64 67 / 30%), 0 1px 3px 1px rgb(60 64 67 / 15%); | ||
} | ||
|
||
.storeButton { | ||
display: inline-block; | ||
width: 115px; | ||
height: 30px; | ||
line-height: 30px; | ||
margin-right: 10px; | ||
color: #000; | ||
text-align: center; | ||
text-decoration: none; | ||
border-radius: 25px; | ||
font-size: 13px; | ||
background: #e6e6e6; | ||
} | ||
|
||
.storeButton:hover { | ||
background-color: #5a3fc6; | ||
transition: transform 0.25s ease-in-out; | ||
filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25)); | ||
color: #ffffff; | ||
text-decoration: none; | ||
} | ||
|
||
[data-theme='dark'] .storeButton { | ||
color: #fff; | ||
} | ||
|
||
[data-theme='dark'] .storeButton { | ||
background-color: #23272f; | ||
} | ||
|
||
[data-theme='dark'] .storeButton:hover { | ||
background-color: #5a3fc6; | ||
} | ||
|
||
.storeButton:focus { | ||
outline: none; | ||
} |
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,21 @@ | ||
import clsx from 'clsx'; | ||
import React from 'react'; | ||
|
||
import Link from '@docusaurus/Link'; | ||
|
||
import styles from './Hero.module.css'; | ||
|
||
export default function ShowcaseHero() { | ||
return ( | ||
<section className={clsx('hero hero--primary', styles.heroBanner)}> | ||
<div className="container"> | ||
<h1 className="hero__title">Users Showcase</h1> | ||
<h2 className="hero__subtitle">Check out who is using Detox to Gray box test their React Native Apps</h2> | ||
|
||
<Link to="/docs/introduction/getting-started" className={styles.button}> | ||
Join the Showcase! | ||
</Link> | ||
</div> | ||
</section> | ||
); | ||
} |
Oops, something went wrong.