Skip to content

πŸ“š The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

2.9 KB
Raw Blame
<div id="splash-screen">
	<div class="background-glow"></div>

	<div class="splash-content">
		<div class="logo-card">
			<img src="/Logo/Alexandrie-logo-light.png" alt="Alexandrie" class="splash-logo" width="128" height="128" />
		</div>

		<h1 class="splash-title">Alexandrie</h1>
		<p class="splash-subtitle">
			Your Notes, Beautifully Organized
		</p>

		<div class="loading-line">
			<div class="loading-highlight"></div>
		</div>
	</div>
</div>

<style>
	#splash-screen {
		position: fixed;
		inset: 0;
		display: flex;
		justify-content: center;
		align-items: center;
		overflow: hidden;

		background: radial-gradient(circle at top, #f8f9ff 0%, #ffffff 55%), #fff;

		font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

		user-select: none;
		z-index: 9999;

		transition: opacity 0.45s ease, visibility 0.45s ease;
	}

	#splash-screen.fade-out {
		opacity: 0;
		visibility: hidden;
	}

	.background-glow {
		position: absolute;
		width: 420px;
		height: 420px;

		background: radial-gradient(circle, rgba(57, 86, 231, 0.12), transparent 70%);

		filter: blur(25px);

		animation: glow 5s ease-in-out infinite alternate;
	}

	.splash-content {
		position: relative;
		z-index: 2;

		display: flex;
		flex-direction: column;
		align-items: center;

		animation: appear 0.8s cubic-bezier(0.22, 0.8, 0.25, 1);
	}

	.logo-card {
		width: 170px;
		height: 170px;

		display: flex;
		align-items: center;
		justify-content: center;

		border-radius: 36px;

		background: rgba(255, 255, 255, 0.75);

		backdrop-filter: blur(18px);

		border: 1px solid rgba(255, 255, 255, 0.75);

		box-shadow: 0 20px 60px rgba(20, 20, 30, 0.08),
			inset 0 1px 1px rgba(255, 255, 255, 0.9);

		animation: floating 4s ease-in-out infinite;
	}

	.splash-logo {
		width: 128px;
		height: 128px;
	}

	.splash-title {
		margin-top: 34px;
		margin-bottom: 8px;

		font-size: 2rem;
		font-weight: 700;

		letter-spacing: -0.04em;

		color: #111827;
	}

	.splash-subtitle {
		margin: 0;

		color: #8d93a6;

		font-size: 0.95rem;

		letter-spacing: 0.02em;
	}

	/* Animations */

	@keyframes appear {
		from {
			opacity: 0;
			transform: translateY(12px) scale(0.97);
		}

		to {
			opacity: 1;
			transform: none;
		}
	}

	@keyframes floating {

		0%,
		100% {
			transform: translateY(0);
		}

		50% {
			transform: translateY(-6px);
		}
	}

	@keyframes glow {
		from {
			transform: scale(0.95);
			opacity: 0.7;
		}

		to {
			transform: scale(1.08);
			opacity: 1;
		}
	}

	.loading-line {
		margin-top: 28px;

		width: 48px;
		height: 2px;

		border-radius: 999px;
		overflow: hidden;

		background: rgba(17, 24, 39, 0.08);
	}

	.loading-highlight {
		width: 45%;
		height: 100%;

		border-radius: inherit;

		background: linear-gradient(90deg, transparent, #3956e7, transparent);

		animation: loadingLine 1.4s ease-in-out infinite;
	}

	@keyframes loadingLine {
		from {
			transform: translateX(-170%);
		}

		to {
			transform: translateX(170%);
		}
	}
</style>