Skip to content

Commit 4abd744

Browse files
committed
Landing Page Work in Progress
1 parent 7205f6d commit 4abd744

File tree

3 files changed

+62
-6
lines changed

3 files changed

+62
-6
lines changed

landing_page.qmd

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,37 @@
11
---
2-
output: html
2+
format:
3+
html:
4+
theme: [src/custom.scss , landing_page.scss]
5+
36
---
47

58
# Project Name
69

710
Subtitle
811

12+
:::: {.columns}
13+
14+
::: {.column width="40%"}
15+
<button onclick="window.location.href='problem_statement.qmd';" class = "btn btn-our-doc">Our Documentation</button>
16+
:::
17+
18+
::: {.column width="60%"}
19+
![](images/IBMlogo.png){width=400}
20+
:::
921

10-
<button onclick="window.location.href='problem_statement.qmd';" class = "btn btn-our-doc">Our Documentation</button> |![IBM Logo](images/IBMlogo.png){width=500}
22+
::::
1123

24+
### Next Steps
1225

26+
:::: {.columns}
1327

14-
# Product Links
28+
::: {.column width="50%"}
29+
<button onclick="window.location.href='problem_statement.qmd';" class = "btn btn-external-link">L ink 1</button>
30+
:::
1531

16-
[Quarto Official Website](https://quarto.org) | [GitHub](https://github.com)
32+
::: {.column width="50%"}
33+
<button onclick="window.location.href='problem_statement.qmd';" class = "btn btn-external-link">Link 2</button>
34+
:::
1735

36+
::::
1837

landing_page.scss

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
/*-- scss:rules --*/
2+
.btn-our-doc {
3+
cursor: pointer;
4+
background: #0f62fe !important; /* IBM primary blue color */
5+
color: white;
6+
border-radius: 999em;
7+
align-items: center;
8+
gap: .5em;
9+
font-size: 16px;
10+
padding: 1.5rem;
11+
margin-top: 110px;
12+
}
13+
14+
15+
.btn-external-link {
16+
display: grid;
17+
grid-template-columns: 1fr auto;
18+
gap: .5rem;
19+
border-radius: .5em;
20+
padding: 1rem;
21+
box-shadow: blue;
22+
position: relative;
23+
border-color: #e4e4e7;
24+
padding-right: 200px;
25+
}
26+
27+
@media (min-width: 1200px) {
28+
h1, .h1 {
29+
font-size: 3.5rem;
30+
}
31+
}
32+
33+
@media (min-width: 1200px) {
34+
h3, .h3 {
35+
font-size: 2rem;
36+
}
37+
}

src/custom.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ nav .nav-link i, nav .dropdown-item i {
187187

188188
/* Only apply hover effect to nav items with content */
189189
.nav-page:has(a):hover {
190-
background-color: #c6c3c3;
190+
background-color: #E8E8E8;
191191
}
192192

193193
/* Remove hover effect from empty nav items */
@@ -298,4 +298,4 @@ a[role=listitem] {
298298
.footerLogo {
299299
color: #f7f2f2; /* Light gray logo color */
300300
vertical-align: top; /* Aligns logo to the top */
301-
}
301+
}

0 commit comments

Comments
 (0)