Update features
This commit is contained in:
parent
f66f052d7e
commit
4d7d15c3c7
34 changed files with 482 additions and 238 deletions
|
|
@ -1,12 +1,11 @@
|
|||
import { Header } from '../../types/portfolio';
|
||||
|
||||
import './about.scss';
|
||||
import { Header } from '../../types/portfolio';
|
||||
import { html } from '../../types/html';
|
||||
|
||||
export const generate = ({ name }: Header): html => `
|
||||
<section id="about">
|
||||
<div class="picture"></div>
|
||||
<div class="placeholder"></div>
|
||||
<h1>${name}</h1>
|
||||
</section>
|
||||
<section id="about">
|
||||
<div class="picture"></div>
|
||||
<div class="placeholder"></div>
|
||||
<h1>${name}</h1>
|
||||
</section>
|
||||
`;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
section#about {
|
||||
@include card-base();
|
||||
padding: var(--normal-margin);
|
||||
background-color: var(--accent-color);
|
||||
font-size: 0;
|
||||
|
||||
|
|
@ -31,7 +32,7 @@ section#about {
|
|||
p,
|
||||
h1 {
|
||||
color: var(--very-light-text-color);
|
||||
margin-top: var(--small-margin);
|
||||
margin-top: var(--line-height);
|
||||
}
|
||||
|
||||
@include on-large-screen {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
import { PageContent } from '../content/content';
|
||||
import { Header } from '../../types/portfolio';
|
||||
|
||||
import { generate } from './about.html';
|
||||
import { createElement } from '../../helper/create-element';
|
||||
import { PageThemeSwitcher } from '../theme-switcher/theme-switcher';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue