-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(changelog): Remove
/changelog
basepath
The base path will be very confusing and also technically limiting in the future because it is hosted on `changelog.sentry.io`. Let's just host the changelog on `/` and remap stuff to `sentry.io/changelog` via nginx when `changelog.sentry.io` is accessed. - Remove base path - Add assets back and fix their locations by using relative paths rather than absolute pointers to the docs - Use Image component for images
- Loading branch information
Showing
27 changed files
with
63 additions
and
69 deletions.
There are no files selected for viewing
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import 'prism-sentry/index.css'; | ||
import styles from './layout.module.css'; | ||
|
||
import {Fragment, ReactNode} from 'react'; | ||
import type {Metadata} from 'next'; | ||
import NextTopLoader from 'nextjs-toploader'; | ||
import {Navbar} from '@/client/components/navbar'; | ||
|
||
export const metadata: Metadata = { | ||
title: {template: '%s | Sentry Changelog', default: 'Changelog'}, | ||
openGraph: { | ||
images: '/img/hero.png', | ||
}, | ||
}; | ||
|
||
export default function ChangelogLayout({children}: {children: ReactNode}) { | ||
return ( | ||
<Fragment> | ||
<NextTopLoader color="#8d5494" /> | ||
<div className={styles.changelogContent}> | ||
<Navbar /> | ||
<div className="bg-gray-100">{children}</div> | ||
<div className="w-full mx-auto h-16 relative bg-darkPurple"> | ||
<div className="footer-top-right-down-slope absolute w-full -top-1 h-10 bg-gray-200" /> | ||
</div> | ||
</div> | ||
</Fragment> | ||
); | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
apps/changelog/src/client/components/articleFooter/styles.module.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
.footer-wrapper { | ||
background: | ||
url('/changelog/assets/squiggle.png') 0px 0px / 300px 300px, | ||
url('/img/squiggle.png') 0px 0px / 300px 300px, | ||
linear-gradient(315deg, rgb(24, 13, 28) 0.57%, rgb(69, 38, 80) 100%) 0% 0% / cover; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters