Skip to content

Commit

Permalink
more mobile fixes and metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
Xanazf committed Nov 9, 2024
1 parent cdf7fa7 commit 8013994
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 5 deletions.
11 changes: 9 additions & 2 deletions src/components/cards/ProjectCard.module.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
.project-card {
position: relative;
width: 12rem;
height: 6rem;
width: 100%;
margin: auto;
aspect-ratio: 16 / 9;
overflow: hidden;
border-radius: 1rem;

Expand All @@ -18,3 +19,9 @@
align-items: center;
}
}

@media (min-width: 65rem) {
.project-card {
width: 12rem;
}
}
4 changes: 2 additions & 2 deletions src/config/Head.astro
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ const { title, description } = Astro.props;

<!-- Open Graph Meta Tags -->
<meta name="og:type" content="website" />
<meta name="og:site_name" content="quickshell" />
<meta name="og:site_name" content="xanazf" />
<meta name="og:url" content={Astro.url} />
<meta name="og:title" content={title} />
<meta name="og:description" content={description} />
<!-- <meta name="og:image" content={image} /> -->

<!-- Twitter Meta Tags -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:domain" content="quickshell.outfoxxed.me" />
<meta name="twitter:domain" content="xanazf.github.io" />
<meta name="twitter:url" content={Astro.url} />
<meta name="twitter:title" content={title} />
<meta name="twitter:description" content={description} />
Expand Down
7 changes: 6 additions & 1 deletion src/styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,10 @@ h2 {
}

.main-projects {
padding-left: 3rem;
display: flex;
gap: 0.618rem;
flex-direction: column;
padding-inline: 1rem;

& h2 {
text-align: start;
Expand Down Expand Up @@ -199,4 +200,8 @@ h2 {
.main-hello {
flex-direction: initial;
}

.main-projects {
padding-left: 3rem;
}
}

0 comments on commit 8013994

Please sign in to comment.