Browse Source

Personal data update + photo + minor style tweaks

master
Dejvino 11 months ago
parent
commit
1798313c9c
6 changed files with 13 additions and 13 deletions
  1. BIN
      public/photo.png
  2. +1
    -1
      src/PersonalData.ts
  3. +1
    -1
      src/app/components/Photo.tsx
  4. +1
    -1
      src/app/components/job/JobsHistory.tsx
  5. +6
    -2
      src/app/globals.css
  6. +4
    -8
      src/app/page.tsx

BIN
public/photo.png View File

Before After
Width: 290  |  Height: 290  |  Size: 14 KiB Width: 585  |  Height: 735  |  Size: 697 KiB

+ 1
- 1
src/PersonalData.ts View File

@@ -10,7 +10,7 @@ export const personalData: PersonalData = {
{icon: 'envelope-at', text: 'explosive@dejvino.cz'},
{icon: 'git', text: 'https://git.dejvino.cz'},
{icon: 'file-earmark-person', text: 'https://cv.dejvino.cz'},
{icon: 'telephone', text: '+420 111 222 333'},
{icon: 'telephone', text: '+420 775 26 26 32'},
{icon: 'geo-alt', text: 'Brno, Czechia'}
],



+ 1
- 1
src/app/components/Photo.tsx View File

@@ -3,6 +3,6 @@ import Image from 'react-bootstrap/Image'

export default function Photo() {
return (
<Image alt='Photograph of the person' rounded fluid src='photo.png'></Image>
<Image className="photo" alt='Photograph of the person' rounded fluid src='photo.png'></Image>
)
}

+ 1
- 1
src/app/components/job/JobsHistory.tsx View File

@@ -17,7 +17,7 @@ export default function JobHistory(props: Props) {
inRange ? <JobsAccordion {...props} /> : <JobsCards {...props} />)

return (
<Container>
<Container fluid>
<h2>{props.heading}</h2>
<SizeWrapper>
{jobsList}


+ 6
- 2
src/app/globals.css View File

@@ -10,12 +10,16 @@ body {
}

.person-name {
margin-top: 1rem;
margin-top: calc(min(6vw, 5rem));
font-weight: bold;
font-size: calc(1.375rem + min(1.4vw, 1rem));
}
.brief {
font-size: 120%;
}
.contacts {
margin-top: 2rem;
}

.footer {
margin-top: 2rem;
@@ -26,7 +30,7 @@ body {
filter: opacity(75%)
}

.container > h2, h3, h4 {
.container > h2, .container-fluid > h2, h3, h4 {
margin-top: 1em;
}



+ 4
- 8
src/app/page.tsx View File

@@ -16,13 +16,9 @@ export default function Home() {

<Container className='main-container' fluid='xxl'>
<Row>
<Col xs={'auto'} sm={4} lg={2}><Photo /></Col>
<Col>
<Row>
<Col xs={'auto'} lg={6}><AboutBrief /></Col>
<Col xs={'auto'} lg={6}><Contacts /></Col>
</Row>
</Col>
<Col xs={3} sm={3} lg={2}><Photo /></Col>
<Col xs={9} sm={9} lg={5}><AboutBrief /></Col>
<Col xs={12} lg={5}><Contacts /></Col>
</Row>
<Row>
<Col xs={12} xl={7}>
@@ -31,7 +27,7 @@ export default function Home() {
<Row><Education /></Row>
</Col>
<Col>
<Row><Skills /></Row>
<Skills />
</Col>
</Row>
<Row><Footer /></Row>


Loading…
Cancel
Save