Skip to content

Commit 8a08957

Browse files
committed
some updates
1 parent 86e2a3d commit 8a08957

File tree

5 files changed

+32
-20
lines changed

5 files changed

+32
-20
lines changed

src/components/HomepageFeatures/index.tsx

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,42 +12,44 @@ type FeatureItem = {
1212

1313
const FeatureList: FeatureItem[] = [
1414
{
15-
title: 'Easy to Use',
16-
Svg: require('@site/static/img/undraw_docusaurus_mountain.svg').default,
15+
title: 'Sample Python Base Code (gRPC)',
16+
Svg: require('@site/static/img/pythoncslf.svg').default,
1717
description: (
1818
<>
19-
Docusaurus was designed from the ground up to be easily installed and
20-
used to get your website up and running quickly.
19+
The Python Base Code is a simple example of how to use the CLSF API to create a team for the 2D Soccer Simulation League.
20+
By this code, you can create a powerful team that can compete in the league.
2121
</>
2222
),
23+
link: 'https://github.com/CLSFramework/sample-playmaker-server-python-grpc'
2324
},
2425
{
25-
title: 'Focus on What Matters',
26-
Svg: require('@site/static/img/undraw_docusaurus_tree.svg').default,
26+
title: 'Soccer Simulation 2D',
27+
Svg: require('@site/static/img/ss2d.svg').default,
2728
description: (
2829
<>
29-
Docusaurus lets you focus on your docs, and we&apos;ll do the chores. Go
30-
ahead and move your docs into the <code>docs</code> directory.
30+
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.
3131
</>
3232
),
33+
link: 'https://rcsoccersim.github.io/'
3334
},
3435
{
35-
title: 'Soccer Simulation 2D',
36-
Svg: require('@site/static/img/ss2d.svg').default,
36+
title: 'Toturial Video',
37+
Svg: require('@site/static/img/youtube.svg').default,
3738
description: (
3839
<>
39-
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.
40+
You can find the tutorial videos about the CLSFramework to learn how to create a team for the 2D Soccer Simulation League.
41+
This video is a good start to learn how to create a team.
4042
</>
4143
),
42-
link: 'https://rcsoccersim.github.io/'
44+
link: '/docs/Toturial%20Videos/persian'
4345
},
4446
];
4547

4648
function Feature({title, Svg, description, link}: FeatureItem) {
4749
return (
4850
<div className={clsx('col col--4')}>
49-
<div className="text--center">
50-
<Svg className={styles.featureSvg} role="img" />
51+
<div className="text--center" style={{display: 'flex', justifyContent: 'center', alignItems: 'center'}}>
52+
<Svg className={styles.featureSvg} role="img" style={{height: '150px', width: '220px', margin: 'auto'}}/>
5153
</div>
5254
<div className="text--center padding-horiz--md">
5355
<Heading as="h3">{title}</Heading>
@@ -68,7 +70,7 @@ export default function HomepageFeatures(): JSX.Element {
6870
return (
6971
<section className={styles.features}>
7072
<div className="container">
71-
<div className="row">
73+
<div className="row" style={{justifyContent:'center'}}>
7274
{FeatureList.map((props, idx) => (
7375
<Feature key={idx} {...props} />
7476
))}

src/pages/index.tsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,18 @@ function HomepageHeader() {
1212
return (
1313
<header className={clsx('hero', styles.heroBanner)}>
1414
<div className="container">
15-
<Heading as="h1" className="hero__title">
15+
<Heading as="h1" className="hero__title" style={{fontSize: '4.5em'}}>
1616
{siteConfig.title}
1717
</Heading>
18-
<p className="hero__subtitle">{siteConfig.tagline}</p>
18+
<p className="hero__subtitle" style={{fontSize: '1.5em'}}>
19+
{siteConfig.tagline}
20+
</p>
1921
<div className={styles.buttons}>
20-
<Link
22+
{/* <Link
2123
className="button button--secondary button--lg"
2224
to="/docs/introduction">
2325
CLSF Tutorial
24-
</Link>
26+
</Link> */}
2527
</div>
2628
</div>
2729
</header>

src/pages/team/index.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,10 @@ export default function ReleasePage(): JSX.Element {
6363
<Layout
6464
title={`Hello from ${siteConfig.title}`}
6565
description="Develop a soccer simulation team by using any programming language">
66-
<main>
66+
<main style={{width: '100%', justifyContent:'center', display: 'flex'}}>
67+
<main style={{width: '75%'}}>
6768
<TeamFeature />
69+
</main>
6870
</main>
6971
</Layout>
7072
);

static/img/pythoncslf.svg

Lines changed: 3 additions & 0 deletions
Loading

static/img/youtube.svg

Lines changed: 3 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)