-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update: favicon rename: Procfile
- Loading branch information
Showing
27 changed files
with
950 additions
and
130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
web: bin/rails server | ||
vite: PORT=5173 bin/vite dev |
This file was deleted.
Oops, something went wrong.
Empty file.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
@layer components { | ||
.btn-primary { | ||
@apply py-2 px-4 bg-blue-200 font-serif; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
/*Source Serif Pro*/ | ||
@font-face { | ||
font-family: 'SourceSerifPro'; | ||
src: url("https://fly.storage.tigris.dev/fonts/SourceSerifPro/SourceSerifPro-Regular.otf") format('opentype'); | ||
font-weight: normal; | ||
font-style: normal; | ||
font-display: swap; | ||
} | ||
|
||
@font-face { | ||
font-family: 'SourceSerifPro'; | ||
src: url("https://fly.storage.tigris.dev/fonts/SourceSerifPro/SourceSerifPro-It.otf") format('opentype'); | ||
font-weight: normal; | ||
font-style: italic; | ||
font-display: swap; | ||
} | ||
|
||
@font-face { | ||
font-family: 'SourceSerifPro'; | ||
src: url("https://fly.storage.tigris.dev/fonts/SourceSerifPro/SourceSerifPro-Semibold.otf") format('opentype'); | ||
font-weight: 600; | ||
font-style: normal; | ||
font-display: swap; | ||
} | ||
|
||
@font-face { | ||
font-family: 'SourceSerifPro'; | ||
src: url("https://fly.storage.tigris.dev/fonts/SourceSerifPro/SourceSerifPro-SemiboldIt.otf") format('opentype'); | ||
font-weight: 600; | ||
font-style: italic; | ||
font-display: swap; | ||
} | ||
|
||
/*Inter*/ | ||
@font-face { | ||
font-family: 'Inter'; | ||
src: url('https://fly.storage.tigris.dev/fonts/Inter/Inter-VariableFont_wght.ttf') format('truetype'); | ||
font-weight: 100 900; /* Define the weight range for the variable font */ | ||
font-style: normal; /* Regular (non-italic) style */ | ||
font-display: swap; | ||
} | ||
|
||
@font-face { | ||
font-family: 'Inter'; | ||
src: url('https://fly.storage.tigris.dev/fonts/Inter/Inter-Italic-VariableFont_wght.ttf') format('truetype'); | ||
font-weight: 100 900; /* Same weight range */ | ||
font-style: italic; /* Italic style */ | ||
font-display: swap; | ||
} | ||
|
||
/* Jetbrains Mono */ | ||
@font-face { | ||
font-family: 'JetBrainsMono'; | ||
src: url("https://fly.storage.tigris.dev/fonts/JetBrainsMono/JetBrainsMono-Regular.ttf") format("truetype"); | ||
font-weight: normal; | ||
font-style: normal; | ||
font-display: swap; | ||
} | ||
|
||
@font-face { | ||
font-family: 'JetBrainsMono'; | ||
src: url("https://fly.storage.tigris.dev/fonts/JetBrainsMono/JetBrainsMono-Bold.ttf") format("truetype"); | ||
font-weight: bold; | ||
font-style: normal; | ||
font-display: swap; | ||
} | ||
|
||
@font-face { | ||
font-family: 'JetBrainsMono'; | ||
src: url("https://fly.storage.tigris.dev/fonts/JetBrainsMono/JetBrainsMono-Italic.ttf") format("truetype"); | ||
font-weight: normal; | ||
font-style: italic; | ||
font-display: swap; | ||
} | ||
|
||
@font-face { | ||
font-family: 'JetBrainsMono'; | ||
src: url("https://fly.storage.tigris.dev/fonts/JetBrainsMono/JetBrainsMono-Medium.ttf") format("truetype"); | ||
font-weight: 500; | ||
font-style: normal; | ||
font-display: swap; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
@tailwind base; | ||
@tailwind components; | ||
@tailwind utilities; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<script setup> | ||
</script> | ||
|
||
<template> | ||
<button class="btn-primary">Hello</button> | ||
</template> | ||
|
||
<style scoped> | ||
</style> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
@import "../../assets/stylesheets/tailwind.css"; | ||
@import "../../assets/stylesheets/component.css"; | ||
@import "../../assets/stylesheets/font.css"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,7 @@ | ||
// To see this message, add the following to the `<head>` section in your | ||
// views/layouts/application.html.erb | ||
// | ||
// <%= vite_client_tag %> | ||
// <%= vite_javascript_tag 'application' %> | ||
console.log('Vite ⚡️ Rails') | ||
|
||
// If using a TypeScript entrypoint file: | ||
// <%= vite_typescript_tag 'application' %> | ||
// | ||
// If you want to use .jsx or .tsx, add the extension: | ||
// <%= vite_javascript_tag 'application.jsx' %> | ||
import {createApp} from "vue"; | ||
import Hello from "../components/Hello.vue" | ||
|
||
console.log('Visit the guide for more information: ', 'https://vite-ruby.netlify.app/guide/rails') | ||
|
||
// Example: Load Rails libraries in Vite. | ||
// | ||
// import * as Turbo from '@hotwired/turbo' | ||
// Turbo.start() | ||
// | ||
// import ActiveStorage from '@rails/activestorage' | ||
// ActiveStorage.start() | ||
// | ||
// // Import all channels. | ||
// const channels = import.meta.globEager('./**/*_channel.js') | ||
console.log('Vite ⚡️ Rails') | ||
|
||
// Example: Import a stylesheet in app/frontend/index.css | ||
// import '~/index.css' | ||
const app = createApp(Hello) | ||
app.mount(document.querySelector("#app")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
export default { | ||
plugins: { | ||
tailwindcss: {}, | ||
autoprefixer: {}, | ||
}, | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/** @type {import('tailwindcss').Config} */ | ||
export default { | ||
content: [ | ||
"./app/assets/stylesheets/**/*.css", | ||
"./app/views/**/*.{html,html.erb,erb}", | ||
"./app/javascript/components/**/*.vue", | ||
], | ||
theme: { | ||
extend: { | ||
fontFamily: { | ||
serif: ["SourceSerifPro"], | ||
sans: ["Inter"], | ||
mono: ["JetBrainsMono"], | ||
} | ||
}, | ||
}, | ||
plugins: [], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
import { defineConfig } from 'vite' | ||
import {defineConfig} from 'vite' | ||
import ViteRails from 'vite-plugin-rails' | ||
import Vue from "@vitejs/plugin-vue" | ||
|
||
export default defineConfig({ | ||
plugins: [ | ||
ViteRails(), | ||
], | ||
plugins: [ | ||
Vue(), | ||
ViteRails(), | ||
], | ||
}) |
Oops, something went wrong.