Skip to content

Commit 4399536

Browse files
enoldevwalkerlj0
andauthored
Landing page (#206)
Co-authored-by: Lindsay Walker <[email protected]>
1 parent a95748a commit 4399536

File tree

28 files changed

+411
-46
lines changed

28 files changed

+411
-46
lines changed

assets/scss/common/_custom.scss

Lines changed: 185 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,58 @@
44
border: 0px;
55
}
66

7+
.offcanvas.show .lp {
8+
color: black;
9+
}
10+
11+
[data-dark-mode] .landing-steps {
12+
color: black;
13+
}
14+
15+
[data-dark-mode] .landing-info {
16+
color: black;
17+
}
18+
19+
[data-dark-mode] .landing-info a {
20+
color: black;
21+
}
22+
23+
[data-dark-mode] .curriculum-listing {
24+
color: black;
25+
}
26+
27+
[data-dark-mode] .curriculum-listing a {
28+
color: black;
29+
}
30+
31+
[data-dark-mode] .content-level-selector-container {
32+
color: white;
33+
}
34+
35+
[data-dark-mode] .content-level-selector {
36+
background-color: #212529;
37+
border-bottom: 1px solid white;
38+
text-align: center;
39+
color: white;
40+
}
41+
42+
.offcanvas .show.nav-link.lp{
43+
color: black !important;
44+
}
45+
746
.nav-link.lp{
847
color: white;
948
}
1049

50+
.nav-link.lp a:hover{
51+
color: white !important;
52+
}
53+
54+
.nav a:hover{
55+
text-decoration: underline;
56+
color: white !important;
57+
}
58+
1159
.nav-link.lp.active {
1260
color: white;
1361
text-decoration: underline;
@@ -23,3 +71,140 @@
2371
text-decoration: none;
2472
color: black;
2573
}
74+
.nav-item a {
75+
color: red;
76+
}
77+
.nav-item a:hover {
78+
color: red;
79+
}
80+
81+
.content-level-selector-container {
82+
color: black;
83+
text-align: center;
84+
font-size: 20px;
85+
}
86+
87+
.content-level-selector {
88+
border: 0px solid white;
89+
border-bottom: 1px solid black;
90+
text-align: center;
91+
}
92+
93+
94+
/* LANDING 1 */
95+
96+
.landing-steps {
97+
display: flex;
98+
flex-wrap: wrap;
99+
width: 100%;
100+
max-width: 850px;
101+
align-items: center;
102+
background-color: #f8f7f7;
103+
border: 1px solid #eeeded;
104+
border-radius: 10px;
105+
padding: 10px;
106+
}
107+
108+
.landing-steps a {
109+
color: black;
110+
}
111+
112+
.landing-steps a:hover {
113+
text-decoration: none;
114+
}
115+
116+
@media (max-width: 700px) {
117+
.landing-steps {
118+
max-width: 300px;
119+
}
120+
121+
.landing-steps .column {
122+
width: 100%;
123+
text-align: center;
124+
font-size: 30px;
125+
}
126+
127+
.landing-arrow-right {
128+
display: none;
129+
}
130+
131+
.landing-arrow-down {
132+
display: inline-block;
133+
}
134+
135+
.landing-arrow {
136+
width: 100% !important;
137+
text-align: center;
138+
margin-top: 5px;
139+
}
140+
}
141+
142+
@media (min-width: 700px) {
143+
.landing-steps .column {
144+
width: 31%;
145+
text-align: center;
146+
font-size: 35px;
147+
}
148+
149+
.landing-arrow-right {
150+
display: inline-block;
151+
}
152+
153+
.landing-arrow-down {
154+
display: none;
155+
}
156+
157+
.landing-arrow {
158+
width: 3% !important;
159+
}
160+
}
161+
162+
163+
.landing-info {
164+
display: flex;
165+
flex-wrap: wrap;
166+
width: 100%;
167+
}
168+
169+
@media (max-width: 950px) {
170+
.landing-info .column {
171+
width: 100%;
172+
margin-right: 10px;
173+
}
174+
}
175+
176+
@media (min-width: 950px) {
177+
.landing-info .column {
178+
width: calc(50% - 10px);
179+
margin-right: 10px;
180+
}
181+
}
182+
183+
184+
.landing-card {
185+
background-color: rgb(243, 243, 243);
186+
border: 1px solid rgb(213, 213, 213);
187+
width: 100%;
188+
}
189+
190+
.landing-card-title {
191+
color: grey;
192+
}
193+
194+
.landing-card-subtitle {
195+
font-size: 24px;
196+
font-weight: bold;
197+
}
198+
199+
.landing-button {
200+
margin-right: 5px;
201+
border-radius: 6px;
202+
background-color: white;
203+
border: 1px solid rgb(224, 224, 224);
204+
cursor: pointer;
205+
}
206+
207+
.landing-button.selected {
208+
background-color: rgb(228, 244, 255);
209+
border: 1px solid rgb(146, 219, 255);
210+
}

config/_default/menus/menus.en.toml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,29 @@
22
name = "Curriculum"
33
url = "/curriculum"
44
weight = 1000
5+
[main.params]
6+
identifier = "curriculum"
57

68
[[main]]
79
name = "Prerequisites"
810
url = "/prerequisites/web3-and-pl"
911
weight = 2000
12+
[main.params]
13+
identifier = "prerequisites"
1014

1115
[[main]]
12-
name = "Resources"
13-
url = "/resources/toolkits/introduction"
16+
name = "Dev-Tools"
17+
url = "/dev-tools/toolkits/introduction/"
1418
weight = 3000
19+
[main.params]
20+
identifier = "dev-tools"
1521

1622
[[main]]
1723
name = "Website"
1824
url = "https://pl-launchpad.io"
1925
weight = 4000
26+
[main.params]
27+
identifier = "website"
2028

2129
# [[main]]
2230
# name = "Get Started"
@@ -107,12 +115,12 @@
107115
identifier = "prereq"
108116

109117

110-
[[resources]]
118+
[[devtools]]
111119
name = "PL Toolkits and SDKs"
112120
weight = 10
113121
identifier = "resources-toolkits"
114122

115-
[[resources]]
123+
[[devtools]]
116124
name = "Other Resources"
117125
weight = 20
118126
identifier = "resources-other"

config/_default/params.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ lqipWidth = "20x"
5454
smallLimit = "300"
5555

5656
# Footer
57-
footer = "Powered by <a class=\"text-muted\" href=\"https://fleek.co/\">Fleek</a>, <a class=\"text-muted\" href=\"https://gohugo.io/\">Hugo</a>, and <a class=\"text-muted\" href=\"https://getdoks.org/\">Doks</a>"
57+
footer = 'Made with &hearts; by Protocol Labs. <br /> The icons used are provided by <a href="https://flaticon.com">Flaticon</a>.'
5858

5959
# Feed
6060
copyRight = "Copyright (c) Protocol Labs"

content/en/curriculum/_index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
title : "Curriculum"
3+
---

content/en/resources/other-resources/additional-learning.md renamed to content/en/dev-tools/other-resources/additional-learning.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "Additional Learning"
33
description: "Deeper Learning and Context to Prepare you for Web3"
44
draft: false
55
menu:
6-
resources:
6+
devtools:
77
parent: "resources-other"
88
weight: 80
99
---

content/en/resources/other-resources/built-on-ipfs.md renamed to content/en/dev-tools/other-resources/built-on-ipfs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "Built on IPFS and Filecoin"
33
description: "Apps, Tooling, and Other Projects"
44
draft: false
55
menu:
6-
resources:
6+
devtools:
77
parent: "resources-other"
88
weight: 70
99
---

content/en/resources/toolkits/fleek/index.md renamed to content/en/dev-tools/toolkits/fleek/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "Fleek"
33
description: "An Easy-to-Use Web3 Hosting Service"
44
draft: false
55
menu:
6-
resources:
6+
devtools:
77
parent: "resources-toolkits"
88
weight: 40
99
---

0 commit comments

Comments
 (0)