SHA256
Улучшить дизайн по мелочи
This commit is contained in:
@@ -22,10 +22,24 @@ export function render({ navigate }) {
|
||||
logo.alt = 'Логотип Сияние';
|
||||
logoWrap.append(logo);
|
||||
|
||||
const brandBlock = document.createElement('div');
|
||||
brandBlock.className = 'stack';
|
||||
brandBlock.style.alignItems = 'center';
|
||||
brandBlock.style.gap = '8px';
|
||||
|
||||
const title = document.createElement('h1');
|
||||
title.className = 'auth-brand';
|
||||
title.append(createShineWordmark());
|
||||
|
||||
const siteName = document.createElement('p');
|
||||
siteName.className = 'meta-muted';
|
||||
siteName.style.margin = '0';
|
||||
siteName.style.fontSize = '13px';
|
||||
siteName.style.letterSpacing = '0.04em';
|
||||
siteName.textContent = window.location.host || window.location.hostname || 'shineup.me';
|
||||
|
||||
brandBlock.append(title, siteName);
|
||||
|
||||
const actions = document.createElement('div');
|
||||
actions.className = 'auth-actions shine-actions';
|
||||
|
||||
@@ -57,6 +71,6 @@ export function render({ navigate }) {
|
||||
settingsButton.addEventListener('click', () => navigate('entry-settings-view'));
|
||||
|
||||
actions.append(loginButton, registerButton, languageButton, settingsButton);
|
||||
screen.append(logoWrap, title, actions);
|
||||
screen.append(logoWrap, brandBlock, actions);
|
||||
return screen;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user