Skip to content

Commit a985a2c

Browse files
committed
restoring docs
1 parent af60de7 commit a985a2c

5 files changed

Lines changed: 55 additions & 9 deletions

File tree

blog/2025-03-20-reworking 2/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ authors: lumi
55
tags: [devlog]
66
---
77

8-
Rworking in the compiler from stack. Again...
8+
Rworking in the compiler from scratch. Again...
99

1010
<!-- truncate -->
1111

src/components/under-development/under-development.module.css

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.warningBar {
1+
/* .warningBar {
22
33
padding: 5px;
44
text-align: center;
@@ -15,7 +15,23 @@
1515
#000000 120px
1616
);
1717
18+
} */
19+
20+
.warningBar {
21+
text-align: center;
22+
background-color: transparent;
23+
color: red;
24+
25+
position: relative;
26+
top: -50px;
27+
}
28+
29+
@media screen and (max-width: 996px) {
30+
.warningBar {
31+
top: -20px;
32+
}
1833
}
34+
1935
.warningBar b {
2036
font-weight: bolder;
2137
}

src/css/custom.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@
1818

1919
--orange-warning-shade-0: hsl(20, 100%, 80%);
2020
--orange-warning-shade-1: hsl(20, 100%, 60%);
21+
22+
--ifm-heading-h1-font-size: 1.5rem;
23+
--ifm-heading-h2-font-size: 1.3rem;
24+
--ifm-heading-h3-font-size: 1.1rem;
25+
2126
}
2227

2328

src/pages/index.module.css

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,28 @@
1+
@import url('https://fonts.googleapis.com/css2?family=Geist+Mono:wght@100..900&display=swap');
2+
13
.heroBanner {
24
padding: 4rem 0;
35
text-align: center;
46
position: relative;
57
overflow: hidden;
8+
9+
font-family: "Geist Mono", monospace;
10+
background: var(--main-color);
11+
}
12+
13+
.heroBanner > Heading {
14+
font-weight: bolder;
15+
}
16+
17+
.imageLogo {
18+
height: 120px;
19+
width: 120px;
20+
}
21+
22+
.bannerRoutes {
23+
display: flex;
24+
align-items: center;
25+
flex-direction: column;
626
}
727

828
@media screen and (max-width: 996px) {

src/pages/index.tsx

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,19 @@ function HomepageHeader() {
1010
const {siteConfig} = useDocusaurusContext();
1111

1212
return (
13-
<header className={clsx('hero hero--primary', styles.heroBanner)}>
13+
<header className={clsx(styles.heroBanner)}>
14+
15+
<UnderDevelopmentBanner></UnderDevelopmentBanner>
16+
1417
<div className="container">
15-
<Heading as="h1" className="hero__title">
16-
ABSTRACT
17-
</Heading>
18-
<p className="hero__subtitle">Programming language</p>
18+
<img className={styles.imageLogo} src='img/logo.png'></img>
19+
<Heading as="h1" className="hero__title">|Abstract|</Heading>
20+
<p className="hero__subtitle">Programming language_</p>
21+
22+
<div className={styles.bannerRoutes}>
23+
<a href="docs/language/first_prog">Get Started</a>
24+
<a href="https://github.com/abstractLang/Abstract">View on GitHub</a>
25+
</div>
1926
</div>
2027
</header>
2128
);
@@ -28,8 +35,6 @@ export default function Home(): JSX.Element {
2835
title={`${siteConfig.title}`}
2936
description="">
3037

31-
<UnderDevelopmentBanner></UnderDevelopmentBanner>
32-
3338
<HomepageHeader />
3439
<main className={styles.warning}>
3540
Warning! <br/>

0 commit comments

Comments
 (0)