Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
rizkikadafi committed Jan 15, 2024
1 parent 16b6dc8 commit b0897c7
Show file tree
Hide file tree
Showing 14 changed files with 2,026 additions and 21 deletions.
9 changes: 5 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ ENV GEM_HOME="/gems"
ENV PATH="/gems/bin:$PATH"

# Jekyll, Bundler install
RUN gem install jekyll bundler jekyll-postcss
RUN gem install bundler jekyll-postcss webrick

# Project folder
WORKDIR /app
Expand All @@ -30,13 +30,14 @@ COPY package*.json ./
COPY Gemfile ./

# set gems local directory
# RUN bundle config --local path 'vendor/bundle'
RUN bundle config --local path 'vendor/bundle'

# install Gemfile dependencies
RUN bundle install

# npm dependencies install include tailwindcss
RUN npm install tailwindcss postcss autoprefixer

# install Gemfile dependencies
RUN bundle install
# Copy all files project
COPY . .

Expand Down
12 changes: 12 additions & 0 deletions _data/frameworks_libraries.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
- name: flutter
src: https://cdn.jsdelivr.net/gh/devicons/devicon/icons/flutter/flutter-original.svg
doc: https://flutter.dev/
- name: flask
src: https://cdn.jsdelivr.net/gh/devicons/devicon/icons/flask/flask-original.svg
doc: https://flask.palletsprojects.com/en/3.0.x/
- name: bootstrap
src: https://cdn.jsdelivr.net/gh/devicons/devicon/icons/bootstrap/bootstrap-original.svg
doc: https://getbootstrap.com/
- name: tailwindcss
src: https://cdn.jsdelivr.net/gh/devicons/devicon/icons/tailwindcss/tailwindcss-plain.svg
doc: https://tailwindcss.com/
18 changes: 18 additions & 0 deletions _data/programming_languages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
- name: python
src: https://cdn.jsdelivr.net/gh/devicons/devicon/icons/python/python-original.svg
doc: https://www.python.org/
- name: javascript
src: https://cdn.jsdelivr.net/gh/devicons/devicon/icons/javascript/javascript-original.svg
doc: https://developer.mozilla.org/en-US/
- name: php
src: https://cdn.jsdelivr.net/gh/devicons/devicon/icons/php/php-original.svg
doc: https://www.php.net/
- name: dart
src: https://cdn.jsdelivr.net/gh/devicons/devicon/icons/dart/dart-original.svg
doc: https://dart.dev/
- name: c
src: https://cdn.jsdelivr.net/gh/devicons/devicon/icons/c/c-original.svg
doc: https://en.cppreference.com/w/
- name: cpp
src: https://cdn.jsdelivr.net/gh/devicons/devicon/icons/cplusplus/cplusplus-original.svg
doc: https://en.cppreference.com/w/
Empty file added _data/projects.yml
Empty file.
7 changes: 7 additions & 0 deletions _includes/header-title.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<div class="mb-5 text-center dark:*:text-white">
<h2
class="text-2xl font-bold mb-3 after:content-[''] after:h-[2px] after:w-10 after:block after:mx-auto after:bg-black after:dark:bg-white">
{{ include.title }}
</h2>
<p class="text-xs">{{ include.subtitle }}</p>
</div>
7 changes: 5 additions & 2 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,17 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="/assets/css/main.css">
<!-- <link rel="stylesheet" href="/assets/css/main.css"> -->
<link rel="stylesheet" href="/assets/css/style.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/devicons/[email protected]/devicon.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css"
integrity="sha384-4LISF5TTJX/fLmGSxO53rV4miRxdg84mZsxmO8Rx5jGtp/LbrixFETvWa5a6sESd" crossorigin="anonymous">
<title>{{ page.title }}</title>
</head>

<body class="overflow-x-hidden">
<body class="overflow-x-hidden dark:bg-slate-800">
{{ content }}
<script src="/assets/js/toggle_dark.js"></script>
</body>

</html>
3 changes: 3 additions & 0 deletions assets/css/input.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@import "tailwindcss/base";
@import "tailwindcss/components";
@import "tailwindcss/utilities";
Loading

0 comments on commit b0897c7

Please sign in to comment.