Skip to content

Commit d04929e

Browse files
authored
Merge pull request #1 from gitbrainlab/copilot/create-static-landing-page
2 parents 81bdf6b + dada219 commit d04929e

13 files changed

Lines changed: 1278 additions & 1 deletion

File tree

404.html

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<meta name="theme-color" content="#0a0a0f">
7+
<title>404 - Page Not Found | GitBrain</title>
8+
<link rel="icon" type="image/svg+xml" href="/assets/favicon.svg">
9+
<link rel="stylesheet" href="/styles/main.css">
10+
<style>
11+
.error-page {
12+
min-height: 100vh;
13+
display: flex;
14+
align-items: center;
15+
justify-content: center;
16+
text-align: center;
17+
padding: var(--space-lg);
18+
}
19+
.error-content {
20+
max-width: 500px;
21+
}
22+
.error-code {
23+
font-size: 6rem;
24+
font-weight: 700;
25+
color: var(--color-primary);
26+
line-height: 1;
27+
margin-bottom: var(--space-md);
28+
}
29+
</style>
30+
</head>
31+
<body>
32+
<div class="error-page">
33+
<div class="error-content">
34+
<div class="error-code">404</div>
35+
<h1>Page Not Found</h1>
36+
<p class="hero-tagline">The page you're looking for doesn't exist or has been moved.</p>
37+
<div class="cta-group">
38+
<a href="/" class="btn btn-primary">Return Home</a>
39+
</div>
40+
</div>
41+
</div>
42+
</body>
43+
</html>

CNAME

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
gitbrain.com

README.md

Lines changed: 110 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,110 @@
1-
# gitbrainlab.github.io
1+
# GitBrain Landing Page
2+
3+
This repository hosts the static landing page for GitBrain at [gitbrain.com](https://gitbrain.com).
4+
5+
## What is this?
6+
7+
A clean, accessible, static website that:
8+
- Explains what GitBrain is and its core principles
9+
- Showcases GitBrainLab projects with links to repositories
10+
- Describes how the projects fit together as a cohesive ecosystem
11+
- Works well on mobile devices and follows accessibility best practices
12+
13+
## Technology
14+
15+
- **Pure HTML + CSS** – No build step required
16+
- **No external dependencies** – Self-contained, no CDNs
17+
- **Typography** – Uses JetBrains Mono (self-hosted) for labels/module titles; font files included under `assets/fonts/jetbrains-mono/` with OFL license
18+
- **Mobile-responsive** – Works on all screen sizes
19+
- **Accessible** – Skip links, semantic HTML, high contrast, keyboard navigation
20+
- **Dark mode** – Premium dark theme by default
21+
22+
## Preview Locally
23+
24+
Since this is a static site, you can preview it with any local web server:
25+
26+
### Using Python 3:
27+
```bash
28+
python -m http.server 8000
29+
```
30+
31+
### Using Python 2:
32+
```bash
33+
python -m SimpleHTTPServer 8000
34+
```
35+
36+
### Using Node.js (if you have npx):
37+
```bash
38+
npx serve
39+
```
40+
41+
Then open http://localhost:8000 in your browser.
42+
43+
## Editing Content
44+
45+
All content is in static HTML files:
46+
47+
- **`index.html`** – Main landing page with all sections
48+
- **`styles/main.css`** – All styles including responsive and dark mode
49+
- **`assets/`** – Logo, favicon, and social card images
50+
- **`404.html`** – Custom error page
51+
52+
### To update projects:
53+
54+
Edit the `<section id="projects">` in `index.html`. Each project is a `<article class="project-card">` with:
55+
- Project name in `<h3>`
56+
- Description in `<p>`
57+
- GitHub link in `<a class="project-link">`
58+
59+
### To update principles:
60+
61+
Edit the `<section class="principles">` in `index.html`. Each principle is a `<li>` with `<strong>` for the title and `<span>` for the description.
62+
63+
## Deployment
64+
65+
This site is deployed using **GitHub Pages**.
66+
67+
### Configuration:
68+
69+
1. Go to **Settings → Pages** in the GitHub repository
70+
2. Set **Source** to: Deploy from a branch
71+
3. Select **Branch**: `main`
72+
4. Select **Folder**: `/ (root)`
73+
5. Click **Save**
74+
75+
The `CNAME` file in the root configures the custom domain `gitbrain.com`.
76+
77+
### DNS Setup (for reference):
78+
79+
The DNS records for `gitbrain.com` should point to GitHub Pages:
80+
- A records pointing to GitHub Pages IPs (185.199.108.153, 185.199.109.153, 185.199.110.153, 185.199.111.153)
81+
- Or a CNAME record pointing to `gitbrainlab.github.io`
82+
83+
Note: DNS changes are handled outside this repository.
84+
85+
## File Structure
86+
87+
```
88+
.
89+
├── index.html # Main landing page
90+
├── 404.html # Error page
91+
├── CNAME # Custom domain configuration
92+
├── robots.txt # Search engine directives
93+
├── sitemap.xml # Site map for SEO
94+
├── README.md # This file
95+
├── styles/
96+
│ └── main.css # All styles
97+
└── assets/
98+
├── logo.svg # GitBrain logo
99+
├── favicon.svg # Site favicon
100+
├── social-card.svg # Open Graph/Twitter card image
101+
└── fonts/
102+
└── jetbrains-mono/ # Self-hosted JetBrains Mono font
103+
├── JetBrainsMono-Regular.woff2
104+
├── JetBrainsMono-SemiBold.woff2
105+
└── OFL.txt # Font license (SIL Open Font License)
106+
```
107+
108+
## License
109+
110+
See individual project repositories for their respective licenses.

assets/favicon.svg

Lines changed: 4 additions & 0 deletions
Loading
90 KB
Binary file not shown.
92.3 KB
Binary file not shown.
Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
Copyright 2020 The JetBrains Mono Project Authors (https://github.com/JetBrains/JetBrainsMono)
2+
3+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
4+
This license is copied below, and is also available with a FAQ at:
5+
https://scripts.sil.org/OFL
6+
7+
8+
-----------------------------------------------------------
9+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10+
-----------------------------------------------------------
11+
12+
PREAMBLE
13+
The goals of the Open Font License (OFL) are to stimulate worldwide
14+
development of collaborative font projects, to support the font creation
15+
efforts of academic and linguistic communities, and to provide a free and
16+
open framework in which fonts may be shared and improved in partnership
17+
with others.
18+
19+
The OFL allows the licensed fonts to be used, studied, modified and
20+
redistributed freely as long as they are not sold by themselves. The
21+
fonts, including any derivative works, can be bundled, embedded,
22+
redistributed and/or sold with any software provided that any reserved
23+
names are not used by derivative works. The fonts and derivatives,
24+
however, cannot be released under any other type of license. The
25+
requirement for fonts to remain under this license does not apply
26+
to any document created using the fonts or their derivatives.
27+
28+
DEFINITIONS
29+
"Font Software" refers to the set of files released by the Copyright
30+
Holder(s) under this license and clearly marked as such. This may
31+
include source files, build scripts and documentation.
32+
33+
"Reserved Font Name" refers to any names specified as such after the
34+
copyright statement(s).
35+
36+
"Original Version" refers to the collection of Font Software components as
37+
distributed by the Copyright Holder(s).
38+
39+
"Modified Version" refers to any derivative made by adding to, deleting,
40+
or substituting -- in part or in whole -- any of the components of the
41+
Original Version, by changing formats or by porting the Font Software to a
42+
new environment.
43+
44+
"Author" refers to any designer, engineer, programmer, technical
45+
writer or other person who contributed to the Font Software.
46+
47+
PERMISSION & CONDITIONS
48+
Permission is hereby granted, free of charge, to any person obtaining
49+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
50+
redistribute, and sell modified and unmodified copies of the Font
51+
Software, subject to the following conditions:
52+
53+
1) Neither the Font Software nor any of its individual components,
54+
in Original or Modified Versions, may be sold by itself.
55+
56+
2) Original or Modified Versions of the Font Software may be bundled,
57+
redistributed and/or sold with any software, provided that each copy
58+
contains the above copyright notice and this license. These can be
59+
included either as stand-alone text files, human-readable headers or
60+
in the appropriate machine-readable metadata fields within text or
61+
binary files as long as those fields can be easily viewed by the user.
62+
63+
3) No Modified Version of the Font Software may use the Reserved Font
64+
Name(s) unless explicit written permission is granted by the corresponding
65+
Copyright Holder. This restriction only applies to the primary font name as
66+
presented to the users.
67+
68+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69+
Software shall not be used to promote, endorse or advertise any
70+
Modified Version, except to acknowledge the contribution(s) of the
71+
Copyright Holder(s) and the Author(s) or with their explicit written
72+
permission.
73+
74+
5) The Font Software, modified or unmodified, in part or in whole,
75+
must be distributed entirely under this license, and must not be
76+
distributed under any other license. The requirement for fonts to
77+
remain under this license does not apply to any document created
78+
using the Font Software.
79+
80+
TERMINATION
81+
This license becomes null and void if any of the above conditions are
82+
not met.
83+
84+
DISCLAIMER
85+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93+
OTHER DEALINGS IN THE FONT SOFTWARE.

assets/logo.svg

Lines changed: 4 additions & 0 deletions
Loading

assets/social-card.svg

Lines changed: 6 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)