-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
208 additions
and
1 deletion.
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
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,5 @@ | ||
{ | ||
"_variables": { | ||
"lastUpdateCheck": 1732223582946 | ||
} | ||
} |
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 @@ | ||
/// <reference types="astro/client" /> |
Binary file added
BIN
+402 KB
src/assets/FiverrPack/111bf284-b096-40a5-a4e1-e854fc58afc9_1732155374660.png
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 added
BIN
+3.36 MB
src/assets/FiverrPack/Screenshot 2024-06-01 17-55-42_1732155487729.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.12 MB
src/assets/FiverrPack/Screenshot 2024-06-22 17-50-49_1732155516222.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+839 KB
src/assets/FiverrPack/Screenshot 2024-07-27 16-50-31_1732155520595.jpg
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.
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,61 @@ | ||
--- | ||
interface Props { | ||
title: string; | ||
body: string; | ||
href: string; | ||
} | ||
const { href, title, body } = Astro.props; | ||
--- | ||
|
||
<li class="link-card"> | ||
<a href={href}> | ||
<h2> | ||
{title} | ||
<span>→</span> | ||
</h2> | ||
<p> | ||
{body} | ||
</p> | ||
</a> | ||
</li> | ||
<style> | ||
.link-card { | ||
list-style: none; | ||
display: flex; | ||
padding: 1px; | ||
background-color: #23262d; | ||
background-image: none; | ||
background-size: 400%; | ||
border-radius: 7px; | ||
background-position: 100%; | ||
transition: background-position 0.6s cubic-bezier(0.22, 1, 0.36, 1); | ||
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); | ||
} | ||
.link-card > a { | ||
width: 100%; | ||
text-decoration: none; | ||
line-height: 1.4; | ||
padding: calc(1.5rem - 1px); | ||
border-radius: 8px; | ||
color: white; | ||
background-color: #23262d; | ||
opacity: 0.8; | ||
} | ||
h2 { | ||
margin: 0; | ||
font-size: 1.25rem; | ||
transition: color 0.6s cubic-bezier(0.22, 1, 0.36, 1); | ||
} | ||
p { | ||
margin-top: 0.5rem; | ||
margin-bottom: 0; | ||
} | ||
.link-card:is(:hover, :focus-within) { | ||
background-position: 0; | ||
background-image: var(--accent-gradient); | ||
} | ||
.link-card:is(:hover, :focus-within) h2 { | ||
color: rgb(var(--accent-light)); | ||
} | ||
</style> |
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,110 @@ | ||
--- | ||
import "@astrojs/tailwind/base.css"; | ||
import "../assets/scss/globals.scss"; | ||
import SiteMeta from "../components/SiteMeta.astro"; | ||
import Header from "../components/Header.astro"; | ||
import Footer from "../components/Footer.astro"; | ||
const { | ||
title = "Astro", | ||
description = "A starter project with accessibility features using Astro static site builder. Contains accessible landmarks, skip links, a dark mode color scheme, better focus outline and keyboard menu navigation.", | ||
url, | ||
image = "/social-preview-image.png", | ||
author = "Mark Teekman", | ||
} = Astro.props; | ||
--- | ||
|
||
<html lang="en" dir="ltr"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<meta http-equiv="X-UA-Compatible" content="ie=edge" /> | ||
|
||
<!-- favicon --> | ||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" /> | ||
|
||
<SiteMeta | ||
title={title} | ||
description={description.substring(0, 100)} | ||
url={Astro.site | ||
? `${Astro.site}/${title.toLowerCase().replaceAll(" ", "-")}` | ||
: `https://accessible-astro.dev/${title.toLowerCase().replaceAll(" ", "-")}`} | ||
image={image} | ||
author={author} | ||
/> | ||
</head> | ||
<body> | ||
<Header /> | ||
<main id="main-content" transition:animate="fade"> | ||
<slot /> | ||
</main> | ||
<Footer /> | ||
<style lang="scss" is:global> | ||
// theme settings | ||
:root { | ||
--radius-small: 3px; | ||
--radius-large: 6px; | ||
--gap-default: 2rem; | ||
--font-measure: 70ch; | ||
--font-family-default: "Open Sans", sans-serif; | ||
--font-family-special: "Open Sans", sans-serif; | ||
// light theme | ||
--font-color: var(--neutral-900); | ||
--action-color: var(--primary-300); | ||
--action-color-state: var(--primary-500); | ||
--background: var(--neutral-100); | ||
--primary-background: var(--primary-100); | ||
--neutral-background: var(--neutral-200); | ||
} | ||
|
||
// dark color scheme overrides | ||
.darkmode { | ||
--font-color: var(--neutral-100); | ||
--action-color: var(--secondary-100); | ||
--action-color-state: var(--secondary-500); | ||
--background: var(--dark-100); | ||
--primary-background: var(--primary-500); | ||
--neutral-background: var(--neutral-900); | ||
} | ||
|
||
// sticky footer on low content pages | ||
html, | ||
body { | ||
height: 100%; | ||
overflow-x: hidden; | ||
} | ||
|
||
body { | ||
display: flex; | ||
flex-direction: column; | ||
color: var(--font-color); | ||
background-color: var(--background); | ||
|
||
main { | ||
flex: 1 0 auto; | ||
} | ||
|
||
footer { | ||
flex-shrink: 0; | ||
} | ||
} | ||
|
||
pre { | ||
padding: 1rem; | ||
border-radius: 0.35rem; | ||
border: 2px solid var(--action-color); | ||
} | ||
|
||
body .pagination a { | ||
&:hover, | ||
&:focus-visible { | ||
background-color: var(--action-color-state); | ||
|
||
svg path { | ||
stroke: white; | ||
} | ||
} | ||
} | ||
</style> | ||
</body> | ||
</html> |
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,9 @@ | ||
/** @type {import('tailwindcss').Config} */ | ||
module.exports = { | ||
content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"], | ||
theme: { | ||
extend: {}, | ||
}, | ||
plugins: [], | ||
darkMode: ["class", ".darkmode"], | ||
}; |
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,3 @@ | ||
{ | ||
"extends": "astro/tsconfigs/strict" | ||
} |