update image assets, partially fix #19
Before Width: | Height: | Size: 2.0 MiB After Width: | Height: | Size: 4.3 MiB |
Before Width: | Height: | Size: 172 KiB After Width: | Height: | Size: 586 KiB |
BIN
src/assets/images/amphineko@1x.webp
Normal file
After Width: | Height: | Size: 250 KiB |
@ -16,16 +16,16 @@
|
||||
|
||||
<pattern id="Tile" x="0" y="0" width="128" height="128" patternUnits="userSpaceOnUse">
|
||||
<rect fill="url(#ShapeT)" height="64" width="64" x="0" y="0">
|
||||
<animateTransform attributeName="transform" attributeType="XML" type="rotate" from="360 32 32" to="0 32 32" dur="16s" repeatCount="indefinite"/>
|
||||
<!-- <animateTransform attributeName="transform" attributeType="XML" type="rotate" from="360 32 32" to="0 32 32" dur="16s" repeatCount="indefinite"/> -->
|
||||
</rect>
|
||||
|
||||
<rect fill="url(#ShapeTri)" height="64" width="64" x="64" y="64">
|
||||
<animateTransform attributeName="transform" attributeType="XML" type="rotate" from="0 96 96" to="360 96 96" dur="8s" repeatCount="indefinite"/>
|
||||
<!-- <animateTransform attributeName="transform" attributeType="XML" type="rotate" from="0 96 96" to="360 96 96" dur="8s" repeatCount="indefinite"/> -->
|
||||
</rect>
|
||||
</pattern>
|
||||
</defs>
|
||||
|
||||
<g filter="url(#noise)">
|
||||
<g transform="rotate(-15)">
|
||||
<rect fill="url(#Tile)" height="128" width="128" x="0" y="0" />
|
||||
<rect fill="url(#Tile)" height="128" width="128" x="128" y="128" />
|
||||
</g>
|
||||
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
@ -13,8 +13,10 @@
|
||||
<div class="section header grid-container grid-parent">
|
||||
<div class="split picture-container grid-40">
|
||||
<a href="${require('./assets/images/amphineko.png')}">
|
||||
<img alt="picture of amphineko" class="picture"
|
||||
src="${require('./assets/images/amphineko@1x.jpg')}">
|
||||
<picture class="picture">
|
||||
<source type="image/webp" srcset="${require('./assets/images/amphineko@1x.webp')}" />
|
||||
<img src="${require('./assets/images/amphineko@1x.jpg')}" alt="picture of amphineko" />
|
||||
</picture>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
@ -19,7 +19,7 @@ module.exports = {
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
test: /\.(eot|jpg|png|svg|ttf|woff2?)$/,
|
||||
test: /\.(eot|jpg|png|svg|ttf|webp|woff2?)$/,
|
||||
loader: 'file-loader',
|
||||
options: {
|
||||
name: 'assets/[name].[contenthash:8].[ext]'
|
||||
|