add all relevant links

This commit is contained in:
Ayo 2022-09-17 11:55:25 +02:00
parent dcb202b513
commit 0c427ff464
5 changed files with 150 additions and 20 deletions

6
.gitignore vendored
View file

@ -18,3 +18,9 @@ pnpm-debug.log*
# macOS-specific files # macOS-specific files
.DS_Store .DS_Store
# temp files
*~
*swp
*swo

View file

@ -0,0 +1,28 @@
<footer>
<ul role="list" style="list-style:none">
<li>This website is a shameless template of <a href="https://astro.build" target="_blank">Astro</a></li>
<li>2022 @ Ayo Ayco. All Rights Reserved</li>
</ul>
</footer>
<style>
:root {
--astro-gradient: linear-gradient(0deg, #4f39fa, #da62c4);
}
footer {
color: #888;
}
footer a {
font-weight: 900;
background-image: var(--astro-gradient);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-size: 100% 200%;
background-position-y: 100%;
border-radius: 0.4rem;
animation: pulse 4s ease-in-out infinite;
}
</style>

View file

@ -4,6 +4,8 @@ export interface Props {
} }
const { title } = Astro.props; const { title } = Astro.props;
import Footer from '../components/Footer.astro';
--- ---
<!DOCTYPE html> <!DOCTYPE html>

View file

@ -1,37 +1,40 @@
--- ---
import Layout from '../layouts/Layout.astro'; import Layout from '../layouts/Layout.astro';
import Card from '../components/Card.astro'; import Card from '../components/Card.astro';
import Footer from '../components/Footer.astro';
--- ---
<Layout title="Welcome to Astro."> <Layout title="Ayo Ayco | Software Engineer + Web Developer">
<main> <main>
<h1>Welcome to <span class="text-gradient">Astro</span></h1> <h1>Hi, I am <span class="text-gradient">Ayo!</span></h1>
<p class="instructions"> <ul role="list" class="highlighted-content" style="list-style:none">
Check out the <code>src/pages</code> directory to get started.<br /> <li>👨🏻‍💻 Software Extraordinaire</li>
<strong>Code Challenge:</strong> Tweak the "Welcome to Astro" message above. <li>🕵🏻‍♂️ Frontend Detective Consultant</li>
</p> <li>📚 BS Computer Science</li>
</ul>
<ul role="list" class="link-card-grid"> <ul role="list" class="link-card-grid">
<Card <Card
href="https://docs.astro.build/" href="https://blog.ayco.io/"
title="Documentation" title="Blog"
body="Learn how Astro works and explore the official API docs." body="Read my latest articles on technology, productivity, and life in general."
/> />
<Card <Card
href="https://astro.build/integrations/" href="https://drive.google.com/file/d/1MhN8qWRJnSHM_epU9GFQL9lEsMFtHWQK/view?usp=sharing"
title="Integrations" title="CV / Resume"
body="Supercharge your project with new frameworks and libraries." body="Download and peruse my skills and experience."
/> />
<Card <Card
href="https://astro.build/themes/" href="/social"
title="Themes" title="Social"
body="Explore a galaxy of community-built starter themes." body="Explore a galaxy of my social accounts."
/> />
<Card <Card
href="https://astro.build/chat/" href="https://github.com/ayoayco"
title="Chat" title="Github"
body="Come say hi to our amazing Discord community. ❤️" body="See my public projects over at Github. ❤️"
/> />
</ul> </ul>
<Footer></Footer>
</main> </main>
</Layout> </Layout>
@ -71,7 +74,7 @@ import Card from '../components/Card.astro';
} }
} }
.instructions { .highlighted-content {
line-height: 1.6; line-height: 1.6;
margin: 1rem 0; margin: 1rem 0;
background: #4f39fa; background: #4f39fa;
@ -80,7 +83,7 @@ import Card from '../components/Card.astro';
color: var(--color-bg); color: var(--color-bg);
} }
.instructions code { .highlighted-content code {
font-size: 0.875em; font-size: 0.875em;
border: 0.1em solid var(--color-border); border: 0.1em solid var(--color-border);
border-radius: 4px; border-radius: 4px;

91
src/pages/social.astro Normal file
View file

@ -0,0 +1,91 @@
---
import Layout from '../layouts/Layout.astro';
import Card from '../components/Card.astro';
import Footer from '../components/Footer.astro';
---
<Layout title="Ayo Ayco | Software Engineer + Web Developer">
<main>
<nav><a href="/">Back</a></nav>
<h1>Social <span class="text-gradient">Links</span></h1>
<ul role="list" style="list-style:none">
<Card
href="https://twitter.com/ayoayco/"
title="Twitter"
body="Tweets about my takes on technology and current events"
/>
<Card
href="https://www.linkedin.com/in/ayoayco/"
title="LinkedIn"
body="Connect with me and my professional network"
/>
<Card
href="https://soundcloud.com/ayoayco/"
title="SoundCloud"
body="Yes, I make music... until I moved to a new contry this year"
/>
</ul>
<Footer></Footer>
</main>
</Layout>
<style>
:root {
--astro-gradient: linear-gradient(0deg, #4f39fa, #da62c4);
}
h1 {
margin: 2rem 0;
}
main {
margin: auto;
padding: 1em;
max-width: 60ch;
}
.text-gradient {
font-weight: 900;
background-image: var(--astro-gradient);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-size: 100% 200%;
background-position-y: 100%;
border-radius: 0.4rem;
animation: pulse 4s ease-in-out infinite;
}
@keyframes pulse {
0%,
100% {
background-position-y: 0%;
}
50% {
background-position-y: 80%;
}
}
.highlighted-content {
line-height: 1.6;
margin: 1rem 0;
background: #4f39fa;
padding: 1rem;
border-radius: 0.4rem;
color: var(--color-bg);
}
.highlighted-content code {
font-size: 0.875em;
border: 0.1em solid var(--color-border);
border-radius: 4px;
padding: 0.15em 0.25em;
}
.link-card-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(24ch, 1fr));
gap: 1rem;
padding: 0;
}
</style>