Skip to content

Commit

Permalink
v2.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
theVinesh authored Dec 26, 2019
2 parents 2d0cf47 + d01a7bc commit b08ec92
Show file tree
Hide file tree
Showing 6 changed files with 75 additions and 5 deletions.
33 changes: 31 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,41 @@ jobs:
name: Creating release
command: |
export VERSION=$(cat version)
npm run release
npm run release
analyze_with_sonar:
docker:
- image: circleci/node:lts
steps:
- run:
name: Initiate Sonar
command: |
export SONAR_SCANNER_HOME=$HOME/.sonar/sonar-scanner-$SONAR_SCANNER_VERSION-linux
rm -rf $SONAR_SCANNER_HOME
mkdir -p $SONAR_SCANNER_HOME
curl -sSLo $HOME/.sonar/sonar-scanner.zip https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-$SONAR_SCANNER_VERSION-linux.zip
unzip $HOME/.sonar/sonar-scanner.zip -d $HOME/.sonar/
rm $HOME/.sonar/sonar-scanner.zip
echo "sonar path $SONAR_SCANNER_HOME/bin"
export SONAR_PATH=$SONAR_SCANNER_HOME/bin
echo "SONAR_PATH $SONAR_PATH"
export SONAR_SCANNER_OPTS="-server"
echo "SONAR_SCANNER_OPTS $SONAR_SCANNER_OPTS"
$SONAR_PATH/sonar-scanner \
-Dsonar.projectKey=theVinesh_personal-site \
-Dsonar.organization=thevinesh \
-Dsonar.sources=. \
-Dsonar.host.url=https://sonarcloud.io \
-Dsonar.login=$SONAR_LOGIN_TOKEN
workflows:
version: 2
build-test-deploy:
jobs:
- analyze_with_sonar:
filters:
branches:
only: master
- build_and_test
- upload_artifacts:
requires:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "thevinesh.dev",
"version": "3.0.0",
"version": "2.5.2",
"url": "https://theVinesh.dev",
"description": "Hi, I am Vinesh Raju. I am an Android developer currently working at Swiggy.",
"author": "Vinesh Raju",
Expand Down
1 change: 1 addition & 0 deletions src/pages/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ <h1>I'm <span class="font-effect-anaglyph">Vinesh Raju</span> - Android and Web
<p>When I am not sleeping, eating or coding, I like to Sing, Sketch and dream up about all the cool stuffs to do;
which I almost always
procrastinate.😅</p>
<%= nl_signup %>
<p>Now that you know about me, I am all ears to know about you.<br>Wave👋 via</p>
<div id="social">
<a href="mailto:[email protected]">mail</a>
Expand Down
16 changes: 16 additions & 0 deletions src/partials/newsletter_signup.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<div class="nl-signup-form">
Some of those cool stuff I dream about end up in the form of writings ✍️<br>
Sign-up to get them in your inbox. I wont spam, I promise 🤞
<div id="mc_embed_signup">
<form action="https://thevinesh.us4.list-manage.com/subscribe/post?u=141890150fe1693eeb62af296&amp;id=1886e3a98d"
method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank"
novalidate>
<div class="mc-field-group">
<input type="email" placeholder="[email protected]" value="" name="EMAIL" class="required email" id="mce-EMAIL">
<div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text"
name="b_141890150fe1693eeb62af296_1886e3a98d" tabindex="-1" value=""></div>
<input type="submit" value="subscribe" name="subscribe" id="mc-embedded-subscribe" class="button">
</div>
</form>
</div>
</div>
27 changes: 25 additions & 2 deletions src/scss/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ header {
footer {
width: 100%;
display: flex;
flex-direction: column;
margin: $page_top_margin 0 $page_bottom_margin 0;
justify-content: center;
align-items: center;
}

nav {
Expand All @@ -40,14 +41,36 @@ nav {
}
}

.nl-signup-form {
display: flex;
flex-direction: column;
form {
margin: 8px 0;
}
input {
padding: 12px;
margin: 4px 0;
font-family: "Oxygen Mono", monospace;
font-size: 14px;
}
.button {
background: $red;
color: $white;
border: none;
&:hover {
background: $dark-red;
}
}
}

#content {
padding: $page_padding;
margin: $page_top_margin auto 0 auto;
@include respond-to(wide-screens) {
max-width: $max_content_width;
}
h1 {
font-size: 38px;
font-size: 32px;
color: $black;
font-weight: bolder;
}
Expand Down
1 change: 1 addition & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const makeHtmlPlugin = (templateFilename, bodyHtml) => {
header: readFileContents("./src/partials/header.html"),
footer: readFileContents("./src/partials/footer.html"),
ga: readFileContents("./src/partials/ga.html"),
nl_signup: readFileContents("./src/partials/newsletter_signup.html"),
},
meta: {
"language": "English",
Expand Down

0 comments on commit b08ec92

Please sign in to comment.