-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #40 from lindakatcodes/cleanup-tasks
Cleanup tasks
- Loading branch information
Showing
69 changed files
with
1,182 additions
and
997 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
_nuxt-archive | ||
.astro | ||
.frontmatter | ||
.vscode | ||
dist | ||
node_modules | ||
public |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,4 +11,4 @@ export default defineConfig({ | |
syntaxHighlight: "prism", | ||
remarkPlugins: [remarkReadingTime], | ||
}, | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -131,4 +131,4 @@ | |
"path": "src/assets", | ||
"relative": true | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/* latin */ | ||
@font-face { | ||
font-family: 'Source Serif 4'; | ||
font-style: normal; | ||
font-weight: 200 900; | ||
font-display: swap; | ||
src: url(https://fonts.gstatic.com/s/sourceserif4/v8/vEFI2_tTDB4M7-auWDN0ahZJW1gb8tc.woff2) format('woff2'); | ||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; | ||
} | ||
/* latin */ | ||
@font-face { | ||
font-family: 'Fira Sans'; | ||
font-style: normal; | ||
font-weight: 400; | ||
font-display: swap; | ||
src: url(https://fonts.gstatic.com/s/firasans/v17/va9E4kDNxMZdWfMOD5Vvl4jL.woff2) format('woff2'); | ||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; | ||
} |
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,49 @@ | ||
--- | ||
import Socials from "./socials.astro"; | ||
import SocialsGrid from "./SocialsGrid.astro"; | ||
--- | ||
|
||
<div transition:name="footer" class="footer-container"> | ||
<div class="divider shadow-over"></div> | ||
<footer> | ||
<section class="email-outro"> | ||
<h2>Hi there!</h2> | ||
<footer transition:name="footer"> | ||
<div class="divider shadow-over"></div> | ||
<div class="email-outro"> | ||
<p class="hey">Hey there!</p> | ||
<p>Thanks for checking out my site!</p> | ||
<p> | ||
Feel free to email me if you'd like to get in touch: <br /> | ||
Reach out if you'd like to get in touch: <br /> | ||
<span class="email gradient-text"> [email protected]</span> | ||
</p> | ||
</section> | ||
</div> | ||
<div class="footer-socials"> | ||
<Socials /> | ||
<SocialsGrid /> | ||
</div> | ||
<p class="copyright">© 2020 - 2024 Linda Thompson</p> | ||
</footer> | ||
</div> | ||
|
||
<style> | ||
.footer-container { | ||
height: var(--footer-height); | ||
} | ||
|
||
footer { | ||
padding: 0 4rem 0.5rem; | ||
align-items: center; | ||
display: grid; | ||
grid-template-areas: "email socials"; | ||
grid-template-columns: 1fr 0.5fr; | ||
grid-template-rows: auto 1fr auto; | ||
grid-template-areas: | ||
"divider divider" | ||
"outro socials" | ||
"copyright copyright"; | ||
} | ||
|
||
.divider { | ||
grid-area: divider; | ||
width: 100%; | ||
} | ||
|
||
.email-outro { | ||
grid-area: email; | ||
grid-area: outro; | ||
margin-left: var(--s24); | ||
} | ||
|
||
.email-outro h2 { | ||
font-family: var(--cursive-font); | ||
font-size: 1.75rem; | ||
.email-outro .hey { | ||
color: var(--blue); | ||
font-family: var(--cursive-font); | ||
font-size: var(--h5); | ||
margin-bottom: initial; | ||
} | ||
|
||
|
@@ -50,63 +53,63 @@ import Socials from "./socials.astro"; | |
} | ||
|
||
.email { | ||
background-color: var(--pink); | ||
background-image: none; | ||
cursor: pointer; | ||
font-size: 1.1rem; | ||
text-decoration: underline solid var(--blue); | ||
transition: background 0.3s ease-in-out; | ||
background-image: none; | ||
background-color: var(--pink); | ||
font-size: 1.1rem; | ||
} | ||
|
||
.email:hover { | ||
text-decoration-style: double; | ||
background-image: var(--gradient); | ||
text-decoration-style: double; | ||
} | ||
|
||
.footer-socials { | ||
grid-area: socials; | ||
display: grid; | ||
margin-right: var(--s24); | ||
} | ||
|
||
.copyright { | ||
grid-column: 1 / 3; | ||
text-align: center; | ||
font-size: 0.8rem; | ||
grid-area: copyright; | ||
margin-bottom: var(--s8); | ||
text-align: center; | ||
} | ||
|
||
@media (max-width: 520px) { | ||
footer { | ||
grid-template-areas: "email" "socials"; | ||
grid-template-columns: 1fr; | ||
padding: 0 2rem 1rem; | ||
grid-template-rows: auto 1fr 1fr auto; | ||
grid-template-areas: | ||
"divider" | ||
"outro" | ||
"socials" | ||
"copyright"; | ||
} | ||
|
||
.email-outro { | ||
margin-bottom: 0.75rem; | ||
padding: 0 3rem; | ||
font-size: 0.9rem; | ||
margin-left: 0; | ||
text-align: center; | ||
} | ||
|
||
.email { | ||
font-size: 1rem; | ||
} | ||
|
||
.copyright { | ||
padding-top: 0.5rem; | ||
.footer-socials { | ||
margin: 0 auto; | ||
width: 85%; | ||
} | ||
} | ||
|
||
@media (min-width: 520px) and (max-width: 1024px) { | ||
footer { | ||
grid-template-columns: 0.75fr 1fr; | ||
padding: 0 2rem 1rem; | ||
} | ||
|
||
.email-outro { | ||
padding: 0 0.5rem; | ||
} | ||
} | ||
} | ||
</style> | ||
|
||
<script> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
--- | ||
import { ViewTransitions } from "astro:transitions"; | ||
const { metadata } = Astro.props; | ||
--- | ||
|
||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" /> | ||
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" /> | ||
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" /> | ||
|
||
<meta property="og:image" content={metadata.imagePath} /> | ||
<meta property="og:title" content={metadata.title} /> | ||
<meta property="og:type" content="article" /> | ||
<meta property="og:description" content={metadata.description} /> | ||
<meta property="og:url" content={metadata.url} /> | ||
<meta name="twitter:card" content="summary" /> | ||
|
||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width" /> | ||
<meta name="description" content={metadata.description} /> | ||
<meta name="generator" content={Astro.generator} /> | ||
<title>{metadata.title}</title> | ||
|
||
<!-- | ||
Found from CSS Wizardry: https://csswizardry.com/2020/05/the-fastest-google-fonts/ | ||
1. Preemptively warm up the fonts’ origin. | ||
2. Initiate a high-priority, asynchronous fetch for the CSS file. Works in most modern browsers. | ||
3. Initiate a low-priority, asynchronous fetch that gets applied to the page only after it’s arrived. Works in all browsers with JavaScript enabled. | ||
4. In the unlikely event that a visitor has intentionally disabled JavaScript, fall back to the original method. The good news is that, although this is a render-blocking request, it can still make use of the preconnect which makes it marginally faster than the default. | ||
--> | ||
<!-- [1] --> | ||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin /> | ||
<!-- [2] --> | ||
<link rel="preload" as="style" href="/font-faces.css" /> | ||
<script src="../util/fontFaces.js"></script> | ||
<!-- [3] --> | ||
<link | ||
rel="stylesheet" | ||
href="https://fonts.googleapis.com/css2?family=Fira+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&display=swap" | ||
media="print" | ||
onload="this.media='all'" | ||
/> | ||
<!-- [4] --> | ||
<noscript> | ||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Fira+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&display=swap" /> | ||
</noscript> | ||
|
||
<link href="/prism-theme.css" rel="stylesheet" /> | ||
|
||
<ViewTransitions /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.