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
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Sillage website

Product showcase site for [Sillage](https://github.com/getsillage/sillage) — a self-hosted, single-user space for private records, history review, and AI answers grounded in your own notes.
Canonical public site: [https://getsillage.github.io/](https://getsillage.github.io/)

Source repository: [`getsillage/getsillage.github.io`](https://github.com/getsillage/getsillage.github.io)

This is the product showcase site for [Sillage](https://github.com/getsillage/sillage) — a self-hosted, single-user space for private records, history review, and AI answers grounded in your own notes.

This repository is separate from the product monorepo. Documentation, releases, engineering governance (`make check`, constitution, CI), and the application itself live in the main project ([sillage](https://github.com/getsillage/sillage)). Keep the public one-line product description and “no multi-user / no official hosting” claims aligned with the monorepo READMEs.

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "website",
"name": "getsillage.github.io",
"private": true,
"version": "1.0.0",
"type": "module",
Expand Down
8 changes: 8 additions & 0 deletions src/App.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ describe('marketing site interactions', () => {
expect(screen.getByRole('heading', { name: 'Web' })).toBeVisible()
expect(screen.getByRole('heading', { name: 'Android' })).toBeVisible()
expect(screen.getByRole('link', { name: 'Quick start' })).toHaveAttribute('href', '#deploy')
expect(screen.getByRole('link', { name: 'Website repository' })).toHaveAttribute(
'href',
'https://github.com/getsillage/getsillage.github.io',
)
expect(screen.getByText('0', { selector: 'dt' })).toBeVisible()
expect(screen.getByText('Sillage-hosted services')).toBeVisible()
expect(
Expand Down Expand Up @@ -51,6 +55,10 @@ describe('marketing site interactions', () => {
expect(screen.getByRole('heading', { level: 1 })).toHaveTextContent(
'记录由你自己保管。答案带着来源。',
)
expect(screen.getByRole('link', { name: '官网源码仓库' })).toHaveAttribute(
'href',
'https://github.com/getsillage/getsillage.github.io',
)

await user.click(screen.getByRole('button', { name: '切换到深色主题' }))
expect(document.documentElement).toHaveClass('dark')
Expand Down
2 changes: 1 addition & 1 deletion src/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export function Footer() {
<FooterLink href={LINKS.contributing}>{t.footerContributing}</FooterLink>
<FooterLink href={LINKS.brand}>{t.footerBrand}</FooterLink>
<FooterLink href={LINKS.license}>{t.footerLicense}</FooterLink>
<FooterLink href={SITE.pageRepoUrl}>{t.footerSiteSource}</FooterLink>
<FooterLink href={SITE.websiteRepoUrl}>{t.footerWebsiteRepository}</FooterLink>
</FooterColumn>
</div>

Expand Down
2 changes: 1 addition & 1 deletion src/config/site.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const SITE = {
githubOrg: 'getsillage',
productRepo: 'getsillage/sillage',
productRepoUrl: 'https://github.com/getsillage/sillage',
pageRepoUrl: 'https://github.com/getsillage/getsillage.github.io',
websiteRepoUrl: 'https://github.com/getsillage/getsillage.github.io',
/** Fallback when GitHub Releases cannot be reached at runtime. */
defaultReleaseTag: 'v0.3.0',
license: 'MIT',
Expand Down
6 changes: 3 additions & 3 deletions src/i18n/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ type Messages = {
footerContributing: string
footerBrand: string
footerLicense: string
footerSiteSource: string
footerWebsiteRepository: string
footerRights: string
footerNoHosted: string
}
Expand Down Expand Up @@ -257,7 +257,7 @@ export const messages: Record<Locale, Messages> = {
footerContributing: 'Contributing',
footerBrand: 'Brand guide',
footerLicense: 'MIT License',
footerSiteSource: 'This website',
footerWebsiteRepository: 'Website repository',
footerRights: 'Open source under the MIT License.',
footerNoHosted: 'No official hosted service.',
},
Expand Down Expand Up @@ -412,7 +412,7 @@ export const messages: Record<Locale, Messages> = {
footerContributing: '贡献指南',
footerBrand: '品牌规范',
footerLicense: 'MIT 许可证',
footerSiteSource: '本网站源码',
footerWebsiteRepository: '官网源码仓库',
footerRights: '以 MIT 许可证开源。',
footerNoHosted: '无官方托管服务。',
},
Expand Down
Loading