mirror of
https://github.com/withastro/astro.git
synced 2024-12-30 22:03:56 -05:00
Add assets (#107)
* fix(www): link styles (#100) Co-authored-by: Nate Moore <nate@skypack.dev> * chore: add assets * docs: update readme Co-authored-by: Nate Moore <nate@skypack.dev>
This commit is contained in:
parent
e43d98d6f3
commit
11bebe2d27
11 changed files with 29 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
# 👩🚀 Astro
|
||||
![Astro](https://raw.githubusercontent.com/snowpackjs/astro/main/assets/social/github-banner.png)
|
||||
|
||||
A next-generation static-site generator with partial hydration. Use your favorite JS framework and ship bare-minimum JS (or none at all!).
|
||||
**Astro** is a next-generation static-site generator with partial hydration. Use your favorite JS framework and ship bare-minimum JS (or none at all!).
|
||||
|
||||
## 🔧 Setup
|
||||
|
||||
|
|
1
assets/brand/logo-white.svg
Normal file
1
assets/brand/logo-white.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg width="192" height="256" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M131.008 18.929c1.944 2.413 2.935 5.67 4.917 12.181l43.309 142.27a180.277 180.277 0 00-51.778-17.53L99.258 60.56a3.67 3.67 0 00-7.042.01l-27.857 95.232a180.225 180.225 0 00-52.01 17.557l43.52-142.281c1.99-6.502 2.983-9.752 4.927-12.16a15.999 15.999 0 016.484-4.798c2.872-1.154 6.271-1.154 13.07-1.154h31.085c6.807 0 10.211 0 13.086 1.157a16.004 16.004 0 016.487 4.806z" fill="url(#paint0_linear)"/><path fill-rule="evenodd" clip-rule="evenodd" d="M136.19 180.151c-7.139 6.105-21.39 10.268-37.804 10.268-20.147 0-37.033-6.272-41.513-14.707-1.602 4.835-1.961 10.367-1.961 13.902 0 0-1.056 17.355 11.015 29.426 0-6.268 5.081-11.349 11.35-11.349 10.742 0 10.73 9.373 10.72 16.977v.679c0 11.542 7.054 21.436 17.086 25.606a23.27 23.27 0 01-2.339-10.2c0-11.008 6.463-15.107 13.974-19.87 5.976-3.79 12.616-8.001 17.192-16.449a31.024 31.024 0 003.743-14.82c0-3.299-.513-6.479-1.463-9.463z" fill="#FF5D01"/><path fill-rule="evenodd" clip-rule="evenodd" d="M136.19 180.151c-7.139 6.105-21.39 10.268-37.804 10.268-20.147 0-37.033-6.272-41.513-14.707-1.602 4.835-1.961 10.367-1.961 13.902 0 0-1.056 17.355 11.015 29.426 0-6.268 5.081-11.349 11.35-11.349 10.742 0 10.73 9.373 10.72 16.977v.679c0 11.542 7.054 21.436 17.086 25.606a23.27 23.27 0 01-2.339-10.2c0-11.008 6.463-15.107 13.974-19.87 5.976-3.79 12.616-8.001 17.192-16.449a31.024 31.024 0 003.743-14.82c0-3.299-.513-6.479-1.463-9.463z" fill="url(#paint1_linear)"/><defs><linearGradient id="paint0_linear" x1="144.599" y1="5.423" x2="95.791" y2="173.38" gradientUnits="userSpaceOnUse"><stop stop-color="#fff"/><stop offset="1" stop-color="#F9FAFB"/></linearGradient><linearGradient id="paint1_linear" x1="168.336" y1="130.49" x2="126.065" y2="218.982" gradientUnits="userSpaceOnUse"><stop stop-color="#FF1639"/><stop offset="1" stop-color="#FF1639" stop-opacity="0"/></linearGradient></defs></svg>
|
After Width: | Height: | Size: 1.9 KiB |
1
assets/brand/logo.svg
Normal file
1
assets/brand/logo.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg width="192" height="256" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M131.008 18.929c1.944 2.413 2.935 5.67 4.917 12.181l43.309 142.27a180.277 180.277 0 00-51.778-17.53L99.258 60.56a3.67 3.67 0 00-7.042.01l-27.857 95.232a180.225 180.225 0 00-52.01 17.557l43.52-142.281c1.99-6.502 2.983-9.752 4.927-12.16a15.999 15.999 0 016.484-4.798c2.872-1.154 6.271-1.154 13.07-1.154h31.085c6.807 0 10.211 0 13.086 1.157a16.004 16.004 0 016.487 4.806z" fill="url(#paint0_linear)"/><path fill-rule="evenodd" clip-rule="evenodd" d="M136.19 180.151c-7.139 6.105-21.39 10.268-37.804 10.268-20.147 0-37.033-6.272-41.513-14.707-1.602 4.835-1.961 10.367-1.961 13.902 0 0-1.056 17.355 11.015 29.426 0-6.268 5.081-11.349 11.35-11.349 10.742 0 10.73 9.373 10.72 16.977v.679c0 11.542 7.054 21.436 17.086 25.606a23.27 23.27 0 01-2.339-10.2c0-11.008 6.463-15.107 13.974-19.87 5.976-3.79 12.616-8.001 17.192-16.449a31.024 31.024 0 003.743-14.82c0-3.299-.513-6.479-1.463-9.463z" fill="#FF5D01"/><path fill-rule="evenodd" clip-rule="evenodd" d="M136.19 180.151c-7.139 6.105-21.39 10.268-37.804 10.268-20.147 0-37.033-6.272-41.513-14.707-1.602 4.835-1.961 10.367-1.961 13.902 0 0-1.056 17.355 11.015 29.426 0-6.268 5.081-11.349 11.35-11.349 10.742 0 10.73 9.373 10.72 16.977v.679c0 11.542 7.054 21.436 17.086 25.606a23.27 23.27 0 01-2.339-10.2c0-11.008 6.463-15.107 13.974-19.87 5.976-3.79 12.616-8.001 17.192-16.449a31.024 31.024 0 003.743-14.82c0-3.299-.513-6.479-1.463-9.463z" fill="url(#paint1_linear)"/><defs><linearGradient id="paint0_linear" x1="144.599" y1="5.423" x2="95.791" y2="173.38" gradientUnits="userSpaceOnUse"><stop stop-color="#000014"/><stop offset="1" stop-color="#150426"/></linearGradient><linearGradient id="paint1_linear" x1="168.336" y1="130.49" x2="126.065" y2="218.982" gradientUnits="userSpaceOnUse"><stop stop-color="#FF1639"/><stop offset="1" stop-color="#FF1639" stop-opacity="0"/></linearGradient></defs></svg>
|
After Width: | Height: | Size: 1.9 KiB |
BIN
assets/social/avatar.png
Normal file
BIN
assets/social/avatar.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 MiB |
BIN
assets/social/banner.png
Normal file
BIN
assets/social/banner.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.1 MiB |
0
assets/social/banner.svg
Normal file
0
assets/social/banner.svg
Normal file
BIN
assets/social/github-banner.png
Normal file
BIN
assets/social/github-banner.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 MiB |
|
@ -63,6 +63,10 @@
|
|||
position: absolute;
|
||||
pointer-events: none;
|
||||
z-index: 0;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
inset: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
|
|
@ -11,6 +11,10 @@ import Stars from './Stars.astro';
|
|||
<style lang="scss">
|
||||
.space {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
inset: 0;
|
||||
width: 100vw;
|
||||
min-height: 100vh;
|
||||
|
|
|
@ -57,6 +57,10 @@
|
|||
pointer-events: none;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
inset: 0;
|
||||
z-index: 0;
|
||||
}
|
||||
|
|
|
@ -70,11 +70,24 @@ a {
|
|||
}
|
||||
}
|
||||
|
||||
&:visited {
|
||||
// color: var(--color-green);
|
||||
color: var(--color-green);
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: rgba(0, 0, 0, 1);
|
||||
}
|
||||
}
|
||||
|
||||
&::before {
|
||||
transform-origin: bottom center;
|
||||
content: '';
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
inset: 0;
|
||||
background: var(--color-green);
|
||||
pointer-events: none;
|
||||
|
|
Loading…
Reference in a new issue