1
1
import { Fragment , Suspense } from 'react' ;
2
2
import * as Sentry from '@sentry/nextjs' ;
3
3
import type { Metadata } from 'next' ;
4
- import Image from 'next/image' ;
5
4
import Link from 'next/link' ;
6
5
7
6
import Article from 'sentry-docs/components/changelog/article' ;
@@ -12,6 +11,8 @@ import Search from 'sentry-docs/components/changelog/search';
12
11
import Tags from 'sentry-docs/components/changelog/tags' ;
13
12
import { prisma } from 'sentry-docs/prisma' ;
14
13
14
+ import Header from './header' ;
15
+
15
16
const ENTRIES_PER_PAGE = 10 ;
16
17
17
18
export default async function ChangelogList ( {
@@ -124,27 +125,7 @@ export default async function ChangelogList({
124
125
125
126
return (
126
127
< Fragment >
127
- < div className = "w-full mx-auto h-96 relative bg-darkPurple" >
128
- < div className = "relative w-full lg:max-w-7xl mx-auto px-4 lg:px-8 pt-8 grid grid-cols-12 items-center" >
129
- < Image
130
- className = "justify-self-center col-span-10 z-20 hidden lg:block"
131
- src = "/changelog/assets/hero.png"
132
- alt = "Sentry Changelog"
133
- height = { 273 }
134
- width = { 450 }
135
- />
136
- < div className = "relative col-span-12 mt-32 lg:absolute lg:w-96 lg:right-1/4 lg:-bottom-2" >
137
- < h1 className = "justify-self-center text-white font-bold text-4xl text-center lg:text-left" >
138
- Sentry Changelog
139
- </ h1 >
140
- < h2 className = "justify-self-center z-20 text-gold text-1xl text-center lg:text-left" >
141
- Stay up to date on everything big and small, from product updates to SDK
142
- changes with the Sentry Changelog.
143
- </ h2 >
144
- </ div >
145
- </ div >
146
- < div className = "hero-bottom-left-down-slope absolute bottom-0 w-full h-10 bg-gray-200" />
147
- </ div >
128
+ < Header loading = { false } />
148
129
< div className = "w-full mx-auto grid grid-cols-12 bg-gray-200" >
149
130
< div className = "hidden md:block md:col-span-2 pl-5 pt-10" >
150
131
< h3 className = "text-2xl text-primary font-semibold mb-2" > Categories:</ h3 >
0 commit comments