Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/build-site.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ copy_file assets/projects/chatgpt-usage-v030.webp assets/projects/chatgpt-usage-
copy_file assets/projects/nemo-action-bar.webp assets/projects/nemo-action-bar.webp
copy_file assets/scripts/reactive-field-v2.js assets/scripts/reactive-field-v2.js
copy_file assets/social/oss-singularity-social-preview.png assets/social/oss-singularity-social-preview.png
copy_file assets/styles/site-v1.css assets/styles/site-v1.css
copy_file assets/styles/site-v2.css assets/styles/site-v2.css

(
cd "$output"
Expand Down
4 changes: 2 additions & 2 deletions scripts/check-site.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def main() -> int:
"assets/projects/pdrive-control-center-v080.webp",
"assets/scripts/reactive-field-v2.js",
"assets/social/oss-singularity-social-preview.png",
"assets/styles/site-v1.css",
"assets/styles/site-v2.css",
}
actual = {str(path.relative_to(root)) for path in root.rglob("*") if path.is_file()}
if actual != required:
Expand Down Expand Up @@ -143,7 +143,7 @@ def main() -> int:

if html_bytes > 35_000:
fail(f"HTML budget exceeded: {html_bytes} bytes")
css_bytes = (root / "assets/styles/site-v1.css").stat().st_size
css_bytes = (root / "assets/styles/site-v2.css").stat().st_size
if css_bytes > 40_000:
fail(f"CSS budget exceeded: {css_bytes} bytes")
script_bytes = (root / "assets/scripts/reactive-field-v2.js").stat().st_size
Expand Down
2 changes: 1 addition & 1 deletion site/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta name="robots" content="noindex">
<meta name="theme-color" content="#07111f">
<link rel="icon" href="/assets/brand/oss-singularity-mark.svg" type="image/svg+xml">
<link rel="stylesheet" href="/assets/styles/site-v1.css">
<link rel="stylesheet" href="/assets/styles/site-v2.css">
</head>
<body class="error-page">
<a class="skip-link" href="#main">Skip to main content</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ body::before {
position: absolute;
}

img { display: block; max-width: 100%; }
img { display: block; height: auto; max-width: 100%; }
a { color: inherit; }

.skip-link {
Expand Down Expand Up @@ -375,7 +375,7 @@ a { color: inherit; }
.project-content, .project-compact .project-content { padding: 30px 24px; }
.project-chatgpt { grid-template-columns: 1fr; }
.chatgpt-visual { height: 360px; }
.chatgpt-visual img { bottom: -260px; right: 8%; width: 58%; }
.chatgpt-visual img { bottom: -90px; right: 8%; width: 58%; }
.project-nemo { grid-template-rows: 190px 1fr; }
.nemo-visual { padding: 45px 18px 0; }
.invitation h2 { font-size: 3.9rem; }
Expand Down
2 changes: 1 addition & 1 deletion site/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<link rel="canonical" href="https://oss-singularity.io/">
<link rel="icon" href="/assets/brand/oss-singularity-mark.svg" type="image/svg+xml">
<link rel="manifest" href="/site.webmanifest">
<link rel="stylesheet" href="/assets/styles/site-v1.css">
<link rel="stylesheet" href="/assets/styles/site-v2.css">
<script src="/assets/scripts/reactive-field-v2.js" defer></script>
<meta property="og:type" content="website">
<meta property="og:site_name" content="OSS Singularity">
Expand Down