Skip to content

Commit 971a020

Browse files
authored
Chore/landing page edit (#111)
* chore/Add gradient color to UniBot hero, install live-code-block * chore/Remove react live support (not deemed necessary at the moment)
1 parent 9109945 commit 971a020

File tree

3 files changed

+17
-4
lines changed

3 files changed

+17
-4
lines changed

docusaurus.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ const config = {
9797
indexDocs:true,
9898
indexBlog:true,
9999
})
100-
]
100+
],
101101
],
102102

103103

src/css/custom.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,20 @@
5050
background-color: grey.800;
5151
}
5252

53+
[data-theme='dark'] .unibot_theme_hero_text {
54+
background: radial-gradient(circle, #7a37a4 0%, #ac4cc4 50%, rgb(191, 127, 223) 100%);
55+
-webkit-background-clip: text;
56+
background-clip: text;
57+
color: transparent;
58+
}
59+
60+
[data-theme='light'] .unibot_theme_hero_text {
61+
background: radial-gradient(circle, #a444c4 0%, #6e3399 50%, rgb(59, 41, 67) 100%);
62+
-webkit-background-clip: text;
63+
background-clip: text;
64+
color: transparent;
65+
}
66+
5367
.meeting_recording_iframe {
5468
border:none;
5569
position: absolute;

src/pages/index.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
66
import Link from '@docusaurus/Link';
77
import { useColorMode } from '@docusaurus/theme-common';
88
import 'animate.css';
9-
109
// MUI
1110
import Stack from '@mui/material/Stack';
1211
import Box from '@mui/material/Box';
@@ -225,8 +224,8 @@ function Members() {
225224
const LandingPageUniBotiFrame = () => (
226225
<div class="hero shadow--lw">
227226
<div class="container">
228-
<h1 class="hero__title">UniBot</h1>
229-
<p class="hero_subtitle">For all your UML Questions</p>
227+
<h1 class="hero__title unibot_theme_hero_text">UniBot</h1>
228+
<p class="hero__subtitle">For all your UML Questions</p>
230229
<div style={{paddingBottom: '25px'}}>
231230
<Link to="https://github.com/UMLCloudComputing/UniBot" class="button button--secondary button--outline button--lg" >Github</Link>
232231
</div>

0 commit comments

Comments
 (0)