diff --git a/.github/workflows/hugo.yaml b/.github/workflows/hugo.yaml new file mode 100644 index 0000000..e5f14bf --- /dev/null +++ b/.github/workflows/hugo.yaml @@ -0,0 +1,78 @@ +# Sample workflow for building and deploying a Hugo site to GitHub Pages +name: Deploy Hugo site to Pages + +on: + # Runs on pushes targeting the default branch + push: + branches: + - main + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages +permissions: + contents: read + pages: write + id-token: write + +# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. +# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. +concurrency: + group: "pages" + cancel-in-progress: false + +# Default to bash +defaults: + run: + shell: bash + +jobs: + # Build job + build: + runs-on: ubuntu-latest + env: + HUGO_VERSION: 0.121.0 + steps: + - name: Install Hugo CLI + run: | + wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \ + && sudo dpkg -i ${{ runner.temp }}/hugo.deb + - name: Install Dart Sass + run: sudo snap install dart-sass + - name: Checkout + uses: actions/checkout@v4 + with: + submodules: recursive + fetch-depth: 0 + - name: Setup Pages + id: pages + uses: actions/configure-pages@v4 + - name: Install Node.js dependencies + run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true" + - name: Build with Hugo + env: + # For maximum backward compatibility with Hugo modules + HUGO_ENVIRONMENT: production + HUGO_ENV: production + run: | + hugo \ + --gc \ + --minify \ + --baseURL "${{ steps.pages.outputs.base_url }}/" + - name: Upload artifact + uses: actions/upload-pages-artifact@v2 + with: + path: ./public + + # Deployment job + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + needs: build + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v3 \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..549e087 --- /dev/null +++ b/.gitignore @@ -0,0 +1,15 @@ +# Generated files by hugo +/public/ +/resources/_gen/ +/assets/jsconfig.json +hugo_stats.json + +# Executable may be added to repository +hugo.exe +hugo.darwin +hugo.linux + +# Temporary lock file while building +/.hugo_build.lock + +.DS_Store \ No newline at end of file diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..c773399 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/PaperMod"] + path = themes/PaperMod + url = git@github.com:adityatelange/hugo-PaperMod.git diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..c6f3fce --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,5 @@ ++++ +title = '{{ replace .File.ContentBaseName "-" " " | title }}' +date = {{ .Date }} +draft = true ++++ diff --git a/assets/css/extended/home-info.css b/assets/css/extended/home-info.css new file mode 100644 index 0000000..a55977f --- /dev/null +++ b/assets/css/extended/home-info.css @@ -0,0 +1,23 @@ +.home-info { + align-items: center; + text-align: justify; +} + +.home-info img { + margin-bottom: 1%; + border-radius: 50%; +} + +.header { + border-bottom: 1px solid #2e2e2e +} + +::selection { + color: #444452; + background: #7bff00; +} + +.name-highlight-a { + color: #000000; + background: #7bff00; +} \ No newline at end of file diff --git a/assets/css/extended/styles.css b/assets/css/extended/styles.css new file mode 100644 index 0000000..fcd9033 --- /dev/null +++ b/assets/css/extended/styles.css @@ -0,0 +1,38 @@ +/* For the Projects Page*/ +.post-content dt ~ dt, .post-content dd ~ dd { + margin-top: 1.5rem; +} + +.post-content dt em { + display: block; + text-align: left; + font-size: 0.875rem; + font-weight: 400; + font-style: normal; + color: var(--secondary); +} + +.post-content a, +.post-description a { + position: relative; + text-decoration: none; + box-shadow: none; +} + +.post-content a::before, +.post-description a::before { + content: ""; + position: absolute; + display: block; + width: 100%; + height: 2px; + bottom: 0; + left: 0; + background-color: var(--content); + transform: scaleX(0); + transition: transform 0.3s ease; +} + +a:hover::before { + transform: scaleX(1); +} \ No newline at end of file diff --git a/content/about.md b/content/about.md new file mode 100644 index 0000000..7270585 --- /dev/null +++ b/content/about.md @@ -0,0 +1,25 @@ +--- +title: ABOUT +layout: single +# description: + +showReadingTime: false +--- + +> “We are what we repeatedly do. Excellence, then, is not an act, but a habit.” ―Aristotle + +I'm a computer programmer currently pursuing my Master's in Computer Science from SUNY Binghamton University. Previously I completed +my Bachelor's in Computer Engineering from University of Mumbai. + +I'm passionate about building software programs and dabbling with new technologies to create user-focused and result-driven applications. + +## Technical Skills + +| Programming Languages | Web Development | Data | Tools & Others | +|-----------------------|------------------------|--------------------------|----------------------------- | +| C | Django | MySQL | Git, GitHub | +| Python | Flask | MongoDB | Docker | +| Java | Express.js | PostgreSQL | Heroku | +| Haskell | HTML, CSS, JavaScript | Pandas, NumPy | Linux, Bash scripting | +| GoLang | React.js, Bootstrap | Matplotlib | RESTful APIs | + diff --git a/content/archives.md b/content/archives.md new file mode 100644 index 0000000..5628e34 --- /dev/null +++ b/content/archives.md @@ -0,0 +1,6 @@ +--- +title: "Archive" +layout: "archives" +url: "/archives/" +summary: archives +--- diff --git a/content/projects.md b/content/projects.md new file mode 100644 index 0000000..049fc07 --- /dev/null +++ b/content/projects.md @@ -0,0 +1,25 @@ +--- +title: Projects +layout: single +# description: +showReadingTime: false +# modified: 2023-01-29 +keywords: + - Write.it + - Portfolio +--- + +[Write.it](https://github.com/tanmayc07/Blog-App) *Team Project* +: Write.it is a simple to use blogging platform developed using [**JavaScript's**](https://developer.mozilla.org/en-US/docs/Web/JavaScript) [**ExpressJs**](https://expressjs.com/) framework and [**MongoDb**](https://www.mongodb.com/). + +[FIFA Player Analysis](https://github.com/tanmayc07/CS532_Nosql_Project) *Team Project* +: Performed Data Analysis of Fifa Player's stats for last 10 years using non-trivial NoSql queries. Web Client written in [**Python**](https://python.org) using [**Flask**](https://flask.palletsprojects.com/en/3.0.x/) + +[Weather Dashboard](https://github.com/tanmayc07/WeatherDashboard) *Side Project* +: Weather Dashboard App with clean UI created using [**Django**](https://www.djangoproject.com/) and OpenWeatherMap [**API**](https://openweathermap.org/) + +[Vaccine Efficiency Prediction](https://github.com/tanmayc07/WWCodeHackathon) *Team Project* +: Designed and trained a Machine Learning Algorithm for Vaccine Efficiency Prediction using B-cell epitope predictions dataset. Created the Web Client using [**StreamLit**](https://streamlit.io/) + +[Portfolio](https://tanmayc.me/personal-site) *Side Project* +: The website you're currently on! Powered by [**Hugo**](https://gohugo.io/) & [**PaperMod**](https://git.io/hugopapermod) with custom CSS & content diff --git a/hugo.yaml b/hugo.yaml new file mode 100644 index 0000000..e4ac5ca --- /dev/null +++ b/hugo.yaml @@ -0,0 +1,71 @@ +baseURL: https://tanmayc.me/ +languageCode: en-us +title: Tanmay Chaudhari +theme: ["PaperMod"] + +enableEmoji: true + +menu: + main: + - identifier: home + name: home + url: / + weight: 10 + - identifier: about + name: about + url: /about + weight: 20 + - identifier: projects + name: projects + url: /projects + weight: 30 + - identifier: cv + name: cv + url: "https://cv-beta-seven-72.vercel.app/" + weight: 40 + + +params: + defaultTheme: auto + homeInfoParams: + Title: 👋🏻 Hi there! + Content: "I'm Tanmay and it's good to have you here!" + # imageUrl: "https://i.ibb.co/hBxzX1y/DSC-0101.jpg" + imageUrl: "https://media1.giphy.com/media/Bzzb92NKwUOj0FjQOd/giphy.gif?cid=ecf05e47mqaevucni02y58st0860bthng1roofds5nawno3u&ep=v1_gifs_search&rid=giphy.gif&ct=g" # optional + imageTitle: "Random Programming gif" # optional + imageWidth: 300 # custom size + imageHeight: 200 # custom size + + assets: + favicon: "https://tanmayc.me/personal-site/favicon.ico" + favicon16x16: "https://tanmayc.me/personal-site/favicon-16x16.png" + favicon32x32: "https://tanmayc.me/personal-site/favicon-32x32.png" + apple_touch_icon: "https://tanmayc.me/personal-site/apple-touch-icon.png" + + # profileMode: + # enabled: true + # title: "👋🏻 Hi, I'm Tanmay!" # optional default will be site title + # subtitle: "Computer Programmer" + # imageUrl: "https://media1.giphy.com/media/Bzzb92NKwUOj0FjQOd/giphy.gif?cid=ecf05e47mqaevucni02y58st0860bthng1roofds5nawno3u&ep=v1_gifs_search&rid=giphy.gif&ct=g" # optional + # imageTitle: "Random Programming gif" # optional + # imageWidth: 300 # custom size + # imageHeight: 200 # custom size + # buttons: + # - name: Archive + # url: "/archive" + # - name: Github + # url: "https://github.com/" + + socialIcons: # optional + - name: "github" + url: "https://github.com/tanmayc07" + - name: "linkedin" + url: "https://www.linkedin.com/in/hctanmay" + - name: "goodreads" + url: "https://www.goodreads.com/tanmay-reads" + - name: "email" + url: "mailto:hctanmay@gmail.com" + + ShowShareButtons: true + ShareButtons: ["linkedin", "twitter"] + diff --git a/layouts/partials/home_info.html b/layouts/partials/home_info.html new file mode 100644 index 0000000..586781b --- /dev/null +++ b/layouts/partials/home_info.html @@ -0,0 +1,43 @@ +{{- with site.Params.homeInfoParams }} +
+ {{- if .imageUrl -}} + {{- $img := "" }} + {{- if not (urls.Parse .imageUrl).IsAbs }} + {{- $img = resources.Get .imageUrl }} + {{- end }} + {{- if $img }} + {{- $processableFormats := (slice "jpg" "jpeg" "png" "tif" "bmp" "gif") -}} + {{- if hugo.IsExtended -}} + {{- $processableFormats = $processableFormats | append "webp" -}} + {{- end -}} + {{- $prod := (hugo.IsProduction | or (eq site.Params.env "production")) }} + {{- if and (in $processableFormats $img.MediaType.SubType) (eq $prod true)}} + {{- if (not (and (not .imageHeight) (not .imageWidth))) }} + {{- $img = $img.Resize (printf "%dx%d" .imageWidth .imageHeight) }} + {{- else if .imageHeight }} + {{- $img = $img.Resize (printf "x%d" .imageHeight) }} + {{ else if .imageWidth }} + {{- $img = $img.Resize (printf "%dx" .imageWidth) }} + {{ else }} + {{- $img = $img.Resize "150x150" }} + {{- end }} + {{- end }} + {{ .imageTitle | default + {{- else }} + {{ .imageTitle | default + {{- end }} + {{- end }} +
+

{{ .Title | markdownify }}

+
+
+

{{ .Content | safeHTML }}

+ +
+ +
+{{- end -}} \ No newline at end of file diff --git a/static/apple-touch-icon.png b/static/apple-touch-icon.png new file mode 100644 index 0000000..d37cfb8 Binary files /dev/null and b/static/apple-touch-icon.png differ diff --git a/static/favicon-16x16.png b/static/favicon-16x16.png new file mode 100644 index 0000000..c59aa49 Binary files /dev/null and b/static/favicon-16x16.png differ diff --git a/static/favicon-32x32.png b/static/favicon-32x32.png new file mode 100644 index 0000000..b5f84f3 Binary files /dev/null and b/static/favicon-32x32.png differ diff --git a/static/favicon.ico b/static/favicon.ico new file mode 100644 index 0000000..99c4fae Binary files /dev/null and b/static/favicon.ico differ diff --git a/static/site.webmanifest b/static/site.webmanifest new file mode 100644 index 0000000..45dc8a2 --- /dev/null +++ b/static/site.webmanifest @@ -0,0 +1 @@ +{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"} \ No newline at end of file diff --git a/themes/PaperMod b/themes/PaperMod new file mode 160000 index 0000000..a1cb044 --- /dev/null +++ b/themes/PaperMod @@ -0,0 +1 @@ +Subproject commit a1cb044262d33d11860feb847c4c30aa281aee82