Skip to content

Commit 23dd7fb

Browse files
committed
fix: modify the static-image folder path
1 parent e3cb0c8 commit 23dd7fb

26 files changed

Lines changed: 37 additions & 32 deletions

src/content/docs/docs/branding.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Branding Guidelines
44

55
import { Aside } from '@astrojs/starlight/components';
66

7-
import StaticImageDownload from '../../../components/StaticImageDownload.astro';
7+
import StaticImageDownload from '../../../shared/ui/static-image/static-image-download.astro';
88

99
FSD's visual identity is based on its core-concepts: `Layered`, `Sliced self-contained parts`, `Parts & Compose`, `Segmented`.
1010
But also we tend to design simple, pretty identity, which should convey the FSD philisophy and be easy to recognize.

src/content/docs/docs/get-started/overview.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ sidebar:
55
---
66

77
import { FileTree, LinkCard, Aside } from '@astrojs/starlight/components';
8-
import StaticImage from '../../../../components/StaticImage.astro';
8+
import StaticImage from '../../../../shared/ui/static-image/static-image.astro';
99

1010
**Feature-Sliced Design** (FSD) is an architectural methodology for scaffolding front-end applications. Simply put, it's a compilation of rules and conventions on organizing code. The main purpose of this methodology is to make the project more understandable and stable in the face of ever-changing business requirements.
1111

src/content/docs/docs/reference/layers.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ sidebar:
55
---
66

77
import { Aside } from '@astrojs/starlight/components';
8-
import StaticImage from '../../../../components/StaticImage.astro';
8+
import StaticImage from '../../../../shared/ui/static-image/static-image.astro';
99

1010
Layers are the first level of organisational hierarchy in Feature-Sliced Design. Their purpose is to separate code based on how much responsibility it needs and how many other modules in the app it depends on. Every layer carries special semantic meaning to help you determine how much responsibility you should allocate to your code.
1111

src/content/docs/docs/reference/public-api.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ sidebar:
55
---
66

77
import { FileTree, Aside } from '@astrojs/starlight/components';
8-
import StaticImage from '../../../../components/StaticImage.astro';
8+
import StaticImage from '../../../../shared/ui/static-image/static-image.astro';
99

1010
A public API is a _contract_ between a group of modules, like a slice, and the code that uses it. It also acts as a gate, only allowing access to certain objects, and only through that public API.
1111

src/content/docs/docs/reference/slices-segments.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ sidebar:
44
order: 2
55
---
66

7-
import StaticImage from '../../../../components/StaticImage.astro';
7+
import StaticImage from '../../../../shared/ui/static-image/static-image.astro';
88

99
## Slices
1010

src/content/docs/index.mdx

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,16 @@
22
title: Feature-Sliced Design
33
template: splash
44
hero:
5-
tagline:
6-
Architectural methodology for frontend projects
7-
actions:
8-
- text: Get started
9-
link: /docs/get-started/overview
10-
icon: right-arrow
11-
variant: primary
5+
tagline: ""
126
---
7+
8+
import HeroBanner from "../../pages/_home/ui/hero-banner.astro";
9+
import Products from "../../pages/_home/ui/products.astro";
10+
import PopularGuides from "../../pages/_home/ui/popular-guides.astro";
11+
import "../../pages/_home/ui/index.css";
12+
13+
<div class="HomePage__container">
14+
<HeroBanner />
15+
<Products />
16+
<PopularGuides />
17+
</div>

src/content/docs/ja/docs/branding.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: ブランドガイドライン
44

55
import { Aside } from '@astrojs/starlight/components';
66

7-
import StaticImageDownload from '../../../../components/StaticImageDownload.astro';
7+
import StaticImageDownload from '../../../../shared/ui/static-image/static-image-download.astro';
88

99
FSDのビジュアルアイデンティティは、そのコアコンセプトである `Layered``Sliced self-contained parts``Parts & Compose``Segmented` に基づいています。しかし、私たちはFSDの哲学を反映し、簡単に認識できる美しいアイデンティティを目指しています。
1010

src/content/docs/ja/docs/reference/layers.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ sidebar:
55
---
66

77
import { Aside } from '@astrojs/starlight/components';
8-
import StaticImage from '../../../../../components/StaticImage.astro';
8+
import StaticImage from '../../../../../shared/ui/static-image/static-image.astro';
99

1010
レイヤーは、Feature-Sliced Designにおける組織階層の最初のレベルです。その目的は、コードを責任の程度やアプリ内の他のモジュールへの依存度に基づいて分離することです。各レイヤーは、コードにどれだけの責任を割り当てるべきかを判断するための特別な意味を持っています。
1111

src/content/docs/ja/docs/reference/public-api.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ sidebar:
55
---
66

77
import { FileTree } from '@astrojs/starlight/components';
8-
import StaticImage from '../../../../../components/StaticImage.astro';
8+
import StaticImage from '../../../../../shared/ui/static-image/static-image.astro';
99

1010
公開APIは、モジュールのグループ(スライスなど)とそれを使用するコードとの間の**契約**です。また、特定のオブジェクトへのアクセスを制限し、その公開APIを通じてのみアクセスを許可します。
1111

src/content/docs/ja/docs/reference/slices-segments.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ sidebar:
44
order: 2
55
---
66

7-
import StaticImage from '../../../../../components/StaticImage.astro';
7+
import StaticImage from '../../../../../shared/ui/static-image/static-image.astro';
88

99
## スライス
1010

0 commit comments

Comments
 (0)