Giter Site home page Giter Site logo

fdemir / aya-website Goto Github PK

View Code? Open in Web Editor NEW

This project forked from eser/aya-website

0.0 0.0 0.0 8.64 MB

açık yazılım ağı web sitesi kaynak kodları

Home Page: https://acikyazilimagi.com

License: Apache License 2.0

JavaScript 2.06% TypeScript 88.76% CSS 0.82% SCSS 0.46% MDX 7.91%

aya-website's Introduction

next-template

A Next.js 13 template for building apps with Radix UI and Tailwind CSS.

Features

  • Radix UI Primitives
  • Tailwind CSS
  • Icons from Lucide
  • Dark mode with next-themes

Tailwind CSS Features

  • Class merging with taiwind-merge
  • Animation with tailwindcss-animate
  • Conditional classes with clsx
  • Variants with class-variance-authority
  • Automatic class sorting with eslint-plugin-tailwindcss

Input

import * as React from "react";
import Link from "next/link";

import { siteConfig } from "@/shared/config.ts";
import { buttonVariants } from "@/shared/components/ui/button.tsx";
import { twMerge } from "tailwind-merge";

import { cn } from "@/shared/lib/cn.ts";

Output

import * as React from "react";
// React is always first.
import Link from "next/link";
// Followed by next modules.
import { twMerge } from "tailwind-merge";

// Followed by third-party modules
// Space
import { siteConfig } from "@/shared/config.ts";
// config
import { cn } from "@/shared/lib/cn.ts";
// lib
import { buttonVariants } from "@/shared/components/ui/button.tsx";

// components

Class Merging

The cn util handles conditional classes and class merging.

Input

cn("px-2 bg-slate-100 py-2 bg-slate-200");
// Outputs `p-2 bg-slate-200`

License

Licensed under the MIT license.

aya-website's People

Contributors

eser avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.