Skip to content

Commit 865cbb6

Browse files
committed
Reorder image on index
1 parent 7a091d5 commit 865cbb6

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

src/pages/index.astro

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ const seoDescription =
1515

1616
<Layout {pageTitle} {ogType} {ogDescription} {seoDescription}>
1717
<div id="content">
18+
<Image
19+
id="headshot"
20+
src={headshot}
21+
alt="Headshot of Violet Monserate, a brown woman with long black hair, playing cello"
22+
/>
1823
<div id="left">
1924
<h1>
2025
Violet Monserate
@@ -33,10 +38,6 @@ const seoDescription =
3338
<a href="/projects" class="button">Projects</a>
3439
<a href="/contact" class="button">Contact Me</a>
3540
</div>
36-
<Image
37-
id="headshot"
38-
src={headshot}
39-
alt="Headshot of Violet Monserate, a brown woman with long black hair, playing cello"
40-
/>
41+
4142
</div>
4243
</Layout>

src/styles/index.css

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#content {
22
display: flex;
3-
flex-flow: row nowrap;
3+
flex-flow: row-reverse nowrap;
44
align-items: center;
55
justify-content: center;
66
min-height: 70vh;
@@ -29,6 +29,11 @@ h1 strong {
2929
font-size: 75%;
3030
}
3131

32+
img {
33+
margin: 0;
34+
padding: 0;
35+
}
36+
3237
.button {
3338
background: #7213ad;
3439
border: none;
@@ -50,6 +55,7 @@ h1 strong {
5055
h1 {
5156
font-size: 2.5em;
5257
margin-bottom: 0.2em;
58+
margin-top: 0em;
5359
}
5460

5561
p {

0 commit comments

Comments
 (0)