-
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.
- Loading branch information
1 parent
7e133a8
commit 548aa4e
Showing
42 changed files
with
1,239 additions
and
91 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
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: {}, | ||
}, | ||
} |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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,35 +1,9 @@ | ||
import { useState } from 'react' | ||
import reactLogo from './assets/react.svg' | ||
import viteLogo from '/vite.svg' | ||
import './App.css' | ||
|
||
function App() { | ||
const [count, setCount] = useState(0) | ||
|
||
return ( | ||
<> | ||
<div> | ||
<a href="https://vitejs.dev" target="_blank"> | ||
<img src={viteLogo} className="logo" alt="Vite logo" /> | ||
</a> | ||
<a href="https://react.dev" target="_blank"> | ||
<img src={reactLogo} className="logo react" alt="React logo" /> | ||
</a> | ||
</div> | ||
<h1>Vite + React</h1> | ||
<div className="card"> | ||
<button onClick={() => setCount((count) => count + 1)}> | ||
count is {count} | ||
</button> | ||
<p> | ||
Edit <code>src/App.jsx</code> and save to test HMR | ||
</p> | ||
</div> | ||
<p className="read-the-docs"> | ||
Click on the Vite and React logos to learn more | ||
</p> | ||
</> | ||
) | ||
} | ||
|
||
export default App | ||
import React from 'react' | ||
|
||
const App = () => { | ||
return ( | ||
<div className='font-kalameh'>اپ شما</div> | ||
) | ||
} | ||
|
||
export default 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,68 +1,144 @@ | ||
@font-face { | ||
font-family: 'kalameh'; | ||
src: url('./assets/font/*.eot') format('eot'), | ||
url('./assets/font/*.woff') format('woff'), | ||
url('./assets/font/*.ttf') format('truetype'); | ||
} | ||
@tailwind base; | ||
@tailwind components; | ||
@tailwind utilities; | ||
|
||
:root { | ||
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif; | ||
line-height: 1.5; | ||
font-weight: 400; | ||
--black-gradient: linear-gradient( | ||
144.39deg, | ||
#ffffff -278.56%, | ||
#6d6d6d -78.47%, | ||
#11101d 91.61% | ||
); | ||
--card-shadow: 0px 20px 100px -10px rgba(66, 71, 91, 0.1); | ||
} | ||
|
||
color-scheme: light dark; | ||
color: rgba(255, 255, 255, 0.87); | ||
background-color: #242424; | ||
* { | ||
scroll-behavior: smooth; | ||
} | ||
|
||
font-synthesis: none; | ||
text-rendering: optimizeLegibility; | ||
-webkit-font-smoothing: antialiased; | ||
-moz-osx-font-smoothing: grayscale; | ||
.text-gradient { | ||
background: radial-gradient( | ||
64.18% 64.18% at 71.16% 35.69%, | ||
#def9fa 0.89%, | ||
#bef3f5 17.23%, | ||
#9dedf0 42.04%, | ||
#7de7eb 55.12%, | ||
#5ce1e6 71.54%, | ||
#33bbcf 100% | ||
); | ||
-webkit-background-clip: text; | ||
-webkit-text-fill-color: transparent; | ||
background-clip: text; | ||
text-fill-color: transparent; | ||
} | ||
|
||
a { | ||
font-weight: 500; | ||
color: #646cff; | ||
text-decoration: inherit; | ||
.bg-blue-gradient { | ||
background: linear-gradient( | ||
157.81deg, | ||
#def9fa -43.27%, | ||
#bef3f5 -21.24%, | ||
#9dedf0 12.19%, | ||
#7de7eb 29.82%, | ||
#5ce1e6 51.94%, | ||
#33bbcf 90.29% | ||
); | ||
} | ||
a:hover { | ||
color: #535bf2; | ||
|
||
.bg-black-gradient { | ||
background: linear-gradient( | ||
144.39deg, | ||
#ffffff -278.56%, | ||
#6d6d6d -78.47%, | ||
#11101d 91.61% | ||
); | ||
} | ||
|
||
body { | ||
margin: 0; | ||
display: flex; | ||
place-items: center; | ||
min-width: 320px; | ||
min-height: 100vh; | ||
.bg-black-gradient-2 { | ||
background: linear-gradient( | ||
-168.39deg, | ||
#ffffff -278.56%, | ||
#6d6d6d -78.47%, | ||
#11101d 91.61% | ||
); | ||
} | ||
|
||
h1 { | ||
font-size: 3.2em; | ||
line-height: 1.1; | ||
.bg-gray-gradient { | ||
background: linear-gradient( | ||
153.47deg, | ||
rgba(255, 255, 255, 0) -341.94%, | ||
#14101d 95.11% | ||
); | ||
} | ||
|
||
button { | ||
border-radius: 8px; | ||
border: 1px solid transparent; | ||
padding: 0.6em 1.2em; | ||
font-size: 1em; | ||
font-weight: 500; | ||
font-family: inherit; | ||
background-color: #1a1a1a; | ||
cursor: pointer; | ||
transition: border-color 0.25s; | ||
.bg-discount-gradient { | ||
background: linear-gradient(125.17deg, #272727 0%, #11101d 100%); | ||
} | ||
button:hover { | ||
border-color: #646cff; | ||
|
||
.box-shadow { | ||
box-shadow: 0px 20px 100px -10px rgba(66, 71, 91, 0.1); | ||
} | ||
button:focus, | ||
button:focus-visible { | ||
outline: 4px auto -webkit-focus-ring-color; | ||
|
||
.sidebar { | ||
-webkit-animation: slide-top 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both; | ||
animation: slide-top 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both; | ||
} | ||
|
||
@media (prefers-color-scheme: light) { | ||
:root { | ||
color: #213547; | ||
background-color: #ffffff; | ||
@-webkit-keyframes slide-top { | ||
0% { | ||
-webkit-transform: translateY(100px); | ||
transform: translateY(100px); | ||
} | ||
100% { | ||
-webkit-transform: translateY(0); | ||
transform: translateY(0); | ||
} | ||
a:hover { | ||
color: #747bff; | ||
} | ||
|
||
@keyframes slide-top { | ||
0% { | ||
-webkit-transform: translateY(100px); | ||
transform: translateY(100px); | ||
} | ||
button { | ||
background-color: #f9f9f9; | ||
100% { | ||
-webkit-transform: translateY(0); | ||
transform: translateY(0); | ||
} | ||
} | ||
|
||
.feature-card:hover { | ||
background: var(--black-gradient); | ||
box-shadow: var(--card-shadow); | ||
} | ||
|
||
.feedback-container .feedback-card:last-child { | ||
margin-left: 0px; | ||
} | ||
|
||
.feedback-card { | ||
background: transparent; | ||
} | ||
|
||
.feedback-card:hover { | ||
background: var(--black-gradient); | ||
} | ||
|
||
.blue__gradient { | ||
background: linear-gradient(180deg, rgba(188, 165, 255, 0) 0%, #214d76 100%); | ||
filter: blur(123px); | ||
} | ||
|
||
.pink__gradient { | ||
background: linear-gradient(90deg, #f4c4f3 0%, #fc67fa 100%); | ||
filter: blur(900px); | ||
} | ||
|
||
.white__gradient { | ||
background: rgba(255, 255, 255, 0.6); | ||
filter: blur(750px); | ||
} |
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,27 @@ | ||
/** @type {import('tailwindcss').Config} */ | ||
module.exports = { | ||
content: ["./index.html", "./src/**/*.{js,jsx}"], | ||
mode: "jit", | ||
theme: { | ||
extend: { | ||
colors: { | ||
primary: "#00040f", | ||
secondary: "#00f6ff", | ||
dimWhite: "rgba(255, 255, 255, 0.7)", | ||
dimBlue: "rgba(9, 151, 124, 0.1)", | ||
}, | ||
fontFamily: { | ||
kalameh: ['kalameh'], | ||
}, | ||
}, | ||
screens: { | ||
xs: "480px", | ||
ss: "620px", | ||
sm: "768px", | ||
md: "1060px", | ||
lg: "1200px", | ||
xl: "1700px", | ||
}, | ||
}, | ||
plugins: [], | ||
}; |