Skip to content

Commit

Permalink
Prettier Across All
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesbayly committed Jul 20, 2023
1 parent 878898f commit 1e2d6dd
Show file tree
Hide file tree
Showing 371 changed files with 3,242 additions and 4,482 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
push:
branches:
- master
workflow_dispatch:
workflow_dispatch:

jobs:
build:
Expand Down
132 changes: 66 additions & 66 deletions docs/.vuepress/public/assets/manifest.json
Original file line number Diff line number Diff line change
@@ -1,67 +1,67 @@
{
"name": "SubQuery Academy",
"short_name": "SubQuery Academy",
"start_url": "https://academy.subquery.network",
"display": "standalone",
"theme_color": "#fff",
"background_color": "#fff",
"description": "Explore and transform your chain data to build intuitive dApps faster!",
"orientation": "portrait-primary",
"scope": "./",
"icons": [
{
"src": "public/assets/icons/icon-48x48.png",
"sizes": "48x48",
"type": "image/png",
"purpose": "any"
},
{
"src": "public/assets/icons/icon-72x72.png",
"sizes": "72x72",
"type": "image/png",
"purpose": "any"
},
{
"src": "public/assets/icons/icon-96x96.png",
"sizes": "96x96",
"type": "image/png",
"purpose": "any"
},
{
"src": "public/assets/icons/icon-128x128.png",
"sizes": "128x128",
"type": "image/png",
"purpose": "any"
},
{
"src": "public/assets/icons/icon-144x144.png",
"sizes": "144x144",
"type": "image/png",
"purpose": "any"
},
{
"src": "public/assets/icons/icon-152x152.png",
"sizes": "152x152",
"type": "image/png",
"purpose": "any"
},
{
"src": "public/assets/icons/icon-192x192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "any"
},
{
"src": "public/assets/icons/icon-384x384.png",
"sizes": "384x384",
"type": "image/png",
"purpose": "any"
},
{
"src": "public/assets/icons/icon-512x512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "any"
}
]
}
"name": "SubQuery Academy",
"short_name": "SubQuery Academy",
"start_url": "https://academy.subquery.network",
"display": "standalone",
"theme_color": "#fff",
"background_color": "#fff",
"description": "Explore and transform your chain data to build intuitive dApps faster!",
"orientation": "portrait-primary",
"scope": "./",
"icons": [
{
"src": "public/assets/icons/icon-48x48.png",
"sizes": "48x48",
"type": "image/png",
"purpose": "any"
},
{
"src": "public/assets/icons/icon-72x72.png",
"sizes": "72x72",
"type": "image/png",
"purpose": "any"
},
{
"src": "public/assets/icons/icon-96x96.png",
"sizes": "96x96",
"type": "image/png",
"purpose": "any"
},
{
"src": "public/assets/icons/icon-128x128.png",
"sizes": "128x128",
"type": "image/png",
"purpose": "any"
},
{
"src": "public/assets/icons/icon-144x144.png",
"sizes": "144x144",
"type": "image/png",
"purpose": "any"
},
{
"src": "public/assets/icons/icon-152x152.png",
"sizes": "152x152",
"type": "image/png",
"purpose": "any"
},
{
"src": "public/assets/icons/icon-192x192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "any"
},
{
"src": "public/assets/icons/icon-384x384.png",
"sizes": "384x384",
"type": "image/png",
"purpose": "any"
},
{
"src": "public/assets/icons/icon-512x512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "any"
}
]
}
87 changes: 50 additions & 37 deletions docs/.vuepress/public/assets/style/homepage.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@ body .theme-hope-content:not(.custom) {
display: none;
}
.welcomeContainer {
background: linear-gradient(90deg, rgba(216, 236, 255, 0.2) 0%, rgba(245, 250, 255, 0.2) 58.62%);
background: linear-gradient(
90deg,
rgba(216, 236, 255, 0.2) 0%,
rgba(245, 250, 255, 0.2) 58.62%
);
}
.dark .welcomeContainer {
background: var(--c-bg-sidebar);
Expand Down Expand Up @@ -99,20 +103,20 @@ body .theme-hope-content:not(.custom) {
height: 48px;
line-height: 48px;
border-radius: 48px;
background: #4388DD;
background: #4388dd;
font-weight: 400;
font-size: 16px;
color: #fff;
text-decoration: none!important;
text-decoration: none !important;
}
.button img {
margin-right: 8px;
}
.button:hover {
opacity: .87;
opacity: 0.87;
}
.buttonRed {
background: #FF4581;
background: #ff4581;
}

.textImageSection {
Expand All @@ -133,10 +137,15 @@ body .theme-hope-content:not(.custom) {

.banner {
padding: 80px;
background: linear-gradient(0deg, rgba(255, 255, 255, 0.93), rgba(255, 255, 255, 0.93)), #4388DD;
background: linear-gradient(
0deg,
rgba(255, 255, 255, 0.93),
rgba(255, 255, 255, 0.93)
),
#4388dd;
}
.dark .banner {
background: none
background: none;
}
.banner > div {
display: flex;
Expand All @@ -146,7 +155,7 @@ body .theme-hope-content:not(.custom) {
margin: 0 0 24px 0;
}
.banner p {
font-size: 20px;;
font-size: 20px;
}
@media screen and (max-width: 720px) {
.banner {
Expand All @@ -159,7 +168,7 @@ body .theme-hope-content:not(.custom) {

.quickStart h3,
.quickStart p {
margin-bottom: 24px!important;
margin-bottom: 24px !important;
font-size: 20px;
}
.quickStartList {
Expand Down Expand Up @@ -199,7 +208,7 @@ body .theme-hope-content:not(.custom) {
justify-content: space-between;
align-items: center;
display: flex;
background: #F2F7FD;
background: #f2f7fd;
}
.quickStartList .itemGroup a {
max-width: 189px;
Expand Down Expand Up @@ -235,7 +244,7 @@ body .theme-hope-content:not(.custom) {
display: flex;
justify-content: space-between;
padding: 40px 0;
border-top: 1px solid #DFE3E8;
border-top: 1px solid #dfe3e8;
}
.journeyItem .icon {
width: 56px;
Expand All @@ -246,11 +255,17 @@ body .theme-hope-content:not(.custom) {
font-weight: 500;
font-size: 26px;
line-height: 36px;
margin-bottom: 16px!important;
margin-bottom: 16px !important;
}

.graphGuide {
background: radial-gradient(50% 50% at 50% 50%, rgba(93, 106, 245, 0.2) 0%, rgba(96, 109, 255, 0.166) 38.02%, rgba(161, 167, 230, 0.002) 100%), #191C3C;
background: radial-gradient(
50% 50% at 50% 50%,
rgba(93, 106, 245, 0.2) 0%,
rgba(96, 109, 255, 0.166) 38.02%,
rgba(161, 167, 230, 0.002) 100%
),
#191c3c;
border-radius: 8px;
display: flex;
flex-direction: column;
Expand All @@ -261,13 +276,13 @@ body .theme-hope-content:not(.custom) {
}
.graphGuide h3,
.graphGuide p {
color: #fff!important;
color: #fff !important;
}
.graphGuide > * {
margin-bottom: 32px!important;
margin-bottom: 32px !important;
}
.graphGuide h3 {
margin-bottom: 16px!important;
margin-bottom: 16px !important;
}
.graphGuide p {
max-width: 630px;
Expand All @@ -279,19 +294,17 @@ body .theme-hope-content:not(.custom) {
}
}



.faqs h3 {
margin-bottom: 24px!important;
margin-bottom: 24px !important;
}
.faqsContent {
border: 1px solid #DFE3E8;
border: 1px solid #dfe3e8;
padding: 0;
border-radius: 8px;
overflow: hidden;
}
.dark .faqsContent {
color: #2C3E50;
color: #2c3e50;
}
.faqsContent li {
list-style: none;
Expand All @@ -302,8 +315,8 @@ body .theme-hope-content:not(.custom) {
padding: 24px;
box-sizing: border-box;
height: 72px;
background: #F2F7FD;
border-bottom: 1px solid #DFE3E8;
background: #f2f7fd;
border-bottom: 1px solid #dfe3e8;
gap: 18px;
}
.faqsContent li:last-child .title {
Expand All @@ -320,7 +333,7 @@ body .theme-hope-content:not(.custom) {
display: flex;
align-items: center;
justify-content: center;
transition: all .2s linear;
transition: all 0.2s linear;
transform: rotate(-90deg);
}
.faqsContent .ct {
Expand All @@ -339,18 +352,18 @@ body .theme-hope-content:not(.custom) {
transition: max-height 0.2s linear;
}
.faqsContent li.active:last-child .title {
border-bottom: 1px solid #DFE3E8;
border-bottom: 1px solid #dfe3e8;
}
.faqsContent .active .title span {
transform: rotate(0);
}
.faqsContent .active .animation {
max-height: 10000px;
border-bottom: 1px solid #DFE3E8;
border-bottom: 1px solid #dfe3e8;
}

.advancedFeatures h3 {
margin-bottom: 24px!important;
margin-bottom: 24px !important;
}
.advancedFeatures .cardList {
max-width: 960px;
Expand All @@ -363,8 +376,8 @@ body .theme-hope-content:not(.custom) {
.advancedFeatures .cardList .item {
flex: 1 1 auto;
margin-bottom: 8px;
background: #FFFFFF;
border: 1px solid #DFE3E8;
background: #ffffff;
border: 1px solid #dfe3e8;
box-shadow: 0px 10px 30px rgba(244, 246, 248, 0.25);
border-radius: 8px;
padding: 24px;
Expand All @@ -381,10 +394,10 @@ body .theme-hope-content:not(.custom) {
}
.dark .advancedFeatures .cardList h5,
.dark .advancedFeatures .cardList p {
color: #2C3E50;
color: #2c3e50;
}
.advancedFeatures .cardList .item:hover {
border: 1px solid #4388DD;
border: 1px solid #4388dd;
text-decoration: none;
}
@media screen and (max-width: 419px) {
Expand All @@ -398,22 +411,22 @@ body .theme-hope-content:not(.custom) {
flex-direction: column;
align-items: center;
padding: 40px;
background: #FFFFFF;
background: #ffffff;
box-shadow: 0px 23px 50px rgba(145, 158, 171, 0.15);
border-radius: 20px;
box-sizing: border-box;
}
.dark .help {
color: #2C3E50;
color: #2c3e50;
}
.help h3 {
margin-bottom: 16px!important;
margin-bottom: 16px !important;
}
.help p {
max-width: 678px;
font-size: 16px!important;
line-height: 24px!important;
margin-bottom: 32px!important;
font-size: 16px !important;
line-height: 24px !important;
margin-bottom: 32px !important;
text-align: center;
}

Expand Down
2 changes: 1 addition & 1 deletion docs/.vuepress/styles/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ iframe {
right: 0;
width: 100%;
height: 100%;
}
}
Loading

0 comments on commit 1e2d6dd

Please sign in to comment.