Skip to content

Commit 1736a67

Browse files
authored
Merge pull request #2 from CLSFramework/ui-refinements
UI refinements
2 parents d7187e1 + 8f7f31f commit 1736a67

File tree

8 files changed

+88
-15
lines changed

8 files changed

+88
-15
lines changed

docusaurus.config.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,12 @@ const config: Config = {
6464

6565
themeConfig: {
6666
// Replace with your project's social card
67-
image: 'img/clsf.png',
67+
image: 'img/clsf_logo.jpg',
6868
navbar: {
6969
title: 'CLSF',
7070
logo: {
71-
alt: 'My Site Logo',
72-
src: 'img/clsf.svg',
71+
alt: 'CLSF Logo',
72+
src: 'img/clsf_logo.jpg',
7373
},
7474
items: [
7575
{
@@ -127,7 +127,7 @@ const config: Config = {
127127
],
128128
},
129129
],
130-
copyright: `Copyright © ${new Date().getFullYear()} My Project, Inc. Built with Docusaurus.`,
130+
copyright: `🅭 <a target="_BLANK" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International</a> License ${new Date().getFullYear()} CLSFramework. Built with <a target="_BLANK" href="https://docusaurus.io/">Docusaurus</a>`
131131
},
132132
prism: {
133133
theme: prismThemes.github,

src/components/HomepageFeatures/index.tsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const FeatureList: FeatureItem[] = [
2424
},
2525
{
2626
title: 'Soccer Simulation 2D',
27-
Svg: require('@site/static/img/ss2d.svg').default,
27+
Svg: require('@site/static/img/ss2d_logo.svg').default,
2828
description: (
2929
<>
3030
The RoboCup 2D Simulated Soccer League is the oldest of the RoboCup Soccer Simulation Leagues. It consists of a number of competitions with computer simulated soccer matches as the main event.
@@ -47,13 +47,15 @@ const FeatureList: FeatureItem[] = [
4747

4848
function Feature({title, Svg, description, link}: FeatureItem) {
4949
return (
50-
<div className={clsx('col col--4')}>
50+
<div className={clsx('col col--4')} style={{padding:'20px'}}>
5151
<div className="text--center" style={{display: 'flex', justifyContent: 'center', alignItems: 'center'}}>
5252
<Svg className={styles.featureSvg} role="img" style={{height: '150px', width: '220px', margin: 'auto'}}/>
5353
</div>
54-
<div className="text--center padding-horiz--md">
54+
<div className="text--center padding-horiz--md" style={{paddingBottom:'20px', paddingTop:'20px'}}>
5555
<Heading as="h3">{title}</Heading>
56-
<p>{description}</p>
56+
<p style={{textAlign:'justify'}}>
57+
{description}
58+
</p>
5759
{link && (
5860
<Link
5961
className="button button--secondary button--lg"

src/pages/index.module.css

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,28 @@
33
* and scoped locally.
44
*/
55

6-
.heroBanner {
6+
.heroBanner {
77
padding: 4rem 0;
88
text-align: center;
99
position: relative;
1010
overflow: hidden;
11+
color: white;
1112
}
1213

14+
15+
1316
@media screen and (max-width: 996px) {
1417
.heroBanner {
1518
padding: 2rem;
1619
}
20+
.heroBanner h1 {
21+
font-size: 2em!important;
22+
text-align: left!important;
23+
}
24+
.heroBanner p {
25+
font-size: 1em;
26+
text-align: left;
27+
}
1728
}
1829

1930
.buttons {
@@ -23,8 +34,23 @@
2334
}
2435

2536
.heroBanner {
26-
background-image: url('/img/ss2d.svg'); /* Relative to the `static` folder */
27-
background-size: cover; /* Ensures the image covers the entire area */
2837
background-position: center; /* Centers the image */
38+
position: relative;
2939
color: white;
40+
z-index: 0; /* Ensure the heroBanner content is above the pseudo-element */
41+
}
42+
43+
.heroBanner::before {
44+
content: "";
45+
position: absolute;
46+
top: 0;
47+
left: 0;
48+
right: 0;
49+
bottom: 0;
50+
background-image: url('/img/ss2d.svg'); /* Relative to the `static` folder */
51+
background-size: cover;
52+
background-position: center;
53+
filter: blur(5px); /* Adjust the value as needed */
54+
z-index: -1; /* Ensure the pseudo-element is behind the content */
55+
pointer-events: none; /* Allow interactions with content above the pseudo-element */
3056
}

static/img/clsf_logo.jpg

68.1 KB
Loading

static/img/favicon.ico

-2.42 KB
Binary file not shown.

static/img/pythoncslf.svg

Lines changed: 15 additions & 2 deletions
Loading

static/img/ss2d_logo.svg

Lines changed: 20 additions & 0 deletions
Loading

static/img/youtube.svg

Lines changed: 14 additions & 2 deletions
Loading

0 commit comments

Comments
 (0)