Skip to content

Commit 1131032

Browse files
committed
clean and readme
1 parent 099d99a commit 1131032

19 files changed

+7408
-5632
lines changed

.github/workflows/export-static-site.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Set up Node.js
1717
uses: actions/setup-node@v4
1818
with:
19-
node-version: '20.x'
19+
node-version: '22.x'
2020

2121
- name: Install dependencies
2222
run: npm install

.yarnrc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nodeLinker: node-modules

README.md

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -31,21 +31,6 @@ Follow these steps to change site the content:
3131

3232
1. **Homepage**
3333
- Open the `app/page.tsx` file.
34-
- You may edit text inside page but be sure you have not touched any tags and mark down is not supported.
35-
36-
2. **What's new**
37-
- Open the `content/Blog/` folder.
38-
- You may edit text inside each article like with simple .md (https://www.markdownguide.org/basic-syntax/#overview) file or create new articles
39-
40-
3. **swift-for-android**
4134
- Open the `content/SwiftForAndroid/SwiftForAndroidText.md` file.
4235
- You may edit text inside like with simple .md file.
4336

44-
## Edit Documentation
45-
46-
- Open the `content/docs` folder.
47-
- If a `.md` file is added to the `/docs` folder, its content will be automatically generated in the website documentation.
48-
- Edit the `meta.json` file to organize the newly added file among the others. A folder can also be sorted like a file.
49-
- If a folder is added, a `meta.json` file is required to sort the content inside that folder.
50-
- If `meta.json` is not created inside a folder, the files will be sorted alphabetically.
51-

app/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export default function Home() {
2020
<Image
2121
className="dark m-auto"
2222
src={`${basePath}/logo-swift.png`}
23-
alt="Next.js logo"
23+
alt="App logo"
2424
width={200}
2525
height={20}
2626
priority

components/CodeBlock.css

Lines changed: 0 additions & 28 deletions
This file was deleted.

components/CodeBlock.tsx

Lines changed: 0 additions & 18 deletions
This file was deleted.

components/DynamicNavbar.js

Lines changed: 0 additions & 11 deletions
This file was deleted.

components/Footer.css

Lines changed: 0 additions & 42 deletions
This file was deleted.

components/Footer.jsx

Lines changed: 0 additions & 58 deletions
This file was deleted.

components/Layout.module.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)