Skip to content

Commit 66caf11

Browse files
committed
Improved Nyxians homepage a lot
1 parent fb534cf commit 66caf11

4 files changed

Lines changed: 38 additions & 24 deletions

File tree

src/css/custom.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ img {
3838
object-fit: contain;
3939
}
4040

41+
aside {
42+
float: right;
43+
}
44+
4145
article:not(:has(> .markdown)), article > .markdown {
4246
a[class=""] {
4347
text-decoration: underline;

src/pages/Nyxian/_additionalText.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1+
import Admonition from '@theme/Admonition';
12
import styles from './index.module.css';
23

34
<div className={styles.additionalText}>
5+
## What is it?
6+
Nyxian is an iOS app that empowers developers with a full toolchain they can use while even being offline for iOS development on iPhone. It supports Swift, C, Objective-C, C++ and Objective-C++. It’s a powerful Xcode alternative that made the impossible possible, a fully on-device iOS IDE that doesn’t even need a cloud and can even be used with airplane mode enabled. It supports officially iOS 16 all the way up to the latest iOS version. You can compile and run iOS apps on the go with ease, using the entire iOS 26.4 SDK.
7+
48
## Features
59
- [x] Code execution using NSExtension
610
- [x] Syscall Handling
@@ -15,4 +19,8 @@ import styles from './index.module.css';
1519
- [ ] Native iOS swift package development
1620
- [ ] Native iOS framework development
1721
- [ ] Native iOS tweak development
22+
23+
<Admonition type="info">
24+
Remember Nyxian is still in beta, so some issue might arise! Please report issues over at the <a href="https://github.com/emexlab/Nyxian/issues/new/choose" target="_blank" rel="noopener noreferrer" class="">Github</a>.
25+
</Admonition>
1826
</div>

src/pages/Nyxian/index.js

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import useBaseUrl from '@docusaurus/useBaseUrl';
44
import Layout from '@theme/Layout';
55
import ThemedImage from '@theme/ThemedImage';
66
import Heading from '@theme/Heading';
7-
import Admonition from '@theme/Admonition';
87
import styles from './index.module.css';
98
import ImagePopup from '@site/src/components/ImagePopup';
109
import AdditionalText from './_additionalText.mdx';
@@ -39,20 +38,11 @@ export default function Home() {
3938
</div>
4039
</div>
4140
</header>
42-
<main className={clsx('center', styles.main)}>
41+
<main className={clsx('cdenter', styles.main)}>
4342
<Heading as="h1">Introduction</Heading>
44-
<div className={clsx('sections', styles.divided)}>
45-
<ImagePopup src={useBaseUrl('/Nyxian/img/mockup.png')} alt="Mockup" className={styles.showcase} />
46-
<div>
47-
<Heading as="h2">What is it?</Heading>
48-
<p>
49-
Nyxian is an iOS app that empowers developers with a full toolchain they can use while even being offline for iOS development on iPhone. It supports Swift, C, Objective-C, C++ and Objective-C++. It’s a powerful Xcode alternative that made the impossible possible, a fully on-device iOS IDE that doesn’t even need a cloud and can even be used with airplane mode enabled. It supports officially iOS 16 all the way up to the latest iOS version. You can compile and run iOS apps on the go with ease, using the entire iOS 26.4 SDK.
50-
</p>
51-
</div>
52-
</div>
53-
<Admonition type="info">
54-
Remember Nyxian is still in beta, so some issue might arise! Please report issues over at the <a href="https://github.com/emexlab/Nyxian/issues/new/choose" target="_blank" rel="noopener noreferrer" class="">Github</a>.
55-
</Admonition>
43+
<aside className={styles.showcase}>
44+
<ImagePopup src={useBaseUrl('/Nyxian/img/mockup.png')} alt="Mockup" />
45+
</aside>
5646
<AdditionalText />
5747
</main>
5848
</Layout>

src/pages/Nyxian/index.module.css

Lines changed: 22 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,30 +14,42 @@
1414
border-radius: 20%;
1515
}
1616

17-
@media screen and (max-width: 996px) {
18-
.heroBanner {
19-
padding: 2rem;
20-
}
21-
}
22-
2317
.buttons {
2418
display: flex;
2519
align-items: center;
2620
justify-content: center;
2721
}
2822

2923
.showcase {
30-
width: 100%;
31-
max-width: 50rem;
24+
width: 50%;
25+
margin-left: 1rem;
3226
}
3327

3428
.main {
35-
max-width: 100rem;
29+
max-width: 996px;
30+
margin: 0 var(--ifm-spacing-horizontal);
3631
align-self: center;
3732
}
3833

34+
@media screen and (max-width: 996px) {
35+
.heroBanner {
36+
padding: 2rem;
37+
}
38+
39+
.showcase {
40+
float: none;
41+
width: auto;
42+
max-height: 50vh;
43+
margin: 0;
44+
}
45+
46+
.showcase img {
47+
max-height: 50vh;
48+
width: auto;
49+
}
50+
}
51+
3952
.additionalText {
40-
padding: 0 var(--ifm-spacing-horizontal);
4153
:global(.task-list-item) {
4254
list-style-type: none;
4355
}

0 commit comments

Comments
 (0)