Skip to content

Commit d4999f2

Browse files
Frank LangelFrank Langel
authored andcommitted
website update
2 parents c1f35d7 + 1131032 commit d4999f2

File tree

73 files changed

+7456
-8634
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+7456
-8634
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/blog/page.tsx

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

app/docs/[[...slug]]/page.tsx

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

app/docs/docs.css

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

app/docs/layout.tsx

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

app/globals.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,3 +102,8 @@ body {
102102
max-width: 760px;
103103
padding: 0 30px;
104104
}
105+
.swift-for-android {
106+
color: var(--foreground);
107+
background: var(--background);
108+
font-family: Arial, Helvetica, sans-serif;
109+
}

app/layout.config.tsx

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,6 @@ import type { BaseLayoutProps } from 'fumadocs-ui/layouts/shared';
99
*/
1010
export const baseOptions: BaseLayoutProps = {
1111
nav: {
12-
title: 'My App',
13-
},
14-
links: [
15-
{
16-
text: 'Documentation',
17-
url: '/docs',
18-
active: 'nested-url',
19-
},
20-
],
12+
title: 'Swift For Android',
13+
}
2114
};

app/layout.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
"use client"
22
import {Inter, Geist_Mono} from "next/font/google";
3-
import Navbar from "@/components/Navbar";
43
import ScrollToTop from "@/components/ScrollToTop";
54
import {RootProvider} from 'fumadocs-ui/provider';
65
import {ThemeProvider} from 'next-themes'
@@ -36,7 +35,6 @@ export default function RootLayout({children}: {children: React.ReactNode; }) {
3635
attribute="class" // Apply themes using the "class" attribute
3736
defaultTheme="system" // Default to system theme
3837
>
39-
<Navbar/>
4038
<RootProvider>{children}</RootProvider>
4139
</ThemeProvider>
4240
</body>

0 commit comments

Comments
 (0)