Skip to content

Commit

Permalink
Merge pull request #17 from markteekman/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
markteekman authored Feb 27, 2022
2 parents 4ed951b + 6c1f057 commit d802de0
Show file tree
Hide file tree
Showing 43 changed files with 8 additions and 19 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "accessible-astro-starter",
"version": "1.2.0",
"version": "1.2.1",
"private": true,
"scripts": {
"start": "astro dev",
"build": "astro build"
},
"devDependencies": {
"astro": "^0.23.1",
"astro": "^0.23.2",
"autoprefixer": "^10.4.0",
"sass": "^1.49.9",
"stylelint": "^13.13.1",
Expand Down
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/components/Header.astro
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ import SkipLinks from '../components/SkipLinks.astro'
<SkipLinks client:load />
<section class="padding-16 color-neutral">
<div class="container temp">
<img src="assets/logo.svg" alt="Your Logo">
<img src={(await import('../assets/img/logo.svg')).default} alt="Your Logo">
<ResponsiveToggle client:load />
<Navigation client:load />
</div>
</section>
</header>

<style lang="scss">
@use '../styles/base/breakpoint' as *;
@use '../assets/scss/base/breakpoint' as *;

.container {
display: flex;
Expand Down
2 changes: 1 addition & 1 deletion src/components/Navigation.astro
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
</script>

<style lang="scss">
@use '../styles/base/breakpoint' as *;
@use '../assets/scss/base/breakpoint' as *;

nav {
display: none;
Expand Down
4 changes: 2 additions & 2 deletions src/components/ResponsiveToggle.astro
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
</script>

<style lang="scss">
@use "../styles/base/breakpoint" as *;
@use "../styles/base/outline" as *;
@use "../assets/scss/base/breakpoint" as *;
@use "../assets/scss/base/outline" as *;

.responsive-toggle {
&:focus {
Expand Down
13 changes: 1 addition & 12 deletions src/layouts/DefaultLayout.astro
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
import '../assets/scss/globals.scss'
import Header from '../components/Header.astro'
import Footer from '../components/Footer.astro'
Expand All @@ -20,9 +21,6 @@ let subtitle = 'Accessible Astro Starter'
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;800&display=swap" rel="stylesheet">

<!-- global css -->
<link rel="stylesheet" href={Astro.resolve('../styles/globals.scss')} />

<!-- open graph -->
<meta property="og:title" content="Accessible Astro Starter">
<meta property="og:description" content="A starter project with accessible features using Astro static site builder. Contains accessible landmarks, skip links, a dark mode color scheme, better focus outline and keyboard menu navigation.">
Expand All @@ -34,20 +32,11 @@ let subtitle = 'Accessible Astro Starter'
<title>{title} - {subtitle}</title>
</head>
<body>

<!-- header -->
<Header />

<!-- main -->
<main id="main-content">

<slot />

</main>

<!-- footer -->
<Footer />

</body>
</html>

Expand Down

0 comments on commit d802de0

Please sign in to comment.