mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 22:23:42 +01:00
Merge pull request #24046 from overleaf/em-cdn-assets
Load assets from the CDN in selected pages GitOrigin-RevId: c2b25f74e30c0ce47e486855dee3815d72d43d47
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import classNames from 'classnames'
|
||||
import overleafLogo from '@/shared/svgs/overleaf.svg'
|
||||
|
||||
type InterstitialProps = {
|
||||
className?: string
|
||||
@@ -17,9 +18,7 @@ export function Interstitial({
|
||||
}: InterstitialProps) {
|
||||
return (
|
||||
<div className={classNames('interstitial', className)}>
|
||||
{showLogo && (
|
||||
<img className="logo" src="/img/ol-brand/overleaf.svg" alt="Overleaf" />
|
||||
)}
|
||||
{showLogo && <img className="logo" src={overleafLogo} alt="Overleaf" />}
|
||||
{title && <h1 className="h3 interstitial-header">{title}</h1>}
|
||||
<div className={classNames(contentClassName)}>{children}</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user