Skip to content

Commit 5c6d640

Browse files
committed
Target blank on a hrefs added
1 parent 2fa738d commit 5c6d640

File tree

5 files changed

+29
-14
lines changed

5 files changed

+29
-14
lines changed

deploy.sh

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#!/usr/bin/env sh
2+
3+
# abort on errors
4+
set -e
5+
6+
# build
7+
yarn build
8+
9+
# navigate into the build output directory
10+
cd dist
11+
12+
# if you are deploying to a custom domain
13+
# echo 'www.example.com' > CNAME
14+
15+
git init
16+
git add -A
17+
git commit -m 'deploy'
18+
19+
# if you are deploying to https://<USERNAME>.github.io/<REPO>
20+
git push -f git@github.com:emilkowalski/css-effects-snippets.git master:gh-pages
21+
22+
cd -

public/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta http-equiv="X-UA-Compatible" content="IE=edge">
66
<meta name="viewport" content="width=device-width,initial-scale=1.0">
77
<link rel="icon" href="<%= BASE_URL %>favicon.png">
8-
<title>CSSanimationSnipets.</title>
8+
<title>CSSeffectsSnipets.</title>
99
</head>
1010
<body>
1111
<noscript>

src/App.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<Box :rawCss="rawCss.arrowBounce" className="arrowBounce"><font-awesome-icon icon="arrow-down" /></Box>
1313
<Box :rawCss="rawCss.gradientBorder" className="gradientBorder ">Hover me</Box>
1414
<Box :rawCss="rawCss.buttonLeft" className="buttonLeft"><span class="buttonLeftSpan">Hover me</span></Box>
15-
<Box :rawCss="rawCss.buttonLeft" className="siblingFade"><span>Item 1 </span><span>Item 2 </span></Box>
15+
<Box :rawCss="rawCss.siblingFade" className="siblingFade"><span>Item 1 </span><span>Item 2 </span></Box>
1616
</div>
1717
</div>
1818
</template>

src/components/NavBar.vue

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<template>
22
<div class="wrapper">
3-
<h1>CSSanimationSnipets<span>.</span></h1>
3+
<h1>CSSeffectsSnipets<span>.</span></h1>
44
<div class="links">
5-
<a href="https://github.com/emilkowalski/css-animation-snippets">Github</a>
6-
<a href="https://github.com/emilkowalski/css-animation-snippets/issues/new">Share your ideas!</a>
5+
<a href="https://github.com/emilkowalski/css-animation-snippets" target="_blank">Github</a>
6+
<a href="https://github.com/emilkowalski/css-animation-snippets/issues/new" target="_blank">Share your ideas!</a>
77
</div>
88
</div>
99
</template>

vue.config.js

+2-9
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
11
module.exports = {
2-
configureWebpack: {
3-
rules: [
4-
{
5-
test: /\.txt$/i,
6-
use: 'raw-loader',
7-
},
8-
],
9-
},
10-
};
2+
publicPath: './',
3+
}

0 commit comments

Comments
 (0)